Команды к ролику:
mkdir hlds
cd hlds
wget http://storefront.steampowered.com/download/hldsupdatetool.bin
chmod +x hldsupdatetool.bin
./hldsupdatetool.bin
rm ./hldsupdatetool.bin && rm ./readme.txt
./steam
time ./steam -command update -game "cstrike" -dir /home/peydj/hlds/
mkdir ./platform
mkdir ./platform/SAVE
cat /dev/null > ./cstrike/language.cfg && cat /dev/null > ./cstrike/listip.cfg && cat /dev/null > ./cstrike/banned.cfg
#!/bin/sh
#vsftpd &
screen -A -m -d -S csserv ./hlds_run -console +sv_lan 0 -game cstrike +maxplayers 12 +port 27015 -pingboost 3
chmod +x start.sh
mkdir ./cstrike/addons && mkdir ./cstrike/addons/metamod && mkdir ./cstrike/addons/metamod/dlls && mkdir ./cstrike/addons/dproto && mkdir ./cstrike/addons/dproto/dlls
Теперь установим "метамод" и "дпрото"
отредактируем файл "liblist.gam"
cat ./cstrike/liblist.gam | sed "s/dlls\/cs_i386.so/addons\/metamod\/dlls\/metamod_i386.so/" > ./cstrike/liblist.gam.new && mv ./cstrike/liblist.gam.new ./cstrike/liblist.gam
"linux addons/amxmodx/dlls/amxmodx_mm_i386.so"
"linux addons/dproto/dlls/dproto_i386.so"
./start.sh
#!/bin/bashcd /home/peydj/hlds/
./start.sh
screen -r csserv