How to setup Counter-Strike 1.6 Server
Requirements
- Computer
You can setup Counter-Strike 1.6 Server on any computer.
This tutorial is for computers running Windows Operating System (Windows XP / Windows Server 2003 / Windows 7) - Internet Connection
For Online Server, an Internet Connection is required.
This tutorial is for home computers running on DSL Connection or WiMAX connection.
For 16 slots server, a 1Mb internet connection is sufficient.
For best performance, a 4Mb internet connection is preferred which can support upto 32 players. - Static IP
The Public IP address of dsl connections is Dynamic.
Which means on every restart of router the Public IP is changed.
To make the IP static you have to request your DSL provider to provide you a Static IP address.
PTCL users can get Static IP easily for a monthly charge of 200 rupees.
Call 1218 from your ptcl number to get a Static IP on your dsl connection. - UPS
To make your server 24/7 your computer must stay on all the times.
For that you will need a UPS that will provide backup in case of power outages.
Installation Steps
- Download Server
Download Dedicated Server Setup from here hlds_cspak.zip
Extract the zip file to any folder. - Server Configuration
Open server.cfg file in cstrike folder and change “CS 1.6 Server by CounterStrike.Com.Pk” to server name of your choice.
Right-Click on START_SERVER.bat file and click Edit.
Make any required changes and save the files by pressing Ctrl + s
Now Double-Click on START_SERVER.bat
If everything goes fine, the server console will be started like below. - Testing
This step is just to make sure that you have properly configured the server.
Open your game and click on Add Server.
Enter your Private IP with Port and click Add.
If you can see your server running, you can proceed to the next step. - Open Firewall
Now you have to open your Windows Firewall so that other people can connect to your server.
You need to open UDP port 27015 on your windows firewall.
Follow steps on this link to open Windows Firewall ports:
http://windows.microsoft.com/en-us/windows/open-port-windows-firewall
At this stage, you have created a LAN server which means people connected to your Router can now join your server. - Port Forwarding
Now you have to “Forward the ports from your Router to your Computer” so that Online Players can connect toย your server.
In simple words, all the people connecting to your Router on port 27015 will be forwarded to the port 27015 of your Computer.
There are hundreds of thousands of router models with different port forwading methods each.
Here are steps for some routers:
http://www.counterstrike.com.pk/2014/03/port-forwarding-on-dsl-modem-router/
For other routers, just google about it and you will find the steps. - Testing
This step is to make sure the firewall and ports are properly opened.
Send your Public IP to your frind and ask him to join your server (182.180.66.151:27015)
To find your Public IP, visit this link : http://myip.counterstrike.com.pk/
Now you have created an Online Server which means people from all around the world can join your server.
Change Log:
Last changed: 21 April 2015
Change details: fixed rank not saving problem
Complete changelog.txt file is present in zip file.
Thanks to Muhammad Ather, Saud Irfan for their help and Sohaib for the latest HLDS setup!
Note:
If you are getting “Unable to initialize Steam” error, please read details on below link to resolve the issue: Unable to Initialize Steam Error Fix
Having problems? Just comment below and we will find you a solution!
hi admin help me
TZ jani jab b hlds web pe update karo tu sath me date mention kerdiya karo agar koi update aye tu me download ker k check kerliya karon ๐
That is already done ๐
See the “Change Log” heading at the end of that post.
As of today, the change log says:
Last changed: 21 April 2015
i have checked my ip and when i am rite this ip in player portal with ip port 27015 ya 27016 this says server is not responding
That means you are entering the wrong IP or your IP is not static.
Check your IP from here: http://myip.counterstrike.com.pk
Also make sure you have a Static IP if you are a PTCL user!
assalamowalikum plzz tell me kia krun mene sv bana lia lek!n Koi Bhi Ni A para mere Sv me what can i Do? tell me fast :p
That depends on so many things.
Which internet connection are you using? Is it Static IP?
Did you follow all the steps without any errors?
Sorry for not being fast!
Admin i am having port forwarding problems
Did not understand this step:Now, click on โAdvanced Setupโ and then click on โNATโ:
where is the NAT
What is your router model?
The “NAT” option is present inside “Advanced Setup” in most DSL Routers!
aoa dosto maine apke link ko follow karty ye cspakhlds.rar downloade k isay extract kia new folder main fir wo folder khola csstrike main ja kar rename kia server.cfg ko and name rahka K!ll3r’s G@mming Community and then start serverbat ko edit kia aur max players 16 kia q k i have 1 mb of dsl broadband connection then ctlr+s ko dbaya and file run k double click sy fir ek command prompt run ho rhi thi wo finish ho gaye fir maine us main y/n sy y likh kr enter kia and then wo close ho gye fir maine cs kholi and wahan meri local ip or port add kia and halflife server aa gya aur working kar rha tha then windows fire wall khola and advance setting main ja kr inbound rules khola wahan left side main new rule likha tha wo khola then port select kia and then next aur fir udp select kia and then neche specific local ports main apna port enter kia 27015 and next kia fir allow the connection choose kia fir options p tick hua pada tha public,domain,private then next kia then name likha K!ll3r’s G@mming Community and descrip main cs 1.6 server and then finish kia then troubleshooting main ja kr view all karke incooming connection main ja kar next kia fir find internet ko tick karke next kia fir apna ptcl broad band router k ip 192.168.1.1 kholi then advance setup main ja kar NAT main gya and add p click kia fir custom servuce krke cs 1.6 likha then apni local ip rakhi jo every restart p change hoti rehti hai and then status enable gya fir external port start and end p 27015 likha and protocol ucp rakha then appply fir apni public ip check ki is site sy http://myip.counterstrike.com.pk/ and then apni ip k sath :27015 port add kia aur cs main server add kia par thats shows not responding please fix karen isay
Ws.
I think you don’t have Static IP!
I have mentioned in above post about the recent restrictions by PTCL on non-Static IP connections.
Read the post again and hopefully you will get your answers ๐
Good Luck!
๐
bro! evo ki static ip khud set krsakte hain ???
without ptcl charges ?? ๐ ๐
No that’s not possible.
Only PTCL guys can assign a Static IP on your connection whether it is DSL, EVO or any other.
I am having much errors but the one I can’t fix is STEAM VALIDATION REJECTED
And When ever I restart the server It says Unable To inicialize steam ๐
This is fix your problem: http://www.counterstrike.com.pk/2014/12/how-to-fix-unable-to-initialize-steam-error-in-counter-strike-1-6-server/
what to do in windows xp firewall???
For Windows XP firewall, follow these steps: https://support.microsoft.com/en-us/kb/308127
Admin! I made the server correctly I have PTCL and followed PTCL router port setting rules ,,,, The thing is my some friends are able to connect while others are getting Fake Client error<–This is PROBLEM#1………………..And the friends which are able to connect are getting high ping<– PROBLEM#2…………And My Net is 2Mbps.. I always Set the priority of HLDS to high.. please help:/
Regarding your 1st problem, try disabling fake client detecting in your dproto.cfg or disable dproto as a whole (just to check).
For the 2nd problem, login to your router configuration and check what is your upload rate shown in status? If your upload rate is less than 500 that means your DSL is not configured properly and you need to call PTCL technical help line and ask them to increase your upload rate. Normal upload rates for 1Mb, 2Mb, 4Mb and 8Mb connections are 256kbps, 512kbps, 1024kbps and 1024kbps. Remember that the maximum upload rate supported by ADSL technology is around 1024kbps. To increase this limit, you will need VDSL connection which starts from 10Mb.
Let me know if the above solutions help!
my server is not working online
Please provide more details so we can sort out the exact problem!
tz cable net ki port forwarding k tuts hi bta do ๐
jaldi reply krdo bro
You can show him this tutorial then he will know ๐
Sorry you can’t configure port forwarding on your cable net directly.
Ask your cable net provider to do it for you.
The procedure is different for each service provider and you can’t do it yourself!
bro us ko pta hi ni …..
Yr mujha Second step ki pic de do
Here it is: http://i1.wp.com/cdn01.counterstrike.com.pk/web/images/console_window.jpg
server not shown
http://i.imgur.com/eiHRtDl.png
This window with title “Console” is actually the server.
You have to write commands in this window to control the server.
For Example: Write “users” to list all players currently in server.
bro jo center mein transculent message ate hain k welcome to server
owner_____ co-owner____
wo kese config krte hain ??
To change those messages, you will need to edit your “amxx.cfg” file present inside “cstrike \ addons \ amxmodx \ configs” folder.
The following variables are needed be to changed for your needs:
amx_scrollmsg
amx_imessage
amx_contactinfo
thanx bro!
apne pc ko agar sv bna dn….pc istimal na krun to sv pe effect to ni hoga mnx lag aur ping etc…
kyoun k kuch players kehte hain k pc ko sv bnaoge to famous ni hoga ๐
๐
All servers are basically running on computers.
If your computer has good specs then it wont be an issue.
My own server is hosted at my home and its specs are as follows:
CPU: Intel Xeon Quad Core Processor
RAM: 3 x 4 GB DDR3 Kingston
HDD: 2 x 2 TB Seagate
SSD: 64 GB Kingston
Internet Connection: PTCL DSL 4 Mb with Static IP
One UPS with 2 dry batteries is also attached to keep it running 24/7.
to bro Afford kr lete ho ?.?
mujhe bhi bta do
Why 4TB HDD for just a cs server o.O
Yup ๐
i made my server right according to your instructions
it ran for first time
now it says not responding
It depends on so many things so please provide more details.
If you were playing locally, maybe your Private IP Address got changed.
If that’s the case, you will have to check your computer’s Private IP and then add your new server IP in game.
For details about: Private IP, read this: http://www.counterstrike.com.pk/help/difference_between_private_and_public_ip_address
thats not the issue , my friends are also unable to play cause the server is not responding after first time
it ran smoothly the first time
As I said before, it depends on many things.
If your Private IP is changed then no one will be able to play on your server whether its you or your friends over internet.
Comment here if you are getting any error messages.
If you still can’t figure out the problem, message me on http://www.facebook.com/AskTaimoor
how to setup public ip bro ๐
same problem on tp link ๐
Read details about Public IP here: http://www.counterstrike.com.pk/help/difference_between_private_and_public_ip_address
also how to port forward tp-link ๐
plz give me screenshots if possible ๐
I will write tutorial for Tp-link routers with screenshots soon.
If you are using cablenet or any other internet connection other than DSL, this method of Port Forwarding might not work for you.
How I can Find Pakistan Server plz admin reply krna
You can find Pakistani servers here: http://www.counterstrike.com.pk/2013/10/counter-strike-1-6-servers-in-pakistan/
Plz help me to make server. Is there any way to make cs 1.6 server without port forwading. Or can you tell me web where i can buy sv for free
For free, I don’t know of any such companies that provide Counter-Strike 1.6 servers for free.
But I have heard of some companies that provide Free VPS Servers on which you can setup your CS 1.6 Server.
Setting up CS 1.6 Server on VPS requires some medium level know how about Linux command-line (which is much complex as compared to Port Forwarding) so setting up CS 1.6 on your home computer would be your best bet!
Steps for creating CS 1.6 Server on Linux VPS can be found here: http://www.counterstrike.com.pk/2015/03/how-to-setup-counter-strike-1-6-server-on-linux/
Why 4TB HDD for just a cs server o.O
^ Sry, plz add an option to delete cmnts.
Yes I’ll see if there is any plugin available for deleting user comments but hey there is no need to delete anything man ๐
I totally understand your curiosity ๐
CS Server is just one of the many “Servers” running on that piece of hardware.
Other servers include a web server, multiple db servers, a proxy server, 4 vms, a media server and a few other unmentionable services ๐
Alright, did as described, stuck at port forwarding, I use wi-tribe, I already got statis IP as said by some IP tellers around google.
Here’s where I got really stuck, opened firewall, port forwarded the default (27015) port, now, when I click In game > Favourites > Add server > Public IP:27015 > Not responding….
But when I put my private IP that is 192.168.0.x:27015, it works like never before. I’ll be waiting for a solution ASAP..
You might have already figured this out but since you are on LAN, you will need to enter your Private IP (192.168.x.x) to connect to your server.
Public IP (175.110.x.x) is only needed when other players outside your network want to connect with your server.
For more details about Public and Private IP difference, read this: http://www.counterstrike.com.pk/help/difference_between_private_and_public_ip_address
To make sure your port is forwarded properly, check from here: http://www.counterstrike.com.pk/portcheck/
Alright, first of all, thanks. Second of all, everything worked after 3 days of suffer, here’s what I believe you’re looking for?
[url=http://www.gametracker.com/server_info/175.110.157.83:27015/][img]http://cache.www.gametracker.com/server_info/175.110.157.83:27015/b_560_95_1.png[/img][/url]
Now, I want you to do me a favour, remove all those subtitles and your adverts showing visit this website ๐ ๐ ๐ ๐ ๐
You are welcome ๐
To remove those messages simply edit your cstrike/server.cfg and cstrike/addons/amxmodx/configs/amxx.cfg files to remove or put your own contact details!
One more thing I need to know, how can I set myself as an administrator so I can use amxmodmenu in console or kick/ban players?
To make admins, open cstrike/addons/amxmodx/configs/users.ini and add your details according to the example provided in that file.
muje apne server ka admin banina hai help me
sab khuch kya hai youtube say dekh k par admin nhi ho raha hai yar
; Users configuration file
; File location: $moddir/addons/amxmodx/configs/users.ini
; Line starting with ; is a comment
; Access flags:
; a – immunity (can’t be kicked/baned/slayed/slaped and affected by other commmands)
; b – reservation (can join on reserved slots)
; c – amx_kick command
; d – amx_ban and amx_unban commands
; e – amx_slay and amx_slap commands
; f – amx_map command
; g – amx_cvar command (not all cvars will be available)
; h – amx_cfg command
; i – amx_chat and other chat commands
; j – amx_vote and other vote commands
; k – access to sv_password cvar (by amx_cvar command)
; l – access to amx_rcon command and rcon_password cvar (by amx_cvar command)
; m – custom level A (for additional plugins)
; n – custom level B
; o – custom level C
; p – custom level D
; q – custom level E
; r – custom level F
; s – custom level G
; t – custom level H
; u – menu access
; z – user (no admin)
; Account flags:
; a – disconnect player on invalid password
; b – clan tag
; c – this is steamid/wonid
; d – this is ip
; e – password is not checked (only name/ip/steamid needed)
; k – name or tag is case sensitive. eg: if you set it so the name “Ham”
; is protected and case sensitive (flags “k” only), then anybody
; can use the names “haM”, “HAM”, “ham”, etc, but not “Ham”
; Password:
; Add to your autoexec.cfg: setinfo _pw “”
; Change _pw to the value of amx_password_field
; Format of admin account:
;
; Examples of admin accounts:
; “STEAM_0:0:123456” “” “abcdefghijklmnopqrstu” “ce”
; “123.45.67.89” “” “abcdefghijklmnopqrstu” “de”
; “user name” “my_password” “abcdefghijklmnopqrstu” “a”
“haider” “bol123” “abcdefghijklmnopqrstu” “a”
Did you restart your server after saving this file?
Are you sure you are entering your server with nick “haider” ?
Did you enter the command “setinfo _pw bol123” in game console before joining the server?
If you have missed any of the above things, you will not be shown as admin!
hamaray ptcl internet mai paisay tou nahi katayangay agar server bana liya tou
No. Setting up any sort of server on your DSL connection doesn’t cost anything.
If you ask them for a Static IP, they will charge extra 300 or 400 in your bill!
admin bro ap k site say cspak server download kya uss mein udp 27015 accept nahi kar raha hai dosra port accept kar raha hai
There are two possibilities:
1) Your game is running and its using port 27015. Close your game and try running the server again.
2) You have mistakenly started the server process twice (by opening the start server file multiple times). Just close the server console with error and the previously running server will be fine!
L 07/31/2015 – 08:43:13: [admin.amxx] Login: “haider” became an admin (account “192.168.1.2”) (access “abcdefghijklmnopqrstu”) (address “192.168.1.2”)
I am glad you got it working ๐
Yar maine apki instruction k mutabiq server chalaya per mai locally connect kr rha hun apnay pc se private ip se tou koi hi server nhii dikha rha … exactly mai ye kehna chah rha hun na locally na hee online ye server show ho rha hai ? can u please reply
What Private IP are you using to connect with your server?
Make sure your server is started properly without any errors and that you understand the difference between Public and Private IP address.
This link might be of help: http://www.counterstrike.com.pk/help/difference_between_private_and_public_ip_address
admin my port doesn’t work here its still closed after my did ,,,,! so plz i ll get ur some help .
Which internet connection are you using?
Is it DSL or CableNet?
Do you have a Static IP address?
These links might be helpful: http://www.counterstrike.com.pk/help/difference_between_dynamic_and_static_ip_address
http://www.counterstrike.com.pk/help/difference_between_private_and_public_ip_address
sir
server configuration smjh nae arha
Open server.cfg file in cstrike folder and change โCS 1.6 Server by CounterStrike.Com.Pkโ to server name of your choice.
Right-Click on START_SERVER.bat file and click Edit.
Make any required changes and save the files by pressing Ctrl + s
Now Double-Click on START_SERVER.bat ,..
I don’t see anything confusing here.
Try using Google Translate if you don’t understand something.
Contact me on http://www.facebook.com/AskTaimoor if you need any further assistance.
couldnt allocate dedicated server ip port 27015 …
what is that mean ??
That means another server is already running.
This happens when you start your server twice by mistake.
Try closing your game and then try running the server again.
i m alredy use romanian respawn server . and i dont have or need to static ip …. enjoying cs there . i just want play cs at pak server . why u need static ip for play cs 1.6
No one said that it requires a static IP to play cs.
It is required only when you need to setup your own dedicated server.
how to know the static i.p on tplink ??
Find it here: http://myip.counterstrike.com.pk/
Taimoor bhai admin banne ki fees hoti he kia?
Yes bro.
Mail me at for more details.
taimoor bahi agar server har roz thori dair k liye khlene k liye bana na ho tou static ip ki zrorat nhi ho gi na???aur mene server banaya favourites me show bhi ho rha hey lekin me connect nhi ho paa rha uss server mey…..meri ip static nhi hey kia ye waja mere na connect ho paney ki????
It depends on which internet connection you are using.
If you are using PTCL, you will need static IP otherwise your internet friends will not be able to join your server.
However you can play locally on your server with your friends and siblings without the need of static IP.
bro when i open hlds and paste my ip in cs1.6 favourites and run that server on cs1.6 it stuck on loading….pls help me
If you are still having that issue, mail me at .
and i have pasted only addons folder in my cs1,6 from your hlds cspak.zip
reply fast pls
hello :
meray pass cable net h may kasy static ip lo
You cannot make this setup on your cablenet by yourself.
Ask your cablenet provider to do it for you (if they allow it).
Hey Admin, I followed your instructions and everything went fine but I couldn’t connect myself to server (didn’t ask friends yet to connect to it). The HLDS console is saying this ” [keys.amxx] ANTI-EXPLOIT: DETECTED! ”
Please tell me what am I doing wrong?
[keys.amxx] ANTI-EXPLOIT: DETECTED!
This is the correct message from HLDS console
That indicates something is wrong with your game.
Server is running totally fine and that ANTI-EXPLOIT message appears when someone is trying to crash your server.
Try installing CS 1.6 from this link and see if it helps: http://www.counterstrike.com.pk/2014/02/how-to-install-counter-strike-1-6/
admin bro how do i display admin menu?
Simply write “amxmodmenu” in console and the admin menu will appear in game!
admin bro how do i display admin menu in my own server?
aur mein plugin.ini mein plugin ke name kesay likhoon.wahan bohat gitch pitch hai.
Write new plugin names at the end of that file.
Each plugin name in a new line!
aur mein plugin.ini mein plugin ke name kesay likhoon.wahan sb bohat mil mil ke likha hua hai.
only one person can connect to the server if some one else try to coneect it fails in it plz help
Maybe you have missed something.
Which internet connection are you using? Is it Static IP?
kya mis keya ho ga kbhe bhl jata hay kbhe ni chkta
Which internet connection are you using? Is it Static IP?
yar admin bro mujhe agr server ka head admin,senior admin,owner aur co-owner rakhna ho to us ko display krne ke liye srvr mein /headadmin,/senioradmin,/owner aur /co-owner likhoon lekin wo display nahi hota.Is ke liye mujhe kia krna prhega?
yar admin bro mujhe agr server ka head admin,senior admin,owner aur co-owner rakhna ho to us ko display krne ke liye srvr mein /headadmin,/senioradmin,/owner aur /co-owner likhoon lekin wo display nahi hota.Is ke liye mujhe kia krna prhega?Pls thora jldi bataye
Download Advertisement manager and set Your Settings In advertisements.ini
I don’t think Ad Manager will work for showing /owner, /head, etc or will it?
I haven’t seen any ready made plugin for doing that.
You will need to make a plugin for that your self.
Soon I will write a plugin for that and post it here ๐
aur usko likhne ke baad unka name bhi display ho
Admin bro when will you post that plugin here?please tell the time.
I will post it tomorrow InshAllah ๐
I will write its link here in comments so you will be notified by email.
Thanks admin bro
You are welcome.
Just let me know if you need any other plugins and I will post them ๐
Please post fast the link of that plugin.
Sorry for the delay.
As promised, here is the post on that plugin you requested: http://www.counterstrike.com.pk/2015/10/plugin-show-hofa-server-head-owner-founder-admin/