Daca cumva ai prea multi rami am postat si cum sa va faceti subserver
Main Server
D:\MUServer\CS\Connectserverlist.dat
0 "MUPB1" "IPWAN1" 55901 "SHOW"
1 "MUPB2" "IPWAN2" 55902 "SHOW"
D:\MUServer\CS\Data\Connectserverlist.dat
0 "MUPB1" "IPWAN1" 55901 "SHOW"
1 "MUPB2" "IPWAN2" 55902 "SHOW"
D:\MUServer\CS\Data\Serverlist.dat
0 "MUPB1" "IPWAN1" 55901 "SHOW"
1 "MUPB2" "IPWAN2" 55902 "SHOW"
D:\MUServer\data\commonserver.cfg
ChaosEventServer = IP1
DevilSquareEventServer = IP1
EventChipServerIp = IP1
D:\MUServer\data\Iplist.dat
"IPWAN1"
"IPWAN2"
D:\MUServer\data\ServerInfo.dat
[GameServerInfo]
ServerName = MUPB1
ServerCode = 0
ConnectMemberLoad = 0;
D:\MUServer\data\lang\chs\commonloc.cfg
[ConnectServerInfo]
IP = IPWAN1
PORT = 55557
- Copy dir Dataserver1 and rename Dataserver3.
- Now, we have 9 links.
01 : D:\MUServer\DataServer1\Dataserver.exe 55960
02 : D:\MUServer\DataServer2\Dataserver.exe 55962
03 : D:\MUServer\DataServer3\Dataserver.exe 55964
04 : D:\MuServer\CS\CS.exe
05 : D:\Muserver\JoinServer\JoinServer.exe /p55970 /caIP1 /cp55557
06 : D:\MuServer\MU2003_EVENT_SERVER\WZ_MU2003_EVENT_SE RVER.exe
07 : D:\MuServer\RankingServer\DevilSqure_EventServer.e xe
08 : D:\MuServer\ExDB\Exdb.exe
09 : D:\Muserver\GameServer\GameServer.exe IP1 55970 IP1 55960 55901
Sub Server
- We only need 2 dir : data and GameServer
D:\SubServer\data\commonserver.cfg
ChaosEventServer = IPWAN1
DevilSquareEventServer = IPWAN1
EventChipServerIp = IPWAN1
D:\SubServer\data\Iplist.dat
"IPWAN1"
"IPWAN2"
D:\SubServer\data\ServerInfo.dat
[GameServerInfo]
ServerName = MUPB2
ServerCode = 1
ConnectMemberLoad = 0;
D:\SubServer\data\lang\chs\commonloc.cfg
[ConnectServerInfo]
IP = IPWAN1
PORT = 55557
D:\SubServer\GameServer\MyGSFun.ini
DSN=DSN=MuOnline;UID=Sa;PWD=******
ServerID=1
Link for GameServer.exe :
D:\SubServer\GameServer\GameServer.exe IPWAN1 55970 IPWAN1 55962 55902
- We add DSN Muonline for SubServer . If not gameserver will run with error like error expired
Open Port
IP1:44405
IP1:55901
+ If Sub in LAN( PC2 )
IP2:55902
+ If Sub in WAN
IP1:1433 ( If not we can't add DSN for Sub)
IP1 : 55557 TCP & UDB
IP1: 55962 & 55964 ( port data server)
IP1: 55906 (I don't known but we need )
IP1: 44455 & 44456 ( 2 port opened when run WZ_MU2003_EVENT_SERVER.exe and DevilSqure_EventServer.exe)
- PC run Sub need open port 55902 to user can connect . If not only user in LAN of Sub can play