[Guide] Setting Up A Good Remote SubServer

View previous topic View next topic Go down

[Guide] Setting Up A Good Remote SubServer

Post by  on Sun Dec 23, 2007 11:38 am

Dont Have To Edit Sql or Modify odbc either.

First, we need to get the MAIN gameserver running. We edit the following files on the MAIN gameserver:

D:\muserver\CS\data\Connectserverlist.dat:
//Server List
0 "Mu97a" "IP-WAN" 55901 "SHOW"
1 "Mu97b" "IP-WAN" 55902 "SHOW"

D:\muserver\CS\data\Serverlist.dat:
//Server List
0 "Mu97a" "IP-WAN" 55901 "SHOW"
1 "Mu97b" "IP-WAN" 55902 "SHOW"

D:\muserver\CS\Connectserverlist.dat:
//Server List
0 "Mu97a" "IP-WAN" 55901 "SHOW"
1 "Mu97b" "IP-WAN" 55902 "SHOW"

D:\muserver\data\commonserver.cfg:
Find these lines and change:
ChaosEventServer = IP1
DevilSquareEventServer = IP1
EventChipServerIp = IP1

D:\muserver\data\IpList.dat:
// IP
"IP-WAN"

D:\muserver\data\ServerInfo.dat:
[GameServerInfo]
ServerName = GothicMU //enter here your servername
ServerCode = 0
ConnectMemberLoad = 0;

D:\muserver\data\lang\chs\commonloc.cfg:
Find and change these lines:
IP = IP-WAN
PORT = 55557

D:\muserver\data\lang\kor\commonloc.cfg:
Find and change these lines:
IP = IP-WAN
PORT = 55557

Now Here Is A Change From Normal Subserver set up
Links
You will Need To Setup additional Dataserver!
make a copy of a dataserver folder rename it to Dataserver3.
Create A shortcut And Rename your links in link folder to adjust to the new link.
1, 2, 3, 4, 5, 6, 7, 8, 9.(see 9 links now)

D:\muserver\links\4: (4 will become 5) with links renamed
Rightmouseclick, properties, change target to:
D:\muserver\JoinServer\JoinServer.exe /p55970 /caIP1 /cp55557

D:\muserver\links\8: (8 will become 9 with links renamed)
Rightmouseclick, properties, change target to:
D:\muserver\GameServer\GameServer.exe IP1 55970 IP1 55960 55901

now firewall and router you must make sure the person's subserver is
able to connect to the needed ports open 55902 up in router, and
Firewall set his ip to be able to access the needed ports for gs to
communicate.


Now, launch the all the links on your gameserver, starting with link 1,
wait till its completely loaded, goto link2, wait, etc. It should work
now. If it doesn't, check your IPs. These settings actually work fine
here!

The SUB gameserver:


D:\muserver\data\commonserver.cfg:
Find these lines and change:
ChaosEventServer = IP1 wan
DevilSquareEventServer = IP1 wan
EventChipServerIp = IP1 wan

D:\muserver\data\IpList.dat:
// IP
"IP1"
"IP2"

D:\muserver\data\ServerInfo.dat:
[GameServerInfo]
ServerName = GothicMU2 //enter here your servername
ServerCode = 1
ConnectMemberLoad = 0;

D:\muserver\data\lang\chs\commonloc.cfg:
Find and change these lines:
IP = IP1 wan
PORT = 55557

D:\muserver\data\lang\kor\commonloc.cfg:
Find and change these lines:
IP = IP1 wan
PORT = 55557


Now Gs ShortCut
Rightmouseclick, properties, change target to:
D:\muserver\GameServer\GameServer.exe IP1wan 55970 IP1wan 55960 55901
targeting the Main Servers Ip not the subservers.....

Best Thing About it is Even Tho you have to run 3 dataservers to reduce
screw ups and lag you dont have to open your self up to sql attacks,
when you give external permissoin to access database . Something I
wouldnt Sugest anyway.

once
server is running have the subserver fireup his gs then check you cs to
see if he connected, if he succeeded your done if not go over your work
its something simple probally

also make sure his ip is able to access your dataservers. gs, joinserver



Credit on this, goes to fragfrog , Its based on the idea of running the
subserver on the same router but modified to connect from different
ips, not yours.
Credit also goes to john_d , BBlue , for correcting mistakes and security leaks..


Favourite Game : MuOnline
Registration date : 1969-12-31

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum