Instructables

HLDS Counter Strike 1.6 Server

Picture of HLDS Counter Strike 1.6 Server
desktop-plain.bmp
So you have been playing Counter Strike for a while and are thinking about setting up your own server. There are many guides on installing a Half Life Dedicated Server (HLDS) all over the internet, the one I followed is;
HLDS Tutorial
but there wasn't one on Instructables! So here it is to help generate more traffic to this site!

NOTE: Please post all questions regarding errors on the following forum:
       http://forums.steampowered.com/forums/forumdisplay.php?f=16

You will learn:
How to install a HLDS
How to run a HLDS
Configure your Router for HLDS
Set up a Static IP address for HLDS

Extra:
Install Metamod
Install AMX MOD X
-bullet damage plug in
-bullet whiz plug in
Install POD BOT

Materials:
Obviously you will need a computer.
-Microsoft Windows XP Pro (it can be done on other Windows OS)
-1.8Ghz Minimum
-512MB RAM Minimum
-7200RPM Hard Drive 20GB Minimum
-Internet Connection (DSL or grater recommended)
-Video Card (Optional) It will relieve Strain on the CPU and RAM
-admin privileges

You will also need to be able access and configure your Router. This is the device that provides your Internet connection.

NOTE: You will need two computers to be exact. One to run the server and the other to run the game! It is possible to run both the server and the game form the same computer but it strains the CPU and is not recommended.

Read on to begin!

 
Remove these adsRemove these ads by Signing Up
1-40 of 269Next »
TjaardAyesterday

Good job on explaining the settings, do have a view concerns.

The sv_hltv cvar does not belong to cs_v1.6 server, for that they use sv_proxies.

For those who need a good server setup ill paste my default server.cfg below.


// ------ * * * Counter-Strike v1.6 TjaardA� 2001-2014 � * * * ------ //


// * * * SERVER HOSTNAME * * * //
hostname " Demo Server - TjaardA Powered."

rcon_password "12345"
sv_password "demo"
sv_downloadurl "http://sd-34470.dedibox.fr/cstrike/"
sv_contact "cs_tjaarda@msn.com"

//-------------- * * * Other SETTINGS * * * ------- //

fps_max "1005"
sys_ticrate "1001"
pausable "0"
allow_spectators "1"
decalfrequency "60"
edgefriction "2"
host_framerate "0"
mp_autokick "0"
mp_autoteambalance "0"
mp_buytime "0.25"
mp_c4timer "35"
mp_chattime "4"
mp_consistency "1"
mp_fadetoblack "0"
mp_flashlight "0"
mp_footsteps "1"
mp_forcecamera "2"
mp_forcechasecam "2"
mp_freezetime "4"
mp_friendlyfire "1"
mp_kickpercent "1"
mp_mapvoteratio "1"
mp_limitteams "0"
mp_logdetail "0"
mp_logecho "0"
mp_logfile "0"
mp_logmessages "0"
mp_maxrounds "0"
mp_roundtime "3"
mp_startmoney "800"
mp_timelimit "30"
mp_tkpunish "0"
mp_winlimit "0"
mp_windifference "1"

sv_accelerate "5"
sv_aim "0"
sv_airaccelerate "10"
sv_airmove "1"
sv_allowdownload "1"
sv_allowupload "1"
sv_bounce "1"
sv_cheats "0"
sv_clienttrace "1"
sv_friction "4"
sv_gravity "800"
sv_proxies "0" //- HLTV Proxi OFF reduces server load.
sv_send_logos "1"
sv_send_resources "1"
sv_stepsize "18"
sv_stopspeed "75"
sv_timeout "25"
sv_uploadmax "0.5"
sv_wateraccelerate "10"
sv_waterfriction "1"
sv_region "3"
sv_lan "0"

// * * * connection Cvars * * * //
sv_maxrate 30000
sv_minrate 45000
sv_maxupdaterate 102
sv_minupdaterate 50

// * * * server logging Cvars * * * //
log off
mp_logmessages 0
mp_logdetail 0 // (0=Log no attacks) (1=log enemy attacks) (2=Log teammate attacks) (3=Log enemy AND teammate attacks)
// sv_log_onefile 1

// * * * Voicecomm Cvars * * * //
sv_voiceenable 0
sv_alltalk 0
sv_voicequality 5
sv_voicecodec "voice_speex"

// * * * Lagg calculation Cvars * * * //
sv_unlag 1
sv_maxunlag "0.6"
sv_unlagsamples 2

// * * * Rcon Penalty * * * //
sv_rcon_banpenalty 15
sv_rcon_maxfailures 10
sv_rcon_minfailures 5
sv_rcon_minfailuretime 45

// * * * load files * * * //
exec listip.cfg;
exec banned.cfg;
exec ServerScript.cfg;

// ------ * * * Counter-Strike TjaardA 2001-2014 * * * ------ //

pro_Gamer4 months ago

heyy bro i have a question to ask , in CS when i want to enter to any server an error comes and say file read failure what should i doo can u please help me

جبنعلي6 months ago
no
abdoogame12 months ago
or you can use that step by step
http://gaminlive.id1945.com/making%20server%20cs1.6.php
Hiii friends,

I have solved the problem of creating my own server. But it was not a one-step process. The solution that Instructables gave may be true but IT IS VERY TEDIOUS so I downloaded a software called Hamachi. It helps to create your own servers and connect friends to it and play CS.
Steps:
1. Download Hamachi client(a.k.a LogMeInHamachi)

2.Install it in your PC

3.Run it

4.Press the ON button and be online

5.Go to NETWORK

6.choose "create a new network"

7.Put a unique network id and a simple password and tell this to your friends also(Id and password)

8.Now go to the folder where you have saved your game

9.Start HLDS(the normal one NO need to update or manipulate it)

10.Note down your UDP port (eg.27015)

12.Press Start server

13.Also note down the IP address that Hamachi gives you(ONLY THE FIRST FOUR COLUMNS OF THE IP, you will find it next to the ON/OFF button)

14.Now start your game

15.Go to console and type "connect (your hamachi IP address):(colon)(your UDP port)"

16.Eg:- connect 87.116.206.112:27015

17.Tell your friends also to ON hamachi and give them the same IP address to type in their consoles.

18.ENJOYY GAMING!!!!!!!!!!:-)

The max.players that hamachi allows are 5. But you can create multiple servers and join them using the same IP...........................

If you are havin any problms or doubts plz feel free to mail me...........................
silent17101 year ago
How to make my server to work for non steam users???
Please help and tnx for tutorial...
Anson G.2 years ago
Hi LeumasYrrep,
I would say this is like taking up a semester's course in college. Its very much appreciated to have a knowledge base as intense as this available for free.

I would like to ask if this server works with CS 1.6 MW2? If not, I hope you could post LAN server settings. I just cant see my server on LAN.

I hope you could help.

Thanks and more brain power!
utkarshz2 years ago
i have done all the steps and my server is working, but when i give me ip address to my friends they cant find my server but as i give them my public ip address the can easily connect

But the problem is my public ip is dynamic and changes every time so, what should i do to make it static

plz admin help me :D:D

waiting for ur reply...... :)

thanks...
nyx9923 years ago
I do it all, and i make me admin on my server, but my friends can't find my server on internet... i give them all my server IP and they type that in Favourites, and then they not see name of my server, only IP and it is not responding... how to fix that? if you know?
emirm nyx9922 years ago
if u have a router then u need to make port forwarding for hlds
Can you make a tutorial on how to make a TF2 server? I already made a TF2 server, it's just that I can't make myself admin. And how do I make people admin (including myself) in my server in TF2? Also, I was trying to download Metamod, I couldn't find my liblist.gam.
ihaider12 years ago
plZZzz mujay server banana sekayo mari facebook ki i.d ya ha irfanhadier@yahoo.com


schaps2 years ago
CAN I PLAY WITH MY FRIENDS WHO ARE VERY FAR FROM MY HOUSE CS 1.6
vjordanov3 years ago
Well i have a broadband connection and if i set up a static ip on my broadband connection i will lose internet connection and my cs sever always uses the broadband connect not the local area connect HELP !!
Hey,I also have broadband connection.So,can we play?
Arlindi552 years ago
when i opened the cmd and i wrote cd C:\Program Files\Valve\HLServer and then hldsupdatetool.exe -command update -game cstrike -dir . it says :win32 error 5
what should i do??????
pchitroda2 years ago
dude it was 48 protocol n i ve dlownloaded steam nd in cs 1.6 properties it does nt have dat option it has option called "shortcut" only
pchitroda2 years ago
dude where we hav to install hldsupdatetool >>
hi plz help me...when im trying to connect an error is coming which is showing

This server is using a newer protocol ( 48 ) than your client ( 47 ). You should check for updates to your client

plz plz plz hel me with this ..im trying real hard to make a server
help me plz

my email id is edwin_john2010@rediffmail.com.pls do reply.
LeumasYrrep (author)  edwinjohn20102 years ago
From further down in the comments:


This is telling you that you need to update your game. Make sure you have the game set to accept updates. You may also want to force it to find any new updates.

To update open up Steam and find CS in the games list. Right click and select properties. Navigate to the update tab and make sure that you are set to receive updates automatically. You will need to restart Steam to make it search for new updates. If it is still not updating go to the Local Files tab in the properties window and select Check Local Game Cash, then restart Steam again.

It should update but if it still does not go to the Steam forums and search/ask on those forums as they will be able to help you further. Good luck.
ive found a damn easy way to create a non steam server..people interested reply
pls reply how??
my email id is edwin_john2010@rediffmail.com
how??
how ?
hello please help me to create my own cs 1.6 server plase my emil add is charaniaali1986@gmail.com hope to hear from u
hi i m interesting in it please tell me about creating server....Please give me your email address of yahoo gmail or skype or facebook....
aaabbbooo2 years ago
I tried username and password admin to 192.168.1.1 but the webpage relods
rfaustino2 years ago
I GOT WHEN UPDATING INSTALLATION ..( networking receive aborted by caller ) pls. tell me what will i do .thank u.
how to open 192.168.1.1 page
plzzz help ...plz frnd
cant do dis step plzzz help
my ip is 192.168.1.5 and ur ip is 192.168.254.9 .....and when i going i "ipconfig/all" it also shows dhcp server too.................. after that when i enter all ------> -IP address
-Subnet Mask
-Default Gateway
-DNS Server
My internet doesnt works.......as i m typing all correct ?????? Why help help help ! plzzz p[lzzz plzzzzzzzz..........
apamak2 years ago
wen i join my server it doesnt connects & shows :
WARNING: UDP_OpenSocket: port: 27015 bind: WSAEADDRINUSE
NET Ports: server 27015, client 27005
Could not get TCP/IP address, TCP/IP disabled
Reason: WSAENOT
apamak2 years ago
i dont knw wat is my ip hw do i see??
apamak2 years ago
pls help m not findin d file bulet_damage.amxx
Can I make a server in counter strike condition zero?(with this "HLDS-thing")
LeumasYrrep (author)  robotdrengen5 years ago
Yes you can although you will have to look up what to replace -cstrike with. I think it may be -cz but am not sure.
and 3 more things:
1) When I download maps, I use this page: http://www.cstrike-planet.com/maps
2) When I use the "HLDS-thing", is it so the same like to be admin?
3) Can I have you steam name, so we can chat?

Please answer
thanks for sharing :)
yes.. if u want replace cstrike with conditzion zero, just write down CZ
Can I have a steamname, so we can chat over steam, instead of this? I think it's easier to help over steam, because there isn't long time to wait at a answer...
1-40 of 269Next »