Search the Community
Showing results for tags 'commands'.
This topic is used in the main tutorial [EN] Manual Installation - Counter-Strike: 1.6 Server (Linux) - Ubuntu 18.04.4 - Ubuntu - COUNTER-STRIKE-FREE.COM In your cstrike folder, find the "liblist.gam" and open it with a text editor, such as notepad. Find this: gamedll "dlls\mp.dll" gamedll_linux "dlls/cs.so" gamedll_osx "dlls/cs.dylib" Replace it with this line: gamedll_linux "addons/metamod/dlls/metamod.so" Go to your server directory cstrike folder cd ~/Steam/cs_server/cstrike Download the Metamod and Extract the files wget https://www.amxmodx.org/release/metamod-1.21.1-am.zip; unzip -o metamod-1.21.1-am.zip; rm -rf metamod-1.21.1-am.zip; Internal Metamod - More - COUNTER-STRIKE-FREE.COM Add this new line on the file cstrike/addons/metamod/plugins.ini, if it does not exist create it. linux addons/amxmodx/dlls/amxmodx_mm_i386.so Save (and upload) plugins.ini
Bellow you can find all the commands that you need to create an Counter-Strike: 1.6 Server and at the end of the zip Archive with the final result. StemCMD Before you begin, you must first install the dependencies required to run SteamCMD: sudo dpkg --add-architecture i386 && sudo apt-get update; sudo apt-get install lib32gcc1 libc6:i386 lib32stdc++6 curl screen -y; 1. Create a directory for SteamCMD and switch to it. mkdir ~/Steam && cd ~/Steam 2. Download and extract SteamCMD for Linux. curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf - SERVER To download the server you need to go in the Steam folder: cd ~/Steam && ./steamcmd.sh And you can login anonymously using the command: login anonymous Set your app install directory force_install_dir <path> E.G. a directory named cs_server inside the current directory: force_install_dir ./cs_server/ Install or update the app using the app_update command app_set_config 90 mod cstrike BUG HLDS (appid 90) currently requires multiple runs of the app_update command before all the required files are successfully installed. Simply run app_update 90 validate multiple times until no more updates take place (Success! App '90' already up to date.) app_update 90; app_update 90 validate; app_update 90 -beta beta; app_update 90 -beta beta validate; app_update 90 -beta prerelease validate; Run the commands 2/3 times. To exit form the steamcmd terminal use: quit To stat the server just for an test: E.G. a directory named cs_server: cd ~/Steam/cs_server/ To stat the server use this command: ./hlds_run -console -game cstrike +ip <YOUR IP> +port 27015 +map de_dust2 +maxplayers 32 You can edit the ip, port, map, maxplayers, with your custom settings. If you get this error 'FATAL ERROR (shutting down): Unable to initialize Steam.' press CTRL+C and try again one more time the command above. E.G. Login Failure: No Connection On linux servers, you may experience a "Login Failure: No Connection" error. This is related to missing iptables rules. You will want something along these lines: iptables -A INPUT -p udp -m udp --sport 27000:27030 --dport 1025:65355 -j ACCEPT iptables -A INPUT -p udp -m udp --sport 4380 --dport 1025:65355 -j ACCEPT Done. ReHLDS or HLDS If you want to use ReHLDS scroll down to the section, if not use HLDS steps. HLDS If you want to customize your server with addons and plugins follow the steps bellow: AMX Mod X Metamod dproto Done. ReHLDS Here you can see what ReHLDS means and how to install it: How to install ReHLDS tutorial - Others - COUNTER-STRIKE-FREE.COM AMX Mod X Metamod-p Reunion Done. Sources used in this tutorial: https://olds.ro HLDS, AMX Mod X, Metamod, dproto https://developer.valvesoftware.com/wiki/SteamCMD https://www.amxmodx.org/downloads-new.php https://wiki.alliedmods.net/Installing_AMX_Mod_X_Manually CS.RIN.RU - Steam Underground Community • View topic - dproto [0.9.582] - HLDS serverside crack (22/09/2017) ReHLDS, AMX Mod X, metamod-p, reunion https://github.com/dreamstalker/rehlds https://github.com/jkivilin/metamod-p http://www.dedicated-server.ru/vbb/showthread.php?t=26486
This topic is used in the main tutorial [EN] Manual Installation - Counter-Strike: 1.6 Server (Linux) - Ubuntu 18.04.4 - Ubuntu - COUNTER-STRIKE-FREE.COM How many servers are using ReHLDS? here you can see: GameTracker.com At the end of this topic you will find what ReHLDS is in case of you don'd know it already. Install If you don't know how to install it follow those steps bellow. Go to Releases · dreamstalker/rehlds (github.com) and download the latest Release (BIN) of ReHLDS in my case is https://github.com/dreamstalker/rehlds/releases/download/188.8.131.527/rehlds-bin-184.108.40.2067.zip You need to install zip on your linux. Ubuntu sudo apt-get install zip Go to your server directory location cd ~/Steam/cs_server Download and Extract the files wget https://github.com/dreamstalker/rehlds/releases/download/220.127.116.117/rehlds-bin-18.104.22.1687.zip ; unzip -o rehlds-bin-22.214.171.1247.zip ; rm -rf rehlds-bin-126.96.36.1997.zip ; What is ReHLDS: