[Objective]
Run 2 servers (high rate and low rate) in single computer and clients can access both servers with same client and account but with different characters.
[Requirements]
1. GS / GSCS has an option for Account and Character Database selection.
2. Hexeditor
3. You already have a working server or you already know how to setup the server.
[Steps]
Database Connectivity
- Create database for account and in this case lets choose Me_MuOnline, you can restore from the normal muonline database backup.
- Create database for lowrate server: MuOnline
- Create database for highrate server: MuOnline2
- Create and ODBC for MuOnline2.
Server 1 (lowrate)
- Configure GS/GSCS to use Me_MuOnline for account db and MuOnline for character db.
Server 2 (highrate)
- Hex EXDB and change all MuOnline to MuOnline2.
- Hex Dataserver1 and change MuOnline to MuOnline2, just make a copy for the second Dataserver if you will use backup. ( delete dataserver.dat if there is, it will give an error upon starting but you can safely ignore it.)
- Configure GS/GSCS to use Me_MuOnline for account db and MuOnline2 for character db.
Server Shortcuts(starter) // most of the tricks are here
- Common
- Run Joinserver, Event Server and Ranking Server as default.
- Server1 (lowrate)
- Dataserver1 - path to file\dataserver.exe 55960 1
- Dataserver2 - path to file\dataserver.exe 55962 2
- Exdb - path to file\exdb.exe WAN_IP
- Chatserver - path to file\chatserver.exe WAN_IP
- GS - path to file\gameserver.exe 127.0.0.1 55970 127.0.0.1 55960 55901
- GSCS - path to file\gameserverCS.exe 127.0.0.1 55970 127.0.0.1 55960 55919
- Server2 (highrate)
- Dataserver1 - path to file\dataserver.exe 55964 1
- Dataserver2 - path to file\dataserver.exe 55966 2
- Exdb - path to file\Exdb.exe 127.0.0.1 55915 //we need to run server2 exdb in other port
- GS - path to file\gameserver.exe 127.0.0.1 55970 127.0.0.1 55964 55921 127.0.0.1 55966 127.0.0.1 55915 //all in one line.
- GSCS - path to file\gameserverCS.exe 127.0.0.1 55970 127.0.0.1 55964 55939 127.0.0.1 55966 127.0.0.1 55915 //all in one line.
* Server2 GS/GSCS Color Legends: Green - Joinserver, Blue - Dataserver1, Brown - Gameserver port, Pink - Dataserver2, Orange - Exdb
Connect Server // server lists
Note: I cant be able to run chatserver in both server currently :( In this setup chatserver is only active in server1.Code:0 "GSL" "WAN_IP" 55901 "SHOW" 19 "GSCSL" "WAN_IP" 55919 "HIDE" 20 "GSH" "WAN_IP" 55921 "SHOW" 39 "GSCSH" "WAN_IP" 55939 "HIDE"



Reply With Quote

