Cs1.5 server setup in linux

Source: Internet
Author: User
In linux, cs1.5 server setup-Linux Enterprise Application-Linux server application information. The following is a detailed description. First, you need to download two files. hlds_l_3110_full.bin cs_15_full.tar.gz

The next step is the installation. The first step is to decompress the file:

Chmod + x hlds_l_3110_full.bin


First, you need to download two files. hlds_l_3110_full.bin cs_15_full.tar.gz

The next step is the installation. The first step is to decompress the file:

Chmod + x hlds_l_3110_full.bin

Run:
./Hlds_l_3110_full.bin

The protocol option is displayed. Enter "yes" and the hlds_l_3110_full.tar.gz file will be released.

Input tar zxvf hlds_l_3110_full.tar.gz to decompress

Release the HLDS_L directory (this is the entire directory of the server)

Start CS1.5 Installation

Tar zxvf cs_15_full.tar.gz

Release the cstrike directory and copy it to the HLDS_L directory (if you release it in the hlds_l directory
The cs_15_full.tar.gz file saves the following steps)

Cp-a cstrike hlds_l/

The following is how to configure the server. cfg file. You can copy it directly)

-----------------------------------------------------------------------
Sv_cheats 0

Hostname "CSchina.net CS 'server" // Server name

Mp_timelimit 45 // map change time

Mp_c4timer 45 // bomb countdown time

Mp_chasecam 0 // whether the camera is fixed (if option 1 is selected to enter the server, the camera can only watch the battle at a fixed location; otherwise, the camera is not added
Members of Wu can watch the video freely)

Mp_falldamage 1 // falling from a height to kill

Mp_flashlight 1 // whether there is a tactical flashlight

Mp_footsteps 1 // whether footsteps exist

Mp_freezetime 4 // set the time for each purchase

Mp_friendly_grenade_damage 1 // do you want to detect the damage caused by shoulei Youjun?

Mp_friendlyfire 0 // Do You Want To Hurt Youjun?

Mp_autoteambalance 2 // automatically adjust the minimum number of people difference between the two parties

Mp_roundtime 4 // maximum time per round

Rcon_password ***** // server password, which is set by yourself in the * Section

Mp_limitteams 2 // if both parties exceed N persons, the system automatically adjusts the value N to a number.

Mp_tkpunish 1 // Do You Want To Hurt Youjun's punishment?

Mp_mapvoteratio 0.2 // voting rate

Mp_logfile 1 // whether the server leaves a record file

Log on // start record

Mp_playerid 0 // for all people, the names of all people can be seen in the status bar; 1 for only their own names; 2 for viewing
No one is named. 0 is the default value.

Mp_fadetoblack 0 // The screen turns black after the death of the character, and 0 remains unchanged. 0 is the default value.

Mp_forcechasecam 0 // after death, you can view it at will. 1 can view your own, 2 can view the camera angle. 0 is the default value.

Mp_buytime 90 // time when you can purchase an item. For example, if mp_buytime 1.8 is 108 seconds, you can purchase an item. 1.5 minutes
.

Mp_winlimit 17 // when a party wins 17 times, change the map.

Allow_spectators 1 // The Observer angle is allowed. 0 is not allowed, and 1 is allowed. 1 is the default value.

Mp_hostagepenalty 3 // within the specified time when more than three persons are automatically kicked out

Cl_dynamiccrosshair 0 // whether to use a Dynamic Quasi-star, 0 is not allowed, 1 is allowed. The default value is 0.

Mp_logmessages 1 // open log

----------------------------------------------------------------------------
Download and install the latest server patch. The installation method is basically the same as the above, and overwrite it directly after it is expanded (this step is optional)

What we need to do now is to create a shortcut file to start the server. Otherwise, we need to enter a large command every time, which is too troublesome.

Go to the hlds_l directory to create the quick Startup File CS and open the Editor (which can be any one, such as vi)

Vi cs

Input

#/Bin/bash/

./Hlds_run-restart-game cstrike + port 27015 + maxplayers 20 + map de_dust

(You can add-nomaster to cancel won authentication, and add + sv_lan 1 to the LAN)
Save the disk and exit.

-The restart parameter is used to automatically restart the cs server when the process is down.

OK. The shortcut file has been created, but it cannot be run yet,

Enter chmod + x cs to modify the attributes of the Quick Start file (otherwise it cannot be run)

Now it is done. Enter./cs & in the hlds_l directory to start the cs server. Remember to add the & Parameter
Number,

Otherwise, the cs server process will automatically shut down when you exit the system.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.