[Guide] Adding a subserver!
Ok, this guide is VERY simple, and i aimed it that way :P.
First off, Q/A..
Q) Can i run a subserver for 97/99/etc?
A) Yes!
Q) Do i need Microsoft SQL Installed?
A) It is optional. If you do not have service pack 2 installed for Windows XP, you will need it!
--More coming soon :)--
[[EDIT]]--NOTE: Make a dsn called MuOnline on subserver. More coming soon :P-- [[/EDIT]]
1) Ok firstly, turn off main server.
2) Open up:
\muserver\cs\connectserverlist.dat
And put in:
Code:
0 "servername" "mainserverip" 55901 "SHOW"
1 "servename2" "subserverip" 55902 "SHOW"
Then save and close.
3) Open up:
\muserver\cs\data\serverlist.dat
And put in:
Code:
0 "servername" "mainserverip" 55901 "SHOW"
1 "servename2" "subserverip" 55902 "SHOW"
4) Then open:
\muserver\cs\data\connectserverlist.dat
And edit:
Code:
0 "servername" "mainserverip" 55901 "SHOW"
1 "servename2" "subserverip" 55902 "SHOW"
5) Open:
\muserver\data\iplist.dat
Then change it to:
Code:
"mainserverip"
"subserveip"
6) Dont forget to edit:
serverInfo.dat in muserver\data to:
Code:
[GameServerInfo]
ServerName = servername
ServerCode = 0
ConnectMemberLoad = 0;
--Great, done all ip's for now.--
7) In your \muserver directory, copy dataserver1 and paste it. Call it dataserver3, and make a shortcut of dataserver.exe and put it in \links
8) In the new dataserver link, you will need to add:
Or 2 digits after ur dataserver2..
9) Copy the folder gameserver & data. and put it on ur subserver machine. Make sure it is d:\muserver or c:\muserver etcetc..
--SUBSERVER TIME--
10) Open up:
\data\ServerInfo.dat
And edit:
Code:
[GameServerInfo]
ServerName = servername2
ServerCode = 1
ConnectMemberLoad = 0;
11) Make a shortcut of gameserver.exe. Then in Target: box, have:
Code:
D:\muserver\gameServer\gameServer.exe MAINSERVERIP 55970 MAINSERVERIP 55962 55902
Of course D:\ would be C:\ if a C: gameserver. And also the ports would be different if u have changed :P..
12) Run the server on main pc. LOAD DATASERVER3 AFTER DATASERVER2. IF USING MUSERVERSTARTUP, OPEN DATASERVER3 LINK FIRST. All should work.
13) Run subserver with gameserver link. All should work.
14) Go in and test, all should be working 100%!
Can you help me with this?
I tried to run two gameservers on one computer (win 2k3) on two different sessions... (subserver) and the problem is...
with only one GS running, it uses 2 % of system process (without people)
With 2 GS running (on different sessions) and still without users online, the second GS eats 70% of the system process,
I have a P4 3 Ghz and 3 GB ram (with 2 GS running, 0.8 GB ram Free)
If anybody know why this is eating so much resources, please help me.
Thanks
Max
Re: [Guide] Adding a subserver!
Re: [Guide] Adding a subserver!
Anybody could help to set a subserver in other pc usind same Dbs?
Re: [Guide] Adding a subserver!
I try on a other computer and i got loginserver error...