Vultr.com - Instant Cloud Server Deployment
TGS GAMING | CS 1.6 TEAM 20 MEMBERS:
Home
Forum
News
Share on Facebook
Share on Twitter
Share on Google+
Forum Home > Tutorials, Tips and Tricks of Counter-Strike > Counter-strike 1.6 Server [Windows] Steam
mrnobodyPM
#1
Counter-strike 1.6 Server [Windows] Steam
Oct 06, 2012 11:55 PM
TGS|XeptR <|3 [Brokenheart] Founder / Managing Director - Joined: Jan 12, 2012
Posts: 15
Hey Gamers,
This tutorial will teach you how to create a Counter-Strike 1.6 Server.

This tutorial is a copy of the one at cstrike-planet.com
Link to orignal tutorial:
http://www.cstrike-planet.com/tutorial/1-Windows-Install-CS-16/4
I have posted this tutorial here for documentation purposes and to make it easy for people to understand it.


Steps For Creating A Counter-Strike 1.6 Server:

1.
First you have to download the Steam HLDS Update Tool from:
http://www.cstrike-planet.com/files/11-Steam-HLDS-Updatetool-Windows

Tip: If you have the Counter-Strike 1.6 Game/Client installed in your PC then you should go to that folder and copy it whole (not the cstrike folder but the folder which contains hl.exe and the cstrike folder) then go to C:\Program Files\Valve\ and paste it there, if the Valve folder dose not exist then make it. Next rename the folder you just copied to HLServer.
By doing these steps the HldsUpdateTool will only have to update the main server system files and will not download the maps, sounds and graphic files as they already exist. The total approximate download size will decrease to just 80 MB!

In this tutorial the images shown were taken when the above tip was followed. If you do not follow this tip then some items will be a little different ONLY in visuals.

2. Next after you have downloaded the Steam HLDS Update Tool you have to install it to your Server's directory that is the place where you want to install your server. It is recommended that at this moment you install it in your Window's drive that is in the same drive where windows is installed (in most cases it is the drive C:\) and after the tutorial is completed you can move this whole folder anywhere.
In this tutorial we will install it to:
C:\Program Files\Valve\HLServer\

3. Now after installation of the Steam HLDS Update Tool go to the HLServer folder and Right-Click on the HldsUpdateTool.exe and select Create Shortcut:



Next Right-Click on the Shortcut named Shortcut to HldsUpdateTool.exe which was just now created and select Properties.



We will now edit the Target field.



At the end in the Target field enter a space and then type this:

-command update -game cstrike -dir .

Note that there is a space between "dir" and the ".".
You should type like this:

-command<space>update<space>-game<space>cstrike<space>-dir<space>.



Click on OK and then double click the Shortcut to HldsUpdateTool.exe, the server files will now begin downloading:



Leave this Window alone, do not close it! The approximate size of the download is 300 MB if you did not follow the Tip mentioned above between Steps 1 and 2 and if you did then the approximate size if the download will be 80 MB.

After a while you will see a message:

HLDS Installation up to date



Now close this Window. If you do not see this message and this Window automatically closes no need to worry. It means that the server was fully downloaded.

Congratulations! You have just installed your very own Counter-Strike 1.6 Server!

Starting The Server:

There are two ways of starting the server, either by using the GUI or the Console.

Which method you choose depend on the type of server. If it will be a temporary server then use the GUI for easy setup, otherwise, stick with the console, it uses less resources. Select one of the two options:

1. Starting via GUI
Browse to C:\Program Files\Valve\HLServer\
and double click the hlds.exe icon. A menu will open and in it everything should be self explainatory:



2. Starting via Console
Browse to C:\Program Files\Valve\HLServer and right click hlds.exe then select Create Shortcut now right click that new Shortcut you just created and select Properties.



Below are a list of commands you can enter in the target field to start the server.

-console
Initializes console mode

-autoupdate
Automatically update the server when Steam updates are released

-game <game name>
The HLDS mod you want to run

+maxplayers <number of players>
Amount of players to allow

+map <map name>
The map to start the server with

-port <port number>
The port number the server should run on. Can be left out if you plan on using the default port (27015).

-ip <ipaddress>
Useful if you have multiple IPs and want to assign a particular IP to the server.


Example, you want to start the server with 12 players and the map de_aztec your target field should look like this:

"C:\Program Files\Valve\HLServer\hlds.exe" -console -game cstrike -autoupdate +maxplayers 12 +map "de_aztec"

It is better to inclose the map name in quotes ("") as long names without quotes can cause problems.

After you've entered that in the target field, click OK then double click the shortcut icon and the server should now be starting up:




Do comment below, give your suggestions and share your experiences!
Regards,
T.G.S

Stay Connected With: www.itssyed.blogspot.com
Last edited by: mrnobody Oct 07, 2012 12:16 AM
mrnobodyPM
#2
Oct 07, 2012 12:07 AM
TGS|XeptR <|3 [Brokenheart] Founder / Managing Director - Joined: Jan 12, 2012
Posts: 15
T.G.S wrote:
edwin_kuswanto wrote:
*how to forward my router ?...according :

http://www.wikihow.com/Set-up-Port-Forwarding-on-a-Router

[IMG]http://img15.imageshack.us/img15/2626/sadasdsadasd.jpg[/IMG]

my "router's admin console" dont have "Applications and Gaming" feature, its mean i cant make a server ? TT_TT

[IMG]http://img832.imageshack.us/img832/2626/sadasdsadasd.jpg[/IMG]

OH GOD WHY ??????!!!!!!!!!

