CS Server - Protocol 47 & 48 - Steam & Non-Steam Clients

From D3xt3r01.tk
Revision as of 13:02, 22 March 2014 by Admin (talk | contribs) (Created page with "==HOW== adduser -m hlds su - hlds wget 'http://media.steampowered.com/installer/steamcmd_linux.tar.gz' tar -xzf steamcmd_linux.tar.gz ./steamcmd.sh # updating stuff ... Stea...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

HOW

adduser -m hlds su - hlds wget 'http://media.steampowered.com/installer/steamcmd_linux.tar.gz' tar -xzf steamcmd_linux.tar.gz ./steamcmd.sh

  1. updating stuff ...

Steam> login anonymous

  1. Connecting anonymously to Steam Public...Success.

Steam> force_install_dir ./cs/ Steam> app_update 90 # Counter-Strike 1.6 dedicated server Steam> app_update 90 -beta beta validate Steam> exit

  1. for some reason, it can't load steamclient.so

mkdir ~/.steam ln -s /home/hlds/linux32/ ~/.steam/sdk32

  1. it'll yell that it can't load listip.cfg and banned.cfg ..

cd ~/cs/cstrike touch listip.cfg touch banned.cfg

  1. we'll need metamod

mkdir -p ~/cs/cstrike/addons/metamod cd ~/cs/cstrike/addons/metamod wget 'http://prdownloads.sourceforge.net/metamod/metamod-1.20-linux.tar.gz?download' -O 'metamod-1.20-linux.tar.gz' # check if there's a newer one .. tar -xzf metamod-1.20-linux.tar.gz

  1. update gamedll_linux in ~/cs/cstrike/liblist.gam

sed -i 's/gamedll_linux.*/gamedll_linux "\/home\/hlds\/cs\/cstrike\/addons\/metamod\/metamod_i386.so"/g' ~/cs/cstrike/liblist.gam

  1. we'll also need dproto

mkdir -p ~/cs/cstrike/addons/dproto cd ~/cs/cstrike/addons/dproto wget 'http://cs.rin.ru/forum/download/file.php?id=14819' -O dproto_0_9_356.zip # check for updates unzip dproto_0_9_356.zip mv ~/cs/cstrike/addons/dproto/bin/Linux/dproto_i386.so ~/cs/cstrike/addons/dproto/ mv ~/cs/cstrike/addons/dproto/dproto.cfg ~/cs/cstrike/ echo 'linux addons/dproto/dproto_i386.so' > ~/cs/cstrike/addons/metamod/plugins.ini cd ~/cs ./hlds_run -game cstrike +maxplayers 36 +map de_dust2 -insecure

References

SteamCMD Steam Application IDs Metamod ow to install a CS 1.6 2013 server with SteamCMD on Linux (Debian) dproto AMX Mod X