To add multiple sub-servers use the attached configs.
For every sub-server there must be:
- 1 new zGameServer
- 1 new zMultiServer
- the id added in the servers list config file
- the map server config updated
For every new sub-server:
- use the Settings.ini file from the attached zMultiServer2, BUT change the TCPPort from the [DataServer] section (increment it).
- add a new server ID in the zConnectServer\ServerList.txt config file
- change the ServerCode [GameServerInfo] and ServerPort [Connection] in the zGameServer\Data\ServerInfo.dat (use the settings added in zConnectServer\ServerList.txt
- Edit the MapServer.xml from zGameServer\Data\World with the newly added server-code and server port
The following files must be edited:
├───zConnectServer
│ ServerList.txt
│
├───zGameServer1
│ └───Data
│ │ ServerInfo.dat
│ │
│ └───World
│ MapServer.xml
│
├───zGameServer2
│ └───Data
│ │ ServerInfo.dat
│ │
│ └───World
│ MapServer.xml
│
├───zMultiServer1
│ Settings.ini
│
└───zMultiServer2
Settings.ini
Working example:
Attachment 153481
Some pictures explaining what I said above:
Attachment 153482 Attachment 153483