Hi edwin_kuswanto!
No no, each router has a different settings page, don't worry if the Applications and Gaming option is not there. It will be in Advanced Setting, it will be named something like NAT or Virtual Server or Port Forwarding.


edwin_kuswanto wrote:
...*as a server owner i cant joint on my own server ?

*after created a server I'm doing this:

[IMG]http://img594.imageshack.us/img594/2626/sadasdsadasd.jpg[/IMG]
and my server not appear

*(www.whatismyip.com) show different IP, the IP become 180.246.XX.X what i must to do ? use [180.246.XX.X] or [192.168.X.XXX:XXXXX] ?...

Sure you can join your server! From which PC are you entering this IP 192.168.XXX.XXX? This IP 192.168.XXX.XXX will be used for all the PC's which are behind the same router as your server's PC. You can play from the same PC on which you are running the server (using this IP) but this is not recommended on many server tutorials (but I do it! nothing bad happens, your PC just needs to be fast to do it).
The IP which you saw form www.whatismyip.com 180.246.XXX.XXX will be used from over the Internet by other players (after the port forwarding has been done, else it will not work).


edwin_kuswanto wrote:
...*sorry i'm a dumbest person you ever seen @_@

thank for helping me sir T.G.S

No Problem, I am here to help
I also didin't know anything at the start. You will become a Pro in a few months, just ask me when you need any help!
And by the way I am not old enough to be called Sir

Regards,
T.G.S

Stay Connected With: www.itssyed.blogspot.com
Last edited by: mrnobody Oct 07, 2012 12:16 AM
mrnobodyPM
#3
Oct 07, 2012 12:11 AM
TGS|XeptR <|3 [Brokenheart] Founder / Managing Director - Joined: Jan 12, 2012
Posts: 15
T.G.S wrote:
edwin_kuswanto wrote:
*how to forward my router ?...according :

http://www.wikihow.com/Set-up-Port-Forwarding-on-a-Router

[IMG]http://img15.imageshack.us/img15/2626/sadasdsadasd.jpg[/IMG]

my "router's admin console" dont have "Applications and Gaming" feature, its mean i cant make a server ? TT_TT

[IMG]http://img832.imageshack.us/img832/2626/sadasdsadasd.jpg[/IMG]

OH GOD WHY ??????!!!!!!!!!

Hi edwin_kuswanto!
No no, each router has a different settings page, don't worry if the Applications and Gaming option is not there. It will be in Advanced Setting, it will be named something like NAT or Virtual Server or Port Forwarding.


edwin_kuswanto wrote:
...*as a server owner i cant joint on my own server ?

*after created a server I'm doing this:

[IMG]http://img594.imageshack.us/img594/2626/sadasdsadasd.jpg[/IMG]
and my server not appear

*(www.whatismyip.com) show different IP, the IP become 180.246.XX.X what i must to do ? use [180.246.XX.X] or [192.168.X.XXX:XXXXX] ?...

Sure you can join your server! From which PC are you entering this IP 192.168.XXX.XXX? This IP 192.168.XXX.XXX will be used for all the PC's which are behind the same router as your server's PC. You can play from the same PC on which you are running the server (using this IP) but this is not recommended on many server tutorials (but I do it! nothing bad happens, your PC just needs to be fast to do it).
The IP which you saw form www.whatismyip.com 180.246.XXX.XXX will be used from over the Internet by other players (after the port forwarding has been done, else it will not work).


edwin_kuswanto wrote:
...*sorry i'm a dumbest person you ever seen @_@

thank for helping me sir T.G.S

No Problem, I am here to help
I also didin't know anything at the start. You will become a Pro in a few months, just ask me when you need any help!
And by the way I am not old enough to be called Sir

Regards,
T.G.S

T.G.S wrote:
edwin_kuswanto wrote:
oh yeah, i find it, but i dont know how to fill it @_@

please teach me ^^

[IMG]http://img195.imageshack.us/img195/1087/dmzvirtual.jpg[/IMG]

when my server has been done I will invite you ^^

thx for helping me ^^

Hi edwin_kuswanto!
First you have to set up a Static LAN IP for the PC on which you want to run the server.
See these guides (but please do not check out that website more, just follow the guides and close it, when people follow the other tutorials of that site the get into trouble):
For Windows XP®:
http://portforward.com/networking/static-xp.htm
For Windows 7®:
http://portforward.com/networking/static-win7.htm

Next we move on to Port Forwarding.
I have edited the image of your router and added instructions:

Regards,
T.G.S

Stay Connected With: www.itssyed.blogspot.com
mrnobodyPM
#4
Oct 07, 2012 12:31 AM
TGS|XeptR <|3 [Brokenheart] Founder / Managing Director - Joined: Jan 12, 2012
Posts: 15
T.G.S wrote:
Hi All This Topic To Know How To Make "Vectims" And "Attackers"
Off In Server

1.After Join ur Server Write in Consol "amxmodmenu"


2.You Will See "AMX Mods Menu" Then Click "9" in Keybored

3.You Will See "Stats Config" Then Click "6" in Keybored


4.Then You Will See "Show Attackers" And "Show Vactims" And "Show Best Score"
If You Want To Off It Just Click Before Number Stat Like
"Show Attackers" in Photo is "2" So u Need To Click "2" in Keybored
"Show Victims" in photo Is "3" So u Need To Click "2" in Keybored
"Show Best Score" in Photo is "7" So You Need To Click "7" in Keybored


I Hope To Understand That

Regards,
T.G.S

Stay Connected With: www.itssyed.blogspot.com