HOW TO: Setup A CS:Source Dedicated Server

March 29, 2006 on 12:59 pm | In HOW TO |

The purpose of this tutorial is to teach you how to set up a dedicated server (using Steam) for a game or mod based on the Source engine, like Half-Life 2 (HL2) or Counter-Strike:Source (CS:S). I personally prefer Counter-Strike:Source, as it is a realistic and enjoyable First Person Shooter (FPS), so I will focus on setting it up.

Download and setup HLDSUpdatetool

First of all, you will need to download the HLDSUpdatetool, which will work on almost all Linux distributions. Open up a terminal window and enter these commands (replace ‘username‘ with your username - make sure you are logged in as a normal user, not root!):

$ su
Password:
# cd /home/username/
# mkdir srcds_l/
# cd srcds_l/
# wget http://www.steampowered.com/download/hldsupdatetool.bin
# chmod +x hldsupdatetool.bin
# ./hldsupdatetool.bin

Ok, let’s run through what we’ve just done. First of all, we changed user to root. Then, we moved to username’s home directory (where username is the standard user you logged in as). We created a directory called ’srcds_l’, in which the Steam files will reside. Then we moved into that directory, and downloaded the HLDSUpdatetool using wget. Once the download had completed, we gave the file execute permissions using the chmod command, and then we ran it. On the first run, HLDSUpdatetool will ask you to accept a license agreement and, if you type ‘yes’ (which I’m sure you will), it will extract itself.

Note: You may get an error along the lines of: sh: uncompress: command not found when you try to execute ‘hldsupdatetool.bin’. Not to worry - first, find out where your gunzip tool is. Do this by typing /usr/bin/gunzip and /bin/gunzip and seeing which one of the two works. For me, it was /usr/bin/gunzip. Now, type the following command (and replace the gunzip location if it is different):
# ln -s /usr/bin/gunzip /usr/bin/uncompress
Run the HLDSUpdatetool again via ./hldsupdatetool.bin - that should work.

The extraction of hldsupdatetool.bin has given us another application called steam. Now we must update the Steam HLDS Update Tool, which we can do by running:

# ./steam

Good. Now that we have everything up to date, we can begin downloading the game files.

# ./steam -command update -game “Counter-Strike Source” -dir .

What we have done above is told Steam to update the game “Counter-Strike Source” in the current directory, but as it is not in the current directory (because it is not installed yet), Steam will download and install it. This will take quite a while, no matter how fast your broadband connection is - so I advise that after you’ve executed the command, you go grab a coffee and a bite to eat. Seriously, take your time..

Add maps to the server

If you’re reading this line just a few seconds after the last section, go away - it really will take a long time ;) If not, let’s continue. Now we have a fully installed and updated version of Counter-Strike:Source. What do we do now? Well, first of all, let’s add some new maps; this part is always the most interesting.

Head off to FPSBANANA in your favourite web browser to download the maps you want. As an example, I’m going to download the map breakndeath_kontain0rs.

So, we now have our map, compressed as breakndeath_kontain0rs.zip (which we just downloaded from FPSBANANA, right?). We will need to extract the zip before we can do anything else. Make sure the zip is in /home/username and that is your current working directory (type pwd if you are not sure), then do the following:

# unzip -v breakndeath_kontain0rs.zip
# mv breakndeath_kontain0rs.bsp srcds_l/cstrike/maps/

The -v parameter to unzip meant to do it verbosely - that is, to show exactly what was happening. In this case, only one file (the .bsp) was contained within the zip, but with larger maps you will need to move more unzipped files into the appropriate cstrike directory. This will become clear to you once you unzip a larger map, which has not only the bsp, but also several materials or whatnot.

Now, we should add the map to our rotation list. You can do this by editing the file ‘/home/username/srcds_l/cstrike/mapcycle.txt‘ in an editor like kate or gedit. Remove the names of the maps you do not want to be on the rotation, and add the ones you do want there - one per line. Simple.

Configuring the server

It’s time to configure the server. We will be storing some Counter-Strike:Source server and client commands in a file called ‘server.cfg‘, which will be located in /home/username/srcds_l/cstrike/cfg/. With the help of this thread on the Mani-Admin-Plugin Forums, I have composed a sample server.cfg file for you.
Note: You will have to create the file yourself, so open your favourite text editor and copy the commands below into it. Make sure you save the file in the correct directory and with the right name.

// General Settings
hostname “My AMAZING Dedicated Server” // What your server will be called. Change this!
host_framerate 0
setpause 0
mp_chattime 10
mp_dynamicpricing 0 // Disable dynamic pricing. Change to 1 to enable it.
sv_lan 0
sv_secure 1
sv_pausable 0
sv_cheats 0
sv_consistency 1
sv_stats 1
sv_allowdownload 1
sv_allowupload 0
sv_timeout 30
sv_voicecodec vaudio_miles
sv_voiceenable 1
sv_alltalk 1
sv_visiblemaxplayers 14 // maxplayers minus reserved slots

// Ban Settings
exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip

// Contact & Geo Settings
sv_contact my@email.address // Change this!
sv_region 3 // Change this!
// us eastcoast - sv_region 0
// us westcoast - sv_region 1
// south america - sv_region 2
// europe - sv_region 3
// asia - sv_region 4
// australia - sv_region 5
// middle east - sv_region 6
// africa - sv_region 7
// world - sv_region 255

// Rcon Settings
rcon_password “My_Ub3R_l3T-5eRv%r” // Change this!
sv_rcon_banpenalty 15
sv_rcon_maxfailures 4
sv_rcon_minfailures 2
sv_rcon_minfailuretime 30

// Log Settings
sv_log_onefile 0
sv_logfile 1
sv_logbans 1
sv_logecho 1
mp_logdetail 3
log on

// Teamplay Settings
mp_spawnprotectiontime 0
mp_autokick 0
mp_autoteambalance 0
mp_fadetoblack 0
mp_forcecamera 0
mp_forcerespawn 1
mp_teamplay 0

