SRCDS Steam group


How to run multiply servers?
#1
Hey guys,

Just wanted a quick tutorial on how to run multiple servers really?
And before you ask I have a very good dedibox.
(Not running it from my computer)

Kind regards
James
Reply
#2
(06-11-2010, 01:46 AM)Phame Wrote:  Hey guys,

Just wanted a quick tutorial on how to run multiple servers really?
And before you ask I have a very good dedibox.
(Not running it from my computer)

Kind regards
James

Define "running multiple servers". Multiple servers of the same game? Or different games?
Reply
#3
Cheers for the reply,

Basically I want to run multiple CSS servers I have 4 IP addresses.
I would perferably like to run 10 servers from each IP.
How would I go about setting this up to run them?
Reply
#4
(06-11-2010, 02:02 AM)Phame Wrote:  Cheers for the reply,

Basically I want to run multiple CSS servers I have 4 IP addresses.
I would perferably like to run 10 servers from each IP.
How would I go about setting this up to run them?

40 servers total? That will be quite the load, I hope you're up for it Smile

Anyhow, it's relatively simple. You'll need to run HldsUpdateTool to download the initial CSS server, then you're going to have to copy it 39 times :S I hope you have enough hard drive space for this. I would give you a batch script for this, but I'm not very good at batch scripting, so I'm afraid someone else will have to fill that in, or you'll have to copy them yourself.

Now the... more interesting part. I think I've got the batch script down for this one, so here's what an example will look like for starting the servers:

Code:
@echo off
cd C:\srcds
srcds.exe -console -game cstrike +map ... +ip 123.456.789.012 -port 27015
srcds.exe -console -game cstrike +map ... +ip 123.456.789.012 -port 27016
srcds.exe -console -game cstrike +map ... +ip 123.456.789.012 -port 27017
...
...
...

And so on. Repeat that, increasing the port number, until you want to start putting them on the other ip. Make sure you forward all of those ports on your router(s) if necessary.

EDIT: Just thinking about it now, you may not have to copy 39 servers. I'm only concerned about file locks that windows will place on the content. You can try only using the one server copy you download.
Reply
#5
I have one CSS server currently running..
Do you mean I will have to download all the models again?
Also where do I place the "@echo OFF..." part?
Reply
#6
yeah you have to download the whole srcds folder. Or you can just copy it 39 times. As tgp1994 theres probably someone here that can make you a batch script that can copy it for you. Ill look around and post back

After Looking in google for a few minutes I found this nice program. You can download the trial here:
http://www.theutilityfactory.com/download/download.htm

And the tutorial on how to use it is here:
http://www.theutilityfactory.com/summaries/making-multiple-copies.htm

Best of luck to you
Reply
#7
(06-11-2010, 02:25 AM)Phame Wrote:  I have one CSS server currently running..
Do you mean I will have to download all the models again?
Also where do I place the "@echo OFF..." part?

Oh, sorry, you need to make a batch file with that.
Reply
#8
^^ yeah.
Just copy that edit it to your liking in a notepad and save as something.bat and just run it and it will start all your servers whenever you have there directories installed.
Reply
#9
Why use more IP-adresses? 1 should be more than enough Wink. My advice would be:

1. Make a folder called servers in C:\
2. Make (for example) 4 folders in C:\servers , which may be called srv1,2,3, etc.
3. Install srcds in each folder.
4. Make a startup batch-script for each server and put it in their root folder.
5. When incrementing ports, use 10 ports difference for each server, like 27015, 27025 and so on.
6. Start servers, and begin playing!
Slå den med jeres fiberforbindelser...

[Image: 1308107839.png]
Reply
#10
What is your server specs. Nobody seemed to ask him that. 40 servers is way more of a load for even the best servers on the market.
Reply
#11
Maybe he just wants to spam 2 slots Toungue
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#12
(06-13-2010, 03:36 AM)Beaverbeliever Wrote:  What is your server specs. Nobody seemed to ask him that. 40 servers is way more of a load for even the best servers on the market.

Didn't really ask cause I knew he wasn't going to run that much Toungue
Reply
#13
Im am not g0ing to be running 40 servers, I just used the 10 each IP address as a guideline.. eg: port increments. 27015, 27025... And so on.

Thanks very much for your help guys.
Smile
Reply
#14
(06-13-2010, 03:36 AM)Beaverbeliever Wrote:  What is your server specs. Nobody seemed to ask him that. 40 servers is way more of a load for even the best servers on the market.

Because he just asked how to run the multiple servers..
Slå den med jeres fiberforbindelser...

[Image: 1308107839.png]
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)