Counter-Strike

Counter-Strike

49 hodnocení
Counter-Strike: 1.6 Dedicated Server (SteamCMD) [English/Englisch] [Windows]
Vytvořil Zeromix a spoluautoři (1)
In this Guide i will show you, how to setup a Counter-Strike 1.6 Server!

The following port must be open:
UDP/TCP 27015 Server Port

German Version:
http://steamcommunity.com/sharedfiles/filedetails/?id=710511353

I also created a tool, that automates the installation process. You can find this tool here:
https://steamcommunity.com/groups/ServerTool
2
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
SteamCMD Download
First of all you need the SteamCMD. You can download it here:
https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip
SteamCMD Login
Now you need to execute this file.
After a few seconds you can login:
login anonymous
By now you should be logged in.
Server Files Download
Now you need to enter the following in the console:
force_install_dir ./cs_ds/
This will create a folder with the name "cs_ds" and it will put in the files in this folder.

Now you can start the download with:
app_update 90 validate

If the download was sucessful, you have to type
exit
in the console close the SteamCMD.
Run the Server
To run the Server, you need to start the "hlds.exe" in your "cs" folder.

Now choose the game "Counter-Strike."
By now you should be able, to choose the map you want, also you can change what you want!

You just need to setup an RCON Password to start the Server!

You can also run the Server through a BAT file with the following codes.
(Which also helps, if the first method doesn´t work for you.)
Internet:
start hlds -game cstrike -console +maxplayers 12 +map de_dust

LAN:
start hlds -game cstrike -console -insecure -nomaster +sv_lan 1 +maxplayers 12 +map de_dust

Have fun to play!

IF you want to add some more stuff to your server, like plugins, this is a good way to start:
https://amxmod.net/amx-plugins-all.php
Configurate the server
To change the settings of the server, we will need the "server.cfg"
This file can be found in the "cstrike" folder.

Here we can change settings like the servername, map, password etc.
Frequently Asked Questions
I can not see my server / No one can connect to my server
Please make sure, that you have opened all the required ports in your router. If the everything is set correctly, but the problem still occurs, please contact your internet provider.

Is there another way instead of opening the ports?
Yes, you can also host your server through a VPN network like "Hamachi". Of course only the people in the VPN network will be able to join the server then.
If forwarding your ports doesn´t work, please contact your ISP, i won´t be able to help you.

The SteamCMD download failed! What should I do now?
Mostly you just need to retry the download, then the problem should be fixed.

How do I update my server?
Just open the SteamCMD and login again, then retry the Step "Downloading the files" it will be checked which files need to be updated.
Server Creation Tool
To automate these steps to setup/upgrade a server, i created a tool, the group can be founde here:
http://steamcommunity.com/groups/ServerTool

The tool itself is hosted on Github, which can be found here:
https://github.com/Zeromix9/ServerTool

I hope, that will help you in the future!

If you like, you are also welcome to leave a small donation.
https://paypal.me/Zeromix
Počet komentářů: 66
Zeromix  [autor] 19. bře. v 4.35 
@islamcr39 That´s your network INTERNAL IP, not your IP on the internet.
islamcr39 19. bře. v 3.25 
it is 192.168.xxx
Zeromix  [autor] 18. bře. v 10.10 
@islamcr39 I don´t understand, what you mean, sry
Zeromix  [autor] 8. bře. v 10.39 
@islamcr39 Strange stuff, is it a public IP, you added? Or is it like 192.168.XXX ?
islamcr39 3. bře. v 8.42 
@Zeromix yes, the server is detected and can be add via ip+port but contecting will fail here are some screen shots:https://ibb.co/album/8XfJ7R
Zeromix  [autor] 1. bře. v 7.05 
@islamcr39 The files couldn´t be loaded, cause they don´t exist yet. (Since you don´t have a whitelist on IP´s or banned people.)

Normaly it should none the less be able to connect to the steam servers, were they having issues at the time?
islamcr39 1. bře. v 5.42 
help plz
couldn't exec listip.cfg
couldn't exec banned.cfg
Could not establish connection to Steam servers.
Zeromix  [autor] 27. srp. 2022 v 10.51 
@nerfz Sure, you can do this, but if you want to run this as a headless server, this option is much better.
nerfz 27. srp. 2022 v 9.11 
Looks like the best way now is to simply search your steam library for tools>half-life dedicated server> Install it and then run it and set your server settings from there. Then using your set rcon command just run what ever .cfg you want to use. eg. cal.cfg and a lo3.cfg if playing a proper MR15 match.
Zeromix  [autor] 27. lis. 2021 v 15.55 
@Toxic_SaNe FAQ: The SteamCMD download failed! What should I do now?
Mostly you just need to retry the download, then the problem should be fixed.