// Game Settings
mp_fraglimit 0
mp_maxrounds 0
mp_winlimit 0
mp_timelimit 15
mp_startmoney 800
mp_roundtime 2.5
// mp_allowNPCs 1
mp_autocrosshair 0
mp_buytime 0.75
mp_c4timer 30
mp_falldamage 1
mp_flashlight 1
mp_footsteps 1
mp_freezetime 2
mp_friendlyfire 1
mp_tkpunish 0
mp_hostagepenalty 4
mp_limitteams 2
mp_playerid 0
sv_footsteps 1

// Performance Settings
mp_weaponstay 0
mp_decals 200
decalfrequency 10
breakable_multiplayer 1

// Spectator Settings
mp_allowspectators 1
sv_specaccelerate 5
sv_specnoclip 1
sv_specspeed 3

// Physics Settings
sv_gravity 800
sv_friction 4
sv_airaccelerate 10
sv_stopspeed 75
sv_stepsize 18
sv_maxspeed 320

// Rate Settings
sv_minrate 0
sv_maxrate 0
sv_minupdaterate 10
sv_maxupdaterate 60
sv_unlag 1
sv_maxunlag 1

// Ammo Settings
ammo_338mag_max 30
ammo_357sig_max 50
ammo_45acp_max 100
ammo_50AE_max 35
ammo_556mm_box_max 200
ammo_556mm_max 90
ammo_57mm_max 100
ammo_762mm_max 90
ammo_9mm_max 120
ammo_buckshot_max 40
ammo_flashbang_max 1
ammo_hegrenade_max 1
ammo_smokegrenade_max 1

// Mani Mod
exec mani_server.cfg
ma_war 0

// Announce Execution
say Public Mode CFG executed

Setting up Mani-Admin-Plugin

Now we have the server correctly setup, we can start adding some plugins. One of the all-time favourites is the Mani-Admin-Plugin, which makes administering a server extremely easy, and
adds extra functionality which is otherwise unavailable. I will take you through the installation steps, and then feel free to explore everything it has to offer.

