I have tested the Centos on VMWare. There are several things that need to be done for a fully working game server.
1) The default 4 GB ram allocated for the VM is too small for the full game server to run. It needs at least 8GB ram. So you have to increase the ram size of the VM and also install PAE kernel since the Centos OS is 32 bit, you need to install PAE kernel to access above 4GB ram.
2) the gs4-gs8 directories in the server are not copied properly. So, you have to copy from any of the working gs directories (gs1, gs2 or gs3) to gs4,gs5,gs6,gs7 and gs8. You have to modify the servercfg.ini and modify them for the instance for each of the copied servers
at the following section
[GameServer]
ServerID=4 <----this will be 4 for gs4, 5 for gs5, 6 for gs6 etc
InAdapterIdx=1
OutAdapterIdx=1
InIp=<your server IP>
OutIp=<your server IP>
Port=6044 <--- this will be 6044 for gs4, 6045 for gs5, 6046 for gs6 etc
SendInterval=4
3) the kg_paysys.exe can be run inside the centos if you install wine32, that will allow you to put everything in the same server. Portmapping is thus not required if you run kg_paysys.exe within the same linux server.
4) you can start all the services after doing the above, kg_paysys, goddess, logger, bishop, gamecenter, gs1, gs2, gs3, gs4, gs5,gs6,gs7,gs8
5) you have to modify the server settings on the client if you are running the client on a different box. Under the folder user, there is a serverlist.dat file, edit that
[Region_1]
Count=2
1_Title=麻辣江湖1
1_State=新开
1_Address=<your server ip address> <---- This can a ip address or a domain name
1_GatewayName=51ml
1_Recommended=1
1_Newcome=0
1_Type=1
6) you should be able to connect to the server from any windows box within the same network.
7) for access across the internet, port forward 5622 to the server box and everything should work as normal
However, currently the server will allow any account with any password to login. So no registration is required
1) The default 4 GB ram allocated for the VM is too small for the full game server to run. It needs at least 8GB ram. So you have to increase the ram size of the VM and also install PAE kernel since the Centos OS is 32 bit, you need to install PAE kernel to access above 4GB ram.
2) the gs4-gs8 directories in the server are not copied properly. So, you have to copy from any of the working gs directories (gs1, gs2 or gs3) to gs4,gs5,gs6,gs7 and gs8. You have to modify the servercfg.ini and modify them for the instance for each of the copied servers
at the following section
[GameServer]
ServerID=4 <----this will be 4 for gs4, 5 for gs5, 6 for gs6 etc
InAdapterIdx=1
OutAdapterIdx=1
InIp=<your server IP>
OutIp=<your server IP>
Port=6044 <--- this will be 6044 for gs4, 6045 for gs5, 6046 for gs6 etc
SendInterval=4
3) the kg_paysys.exe can be run inside the centos if you install wine32, that will allow you to put everything in the same server. Portmapping is thus not required if you run kg_paysys.exe within the same linux server.
4) you can start all the services after doing the above, kg_paysys, goddess, logger, bishop, gamecenter, gs1, gs2, gs3, gs4, gs5,gs6,gs7,gs8
5) you have to modify the server settings on the client if you are running the client on a different box. Under the folder user, there is a serverlist.dat file, edit that
[Region_1]
Count=2
1_Title=麻辣江湖1
1_State=新开
1_Address=<your server ip address> <---- This can a ip address or a domain name
1_GatewayName=51ml
1_Recommended=1
1_Newcome=0
1_Type=1
6) you should be able to connect to the server from any windows box within the same network.
7) for access across the internet, port forward 5622 to the server box and everything should work as normal
However, currently the server will allow any account with any password to login. So no registration is required