View Full Version : Setting up a dedicated server

05-11-2010, 05:07 PM
For those who were asking about setting up a dedicated server.... The installation is pretty much the same as installing a normal counter-strike: source server.

Server Installation

1) Download HldsUpdateTool.exe - Here (http://www.cstrike-planet.com/files?dl=11)

2) Install HldsUpdateTool (I used the default C:\Program Files\Valve\HLServer\)

3) Open command prompt

4) Type cd C:\Program Files\Valve\HLServer\

*if you installed HldsUpdateTool to another directory, change the previous line to match your directory

5) Type HldsUpdateTool.exe -command update -game "cssbeta" -dir .

*make sure you include the space and period following -dir

6) The tool will then download/install all the server files for Counter-Strike: Source Beta

7) Go to "YOUR INSTALLATION DIRECTORY\HLServer\orangebox\" and create a shortcut from "srcds.exe"

8) Right-click the shortcut -> properties -> target line

In this target line, paste the following AFTER "...\HLServer\orangebox\srcds.exe":

-console -game cstrike_beta +map de_dust2 +maxplayers 10 -tickrate 100 +fps_max 600

You can modify some values to your liking such as map, maxplayers, tickrate, and server fps. Note
fps_max 600 runs your server at 500 fps. When running your server, you may notice the console FPS may be capped
at a value lower than 500 - for me it was capped at 100. To fix this, download this FPS fix and run it
alongside your server.

FPS Fix: http://www.mediafire.com/?2mjfhzzmq2n

9) Double-click the shortcut to run your server!

Remember to open your ports if you're trying to run the server from behind a router. This game also uses port
27015 like regular Counter-Strike: Source.

Server Configuration

Copy/Paste the following into a notepad and save it as server.cfg. Make sure you dont save it as "server.cfg.txt"
Move "server.cfg" into the directory the config folder located in
"YOUR INSTALLATION DIRECTORY\HLServer\orangebox\cstrike_beta\cfg\"

Change any following values to suit your needs.

hostname "Server Name"
rcon_password "Rcon Password"
sv_password "Server Password"

// Server Settings
mp_friendlyfire 0
mp_footsteps 1
mp_autoteambalance 0
mp_autokick 0
mp_flashlight 1
mp_tkpunish 0
mp_forcecamera 0
sv_alltalk 1
sv_pausable 0
sv_cheats 0
sv_consistency 1
sv_allowupload 1
sv_allowdownload 1
sv_maxspeed 320
mp_limitteams 5
mp_hostagepenalty 0
sv_voiceenable 1
mp_allowspectators 1
mp_timelimit 30
mp_chattime 10
sv_timeout 65

// Round Settings
mp_freezetime 2
mp_roundtime 3
mp_startmoney 8000
mp_c4timer 45
mp_fraglimit 0
mp_maxrounds 0
mp_winlimit 0
mp_playerid 0
mp_spawnprotectiontime 0

// Server Rates
sv_minrate 10000
sv_maxrate 25000
decalfrequency 10
sv_maxupdaterate 101
sv_minupdaterate 33

sv_lan 0
sv_region 0

05-12-2010, 10:30 AM
Thanks for tutorial and server config! Nice work!

Mike Vail
BOOM! Gaming Community

05-12-2010, 10:34 AM
A useful link: http://srcds.com/

For Linux and Windows.

05-12-2010, 10:47 AM
Yes, that is a wonderful site. Very helpful for server admins.

Take care.

05-12-2010, 10:50 AM
Thanks! You too.

It'd be nice if someone could find the official thread for HLDS and post it here for us and those who are interested.

05-12-2010, 05:58 PM
I believe the only thing you'll find like that is the SRCDS Website and Forums that you listed above. Steam provides very little support for the dedicated servers and are more focused on client related issues.

Another site you may find helpful is: http://hlds101.com/

Lastly, if you're a fulltime server admin or want to track HLDS updates to servers and join in discussions, you can join the HLDS email list by following the below link. Just mind your manners and don't reply unless you know what you're talking about. The people on that list can be very helpful and very brutal to people at the same time.


Best of luck to you.

06-12-2010, 09:31 PM
I have Windows 7 64 bit and I find that trying to install the tool to another HDD causes the installation to exit because the tool is already running.
I can install it to the default directory and then move it where I want it, write a script to update my server and it works fine that way.

06-12-2010, 09:41 PM
Strange, I haven't encountered this issue. I have all my servers running on my D-drive. I install the hldsupdatetool to the directory, then open the command prompt and use:d:
cd <directory>
hldsupdatetool -command update -game <game> -dir .and it works perfectly fine. I, of course, use a batch file to keep all servers up to date.