Setting Up a Counter-Strike Source Server

dmw16

Diamond Member
Nov 12, 2000
7,608
0
0
I would like to setup a dedicated CS:Source server.

I know there is a basic one that you can install via steam, but I want one that runs from a console and that I can have admin controls when playing on. I also want to be able to set it to run only 1 map, etc.

Does anyone have or know of a write-up on how to do it?

THanks.
 

dmw16

Diamond Member
Nov 12, 2000
7,608
0
0
One thing that link doesn't explain is how to setup your server.cfg file. I remember from when we had a server in college that it contained most of what ran the server. Including giving certain players admin control in-game etc.

Any other help would be great. THanks.
 

Canai

Diamond Member
Oct 4, 2006
8,016
1
0
Just google around for server.cfg setups. I've got a bit of experience with srcds from my l4d server, and there are just a couple other variables you're going to want to set for CS:S. Rates are probably the most important, and then stuff like bomb, spawn, and round timers, maplists, MOTDs, stuff like that. IIRC FPSBanana has a decent tutorial on making a server.cfg for CS:S.
 

rdaubner

Junior Member
Jun 18, 2008
13
0
0
I used this:

1. First download Valve?s dedicated server tool, Hldsupdatetool.exe

Follow the instructions on installing and Make Sure you set the install location to c:/srcds

2. Then go to Start ?> Run ?> type in ?Cmd?

3. Type in these commands when the Cmd box opens up.

C:
cd \srcds
hldsupdatetool

4. This will update the hldsupdatetool to the most recent version. When the cursor blinks, hit Control+C.

5. Download the required game files for the game you want to serve up.

For Counter-Strike Source:

hldsupdatetool -command update -game ?Counter-Strike Source? -dir C:\srcds


6. Change your server configuration (player slots, etc?) in anyway you like.

7. Now we are ready to run the SRCDS in command line. Open up cmd and type in

c:\srcds\srcds.exe -console -game cstrike +map de_dust -maxplayers 16 -autoupdate

Change the variables any way you like (ex. game, map, max players?)

Now keep in mind that if you are behind a router (which you are most likely are), you will need to forward ports that Steam uses to serve the servers. You will need to forward and open ports:
TCP Ports
27020-27050
UDP Ports
1200,27000-27015

More information about port forwarding can be found at PortForward.

Now you are done!