Still as root in a terminal, copy and paste the following commands (Note: There may be a newer version of the Mani-Admin-Plugin for Counter-Strike:Source available. Check the Mani-Admin-Plugin websitefor the latest version of Mani and supply the link to the zip to wget:

# cd /home/username/
# wget http://link/to/mani_admin_plugin_v1_1_0zh_cssource.zip
# unzip mani_admin_plugin_v1_1_0zh_cssource.zip
# mkdir srcds_l/cstrike/addons/
# cp -r cstrike/addons/* srcds_l/cstrike/addons/
# cp -r cstrike/cfg/* srcds_l/cstrike/cfg/
# cp -r cstrike/materials/* srcds_l/cstrike/materials/
# cp -r cstrike/sound/* srcds_l/cstrike/sound/
# rm -rf cstrike/

We have just copied all the Mani-Admin-Plugin files into their respective directories within the Counter-Strike:Source directory, and the Plugin is correctly installed (thanks to our server.cfg). You can read up on all the advantages and extra tweaking settings here: Mani-Admin-Plugin Documentation. The Installation -> Configuration section will be particularly helpful, and I advise you read it with patience and care.

Setting up HLStatsX

To setup HLStatsX, we will need the following applications as well: Apache, Perl V5 or above (with the DBI and Msql-Mysql Modules), PHP V4 or above, and MySQL V3.23 or above. I suggest that you install those packages manually instead of using an all-in-one like XAMPP in this case, because it may make things a bit more complicated in the long run. If you have a package manager, install Apache2, Perl, PHP and MySQL from the repositories - if not you will have to compile them from source. An alternative is to use an external webhosting service to host HLStatsX for you - this is a good idea if you are already paying for webhosting, because you will not have to worry about installing the dependencies (there should be a simple interface to do this, or it will come with the package). Contact your webhost first to make sure you are allowed to install it.

Now that you (hopefully) have those installed - or are connected to your webhost via SSH - we need to add some Perl Modules to the system. Here is how we will do it:

# cpan (You will need to answer the questions - the defaults are usually fine)
cpan> install DBI
cpan> install DBD::mysql
cpan> quit

Great! Now we can get on with installing HLStatsX itself. First, download the latest version from here - it is currently at version 1.00 Final, so that is what I will be using.

# cd /home/username/
# wget http://www.hlstatsx.com/downloads/HLstatsX_V1.00.zip
# mkdir HLStatsX/
# mv HLstatsX_V1.00.zip HLStatsX/
# cd HLStatsX/
# unzip HLstatsX_V1.00.zip

And from here, I pass you on to United Admins - their HLStatsX installation guide will take you through the remaining steps!

Getting it online

If you are behind a router, you will have a few problems getting the server online. So, you will need to forward the following ports from the router to your server using a DMZ - make sure your server has a static IP address!

[UDP] 1200 (Used for Steam’s Friends service)
[UDP] 27000 to 27015 inclusive
[TCP] 27030 to 27039 inclusive

These are all Steam related ports

[UDP] 27015 and 27020 (Default dedicated server port, also used for HLTV)
[TCP] 27015 (For RCON access)

These ports are used by the dedicated server itself

The required ports were found here. You will also need port 27011 outbound allowed (configure your firewall), because this will allow you to connect to the master servers.

All we have to do now is run the server. The Command Line Interface (CLI) is less CPU intensive, and so the server will run more efficiently if we are not running an X server. So, let’s get complex. Open up a terminal (like aterm or konsole), and switch to root via the command su (or for sudo users, a simple workaround is sudo bash). Now, type in the command runlevel. You should see output similar to the following:
  N 5

In this case, my runlevel is 5. Yours will be the digit that appears in the result. However, sometimes this command may not be installed on your system, so we will have to discover your runlevel via another method. Here is what you will have to do (still as root in the terminal):
# less /etc/inittab
One of the first lines in that file will be something like the following:
id:5:initdefault:
The key section here is the 5 between id: and initdefault:, because that tells us what runlevel init boots into when the computers starts.

Well, now that we know what runlevel we are on, we can successfully switch to a runlevel which we are not on. You have the following runlevels to choose from: 2, 3, 4, 5 - minus the one we just discovered is your default one. In my case, the relevant runlevels are 2, 3, and 4, because I am already running on 5. All it takes to switch to another runlevel is:
# telinit 3
You will need to replace 3 with whatever runlevel you have chosen. I have decided to go to runlevel 3. Note that your graphical runlevel is usually 5, and the command line one is usually 3 (by default).

In your new runlevel, log in as a standard user (that is, non-root). Now we can move on to the next step. You can read more about init and runlevels here, and by viewing the init man page (man 8 init).

Right, now we have done pretty much everything. All we need to do is start the server (you may need to do it as root - if so, append ’sudo’ in front of the second command below)! Find out what your IP address is (using the ifconfig command), and replace 192.168.1.100 with it below:

# cd /home/username/srcds_l/
# ./srcds_run -console -game cstrike +map cs_italy +ip 192.168.1.100 +maxplayers 16 -autoupdate

And you’re done! :D

Note: This setup is probably not secure enough to be allowed online, especially if it is not behind a hardware firewall. Please take appropriate measures to secure your server before allowing others to play, such as these.

Most of the microsoft training and cisco training are found online for transceder help and interactive labs with exams simulations to pass ccnp exams while mcsa boot camp is the best source to find a well reinforced knowledge by international trainers who have experienced deploying and troubleshooting Microsoft network plus products.

361 Comments »

RSS feed for comments on this post. TrackBack URI

  1. Hi. I’m Setting up a server and i would like to thak anyone who put this information on the web

    Sincerely Kolli

    Comment by KolliKilla — April 18, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  2. No problem - I’m glad it was of use to you! ;)

    Comment by J_K9 — April 24, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  3. If you have any info on this, I would greatly appreciate it. When I try to load a custom map, such as de_losttemple or de_kismayo, the server switches to the map fine. But none of the clients download the .bsp file. They DO however download the .nav, but not the .bsp. They then disconnect with a message saying “Missing File: de_kismayo.bsp”, for example. I appreciate your time and thanks for the great information posted above. One of the best i’ve read ever. -Bryan

    Comment by Bryan Russell — April 26, 2006 #
    Using Opera Opera 8.54 on Windows Windows 2000

  4. Hi!

    Thanks for the compliment. :)

    ’sv_allowdownload 1′ should allow the clients to download any maps they do not have off the server.. Which is why I find it very odd that they cannot download them.
    The clients must make sure that they have ‘cl_allowdownload 1′ set in their config.cfg file. Apart from that, I’m not sure what the problem could be..

    You could also try changing the line:
    sv_allowdownload 1
    To:
    sv_allowdownload “1″
    Although I’m quite sure the quotation marks are optional!

    Also try changing ’sv_allowupload 0′ to ’sv_allowupload 1′ - that could work. I hope that does the trick.. :)

    I’m sorry I can’t be of more help, my mind’s swirling at the moment. If that doesn’t help, try asking on the Counter-Strike.net Server Op forum. They might be able to answer your question ;)

    Comment by J_K9 — April 26, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  5. Hi,

    Great guide! Thankyou :D

    My server is running on a different port (28015) and I was wondering where I can change this?

    Many thanks,
    Dave

    Comment by Dave — May 4, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  6. Hello,

    I think it should be as simple as adding a ‘ port 27020′ parameter to the command, but I will have to look this up for you :) (I think you meant 27015, rather than 28015? ;))

    I’ll get back to you once I’ve found out. In the meantime, try the above - that may work ;)

    Comment by J_K9 — May 4, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  7. Hi J_K9,

    Thanks for your reply… :D No, I meant 28015. Yeah, I know. The server isn’t even showing in xFire, which makes me suspect the port should be in the 27000-27999 range at max, and that it needs to change…

    Will have a look at the port command, cheers :D

    Hmmm…

    Cheers for your help,
    Dave

    Comment by Dave — May 4, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  8. Hi,

    28015? That’s very odd… Usually CS:Source servers run in the 27015-27030 range. Surely you would have had to forward the 28015 port to your computer as well to make that work?

    Anyway, I did a bit of research, and adding the following parameter to the command should work:

    +port 27015

    So that the final command is (example):

    ./srcds_run -console -game cstrike map cs_italy ip 192.168.1.100 maxplayers 16 +port 27015 -autoupdate

    That should work :)

    Oh, and to change the source TV port (if you want to change it from its default 27020), you would need to add this: +tv_port 27021

    Best of luck!

    Comment by J_K9 — May 5, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  9. Hi There,

    I’m having problems with the router thing. I’ve done the whole thing where I go into my router setting,to put the port numbers in eg.27000-* bla bla. But everytime I get the new line for the next port, it doesn’t allow me to add the next settings. eg. my UDP Ports. Do you know what I mean. I don’t know how to explain it.

    Thanx

    DJ Guess?

    Comment by djGuess? — May 30, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  10. Hi,

    I’m afraid that, because I don’t know what your router’s make or model is, I can’t help you with that.. Plus, I’m not too sure what you mean ;)
    But, here’s a site which should help you: http://www.portforward.com/routers.htm

    Luck ;)

    Comment by J_K9 — June 1, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.3 on Windows Windows XP

  11. I have a Marconi Model 2 router.I’ve been to that site www.portworward.com and they’ve showed me how to enter the ports manualy in my router’s config. I’ve done the first one and then selected ‘add this setting’. It then adds the first line, but when I want to add the 2nd and 3rd ports (UDP), it doesn’t accept it, my router doesn’t shows the rest of the ports I’ve added. It only shows the first entry (port) I’ve added. Do you think it would still work?

    Now another problem. I’ve updated my srcds, but now srcds.exe file is not working. I double click it but nothing happens, any suggestions.

    Thanks alot.
    djGuess?

    Comment by djGuess? — June 2, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  12. I have a cs 1.6 server and i was wondering if its possible two run two ports on a server … !

    Comment by snake — June 3, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows Server 2003

  13. this has been very helpfull for me. thankyou

    Comment by meatwad — June 5, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.0.7 on Windows Windows XP

  14. djGuess? - I’ve never seen the configuration page for one of them, and to be honest I have never heard of that router.. I’m afraid I can’t help you any longer - try the router manufacturer’s support forum to see if they can help :(
    If you have been doing this on Linux, then the scrds.exe file will not work. You’ll have to run the ./srcds app with the relevant parameters.

    snake - Hi. I’m not quite sure what you mean.. You cannot run the same CS 1.6 server on two different ports. However, you can install two different copies of the server on the same machine, and set each copy to run on a different port. That would work - as long as you have a good enough server to support them ;)

    meatwad - I’m glad it helped! ;)

    I might as well advertise The TAZ Zone’s server: 81.19.208.38:27015
    Pop over there if you have the chance.. :)

    Comment by J_K9 — June 5, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  15. PLease help me>

    I have no idea what that means, so if you could give me an exammple, that’d be awesome!

    Thanks,

    Dswimr615

    Comment by dswimr615 — June 8, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  16. Counter-Strike:Source is a computer game (a First Person Shooter, at that). To play the game online, you need to join a server, and this allows you to play against other people. This tutorial explains how to set up your own server, so that you can allow other people to play on your server, and have as many custom modifications as you wish.

    More info on Counter-Strike:Source can be found here: http://en.wikipedia.org/wiki/Counter-Strike:_Source

    Cheers :)

    Comment by J_K9 — June 9, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  17. Hi! Do you have a tutorial on how to setup a Counter-Strike:Source Dedicated server from the tools tab? If you do, I would greatly appreciate it because I dont know how to save the server settings, Thanks!

    Comment by xxnaruto13xx — June 21, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.4 on Windows Windows XP

  18. Sorry, I haven’t made a tutorial for that - for the simple reason that, AFAIK, that can only be done on Windows ;)

    But, the same configuration files should apply to that as well, so you may be able to modify the server’s settings by editing the files mentioned in this tut.

    Sorry I can’t be of more help ;)

    Comment by J_K9 — June 21, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  19. hey, i am having trouble getting ppl to connect to server. they always say server not responding, but when i am playing on it, they also say that its on LAN. i tryed sv_LAN o but it didnt work!someone told me to try it. i want to know how to get it where people can connect to it. can u PlZ help me!!!
    thanks

    Comment by oshea — June 26, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  20. Hi again!,

    I have a question. Can the dedicated windows server run even if your computer is off? I would deeply appreciate it if you could help me because I am going to run a 24/7 server for my clan but I have to shut down the server when I shut down my computer so I can go to sleep. I don’t have a great computer that doesnt slow down when you keep it on everyday. Thanks!

    Comment by xxnaruto13xx — June 26, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  21. my linux server doesnt have a server.cfg. was wondering if I had to create it myself and then refer the server to it to make sure it runs the cfg file.

    The tutorial was exactly what I needed to get it running. /applaud on a job well done

    Comment by exoasol — June 26, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.4 on Ubuntu Linux Ubuntu Linux

  22. oshea - Copy and paste this command in (you have a ‘o’ at the end - it should have been a ‘0′ zero): sv_lan 0

    xxnaruto13xx - Hi. No, your server will not keep running once your computer has been shut down.. Once it’s off, it’s off. ;)
    exoasol - Thank you! And, sure - if the server.cfg isn’t in the mentioned directory, then create one there and put your settings in it; the server will automatically get its settings from there, so you won’t need to worry about changing anything in the server.. Create the file, add your settings, and you’re good to go :)

    Comment by J_K9 — June 27, 2006 #
    Using Safari Safari 417.9.2 on Mac OS Mac OS X

  23. I am having problems putting maps on my server

    I change the mapcycle.txt file like i am supposed to but when it goes to a custom map it puts it on de_dust. Can you help me?

    Comment by Mrmarshie — June 30, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.0.7 on Windows Windows XP

  24. Hi,

    Are you sure the custom map is not corrupt? That is a possible reason for what is happening (the server will usually restart and go to the first map in mapcycle.txt when it detects a corrupt map).

    You should add map names to listmaps.txt as well as mapcycle.txt - I’m not sure if this will solve your problem or not, but it’s a general heads-up.

    If what I’ve suggested doesn’t work, then I’m really not sure what could be happening.. Try asking on the Steam Forums or on the FragMasters Forums - someone on either of the two should be able to help you out :)

    Comment by J_K9 — June 30, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.4 on Ubuntu Linux Ubuntu Linux

  25. wow. fantAstic tutorial. one thing tho:

    when i do this command:
    # ./steam -command update -game “Counter-Strike Source” -dir .
    it says: “unable to determine CPU frequency”

    how can i fix this?

    Comment by Justin S. — July 4, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.4 on Windows Windows XP

  26. Thank you.

    Unfortunately, I don’t have the server installed right now, so I can’t check if there are any parameters or anything of the sort which might help (for example, a parameter to use a known CPU frequency reporter app).

    Try asking on this forum, as someone there should be able to help: http://forums.srcds.com/forumdisplay.php?fid=6. If not, you could also try asking on the two forums mentioned in comment #24.. :)

    Comment by J_K9 — July 4, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.4 on Ubuntu Linux Ubuntu Linux

  27. F**K i am SO pissed. not nessesarily at you, but just pissed and maybe you can help. my site is hosted by canaca (www.canaca.com) and about 5 minuts after i started doing your tutorial everything was cut off. i couldn’t use ssh, ftp ore regular web on my website. i e-mailed canaca and they said that my account has been PERMINANTLY SUSPENDED and that there is no chance of me ever getting it back. they did this because i: “had a suspicious counter strike script” on it. i had some seriously important sh*t on that website, as well as i paid for a full year and have only been with them a couple months. any sugjestions or recomendations?

    Comment by Justin S. — July 5, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.4 on Windows Windows XP

  28. Hi Justin,

    I have a feeling the company did that within reason - if you signed up with them for webhosting (which is what I gathered from their site), there was probably something in their licence (which you agreed to) stating that you would not install any extra software, or run any other services. I have not looked at their licence, but if Canaca is worth their reputation, there will be a clause like that in there.

    Unfortunately, this is neither my fault nor is there anything I can do to help. If you went against their licence without checking whether you were allowed to do this or not beforehand, then they probably have the right to suspend your account permanently (again, read the licence). By installing a CS:Source server on their webserver, you were opening another port and therefore causing the possibility of the compromise of your server AND any other virtual servers on the machine.
    All I can suggest is either to: 1. Contact them and beg for forgiveness, stating that you didn’t know you weren’t allowed to do this and will never do it again - the chances of this working are small, but try it anyway. If 1. doesn’t work, try: 2. Ask them to send you all the files/SQL databases you had on the site via email. That way, at least you get a copy of the things you had on the website.

    Sorry buddy, this is beyond me - I have no say in this. You should have checked that what you were doing complied with the licence before doing it.

    Best of luck.

    Comment by J_K9 — July 5, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.4 on Linux Linux

  29. when i do this:
    # telinit 3
    it says command not found

    help

    Comment by bob marley — July 6, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.4 on Windows Windows XP

  30. ok i finally got everything installed. but when i connect to the server it is Super laggy. like when you go foreward, after a second it teleports you back. how can i make it not laggy?

    Comment by Justin S. — July 6, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.4 on Windows Windows XP

  31. Bob - Try the command ‘init 3′ instead.

    Justin - It is probably to do with your server’s connection. Where has it been set up? What kind of connection is it on? Is it running any other services? If so, try turning them off. What specifications does the server have?

    Comment by J_K9 — July 7, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.4 on Linux Linux

  32. my website is hosted on dreamhost, (http://dreamhost.com/) and here are my rate settings on my server.cfg file:

    //rate settings
    decalfrequency 30
    sv_maxrate 30000
    sv_maxunlag .5
    sv_maxupdaterate 100
    sv_minrate 15000
    sv_minupdaterate 50
    sv_unlag 1

    and i set my tickrate to 66 when i do the run command. here is the run command i use:

    ./srcds_run -console -game cstrike map de_dust2 ip 208.113.157.213:27015 maxplayers 18 -tickrate 66

    Comment by Justin S. — July 7, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.4 on Windows Windows XP

  33. on my above post, for some reason the plus signs didn’t show up on my run command. but just so u know, i do use them.

    Comment by Justin Strawn — July 7, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.4 on Windows Windows XP

  34. thanks J_K9, great tutorial, works for linux and freebsd, saved me alot of working out thanks

    Comment by netop — July 11, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows Server 2003

  35. I’m glad it helped, netop :)

    Comment by J_K9 — July 12, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.4 on Linux Linux

  36. Nice tutorial thx for the work you put in i liked the config section it goes into more depth than most which is nice.

    Comment by Sam — July 12, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.4 on Windows Windows XP

  37. Nice tut, install went lika a breeze.
    Thank you for the effort :o)

    Comment by EnForcer UK — July 13, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.4 on Windows Windows Server 2003

  38. Sam and EnForcer UK - no problem :)

    Comment by J_K9 — July 13, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.4 on Linux Linux

  39. Ok i got this problem here is what i get

    sam@LinuxBox:~/srcds_l$ ./steam -command update -game “Counter-Strike Source” -dir.
    WARNING: unrecognized parameter ‘Source”’
    WARNING: unrecognized parameter ‘-dir.’
    Checking bootstrapper version …
    Updating Installation
    ** ‘game’ options for Source DS Install:

    “Counter-Strike Source”
    “dods”
    “hl2mp”

    ** ‘game’ options for HL1 DS Install:

    “cstrike”
    “czero”
    “dmc”
    “dod”
    “gearbox”
    “ricochet”
    “tfc”
    “valve”

    ** ‘game’ options for Third-Party game servers:

    “redorchestra”
    “ship”
    “sin”
    HLDS installation up to date
    sam@LinuxBox:~/srcds_l$

    Don’t think i did anything wrong i followed exactly as it says.

    Comment by Sam — July 14, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.4 on Ubuntu Linux Ubuntu Linux

  40. i think its somthing to do with Counter-Strike Source becaise i tried hl2mp because i need a server for that to and that installed so it must be a typo

    Comment by Sam — July 14, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.4 on Ubuntu Linux Ubuntu Linux

  41. Hi Sam,

    It is a typo - you need a space between the ‘dir’ and ‘.’. The command should be:

    ./steam -command update -game “Counter-Strike Source” -dir .

    Cheers ;)

    Comment by J_K9 — July 15, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.4 on Windows Windows XP

  42. how do u forward ports?

    Comment by dcccccccc — July 21, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  43. See your router’s user manual or setup guide - it should say how to do so in there. If you can’t find either of the manuals, or it isn’t explained in there, see this comprehensive resource: http://www.portforward.com/routers.htm

    Hope that helps :)

    Comment by J_K9 — July 21, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.4 on Windows Windows XP

  44. Hi!

    Do you know how to save settings for a map on a server that has a web server? If you do i would deeply appreciate it because I have a web server on my server but I don’t know how to save the settings on one or two maps.

    Thanks!

    Comment by xxnaruto13xx — July 30, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.5 on Windows Windows XP

  45. What do you mean by “save the settings”? Do you mean that you want to save things like restricted weapons on a map, etc?

    Read the Mani documentation ;)

    Comment by J_K9 — July 31, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.5 on Windows Windows XP

  46. hey i use source dedicated server and i set everything up and stuff. It says its successfully connected to the steam servers and is VAC secured. Anyway it says the server is running and stuff and i load counter strike source and then look for my server in the internet servers, i cant find it anywhere, but when i goto LAN tab i can see it (even though i selected internet connection at setup)

    any ideas?

    thanks

    Comment by albinoturtle — August 2, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.5 on Windows Windows XP

  47. Hi.

    What I mean by “save the settings” is like sv_gravity and sv_airaccelerate is already executed when the map starts.

    Comment by xxnaruto13xx — August 4, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.6 on Windows Windows XP

  48. Hey, thanks for writing this tutorial, it’s great!

    To answer albinoturtle’s question, if you created a server it’ll show up in lan even though you set it up as an internet server. This dosent just apply to srcds. If your on a lan with the server then you can only access the server through it’s local ip. So if you try to search for it on the internet you wont find it. I don’t know why it’s like that, something with your isp maybe? But odds are if you did everything right it should show up on the internet list, even though you only see it on your lan.

    I’ve also got a question. I’ve installed srcds before but never got it to work, it would error all the time, I thought it was because the kernel was 2.4 so I upgraded it to 2.6, then I tried running it again after I updated it, but it gave me error on line 426 something about an illegal instruction, do you know what that means?

    Comment by Shikima — August 10, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.6 on Windows Windows XP

  49. I’m sorry, I don’t know what the error means - have you tried Googling for it? And have you tried installing srcds on another Linux distribution? It’s an odd error… Try installing it on another distribution, and let me know the result - in the meantime, I’m going to try to find a fix for you :)

    Comment by J_K9 — August 11, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.6 on Windows Windows XP

  50. what u mean by terminal window?

    Comment by zomg — August 12, 2006 #
    Using Internet Explorer Internet Explorer 7.0 on Windows Windows XP

  51. Press Alt F2 and type ‘xterm’ without the quotes.

    Comment by J_K9 — August 12, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.6 on Windows Windows XP

  52. […] … I have set up a Counter-Strike:Source server for a client. The Band of Brothers clan contacted me a few days ago, and we agreed to a deal - I would set up and configure their server as they wanted for a flat rate (the first time), and then I would be hired on occasion to maintain and update the server at an hourly rate. Being a student, and knowing my way around the Source Dedicated Server (see my HOW TO: Setup a CS:Source Dedicated Server tutorial if you would like to do your own), I eagerly accepted the offer. […]

    Pingback by Four Hours And Two Bucketloads Of Perspiration Later at J_K9 @ Linux — August 15, 2006 #
    Using WordPress WordPress 1.5.2

  53. Great tutorial! However, I’ve run into some issues with FC3 ( all updated with yum) that are boggling me. Here’s the server info;

    Compaq ProLiant DL360
    Raid 0 using (2) U160 10k RPM HS drives
    Dual PIII-733
    1 Gig ECC RAM
    custom written firewall script ( will email on request - not for public)

    Here’s the output when I start the server:

    Auto detecting CPU
    Using default binary.
    Auto-restarting the server on crash

    Console initialized.
    Attempted to create unknown entity type event_queue_saveload_proxy!
    Game.dll loaded for “Counter-Strike: Source”
    ********************************************************
    Loading Mani Admin Plugin 2005 V1.1.0zi, www.mani-admin-plugin.com

    0xb6e0dba8 SDK PlayerInfoManager002
    0xb7639ae0 SDK VEngineServer021
    0xb76094a0 SDK GAMEEVENTSMANAGER002
    0xb7f21e04 SDK VFileSystem012
    0xb7636540 SDK ISERVERPLUGINHELPERS001
    0xb76142a0 SDK VEngineServerStringTable001
    0xb7609358 SDK EngineTraceServer003
    0xb761b080 SDK VEngineRandom001
    0xb6dfd95c SDK ServerGameEnts001
    0xb6de6cd0 SDK IEffects001
    0xb763e5d8 SDK IEngineSoundServer003
    0xb76068b4 SDK VEngineCvar002
    0xb6dfd804 SDK ServerGameDLL003 => Upgraded to ServerGameDLL004
    0xb763c32c SDK VoiceServer001
    ********************************************************
    Searching for game type [Counter-Strike: Source]
    Found gametypes for Counter-Strike: Source
    Linux binary @ ./cstrike/bin/server_i486.so
    Program Start at [0×9c50a58]
    var_address = 0xb6d3d410
    Game Type [Counter-Strike: Source]
    Hooked SayText [3]
    Hooked SayText2 [4]
    Hooked TextMsg [5]
    Hooked HudMsg [6]
    Hooked ShowMenu [10]
    Hooked Fade [12]
    Hooked VGUIMenu [13]
    Hooked RadioText [21]
    *********** Loading downloads.txt ************
    *********** downloads.txt loaded ************
    Hooking voiceserver
    maxplayers set to 32
    Server logging enabled.
    Server logging data to file logs/L0815001.log
    L 08/15/2006 - 16:24:42: Log file started (file “logs/L0815001.log”) (game “/usr/local/games/srcds/cstrike”) (version “2784″)
    L 08/15/2006 - 16:24:42: Banid: “” was banned “permanently” by “Console”
    L 08/15/2006 - 16:24:42: Banid: “” was banned “permanently” by “Console”
    couldn’t exec banned_ip.cfg
    Network: IP 127.0.0.1, mode MP, dedicated Yes, ports 27015 SV / 27005 CL

    I have UT99 running as a server as well ( no conflicting ports) and it’s seen fine by the outside world. Any suggestions?

    Comment by DreamDemon — August 15, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.6 on Windows Windows Server 2003

  54. Hmm… Fedora Core 3? Slightly outdated, in my opinion - but, if you like it.. ;)
    The way I see it, this line is the killer:

    Network: IP 127.0.0.1, mode MP, dedicated Yes, ports 27015 SV / 27005 CL

    The server seems to be using the wrong interface - it’s using lo instead of whatever interface you are connected to the internet to. You should be able to specify which interface to use when starting the server… Could you please check out “./srcds –help” to see if there is a parameter for that? I’m sorry, I’d check it myself, but I don’t have a server to test this with.

    If you specify the right interface, it will probably work ;)

    Comment by J_K9 — August 16, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.6 on Windows Windows XP

  55. Brilliant 10 out of 10 no problems, easy to follow. Good job i owe u!

    Comment by Platinum Cheese — August 24, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  56. You don’t owe me anything, Platinum Cheese - I’m just glad you found it useful ;)

    Comment by J_K9 — August 24, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.5 on Ubuntu Linux Ubuntu Linux

  57. ok then, i gotta ask u, if u wanted to make 2 or 5 servers so each one was set to different things e.g. a zombie server on one setting and a normal server on another, but obviously run them indervidually would u have to copy and paste the whole lot? and change settings or just copy the the server .cfg file and change settings?
    thanks

    Comment by Platinum Cheese — August 24, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  58. Copy and paste the whole lot, and run it on a different port (it’s probably the best choice - you, technically, could just copy and paste the server.cfg file and modify that, but it would take quite a bit of tweaking to get it all working smoothly IMHO). :)

    Comment by J_K9 — August 25, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.6 on Windows Windows XP

  59. You, good sir, are a star. Another server to take to lans, thank you ;D

    Comment by SpuD — August 27, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.5 on Ubuntu Linux Ubuntu Linux

  60. A great how-to!

    Comment by Brian — August 28, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.5 on Ubuntu Linux Ubuntu Linux

  61. SpuD and Brian - Thank you! ;)

    Comment by J_K9 — August 29, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.5 on Ubuntu Linux Ubuntu Linux

  62. I just setup the CS:Source server with the Mani Admin plugin. Call me stupid but I have no idea what to do now. The server works and allows me to play but how do you manage the server? How does rconn work, etc…
    Any pointers that someone would want to pass out to me would be greatly appreciated.

    Tom

    Comment by Tom — September 1, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.6 on Windows Windows XP

  63. Tom:
    First, you need to set yourself up w/ admin in the Mani config file (set it to your steam ID, just as the example in the cfg shows)

    From there it’s easy…just connect to the server and bind an unused key to “admin”: Open your console and type bind k “admin” then just press the k key and you’ll have a nice little admin menu pop up.

    As for rcon, set your rcon password in the server config, then when you connect, go to the console and do “rcon_password (password)” then you can do rcon (whatever command you want).

    Hope that helps!

    BTW, great tutorial! I gotta bookmark this! :)

    Comment by pete — September 2, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.6 on Windows Windows XP

  64. Pete - Do as Tom suggested! First of all, you need to add your Steam ID to the adminlist.txt file (I think that’s what it’s called - checked the Mani documentation). To find out what your Steam ID is, join a server (any server will do), open the console (` or ~), and enter: “status” (without the quotes). Copy the Steam ID next to your name (you can’t miss it - it’s something like STEAM_0:0:142764), and paste that into adminlist.txt. Save that, and then go to the PC you play CS:Source on. Browse to the C:\Program Files\Valve\Steam\SteamApps\username\counter-strike source\cstrike\cfg\ directory, and edit the file called “valve.rc”. Add the following line to it:

    bind “p” “admin”

    Save and close the file, and start up CS:Source. Join your server, and press the P key. A nice little admin menu should pop up! ;)

    As for rcon access, go to your in-game console and type:

    ma_rcon rcon_command

    For example, if you wanted to change the gravity to 200:

    ma_rcon sv_gravity 200

    Hope that helps ;)

    Pete - Thank you very much! :D

    Comment by J_K9 — September 2, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.5 on Ubuntu Linux Ubuntu Linux

  65. Thanks for the suggestions. I’m still having some issues though. When I log in to my server and hit the key I binded to the admin command nothing happens. When I open the console it reports that the command “admin” is not recognized. When I look back at the server I also see that the adminlist.txt file has been renamed to adminlist.txt.old. Any suggestions on what I’m doing wrong?

    Thanks again,
    Tom

    Comment by Tom — September 3, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.6 on Windows Windows XP

  66. Well, Mani Admin Plugin was broken by the recent CS:Source update (on the 24th August). That’s probably the problem ;)

    You’ll need to get the latest update: V1.2 Beta N RC2.3. Read the changes, what happened, etc over here: click

    I have to set this up on a client’s server tomorrow, so, if you need any help, just ask… I’ll (hopefully) be able to give you precise instructions :)

    Comment by J_K9 — September 3, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.5 on Ubuntu Linux Ubuntu Linux

  67. It’s ALIVE!!! I found my problem, I fat fingered a digit in my Steam ID. Thanks for all the help. This how to is awesome!

    Comment by Tom — September 3, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.6 on Windows Windows XP

  68. Hehe! Thanks.

    Typos are a nuisance… I’ve made more than my fair share of them too :P Haha!

    Comment by J_K9 — September 3, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.5 on Ubuntu Linux Ubuntu Linux

  69. Exellent howTo, found it easy to read/follow. I congratulate you J_K9.

    Comment by DDM — September 8, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  70. Thank you! Great work!

    Comment by Speck — September 8, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.6 on Debian GNU/Linux Debian GNU/Linux

  71. i have a problem that ppl can not connect to my sever here is my server.cfg file every thing is right but all that the ppl get is server not responding Please help!!!!!
    // server name
    hostname “S@V3D Crew”

    // rcon passsword
    rcon_password “brother300″

    // Advanced RCON
    sv_rcon_banpenalty 10
    sv_rcon_maxfailures 10
    sv_rcon_minfailures 5
    sv_rcon_minfailuretime 30

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

    // round specific cvars
    mp_freezetime 4
    mp_roundtime 5
    mp_startmoney 1000
    mp_c4timer 45
    mp_fraglimit 0
    mp_maxrounds 0
    mp_winlimit 0
    mp_playerid 0
    mp_spawnprotectiontime 5

    // bandwidth rates/settings
    sv_minrate 0
    sv_maxrate 0
    decalfrequency 3
    sv_maxupdaterate 60
    sv_minupdaterate 10

    // server logging
    log on
    sv_logbans 1
    sv_logecho 1
    sv_logfile 1
    sv_log_onefile 0

    // bots
    bot_add
    bot_quota 4
    bot_quota_mode normal
    bot_difficulty 1
    bot_chatter normal
    bot_auto_follow 1
    bot_auto_vacate 1
    bot_join_after_player 1
    bot_defer_to_human 1
    bot_allow_rogues 0
    bot_walk 0
    bot_join_team T
    bot_eco_limit 500
    bot_allow_grenades 1
    bot_all_weapons
    bot_allow_grenades 1
    bot_allow_pistols 1
    bot_allow_sub_machine_guns 1
    bot_allow_shotguns 1
    bot_allow_rifles 1
    bot_allow_snipers 1
    bot_allow_machine_guns 1

    // operation
    sv_lan 0
    sv_region 0

    // execute ban files
    exec banned_user.cfg
    exec banned_ip.cfg

    Comment by Brother — September 10, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  72. DDM, Speck - I thank you. ;)

    Brother - Some of the bot commands may have changed. I would give you the ones I’m using, but I don’t have my server.cfg at hand at the moment. Try removing the bots for the moment, and see if it works then. If it still doesn’t, my guess is that something like Mani or HLStatsX isn’t working properly…

    Did you install both of them? And what version of Mani have you installed?

    Comment by J_K9 — September 10, 2006 #
    Using Flock Flock 0.7.1 on Windows Windows XP

  73. no i didn’t install them i will install then and take the bots off and see what happens. Thanks man i didn’t think any buddy would help me your cool, thanks again

    Comment by Brother — September 10, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  74. thanks for the help, this is awesome!

    Comment by MJSee — September 12, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.0.4 on Fedora Linux Fedora Linux

  75. Hello.. I follow the tutorial ( gj by the way ) and when I try to start the server.. it just brings me to a help menu.. It just tells me the commands to put after the ./steam Did I do something wrong?

    Let’s see.. I am in the correct folder.. and I type.

    ./steam -game “Counter-strike Source” -map de_dust

    It says..

    -bash Warning command - map cannot be found
    -bash Warning command De_dust cannot be found

    Then it gives a menu with a list of commands.. I’m not sure what I did wrong?

    Comment by Greg — September 14, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.6 on Windows Windows XP

  76. Eh, stupid me.. I guess I downloaded the wrong files - It works now! lol

    Comment by Greg — September 15, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  77. It’s been loads of help but I got a problem even though I enter the Rcon password from the ingame console I can’t use admin powers, how can I use the admin controls in the ingame console?

    Comment by Miracle — September 16, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  78. Greg - Hehe! Great :D

    Miracle - Check out the Mani documentation for Mani commands. Rcon commands can be executed by (I’m using sv_gravity 150 as an example):

    rcon_password YOURPASSWORD
    rcon sv_gravity 150

    Or, simply: ma_rcon sv_gravity 150

    Check out the other Mani commands too :)

    Comment by J_K9 — September 17, 2006 #
    Using Flock Flock 0.7.1 on Windows Windows XP

  79. thanks got it working but other people say my server says not responding why is that?

    Comment by Miracle — September 17, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  80. Have you tried accessing it from another PC on the LAN? If you have, what is the result? Does it work?

    Have you configured your firewall correctly, and that of any devices in front of it (such as a router)?

    Comment by J_K9 — September 18, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  81. no router. The LAN works as I can see it in the Lan tab in the Steam servers but even though the connection to the steam servers is succesful I can’t see it in the internet tab. I’ve tried disabling the firewall but still it won’t work…any ideas?

    Comment by Miracle — September 18, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  82. Try adding your public IP with the port number to your favourites list, and trying to connect to that. Or, in the game, type the following into ocnsole: connect x.x.x.x:27015
    Where the x’s represent your IP address.

    You may also need to change your server’s region.. Did you do that?

    Comment by J_K9 — September 19, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  83. Yeah I changed it to 255 so it can be world. I live in Mexico though so I put in South America to begin but it didn’t do much so I put 255 in. I’ll try another region but it’s not working still…even when I put the command +ip xx.xx.xx.xx -port 27015

    Comment by Miracle — September 19, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  84. Hmm…. The truth is that I honestly don’t have a clue ;) Try the Steam forums, or the 4uservers.co.uk forum. Sorry.

    Comment by J_K9 — September 19, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  85. hi.
    Im new to all this server stuff, and i have a problem… wheni try 2 add bots to my Source Dedicated Server, the server kicks the bots. can sonone please help me??? thanks alot

    Comment by crick — September 21, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  86. on cs it says server not responding. how do i fix it

    Comment by andrew — September 21, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  87. Hey

    A lot of people say there server says server not responding. I have that too but for some reason every now and then it… it just opens and anyone can join, but then it locks up everyones ping goes 1000 and get kicked then it says server not responding again. Any help with this?

    Comment by David — September 22, 2006 #
    Using Opera Opera 9.00 on Windows Windows XP

  88. Crick - Check out the bot server cvars here: http://www.counter-strike.com/command_bots.php I think they may have changed since I wrote this tut ;)

    Andrew and David - Everything’s fine on the two servers I admin… Try the Steam forums :)

    Comment by J_K9 — September 24, 2006 #
    Using Flock Flock 0.7.1 on Windows Windows XP

  89. Ok umm.. i want to make my server an internet server but right now its on LAN, i am using a router but don’t know what i should do to my firewall (which i know how to access.) Could u tell me what to do to change it to Internet for me cause i Do ahve a router.

    Comment by $hIzNiT — September 24, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  90. You have you give your server a static IP address, and set up port forwarding on your router for the afore-mentioned ports to your server. :)

    Comment by J_K9 — September 25, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  91. i tried getting to my router through the internet and i typed 192.186.0.1 but nothing happened.. it didnt even bring up google. Any other way o access my router other then through the address bar?

    Comment by $hIzNiT — September 25, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  92. Ha. I find it strangly ironic how half the comments are from Windows users!

    Great tutorial though, got me through the installation even though I’ve never used any of thisa stuff before. Thanks.

    Peter

    p.s. The Stubbs are sponsoring this server for mi5-clan.co.uk in case anyone wondered why a band would want a gaming server

    Comment by The Stubbs (unsigned band) — September 25, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.5 on Ubuntu Linux Ubuntu Linux

  93. $hlzNiT - What gateway are you using? Type ‘ifconfig’ (or ‘ipconfig’ on Windows) to find out what your gateway is, and enter that IP into your web browser.

    The Stubbs - Hah! As do I… I’m only using it because I’m forced to in school (same goes for IE) :(
    I’m glad you found it helpful, though ;)

    Comment by J_K9 — September 27, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  94. ok it finally worked, i got to my router but i dont know the password, my brother knows so ill ask him. Also: Wat should i do wen i get logged in?

    Comment by $hIzNiT — September 27, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  95. You make sure you’ve given your server a static IP address, and set up a static route (port forward) for the ports mentioned in the tutorial to your server. Make sure your server is properly secured, though ;)

    Comment by J_K9 — September 27, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  96. ok j_k9

    i have accessed my router on the internet, wat do i do now to make my port 27015? im using microsoft router. Do I go to: Security>Application-Triggered Port Forwarding. Or Security>Persistent Port Forwarding?

    Comment by $hIzNiT — September 29, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  97. hi, Thank ypu very much for the server ad steam ports its just can you explain to be the DIRECTION (INBOUND/ OUTBOUND) for each range or port/s from this list please![UDP] 1200 (Used for Steam’s Friends service)
    [UDP] 27000 to 27015 inclusive
    [TCP] 27030 to 27039 inclusive
    These are all Steam related ports

    [UDP] 27015 and 27020 (Default dedicated server port, also used for HLTV)
    [TCP] 27015 (For RCON access)

    Comment by Devin — September 30, 2006 #
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

  98. Great job on the tutorial. Can you tell me about system requirements for a CS:source server? I mean what good and what’s really good. Also, can you tell me about bandwidth requirements. I currently have a 10MB down and 1 M