oldschool counter-strike, old school counter-strike, oldschool cs, retro-cs, retro counter-strike, langames.net, hl downgrader, classic cs, setup counterstrike beta, betas
beta counter-strike, counter-strike beta, counter-strike beta 6, setup counter-strike beta 6.1, counter-strike betas, cs beta, cs betas, beta 5.2, beta 3.1, beta 1.1, cs, counter-strike beta 5.2, counter-strike beta 3.1 setup half-life linux server, setup counter-strike linux server, half-life 1016, half-life 3016, dedicated server, valve, won2, hlds Playing Counter-Strike Beta 6.1
 HALF-LIFE 1104 LINUX SERVER
// setting up half-life 1104 server for counter-strike beta 7.1
// requires 32-bit Linux to operate, 64-bit OS unsupported

login@server:~$

cd /user/local/games

mkdir halflife2

cd halflife2

tar zxvf hlds_l3104.tar.gz

cd hlds_l

tar zxvf hlds_l.3104.nowon.tar.gz

chmod +x nowon.so

tar zxvf cs_beta71.tar.gz

mv cstrike cstrk71

cd cstrk71

nano server.cfg // vi and pico also work

cd /usr/local/games/halflife2/hlds_l

screen -S cstrk71

export LD_PRELOAD="./nowon.so"

export LD_LIBRARY_PATH=/halflife2/hlds_l:$LD_LIBRARY_PATH

./hlds_run -game cstrk71 +exec server.cfg +ip 192.168.1.10 -port 27017 
         +sv_lan 1 +maxplayers 16 +map de_dust -heapsize 1024000

CTRL A+D // to detatch screen

screen -r cstrk71 // to attach screen

screen -D -r '1234.session' // to detatch attached screen

screen -X -S '1234.session' kill // to kill attached screen



NOTE: This help file below was created by Warfly from steamlessproject.nl

WON2 Patch for Linux Servers

Create a plain text file named hlds_nowon.c into your server's /hlds directory. 
Open it and add the following line:
int NET_IsReservedAdr(){return 1;}

Compile the c file.  The following command should suffice:
gcc -shared -o hlds_won2.so hlds_nowon.c

Note: Users running 64-bit versions of Linux have reported difficulties with 
the above command line, although Fedora only seems affected for now. Should 
you have problems getting this to work, you must force gcc to compile hlds_won2.c 
as a 32-bit file, or consider installing a 32-bit version of your distro in a 
virtual machine or natively. You can also consider to use the second method below.

Next, edit /hlds_l/hlds_run and add the following line under the first line that 
starts with "export":
export LD_PRELOAD="./hlds_won2.so" *

*in the example above, we used the file "./nowon.so"

Add the parameter +sv_lan 1 to whichever script you use to start your server.  

 © 2013  BACK TO SERVERS