Saturday, January 18, 2014

Setup 24/7 configured Counter-Strike 1.6 and HL 1 server on CentOS 5/6,x86/x64

Hello 
This is a friendly tutorial for a ready to host and configured and cracked both of games Counter-Strike 1.6 & Half-Life 1 both supports non-steam clients v47
dunno if it's gonna work with steam clients anyway let's stop this story here and start the tuto 


If you know how to create user skip this step
Setp 1 :

you need first to create user , its only important to not run under root directory for safety 
Code:
useradd cs-hl_server
Let's set password for this user
Code:
passwd cs-hl_server

We STAY as root for this step
Setp2 : 

In this step we gonna install screen on CentOS you can search on google if you have a different linux distribution
Code:
yum install screen -y

For step 3 we logout and we conect with
username : cs-hl_server
password : that we you made on step1


Step3 :
Finally we gonna get and install the configured cs and hl 


downloand the game files 
Code:
wget  https://www.dropbox.com/s/8lngbh0w40bqes4/cs-hl.tar.gz

Extract tar.gz 
Code:
tar xzvf cs-hl.tar.gz

Just one file to config go to the dir cs you can cd to there and use nano to config 


Or Just connect by FileZilla using sftp port "22" in this tuto I prefere that you use FileZilla 
Ip: your server's ip
Username: cs-hl_server 
Password : step1 's password 
Port: 22


Using FileZilla
Step4 : 

- Go to cs folder by double click 
-Edit the next files using notepad or any text editor 
"run_cs" for Counter-Strike 1.6
"run_hl" for Half-Life 


You will get this by opening "run_cs"
Code:
#! /bin/bash
export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"


while [ true ]; do
        ./hlds_i686 -game cstrike -autoupdate +ip 5.231.67.173 -port 27015 +maxplayers 14 +map aa_dima -pingboost 3
        echo "Server crashed at '`date`' - Restarting"
        echo "Server crashed at '`date`' - Restarting" >> crash.log
        sleep 5
done

Change ! :
+ip {your server ip}
-port {as you wish} i prefere default
+maxplayers {amount of your server's players that you like and can support}
+map {the map that the server will start with}


Same thing when you will open "run_hl" you will just notice this command : -game vlave
don't change it just do same thing as the file "run_cs"



That's it!


Last step : 
Let's run our server! Login with cs-hl_server user using ssh client like kitty or putty 
-Go to cs dir
Code:
cd cs
--Run the server!!!
Code:
screen -A -m -d -S hlds ./run_cs
      to run Counter-strike 
Code:
screen -A -m -d -S hlds ./run_hl
     to run HL


Congratulation! now you have 24/7 Counter-Strike 1.6 and Half-Life 1 Cracked servers along with few amxmodx plugins inside 


What's spécial about this Tutorial ?
This tutorial is just simplest way to host those tow games if you have noticed this tutorial skipped hldsupdatetool.bin 
This tutorial used a cs package used by my server and created by me on CentOS6 i just compressed my game for you guys
So less work & more benificts 


What are the benificts?!
Easy let me list 
-Already Cracked both of games !
-Already installed metamod and dporto and amxmodx
-tons of maps 
-few amxmodx fun plugins for Counter-Strike only: 
* TimePass Anti-Cheat version 9 .
* CSDM: to enable CSDM 24/7 edit csdm.ini "enable = 0" to "enable = 1" you can also set ur self admin by editing users.ini file then enable csdm for one round by typing in consol amxmodmenu 
* Female ultimate sound 
* advenced bans
* rest score command /rs in y 
* vote kick ban menu 
* Fireworks : type in consol fireworks_menu
* Jetpack : type in consol buyjet to buy one use jp_arena 1 to start massive jetpack war & jp_active 0 to turn jetpack mod off 
* Your admin name is colored when you send msg throw chat 
& more !! just check out plugins.ini

No comments:

Post a Comment