Tutorial:Setting up a Counter-Strike server

Hello world, this is my 2nd post on Setting up a Counter-Strike server, yes your very own server. After you’ve port forwarded already from the last post, this is gonna be easier ;) .

First you’ll have to download the CS 1.6 Server Creator from the following link : http://tinyurl.com/yhc5rdt

Then create a new folder in your Hard-Disk and name it ‘HLDS’.

Now execute the ‘installer.exe’ from the CS 1.6 Server Creator and select the HLDS folder in your Hard-Disk, it will start unpacking and extracting the files there :) . It will take time depending upon the bandwidth of your internet connection. When it’s done installing, it should be around 315MB. It should look like this :-

The next step is to setup the server for accepting Non-Steam clients. In-order to do that download the swds.dll patch from the following link : http://tinyurl.com/2ezvugs . Patch this to your HLDS Folder.

Next step is to configure the server.cfg. Go to HLDS/cstrike and open server.cfg on notepad. Delete all content and copy the following text :

// server name
hostname “Server Name”

// rcon passsword
rcon_password “password”

// server cvars
mp_friendlyfire 0
mp_footsteps 1
mp_autoteambalance 1
mp_autokick 0
mp_flashlight 1
mp_tkpunish 1
mp_forcecamera 0
sv_alltalk 0
sv_pausable 0
sv_cheats 0
sv_consistency 1
sv_allowupload 1
sv_allowdownload 1
sv_maxspeed 320
mp_limitteams 2
mp_hostagepenalty 5
sv_voiceenable 1
mp_allowspectators 1
mp_timelimit 25
mp_chattime 10
sv_timeout 65

// bots
bot_quota 0
bot_quota_mode fill
bot_difficulty 2
bot_chatter off
bot_auto_follow 1
bot_auto_vacate 1
bot_join_after_player 0
bot_defer_to_human 1
bot_allow_rogues 0
bot_walk 0
bot_join_team any
bot_eco_limit 2000
bot_allow_grenades 1
bot_allow_grenades 1
bot_allow_pistols 1
bot_allow_sub_machine_guns 1
bot_allow_shotguns 1
bot_allow_rifles 1
bot_allow_snipers 1

// round specific cvars
mp_freezetime 6
mp_roundtime 5
mp_startmoney 800
mp_c4timer 45
mp_fraglimit 0
mp_maxrounds 0
mp_winlimit 0
mp_playerid 0
mp_spawnprotectiontime 5

// bandwidth rates/settings
sv_minrate 0
sv_maxrate 0
decalfrequency 10
sv_maxupdaterate 60
sv_minupdaterate 10

// server logging
log off
sv_logbans 0
sv_logecho 1
sv_logfile 1
sv_log_onefile 0

// operation
sv_lan 0
sv_region 0

// execute ban files
exec banned_user.cfg
exec banned_ip.cfg

^This is how your server will work on the internet. (You will edit you server name and cvar from the server.cfg)

You’ll have to add this text in your server.cfg in order to make your server visible in the Master Server List :

setmaster add
setmaster add
setmaster add
setmaster add
setmaster add
setmaster add

^This is how other players (Pub) will find your server on the Master Servers and connect.

Now go to HLDS/cstrike and open liblist.gam in notepad and add the following text :-

gamedll “addons\metamod\dlls\metamod.dll”

In-order to get the server working copy your HLDS folder on your desktop and execute ‘hlds.exe’

To see if the server is running properly, type in the server console ‘meta list’ – If the message relieved is AMX Mod X – Run, then the server is working fine.

You are done :D .


About ipodrohan

Rohan Sood, I am 14 years old. I am all about Technology and Gadgets! I am currently at New Delhi, India. Future plans are going to USA and working at one of the awesomest companies APPLE Inc. As you might know, “TECHNOLOGY” is present everywhere. Let’s together understand this word and make the World a better place. I believe in “Sharing KNOWLEDGE”. I created this Blog to share as much Knowledge as possible. I hope you find my Blog interesting and self-sufficient. I will keep you UP-TO-DATE about the Technology News around the Globe!

Posted on December 31, 2010, in Tutorials and tagged , , , , , . Bookmark the permalink. 4 Comments.

  1. By a long shot, one of the best article l have come across on this valuable subject. I quite go along with with your assumptions and will thirstily look forward to your future updates.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: