This tutorial was originally created by the makers of SRCDS, but I felt that it is totally incomplete so here I bring you the new Counter Strike Source Server Install Guide
Welcome at the Windows srcds installation tutorial. Here we will explain how to get a Source Dedicated Server running on Windows. We assume you have enough Windows knowledge to download, run files etc.
Attention: Its strongly recommended to use the Console version of srcds instead of the Steam GUI version. Here we will use the console version!
1) Getting started with HLDSUpdatetool
First of all download hldsupdatetool from the VALVe webserver here. We save it to a temporary location and run it. Navigate through the wizard like you are used to, which means next most of the time. When it asks you about the destination folder, click browse. Type c:\srcds in the text field and click on OK. Finish the wizard.
Now click on Start, Run and type cmd . Type in the commands mentioned here and end a line with the enter key. Command(s):C: cd \srcds hldsupdatetool
The new version of HLDSUpdateTool will be downloaded now. As soon the cursor just blinks, press CTRL-C and type exit.
2) Downloading the files
Now we have an account, we can start downloading the files. This can take a few hours depending on the connection the server uses. Go to C:/srcds and create a shortcut of HldsUpdateTool in the same directory. Right click on the newly created shortcut and go to its properties and add this to the end of the target field.
-command update -game "Counter-Strike Source" -dir C:\srcds
Now run the file and go get yourself a cup of coffee.
3) Starting srcds for the first time
First create c:\srcds\cstrike\cfg\server.cfg like you want it to be. A nice quick way to make your server.cfg file is to visit Server.cfg Maker. When your done just copy and paste what it gives you inside of Server.cfg
Now we are ready to run the srcds. Go to C:/srcds and create a shortcut of HldsUpdateTool in the same directory. Right click on the newly created shortcut and go to its properties and add this to the end of the target field.
-console -game cstrike +map de_dust -maxplayers 16 -tickrate 66 +ip 111.222.333.444 +hostport 27015 -autoupdate
*Note: If your running your server off of one IP you can remove the IP portion. Using the IP portion is very helpful if you have multiple IP's and you want to use a particular one.
Your srcds is now up and running. If you want to use the GUI mode, with the interface do not add any options to it. (just srcds.exe)
4) Metamod:Source
The next step is to download metamod source so we can use it for various addons. The one I will show you is for Mani Admin Mod.
Download the latest MetaMod: Source version from here , either the Linux or Windows version. Create the following directory under your mod dir: /addons/metamod/bin (ex. cstrike/addons/metamod/bin)
5) Extract and install
Open the zip or tar file and extract the server_i486.so or server.dll to the /addons/metamod/bin folder.
6) Editing the .ini
Now open up the C:/srcds/cstrike/gameinfo.txt file and look for:
SearchPaths { Game |gameinfo_path|. Game cstrike Game hl2 }
Add a new line after the { and before the first Game part:
GameBin |gameinfo_path|addons/metamod/bin
Your new version should then say: SearchPaths { GameBin |gameinfopath|addons/metamod/bin Game |gameinfopath|. Game cstrike Game hl2 }
7) That's it, your done! Start your server and type meta version in console to see if MetaMod is loaded.
8) Mani Admin Mod
Next step is to download the latest release of Mani's Admin Plugin. Extract the zip file to C:/srcds/cstrike.
9) Mani meets metamod:source
Open your metaplugins.ini (to be found in /addons/metamod)
Add the following line at the bottom:
/addons/maniadminplugin/bin/maniadminplugin_mm and save the metaplugins.ini file
Mani is now installed. To verify that it is installed run your server and type in "meta list" into the console.
10) Admins
Right now you have a admin mod with no admins which is pretty useless so lets add some. Download this program that makes it sooo easy to create your admins.
Once you finished your setup copy the clients.txt file into this directory
C:\srcds\cstrike\cfg\maniadminplugin
11) Adverts
While we are in this directory I will show you how to edit the adverts.txt folder.
Its simple all you need to do is open C:\srcds\cstrike\cfg\maniadminplugin\adverts.txt
and edit this file to have advertisments in your server. *Note: One line Per Ad
12) Quick RCon commands
Rcon commands are powerful, but I am too lazy to pull the console menu and enter the password in it so there is an easier way
Open C:\srcds\cstrike\cfg\maniadminplugin\rconlist.txt
In this folder you can add rcon commands and nickname them. To do this add a line similar to the two below and the bottom of the file.
"All Talk On" sv_alltalk 1 // All Talk on "Cal Server" exec cplcss.cfg // Cal Settings
Save it and your done.
13) Server Config Mani Style
Last but not least is one of your more important editing stops.
Open Open C:\srcds\cstrike\cfg\mani_server.cfg
Edit the commands as you so choose.
*Note:I recommend that you back up this file if you screw it up.
The commands are self explanatory because almost every line has a description of what it does.
Restart your server and now you have a fully functioning CSS Server along with Mani Admin mod.
Extra) Restarting srcds at crash
Batch files are little script files that tell Windows what to do. If srcds crashes, it will not restart like possible under Linux. (Linux uses a "Script" file too) What we are going to do is make sure that as soon HLDS suddenly quits it will restart. First we open notepad. What we write in there is the following:
Command(s): @echo off cls echo Protecting srcds from crashes... echo If you want to close srcds and this script, close the srcds window and type Y depending on your language followed by Enter. title srcds.com Watchdog :srcds echo (%time%) srcds started. start /wait srcds.exe -console -game cstrike +map de_dust +maxplayers 16 echo (%time%) WARNING: srcds closed or crashed, restarting. goto srcds
Replace the marked part with your own commandline and values. Save the file as C:\srcds\srcds.bat in notepad (NOT .txt) and next time click the srcds.bat file. If you need to close srcds, close the hlds window and press Y (depending on language) at the Terminate batch question. Please do note this does not work with crashes/errors that involve a Windows error box.
Credits To:
Viper BAILOPAN Damaged Soul SirTiger
If I missed anything Please tell me and i will update the tutorial.






