Can't get enough SRCDS.com? Follow us on: Twitter | IRC | Steam


Post Reply 

How to run multiply servers?

Author Message
Phame Offline
Newbie

Posts: 5
Joined: Jun 2010
Reputation: 0
Post: #1
How to run multiply servers?
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
06-11-2010 01:46 AM
Find all posts by this user Quote this message in a reply
tgp1994 Offline
Member

Posts: 78
Joined: Nov 2008
Reputation: 0
Post: #2
RE: How to run multiply servers?
(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?
06-11-2010 01:53 AM
Find all posts by this user Quote this message in a reply
Phame Offline
Newbie

Posts: 5
Joined: Jun 2010
Reputation: 0
Post: #3
RE: How to run multiply servers?
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?
06-11-2010 02:02 AM
Find all posts by this user Quote this message in a reply
tgp1994 Offline
Member

Posts: 78
Joined: Nov 2008
Reputation: 0
Post: #4
RE: How to run multiply servers?
(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.
(This post was last modified: 06-11-2010 02:19 AM by tgp1994.)
06-11-2010 02:16 AM
Find all posts by this user Quote this message in a reply
Phame Offline
Newbie

Posts: 5
Joined: Jun 2010
Reputation: 0
Post: #5
RE: How to run multiply servers?
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?
06-11-2010 02:25 AM
Find all posts by this user Quote this message in a reply
Svpernaut Offline
Junior Member

Posts: 34
Joined: Jun 2009
Reputation: 0
Post: #6
RE: How to run multiply servers?
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/summari...copies.htm

Best of luck to you
(This post was last modified: 06-11-2010 03:04 AM by Svpernaut.)
06-11-2010 02:56 AM
Visit this user's website Find all posts by this user Quote this message in a reply
tgp1994 Offline
Member

Posts: 78
Joined: Nov 2008
Reputation: 0
Post: #7
RE: How to run multiply servers?
(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.
06-11-2010 03:07 AM
Find all posts by this user Quote this message in a reply
Svpernaut Offline
Junior Member

Posts: 34
Joined: Jun 2009
Reputation: 0
Post: #8
RE: How to run multiply servers?
^^ 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.
06-11-2010 03:09 AM
Visit this user's website Find all posts by this user Quote this message in a reply
lol554 Offline
Give me PILLS!

Posts: 671
Joined: Sep 2008
Reputation: 3
Post: #9
RE: How to run multiply servers?
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!

http://www.vrod.dk - mit sted på nettet Smile

[Image: 681724795.png]
06-12-2010 10:28 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Beaverbeliever Offline
Bæver klubben

Posts: 1,544
Joined: Apr 2008
Reputation: 19
Post: #10
RE: How to run multiply servers?
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.

If you are planning on running a server on the computer you play on...

[Image: 1372377.png]
06-13-2010 03:36 AM
Visit this user's website Find all posts by this user Quote this message in a reply
loopyman Offline
\..blip! blip!../

Posts: 1,595
Joined: May 2009
Reputation: 23
Post: #11
RE: How to run multiply servers?
Maybe he just wants to spam 2 slots Toungue

Cheap Game Servers in Canada and USA
06-13-2010 05:34 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Svpernaut Offline
Junior Member

Posts: 34
Joined: Jun 2009
Reputation: 0
Post: #12
RE: How to run multiply servers?
(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
06-13-2010 11:30 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Phame Offline
Newbie

Posts: 5
Joined: Jun 2010
Reputation: 0
Post: #13
RE: How to run multiply servers?
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
06-14-2010 12:19 AM
Find all posts by this user Quote this message in a reply
lol554 Offline
Give me PILLS!

Posts: 671
Joined: Sep 2008
Reputation: 3
Post: #14
RE: How to run multiply servers?
(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..

http://www.vrod.dk - mit sted på nettet Smile

[Image: 681724795.png]
06-14-2010 06:37 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump: