Design and Implementation of Several Modules for the "Trinity Blood" Game Server
- Author
- XuePeng
- Advisor
- KongLingBo
- School
- Beijing Jiaotong University
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 37
- Citations
- 0
Abstract
Recent years, with the vigorous development of the Internet, as well as national support for the game industry, the online game industry is becoming an emerging industry. More and more people will choose the online game as their spare time entertainment. Online games, with its high returns and low operating costs, has aroused the concern of many businesses. However, throughout the mainstream of online games on the market today, most of them are agents of foreign games. Domestic self-developed products is relatively small, so the demand for independent research and development has become increasingly urgent.During the internship the author participated in the development of a3D fantasy online game "Trinity Blood" in the company, the author participated several modules’ design and implementation of the game server, including the item system module, scene management module, equipment system module, NPC(Non-Player-Controlled Character) logic module and monster logic module. The first three modules that the author joined are the jobs the author was required when the author just entered the company. They are relatively simple; later, the company let the author focus on the development of more complex NPC logic module and monster logic module. Among them, the item system module mainly achieve the creation and destruction of the item, equipment system mainly achieve the creation and identification of equipment, scene management module mainly achieve the management of the scene of the game, NPC logic module and monster logic module mainly achieve monsters’path-finding.The author’s work can be summarized as follows:(1) Accomplish the requirement analysis of several modules in the project. During the author’s intern, the author understand the background of this project, and conduct a requirement analysis to the several modules, forming a fairly complete documentation too.(2) Independently complete the relevant modules’ design and implementation.1) First, in accordance with the company’s requirements, the author complete the design and implementation of several modules.2) With tests, the author found some defects in the monster logic module when using current path-finding algorithm. After an in-depth study of related AI path-finding algorithms, the author persuaded my team to let the author try to adopt new AI path-finding algorithms into our system. For the individual monster path-finding problem, this paper uses the grid-based path-finding, which can effectively solve the path search problem with guaranteeing to find the best path between any two points. For the groups monster path-finding problem, this paper uses the flocking algorithm,.the core of which is based on three rules:cohesion (each unit steers toward the average position of its neighbors), alignment (each unit steers so as to align itself to the average heading of its neighbors) and separation (each unit steers to avoid hitting its neighbors).(3)Finally, test the modules. The test results demonstrate that not only each module meets the requirements, but also the AI path-finding algorithms which the author introduced can ensure the monster simulation with better simulation.
Table of contents
Thanks 5-6
Chinese abstract 6-7
ABSTRACT 7-12
1 Introduction 12-16
1.1 topics sources 12
1.2 \arrangements 13-16
2 development status and related algorithms analyze 16-28
2.1 development Status and Research In Motion 16-18
2.1.1 current development of online games development status 16
2.1.2 game AI 16-17
2.1.3 game wayfinding research status 17-18 <br / > 2.2 pathfinding algorithms Profile 18-25
2.2.1 waypoint pathfinding based approach 18-21
2.2.2 A ~ * pathfinding algorithm 21-24
2.2.3 clustering algorithm 24-25
2.3 ACE technology 25-27
2.3.1 ACE technology is mainly characterized 26
2.3.2 ACE module structure of 26-27
2.4 Summary 27-28
3 game needs analysis 28-32
3.1 Requirements Overview 28
3.2 functional requirements 28-30
3.3 nonfunctional requirements 30-31
3.3.1 performance requirements 30
3.3.2 operational requirements 30-31
3.3.3 stable demand 31
3.3.4 security requirements 31
3.4 summary 31-32
4 summary of design 32-38
4.1 overall design 32-35
4.1 .1 system components 32
4.1.2 system Architecture 32-35
4.2 interface design 35-36
4.2.1 external Interface 35-36
4.2.2 internal interface 36
4.3 program logic 36-37
4.3.1 start the process 36-37
4.3.2 basic processes 37
4.4 Summary 37-38
5 detailed design and implementation 38-78
5.1 based on grid find ways module design and implementation 38-48
implementation 5.1.1 Creature of concrete realization 38-40
5.1.2 AIController of 40-42
5.1.3 GridPathFinder concrete realization of 42-48
5.2 groups to find ways of module design and implementation 48-59
5.2.1 TeamCreature concrete realization 49-52
5.2.2 NPCTeam concrete realization 52-53
5.2.3 TeamMgr implementation of 53-55
5.2.4 TeamPathFinder the concrete realization 55-59
5.3 items of equipment module design and implementation 59-69
5.3.1 module overall framework 60
5.3. two main data structure design 60-62
5.3.3 Dependent Interface design design and implementation 62-66
5.3.4 ItemMgr of 66-69 <br / > Design and Implementation 5.4 trading system 69-76
5.4.1 module overall framework design and implementation of 69
5.4.2 transaction Manager 69 -71
5.4.3 Currency Manager design and Implementation design and implementation 71-74
5.4.4 stall system 74-76
5.5 of this chapter Summary 76-78
6 test 78-82
6.1 functionality test 78-81
6.2 performance test 81-82
7 Conclusion 82-84
References 84-86
Author Biography 86-90
dissertation dataset 90
Related dissertations
- Design and Implementation of Visual Programming System for Material Shading
- Research on product development project management YB games
- Research on the Application of Genetic Algorithms in the Logistics and Distribution of Trade Games
- Research and Implementation of Mobile SNS Game Serverbased on Erlang
- The Research of Game Engine Applied Technology in Game Design Art
- Design and implementation of virtual battlefield artificial intelligence Middleware
- The Application of Agile Development Methodology to Interactive Entertainment Software
- Research on Web-game Development Technology Based on MVC Pattern
- And Realization of iOS platform game design based on
- iOS Mobile Jigsawgame Design and Development Use Cocos2d Engine
- Inquiry of the Chinese Classical Patterns in Game Character Design
- Design and Implementation of the casual game of Chinese checkers network
- Heuristic searching path algorithm use and optimize gaming
- Patterns-Oriented Game Developing Based on Java 2 Micro Edition
- Research and Implementation of Network Game Platform on Server-side
- The Research and Implementation of the Major Techniques for GPS Vehicle Navigation System
- Individual combat system embedded GIS
- XNA -based game framework
- The Research and Implement of Shooting Game System Based on Haptic Device
- Study of Artificial Intelligence Path-finding Algorithm in Game Development