In the game server framework, the network layer is implemented in three ways: SocketAPI, Boost Asio, and Libuv. The framework uses shared memory, lock-free queues, object pools, and memory pools to improve server performance. It also contains a constantly improved Unity 3D client. The client contains a large number of complete resources, mounts, pets, partners, equipment, all of which have been implemented and worn, and can enter the copy battle, multiplayer gameplay has also been achieved, continuous development .
The framework uses shared memory, lock-free queues, object pools, and memory pools to improve server performance.
There is also a constantly improved Unity3D client. The game contains a lot of complete resources, mounts, pets, partners, equipment, these can be put on and worn,
and can enter the copy battle, multiplayer gameplay has also been realized, and continuous development.
Exchange QQ Group: 45139128
INSTRUCTION:
1. COMPILE
Windows: Open the solution with Visual Studio 2017 or later and compile directly.Linux: execute the buildall.sh script to compile
2. INSTALL MYSQL
Install mysql data on the machine, the recommended version is mysql5.7. After the installation is complete, if you do not want to change the configuration file,
create a new user root and set the password to 123456 (the configuration file defaults to this).
Then find the db_create.sql file in the project and execute this file in the database, so that the database table is created.
3. START THE SERVER
After completing the above two steps, there is a StartServer.bat file in the \Server directory, execute the bat file, and then follow the prompts.
SERVER ROLE DESCRIPTION
- Login Server - Accept the player's login connection and process the login request message.
- Account Server - Handles account login verification, new account creation, and account database storage.
- Center Server - Used for cross-service activities and cross-service needs.
- Logic Server - Processes the logical data of the player character and handles the general logical functions of the player character.
- Game Server - Handle player movement synchronization, skills, buff and other combat functions.
- Data server - As a proxy server between the logical server and the mysql database, it is responsible for regularly writing player data into the database.
- Gateway Server - As a relay server between the client and the logical server, the battlefield server is mainly responsible for the forwarding of messages.
- Log Server - The log server is mainly responsible for writing the operation log of the logical server to the mysql database.
- Watch Server - Mainly responsible for receiving control commands from the WEB background and controlling the server.
DOWNLOAD:
Server Files - Github by ylmbtm
Client Files - MegaNZ
0 comments:
Post a Comment
Your comment will be visible to everyone, please comment politely and don't use bad words.