Sunday, March 25, 2007

How to make a CSRDS on windows OS

This is tutorial or howto make Counter Strike Source server on WinOS (If you want to make real server, I suggest to use Linux as OS)

Minimum system requirements:
Cpu: 2GHZ; >512mb of RAM; VGA - forget it!!! :D

First, create a folder where the files for the dedicated server will be located. In this manual, C:\srcds will be used as the server directory. Verify 1 GB of free space is available on the drive.
Next, download the HLDS_UpdateTool from here:

HLDS_UpdateTool

Copy this file where you like. Doubleclick it and follow the instructions. The destination folder to use is: C:\srcds. Some files will be copied to this directory when finished, one of them is: HldsUpdateTool.exe
Doubleclick on HldsUpdateTool.exe, so it will update itself. We will be using this file in the next sections.

Download the Server Files Now, we download the server files that are required to run the server. Depending on your connection this could take from a few minutes to a few hours.

The next section need to be completed via the DOS command line. To go there do this:
Click Start, then Run, Type in cmd then click the OK button. Once the Command Prompt is up, we need to change directory by typing this in the command line: cd C:\srcds

Now type the following in the command line or copy from here:

hldsupdatetool -command update -game "Counter-Strike Source" -dir c:\srcds

This will download all the server files needed to run a Standalone Source Dedicated Server.
Once finished retrieving the files, this text will appear:

HLDS installation up to date

If it's not working the first time then try again, again and again

From time to time you will need to update your server, just follow the same steps to do this or make a batch file.

Creating a shortcut to run the server
Go to your C:\srcds directory. Find srcds.exe Right click on it and create a shortcut. Now right click on the newly created shortcut and go to properties. Click on the tab shortcut, in the Target line you see probably the following: C:\srcds\srcds.exe. Now we need to add the following behind this line to get the server started properly.

-console -game cstrike -autoupdate -tickrate 100 +maxplayers 12 +map de_dust

Don’t forget the space between srcds.exe and -console! So the complete line would be like this:

C:\srcds\ srcds.exe -console -game cstrike -autoupdate -tickrate 100 +maxplayers 12 +map de_dust

What else we can add? Here are only a few things:
-console – enables console
-autoupdate - enables autoupdate
-game – game modification
+maxplayers – player limit
+map – map with who server will start
+hostport – gives a different port, the default port is 27015.
-tickrate – changes a server tickrate, the default tickrate is 33, but usually, tickrate is 66, CW 100
-insecure – disables VAC
+ No DWP – turns off dynamic pricing

Click OK when finished.

Start the server.
All you need to do now to start your server is doubleclicking the shortcut you created.

If your server lag’s you can try to open task manager and set the priority of csrds.exe @ high. I don’t know will it help to you, but it works great to me…


References:
Lady Racquel,
Wrecked,
Eitleg