This is a HLDS setup I made for CS with custom addons and an easy ramp-up. Italso fixes several installation issues most people have when trying to create adedicated CS server.
Counter Strike 1.6 Home Server List Forums Forum Home Counter Strike 1.6 General Discussion how to fix hlds.exe error? Ashclicks. PM #1. How to fix hlds.exe error? May 09, 2015 9:09 AM Joined: May 09, 2015 Posts: 1:( hello friends. I am new to here. I want to create a new server to me in counter strike. But when i tried to open hlds.exe. Fixed chat text showing previous line of text sometime in Counter-Strike 1.6 - Fixed fpsmax to actually run at that framerate, not 1 less - Fixed timing function used on Linux to better match system time, reducing frame time variability - Fixed duck key not dismissing spectator UI in Counter-Strike 1.6.
What's in it?
- Custom maps
- Metamod (1.21.1-am)
- AMX Mod X (1.8.2)
- Podbot (V3B22)
Custom AMX plugins:
- HPK (High Ping Kicker)
- Podbot menu
- Round Money
- Rock the vote
- Admin all in one
Setup
- Install Docker
- Install Docker Compose
- Run
$ bin/setup
- Now you have to add yourself as an admin. Edit the file
cstrike/addons/amxmodx/configs/users.ini
and add your credentials. See theexamples below: - On your client, edit the file
cstrike/userconfig.cfg
and add yourpassword there, like the following:
Running
To run the server, you can simply run:
$ bin/server start
Follow the logs:
$ bin/server logs -f
Stop the server:
$ bin/server stop
Configuring
Edit
server.cfg
and files on cfgs
folder to set different server settings.Also, configure
AMXModX
as you wish by modifying the files onaddons/amxmodx
.There are some settings related to server initialization that are located on
.env
file. Changes on them will most likely require a restart.Adding new maps require you to restart the server.
Common instalation issues
When doing a clean HLDSinstallation, assuggested on Steam manual, a few issues may arise.
- Installation just doesn't work. Sometimes you would have to run
app_update 90
several times and it wouldn't install all needed files. This is a hardone to solve, and I did it with help of thisworkaround.What it does is basically add 3 manifest files onhlds/steamapps
folderand proceeds the installation. - First time you run HLDS, it crashes at the first time. This is some otherbug caused by a missing
steam_appid.txt
file onhlds
folder. - Warning messages of missing
$HOME/.steam/sdk32/steamclient.so
files. Thefix is quite easy: we just need to link these files onto the expected path. - Warning messages of missing
custom.hpk
file. This can get annoying andmake us think that there's something wrong. Don't worry, this is just a fileused to store custom sprays from people who connect to the server. The fixfor that is creating a blankcstrike/custom.hpk
file when we start theserver for the first time.
This Docker image fix all these errors gracefully so you don't have to worry.
Compatibility
Currently, this server is compatible with MacOS and Linux.
License
MIT.