keepcalculator

06 Numbers and Powers

CS 1.6 Server Setup Guide

Card No. 06·72014 · Updated · Standard formula, shown below

This guide walks you through setting up your own Counter-Strike 1.6 dedicated server on a Windows PC, covering everything from downloading the files to configuring the server and connecting players. By the end, you’ll have a functional server that you and your friends can join, with options to customize the game mode and settings.

What You’ll Need

  • A legitimate copy of Counter-Strike 1.6 (Steam version recommended).
  • SteamCMD – the command-line tool for downloading dedicated server files.
  • A Windows PC (the steps are for Windows; Linux is similar but uses different commands).
  • A stable internet connection with a public IP (or a router that supports port forwarding).
  • Optional: a text editor like Notepad++ for editing config files.

Step-by-Step

  1. Install SteamCMD
    Download SteamCMD from Valve’s official site (search “SteamCMD download”). Extract the zip to a folder, e.g., C:\steamcmd.
  2. Create a server folder
    Make a directory where your server files will live, e.g., C:\cs16server.
  3. Run SteamCMD and download the server files
    Open a Command Prompt (cmd) and navigate to your SteamCMD folder. Run steamcmd.exe. Then type:
    login anonymous
    force_install_dir C:\cs16server
    app_update 90 validate
    quit

    This downloads the Counter-Strike 1.6 dedicated server files (app ID 90). Wait for it to finish.

  4. Create a server config file
    Go to C:\cs16server\cstrike and create a new text file named server.cfg. Open it with a text editor and add basic settings (see example below). Save it.
  5. Set the server start parameters
    Create a batch file (e.g., start.bat) in the server folder with the following content:
    @echo off
    cd C:\cs16server
    hlds.exe -game cstrike -port 27015 +maxplayers 16 +map de_dust2 -console

    Adjust the port, max players, and starting map as desired.

  6. Launch the server
    Double-click start.bat. The server console should open and start loading the map. Wait until you see “Server is running” or similar.
  7. Configure port forwarding (if needed)
    If you want players from the internet to join, log into your router’s admin page and forward UDP port 27015 (and TCP if you use RCON) to your PC’s local IP address. Find your local IP with ipconfig in cmd.
  8. Test the server
    Open Counter-Strike 1.6 on your own PC, press ` (tilde) to open the console, and type connect 127.0.0.1:27015 (or your local IP). If you see the server in the LAN tab, it works.

Common Mistakes

  • Forgetting to validate files – Always use the validate command in SteamCMD to ensure all files are downloaded correctly.
  • Wrong server.cfg syntax – Missing quotes or typos can prevent the server from starting. Copy a known-good example.
  • Port not forwarded – Players outside your LAN can’t join if the port isn’t forwarded correctly.
  • Using the wrong app ID – For CS 1.6, the app ID is 90. Using another ID will download the wrong game.
  • Not opening the console – The server might start but you don’t see it because the console window is minimized. Check the taskbar.

Tips

  • Set a password in server.cfg with sv_password "yourpass" to keep randoms out.
  • Use exec server.cfg in a map change to apply settings automatically.
  • Install admin mods like AMX Mod X for extra features, but only after the server runs vanilla.
  • Keep your server files updated by re-running SteamCMD periodically.
  • Use a static local IP for your PC so port forwarding doesn’t break after a reboot.

Troubleshooting

Server doesn’t start – Check the console for errors. Missing .dll files often mean the download was incomplete. Re-run SteamCMD with validate.

Players can’t connect from the internet – Verify your port forwarding is correct. Use an online port checker to see if the port is open. Also, check your Windows firewall – allow hlds.exe on private and public networks.

Server appears in LAN but not in the internet list – This is normal; the master server list may take time. Players can connect directly via IP.

High ping for players – Ensure your upload bandwidth is sufficient. Lower maxplayers if needed.

Server crashes on map change – This often happens due to corrupted map files. Re-download the server files or the specific map.

Frequently Asked Questions

Do I need a Steam account to run a server?

No, you can use login anonymous in SteamCMD. You only need a Steam account to play the game itself.

Can I run the server on Linux?

Yes, the process is similar. Use the Linux version of SteamCMD and adjust paths accordingly.

How do I add bots to my server?

Type bot_add in the server console, or set bot_quota in server.cfg. The default bot AI is basic but works.

Can I host a server on the same PC I play on?

Yes, but performance may suffer. It’s better to have a separate machine or at least a decent CPU and RAM.

How do I change the server name?

Edit hostname in your server.cfg. It will update on the next map change.

Why is my server not showing up in the server browser?

It can take a few minutes. Also, ensure your server is not behind a strict NAT. You can manually add it via the “Favorites” tab using your IP.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →