[Guide] Adding a subserver!

Status
Not open for further replies.
Joined
Dec 31, 2004
Messages
4,086
Reaction score
25
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:
Code:
55964
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%!
 
Last edited:
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
 
nice guide
 
wow good job man ill do this later for my server:)
 
can this work if both computers are on a lan?
and how would i config the ip and so on for it to work on lan?
 
If you want it to be only on lan then enter you lan ip in all the directories you need to change except the links. lan ip is 192.168.x.xxx
 
Mr.X said:
Mwahaha.
Thanks :)
And i'm not sure if you can have 2 gameservers on the same pc..
But tested on:
- Other pc.
- LAN

you can, it requires 2 spontanious logins of the computer (in XP u can switch to login screen, and log in with another user ;) ) , and 2 seperate ports. Although I do not see the point, it just creates a worse situation for your computer and users playing.
 
Hi all, Nice Guide Mr.X !

But i'm getting a f*cki*** error that makes me crazy...

This error happens in my subserver machine.

Josh - [Guide] Adding a subserver! - RaGEZONE Forums


I Have sp2 installed on that machine i tried to run the link without sql installed
and with sql installed, the error still here! :fartnew:

Pls help! Tks.
 
ssddss said:
you can, it requires 2 spontanious logins of the computer (in XP u can switch to login screen, and log in with another user ;) ) , and 2 seperate ports. Although I do not see the point, it just creates a worse situation for your computer and users playing.

Why?

- i run a high xp server, with a lot of spots. Our current situation:

P4 2,4 ghz, 1 gig ram on 0.768 mbit of upload, capable of hosting 175 without severe lag.

We bought ourselves an intel dual xeon 2,8 Ghz server machine, with 2 gig of ddr400 ram, we are planning on colocating the thing, with remote access we'll be able to do stuff.

Also 1 subserver (like every other server), isn't enough for our players, we expect a server load of 250-500 in the future, and we can't all keep them on 1 subserver. We bought this server machine because we want to run multiple GameServers on it.

Is this possible? And How ?

I'm not a complete noob at servers or anytghing (set up about 8), and also a few with subserver, but the logoff - switch user, is the only way to do that ? Will it really eat system resources?


Thnx

// las3r
 
i tried this with one of my friends.... but all we get is a login server connect fail.....and we followed every step... could it be something with his router..??
 
Status
Not open for further replies.
Back