CS Server - Protocol 47 & 48 - Steam & Non-Steam Clients: Difference between revisions

From D3xt3r01.tk
Jump to navigationJump to search
Line 46: Line 46:
[http://metamod.org/ Metamod]
[http://metamod.org/ Metamod]


[http://gamerone.net/topic/1514-how-to-install-a-cs-16-2013-server-with-steamcmd-on-linux-debian/ ow to install a CS 1.6 2013 server with SteamCMD on Linux (Debian)]
[http://gamerone.net/topic/1514-how-to-install-a-cs-16-2013-server-with-steamcmd-on-linux-debian/ How to install a CS 1.6 2013 server with SteamCMD on Linux (Debian)]


[http://cs.rin.ru/forum/viewtopic.php?f=29&t=55986 dproto]
[http://cs.rin.ru/forum/viewtopic.php?f=29&t=55986 dproto]


[http://www.amxmodx.org/ AMX Mod X]
[http://www.amxmodx.org/ AMX Mod X]

Revision as of 13:02, 22 March 2014

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 ...
Steam> login anonymous
# 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
# for some reason, it can't load steamclient.so
mkdir ~/.steam
ln -s /home/hlds/linux32/ ~/.steam/sdk32
# it'll yell that it can't load listip.cfg and banned.cfg .. 
cd ~/cs/cstrike
touch listip.cfg
touch banned.cfg
# 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
# 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 
# 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

How to install a CS 1.6 2013 server with SteamCMD on Linux (Debian)

dproto

AMX Mod X