-
Introduction
- This is the server file for the game.
- You can download the client here:
-
Source code and requirements
- Cluster
- Nodejs
- Redis
- Used to store temporary player data.
- Mysql
- Used for long-term data storage.
- The communication protocol with the client uses socket.io.
- Additionally, the Cluster system has been implemented to optimize the server's performance with the system's resources. It helps handle a large number of players.
- The system shares communication between CPU and RAM with different pidIDs.
-
Installation
- Make sure your system has Nodejs, Redis, and MySql installed.
- Run
npm install i
. - Open the .env file to configure the MySql parameters.
- Upload the database.sql file to MySql.
- Run
Node server.js
. - Enter the game to experience it.
-
Contribution and license
- Open-source code, no license, anyone with this source code can use it.
- The server is written by int04.
- Github: https://github.com/int04
-
References
- Redis: https://redis.io
- Nodejs: https://nodejs.org
-
Notifications
You must be signed in to change notification settings - Fork 8
int04/dragon-ball-h5-MMO-Server
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Dragon Ball Online H5 MMO - Chú bé rồng H5 Online
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published