The Design and Implementation of Real RPG Server Engine

Author
JiangLi
Advisor
LiXiaoHong
School
Tianjin University
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
64
Citations
0

Request the full text

Abstract

Real RPG is quite different form the traditional network games in essence. In Real RPG, player plays a role to accomplish some tasks in real game world using special electrical facilities. Real RPG is still in the researching stage, and there’s no engine for real RPG which has been popularly used yet. Referencing the design idea of traditional game engine and meet the requirements of flexible software framework, we designed a server game engine for real RPG. Since Real RPG doesn’t include graphics or AI, but needs rich game scenes to support, we provide a group of APIs which are convenient for game designers to design game scenes.The kernel of this real RPG engine is implemented with C++, and Python scripts were used to define the actions of entities in games, in other words, game rules. The engine kernel included network module, game world module and script API module. A flexible mechanism which handled connections from clients has been designed in network module: it includes a packet analyzer based on policy mechanism, which separates the application layer from connection details.The idea of state machine has been involved in different connections and a back-tracing state machine has been implemented by an improved State pattern. Some basic entity elements have been defined in game world module, which implements a configurable attribute system. And a flexible chain style logic system has also been designed in game world module to hanlde all the game events. Groups of Python-C API have been encapsulated in a group of classes. It not only supplied an object oriented interface to embed the Python in kernel, but also implemented an automatic counting of references and resolved the problems of scripts reloading. Meanwhile, it defined the interfaces and the rules for scripts writing.This engine is an initial attempt of building a general game engine for real RPG, which has a good expansibility and adaptability. Developers can add game scenes quickly and easily in the way of writing scripts with the engine.

Table of contents

Abstract 3-4 ABSTRACT 4-7 first chapter 7-12 1.1 Background and Significance 7-9 1.1.1 Virtual PRG game concept 7-8 1.1.2 the significance of the real RPG game engine 8-9 120 domestic and foreign research and development status 9-10 1.3 research paper structure 10-12 the second chapter of the Virtual RPG engine technology 12-17 2.1 real RPG game run mode 12-15 2.2 Virtual RPG engine related technology 15-17 2.2.1 communications technology 15 2.2.2 scripting technology 15-17 the overall design of the third chapter of real RPG server engine 17-22 3.1 network module, the overall design 18-19 3.2 game world module of the overall design 19-20 3.3 scripting interface module of the overall design 20-22 the detailed design of each module in Chapter engine 22-30 4.1 network module detailed design 22-23 4.2 game world module detailed design 23-28 4.2.1 entity 23-24 4.2.2 logic system 24-27 4.2.3 The timer system 27-28 4.3 script interface module design 28-30 4.3.1 game world interface 28-29 4.3.2 Scripting Object Manager 29-30 engine module 30-55 5.1 the realization of the network module 30-37 5.1.1 object-oriented Socket wrapper 30 5.1.2 socket set 30-31 5.1.3 Policy mechanism-based data packet analyzer 31-33 5.1.4 Player Status Manager to achieve 33-37 5.1.5 Monitor Manager and Connection Manager 37 5.2 game world module implementation 37-44 realization of 5.2.1 game world entity 37-38 5.2.2 attribute system 38-39 5.2.3 logic system 39-41 5.2.4 entity object manager 41-42 5.2.5 timer system 42-44 5.3 scripting interface module 44-55 5.3.1 script wrapper 44-51 5.3.2 Scripting Object Manager 51-52 5.3.3 game world interface 52-53 the organizational structure of the 5.3.4 Python script 53-55 Chapter VI engine system testing 55-59 Chapter VII Conclusion and outlook 59-61 7.1 full-text summary 59-60 7.2 The next step 60-61 References 61-64 Acknowledgements 64

Related dissertations

  1. The Study and Construction of Off-line Sleeping System for MMORPG Based on Torque Game Engine
    LiLei ·Beijing Forestry University ·2008 ·Master's thesis
  2. Brew - based mobile game engine development
    LuTao ·Beijing Jiaotong University ·2007 ·Master's thesis
  3. Object-oriented Software Construction for Game Engine
    ZhongDingYi ·Jinan University ·2006 ·Master's thesis
  4. The Designment and Realization of Small2D Game Engine
  5. Design and Presentation of "Minnan Tour of Fighting Against Transgenosis" Mobile Game
    LiaoXueQing ·Xiamen University ·2014 ·Master's thesis
  6. Design and Implementation of Multi-user Collaboration Network Training Platform Based on Virtools
    LongYanJun ·Xiangtan University ·2013 ·Master's thesis
  7. Ming Dynasty Calligrapher Inheritance and Development on Regular Script
    ZhangBaoZuo ·Shanxi Normal University ·2014 ·Master's thesis
  8. Reflection China contemporary animation predicament in preexistence
    ShenQiLing ·Shaanxi Normal University ·2013 ·Master's thesis
  9. Application and Research of Digital Technology on Interior Design
    RenXiang ·Hunan Normal University ·2014 ·Master's thesis
  10. Research on the Key Techniques of MMORPG Web Game Engine
    SunLi ·Jilin University ·2012 ·Master's thesis
  11. Generation and Verification System of3D Scene Based on Script
    XieJinChun ·Zhejiang University ·2013 ·Master's thesis
  12. Design and Implementation of3D Game Based on the Irrlicht Engine
    KangYu ·Jilin University ·2012 ·Master's thesis
  13. Research on Machinima and Making Animations with Game Engine
    ZhangYang ·Hunan University ·2011 ·Master's thesis
  14. Design and Implementation of3D Game Engine
  15. Machinima: the Research on3D Real-time Animation Production Technology
    LuSha ·Hunan University ·2012 ·Master's thesis
  16. Design and Development of Simple Game Engine
    WangZuo ·Jilin University ·2012 ·Master's thesis
  17. System design and optimization of real-time multi projection display for game engine
    ZhuDeDong ·Fudan University ·2012 ·Master's thesis
  18. Research and Design of the Analysis and Debug System for Direct3D Application
  19. Research and Implementation of the FPS Games Pathfinding Algorithm
    ShenJian ·South China University of Technology ·2012 ·Master's thesis
  20. The Design and Realization of Scenario Planning for Automatically Generated System of Mobile Phone3D Animation Based on Game Engine
    ShaoMeng ·Beijing University of Technology ·2013 ·Master's thesis