[Guide] SubServer From Another PC

ReaL

New Member
Joined
Apr 13, 2008
Messages
1,244
Reaction score
656
HERE ARE THE STEPS:

Main Server Part

1. Go in Data/iplist and add the ip of your subserver so it should give:
Code:
"Mainserverip"
"Subserverip"

2.Go in data/mapserverinfo and make it like this:
Code:
//   SrvCode
0
    0    0    1    SmainIP              55901
    1    0    1    ssubsererIP                55903
    19    0    0    SMainIP                55919
end


//--------------------------------------
//   SrvCode        Map    SrvCode
//                dest.
//--------------------------------------
1
    0    0    30    19
    0    0    31    19
    0    0    34    19

    1    0    30    19
    1    0    31    19
    1    0    34    19

    19    1    30    -1
    19    1    31    -1
    19    1    34    -1
end

3. Go in all dataservers and change the allowableiplist so it should give:

Code:
0
127 0 0 1 255
subserverip 255 //with spaces
end

4.make a copy of dataserver1 and call it dataserver3.

5.make a copy of gameserver and data and put them in ur other computer.

6. add ur server in connectserver by putting the subserver IP

SUBSERVER PART

1. go in gameserver/data/serverinfo and change the name and the server code (put 1 for servercode)

2.make a shortcut of gameserver and put at the end of proprieties:
Code:
mainserverIP 55970 mainserverIP 55964 55903
3.go in data/commonserver and change EVERY SINGLE 127.0.0.1 with your mainserverIP

FIREWALL PART

1. if u use windows firewall, go in ur mainserver and allow the subserver ip ONLY for these programs:
-dataserver 1
-dataserver 2
-dataserver 3
-chatserver
-rankingserver
-joinserver
-EXDB

2.in the dataserver 3 that u made, make a shortcut and add at the end of proprieties: 55964

THEN YOUR DONE!

run your server in your mainserver with the dataserver 3 then go in ur subserver and run your gameserver !

Credits:

- All of them go to Sartigan (Cookie-Man)