][*DeVx*][ Posted August 29, 2009 Posted August 29, 2009 Counter Strike 1.6 dedicated server installation on Windows XP tutorial In order to install a Counter Strike 1. 6 dedicated server, you need : a.Windows XP, processor 1000 ghz, memory 256 ram b. Connexion to internet c. 300 - 400 MB free space on disk You shall have to follow a few steps : 1.Connect to the internet 2.Download here the CS 1.6 Server Creator installer and unzipp it anywhere on disk. 3.Create an new directory on your disk and name it HLDS . It can be named anyhow but we shall use HLDS because it`s classic . 4.Now doubleclick on installer.exe and when the selection window appeares you select the new directory HLDS . Hit OK and wait a few moments . A blue window will appear on screen displaying the scroll of the installation . At this point the installer downloads and installs all the server`s components in your HLDS directory. It can take some time to do it, depending on the internet connection , so have a little pacience .When the installer finishes his work , check out the HLDS directory and see if it has approximativly 315 MB .If it has , then everything it`s ok and if it hasn`t 315 MB you`ll have to repeat this step .Open the HLDS directory ; it should look like this : Now open the cstrike folder , that should look like this : Next step is to set the server up for accepting non steam clients . In order to do that download here the swds.dll patcher . Unzipp it anywhere on disk then copy it in the HLDS directory .You `ll be asked if you want to overwrite the file . The answer is yes, overwrite it ! Push the OK button. If you want a Stem Only dedicated server, just skip this step ! 6. Next step is to configure te server.cfg in order to make your server work on the internet . Go to HLDS\cstrike folder and open server.cfg with Wordpad . Then look for the line sv_lan 1 and change it to sv_lan 0 . Then copy these lines: setmaster add 69.28.151.162 setmaster add 72.165.61.189 setmaster add 207.173.177.11 setmaster add 68.142.72.250 setmaster add hlmaster.jolt.co.uk setmaster add 65.73.232.251:27040 setmaster add 65.73.232.253:27040 setmaster add 207.173.177.12:27010 setmaster add 207.173.177.11:27010 Save the file and exit. Make sure that the DNS address is always updated! At this point you have a counter strike server working on the net ! Turn it on by doubleclicking on the hlds.exe located in HLDS\cstrike . The installer automatically installed Adminmod and Statsme on your server.Adminmod helps you to administrate your server ( change maps, set up cvars, kick players) and Statsme shows you the game statistics . To see if they run properly go to the server console and type “meta list” . If the message recived is Adminmod - RUN , Statsme - Run , everything it`s OK. Now you have three options : 1)Adminmod and Statsme 2).Install AmxModX - i recommend this option 3).Install Webmod Option 1 - Admin Mod If you choose this option you shall now configure the adminmod.cfg and statsme.cfg Do these steps.Download here the halflife-admin-2.50.60-win.rar and extract it anywhere on disk . You`ll have a new directory called Adminmod. Open it and doubleclick on install_admin.vbs. Hit OK and then it will ask you where to install. Type in the lower case the full path to HLDS directory ( the main directory of your server - ex: C:\HLDS\hlds.exe)Like The Photo: Then the installer will ask you wich MOD you want to be installed for.There you will choose 1 for counter strike. Very important ! After the installation is done, go to HLDS\cstrike\addons\adminmod\config\plugin.ini and look for the line : # addons/adminmod/scripts/plugin_CS. Then delet the # sign in front of the line !no photo on this cuz i have a problem :P Minimal configuration for AdminMod Go to HLDS\cstrike\addons\adminmod\config and open adminmod.cfg with wordpad. There you have some lines that needs to be configured : admin_balance_teams - set it to 0 admin_bot_protection - if you set this to 0 and you run a bot server, this cvar lets you as an admin to kick/slay/slap bots. admin_connect_msg - this is the message that will display to your clients after connection ; set this to whatever you wish. admin_cs_restrict - you must set this cvar to1, so you can restrict weapons admin_debug - let this one as it is,0 admin_fun_mode - this turns the fun mode on/of . You can set it as you like - 0 is off and 1 is on admin_fx - this must be set to 1 admin_gag_name - lets you gag players ; 0-off, 1-on admin_gag_sayteam - same thing admin_highlander - this should be set to 0. If you set this cvar to 1 only the admin with the highest level will be active on the server, the others turning into simple slots. admin_ignore_immunity - if this cvar is set to 1 the immune players (admins) can be kicked/slayed/banned . admin_repeat_msg - this is a message that appears on screen during the game. admin_quiet - sets the way commands will be displayed on screen : 0 - with the admin`s name, 1- without the admin`s name, 2- won`t be shown at all. allow_client_exec - must be set to 1 ! This will force players execute your commands. password_field - this is the variable the admins will have to console type before connecting to your server . Ex : if you set this to “_pw” the setinfo will be - setinfo_pw adminpassword . reserve_slots - the amount of reserved slots ( set this one 2 or 3 …wathever) Other cvars can be changed only if you know well what you`re doing ! Adding admins Open HLDS\cstrike\addons\adminmod\config\users.ini with wordpad . Add a line like this : Nick:password:131071 ( 131071 is the highest admin level ) If you want to add an admin with lower access level go to adminmod manual (you`ll find it in the installation folder - Adminmod\docs) and look for Admin Mod Reference\Acces levels. Choose the levels you wish and then press Calculate Access Right. Type the number displayed in users.ini admin line . Attention ! If you try to connect to the server as an admin with setinfo_pw “your password” , and the commands doesn`t work, console type admin_password “your password”. Installing Admin Mod plugins In order to install Admin Mod plugins, first thing to do is to check if you have all the folders in HLDS\cstrike\addons\adminmod, especially the “scriptings” folder If the folder isn`t there you will have to copy it from the installation`s folder (the folder that you downloaded to install Admin Mod).In the installation`s directory are two more foldes you may copy in HLDS\cstrike\addons\adminmod: tools and docs. Now download the plugins here, unzipp them and copy the sma files in HLDS\cstrike\addons\adminmod\scripting\myscripts. Then, double ckick on compile_all .The sma files will be compiled. Now open the HLDS\cstrike\addons\adminmod\scripting\mybinaries folder where you`ll find the amx files . Copy them to HLDS\cstrike\addons\adminmod\scripts . Last step to make is editing the plugins in Mergem in HLDS\cstrike\addons\adminmod\config\plugin.ini . To do that just add lines like this : linie addons/adminmod/scripts/plugin_name.amx ( example: for the plugin_matrix, add the line addons/adminmod/scripts/plugin_matrix.amx).If the server was working while you were installing the plugins, restart it or change the map. To check if the plugins are working properly type into console admin_version and a list of plugins will be displayed. To configure Statsme to work properly you`ll have to do the following steps : a.Go to HLDS\cstrike\addons\statsme and open statsme.cfg with Wordpad.In the line sm_menupassword modify r3wt with a password of your choice. Later when you`ll join the game , type in the console statsme_menu “your password” ( without the “” “” ) and the menu will appeare on screen. b.To make the “say /rank” and “say/top10” work you need to go to statsme.cfg and change the sm_storebyauth 1 to 0 . This step will be passed if you are an steam id player and your clients are also steam id players. c.Now go to HLDS\cstrike\addons\statsme and open scriptpacks.cfg with Wordpad . Here you have to modify all the lines . They look like this : // AdminPack //exec addons/statsme/scriptpacks/adminpack/admin.cfg //exec addons/statsme/scriptpacks/adminpack/afk.cfg //exec addons/statsme/scriptpacks/adminpack/hpingkick.cfg //exec addons/statsme/scriptpacks/adminpack/redirect.cfg // HostagePack //exec addons/statsme/scriptpacks/hostage/hospen.cfg //exec addons/statsme/scriptpacks/hostage/hossi.cfg // MapPack //exec addons/statsme/scriptpacks/mappack/italy.cfg //exec addons/statsme/scriptpacks/mappack/mapcycle.cfg //exec addons/statsme/scriptpacks/mappack/nextmap.cfg // MiscPack //exec addons/statsme/scriptpacks/miscpack/autorr.cfg //exec addons/statsme/scriptpacks/miscpack/awplimit.cfg //exec addons/statsme/scriptpacks/miscpack/damage.cfg //exec addons/statsme/scriptpacks/miscpack/greet.cfg //exec addons/statsme/scriptpacks/miscpack/snapshot.cfg //exec addons/statsme/scriptpacks/miscpack/timeinfo.cfg //exec addons/statsme/scriptpacks/miscpack/tmlf.cfg //exec addons/statsme/scriptpacks/miscpack/vip.cfg // MultiKillPack //exec addons/statsme/scriptpacks/mkpack/killingspree.cfg //exec addons/statsme/scriptpacks/mkpack/multikill.cfg // TeamKillPack //exec addons/statsme/scriptpacks/tkpack/forgivetk.cfg //exec addons/statsme/scriptpacks/tkpack/kickdp.cfg //exec addons/statsme/scriptpacks/tkpack/punishtk.cfg //exec addons/statsme/scriptpacks/tkpack/tdwarn.cfg And you have to make it look like this: / AdminPack exec addons/statsme/scriptpacks/adminpack/admin.cfg exec addons/statsme/scriptpacks/adminpack/afk.cfg exec addons/statsme/scriptpacks/adminpack/hpingkick.cfg exec addons/statsme/scriptpacks/adminpack/redirect.cfg // HostagePack exec addons/statsme/scriptpacks/hostage/hospen.cfg exec addons/statsme/scriptpacks/hostage/hossi.cfg // MapPack exec addons/statsme/scriptpacks/mappack/italy.cfg exec addons/statsme/scriptpacks/mappack/mapcycle.cfg exec addons/statsme/scriptpacks/mappack/nextmap.cfg // MiscPack exec addons/statsme/scriptpacks/miscpack/autorr.cfg exec addons/statsme/scriptpacks/miscpack/awplimit.cfg exec addons/statsme/scriptpacks/miscpack/damage.cfg exec addons/statsme/scriptpacks/miscpack/greet.cfg exec addons/statsme/scriptpacks/miscpack/snapshot.cfg exec addons/statsme/scriptpacks/miscpack/timeinfo.cfg exec addons/statsme/scriptpacks/miscpack/tmlf.cfg exec addons/statsme/scriptpacks/miscpack/vip.cfg // MultiKillPack exec addons/statsme/scriptpacks/mkpack/killingspree.cfg exec addons/statsme/scriptpacks/mkpack/multikill.cfg // TeamKillPack exec addons/statsme/scriptpacks/tkpack/forgivetk.cfg exec addons/statsme/scriptpacks/tkpack/kickdp.cfg exec addons/statsme/scriptpacks/tkpack/punishtk.cfg exec addons/statsme/scriptpacks/tkpack/tdwarn.cfg So, every “//” in front of the “ exec.addons” lines will be deleted ! Option2 - Install Amx Mod X 1. Automatic installation tutorial Download here the AmxMod X installer and unzipp it anywhere on disk . Doubleclick on it , “ I accept the terms”, next … There you are on the selection window . Let the default installation path ( C:\Program Files\AmxModX) selected, next,then Install. Now the installation is ready to begin.Click Finish , with the “Run AmxmodX installation” case selected. nm ` Next , “I accept the terms” next. Now you have to select the directory path to install amxmodx . Here you choose the fourth case, wich is “select mod directory” and hit Next .The next step is to select the HLDS\cstrike folder Warnning! If the installer will detect another installation of the AmxMod X it will ask you if you want to continue. You have three options : 1.Click yes - all the old configurations will be erased ( admins , installed plugins…) 2.Click no - all the binary files will be upgraded without deleteing the old configurations 3.Click cancel to cancel I repeat ! This will happen only if the installer will detect another installation of the amxmodx. I there is no old installation the installer will do its job and you just have to press Finish. 2. Cstrike module installation This is the next faze of the amxmodx installation and it is very important . CStrike module installation will be made manually. Download here the cstrike module and unzip it anywhere on disk. Open then the amxmodx 1.76-cstrike\addons\amxmodx folder. There you have five subfolders : configs, plugins,scripting,modules,data . Copy the files inside each subfolder in the folders with the same name in HLDS\cstrike\addons\amxmodx ( HLDS is the main directory of your server) .Example: files from amxmodx1.76-cstrike\addons\amxmodx\configs will go to HLDS\cstrike\addons\amxmodx\configs folder , etc… You `ll be asked if you want to overwrite the existing files and you shall send OK . Attention! Copy the files inside the subfolders , not the folders themselves ! In order to be in control of your server you have to configure the admin. Open the HLDS\cstrike\addons\amxmodx\configs\users.ini with wordpad ( HLDS is the main directory of your server) . Scroll down the page and you`ll find a line looking like this : “loopback” “” “abcdefghijklmnopqrstu" "de". You have to edit this line .If you want an ip admin replace “loopback” with the ip and the put the flag “d”, as you see in the image : If you want a nick admin replace “loopback” with the nick and the flag should be set to “e”. Admin account levels and flags : ; 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) Admin account examples : ; Format of admin account: ; <name|ip|steamid> <password> <access flags> <account flags> ; Examples of admin accounts: ; "STEAM_0:0:123456" "" "abcdefghijklmnopqrstu" "ce" ; "123.45.67.89" "" "abcdefghijklmnopqrstu" "de" ; "My Name" "my_password" "abcdefghijklmnopqrstu" "a" Atention !You don`t have to set all the acces levels to every admin ! If you want to see the commands you have acces to, join the game and console type amx_help . The first 10 commands will show . Next, type amx_help 11 , amx_help 21 , etc.. Seting up the admin password The line should look like this : "Name" "password" "abcde….." "a" . As you see the account flag changed to “a” .Your admins will have to console type setinfo_pw password , before they connect to your server . Deactivate admin mod and statsme .Do this steps In this case my advice to you is to uninstall AdminMod and Statsme . AmxModX has all the features of AdminMod ( that make Adminmod useless) and has statistics incorporated ( that makes Statsme useless) .To uninstall AdminMod and Statsme simply go to HLDS\cstrike\addons\metamod and open plugins.ini with wordpad . There you should delete the lines : Win32 addons\adminmod\dlls\adminmod_mm.dll Win32 addons\statsme\dlls\statsme_mm.dll It must look like this: The w plugin is webmod see how to install it in the bottom of my guide :) You don`t have to delete the folders adminmod and statsme in addons .If you want to reactivate them later just ad those two lines back to metamod\plugins.ini Option3 - install Web Mod Install Webmod .Do these steps. This plugin allows you to see and administrate, in some limits, your counter strike 1.6 server, using a web browser like Internet Explorer or Mozzila Firefox. Download it here and copy the "w" folder in HLDS\cstrike\addons: and edit it in metamod\plugins.ini : win32 addons\w\dlls\w_mm.dll Like this: Save and close, and if the server was started, restart. To see your server o the browser, acces the http://xx.xxx.xxx.xxx:port page, where xx... is the server's ip, and “port” is its port, which is usually 27015 (if you haven't changed it).See the image.There you will be asked to log on and you use the RCON password (the one you write on the console when you start the server) Anyone can access this address, but only the ones who know the RCON password can administrate it. ENJOY Credits: 50% mine and 50% tutorialcs
ExTrEmEDwarf Posted August 29, 2009 Posted August 29, 2009 lol awesome guide. I think it deserves to be sticky, there is other one but this one have more info :P
][*DeVx*][ Posted August 29, 2009 Author Posted August 29, 2009 awesome bro! deserves sticky! ty for your good words finally i am back...cuz i was on holidays :)
Hax0r Posted August 29, 2009 Posted August 29, 2009 Really nice one! I think it deserves to be sticky. ok :)
TotalPower Posted August 31, 2009 Posted August 31, 2009 i cant figure out on how to be an admin at admin mod.. i pmed you
ExTrEmEDwarf Posted August 31, 2009 Posted August 31, 2009 if u find how to tell me too, cuz im only admin on amx mod.
Hax0r Posted August 31, 2009 Posted August 31, 2009 i cant figure out on how to be an admin at admin mod.. i pmed you [*DeVx*][ link=topic=77865.msg593615#msg593615 date=1251535012] Adding admins Open HLDS\cstrike\addons\adminmod\config\users.ini with wordpad . Add a line like this : Nick:password:131071 ( 131071 is the highest admin level ) If you want to add an admin with lower access level go to adminmod manual (you`ll find it in the installation folder - Adminmod\docs) and look for Admin Mod Reference\Acces levels. Choose the levels you wish and then press Calculate Access Right. Type the number displayed in users.ini admin line . Attention ! If you try to connect to the server as an admin with setinfo_pw “your password” , and the commands doesn`t work, console type admin_password “your password”.
][*DeVx*][ Posted August 31, 2009 Author Posted August 31, 2009 thnx for helping him cuz i was offline because i am helping a guy with a server i am making his server sorry
Hax0r Posted August 31, 2009 Posted August 31, 2009 [*DeVx*][" post=598187" timestamp="1251735397] i am helping a guy with a server i am making his server sorry I assume it's a 10 yo boy...everything is explained here clear and nice, what's so difficult?
TotalPower Posted September 1, 2009 Posted September 1, 2009 I assume it's a 10 yo boy...everything is explained here clear and nice, what's so difficult? yeah "smart old guy" i have done this and this doesnt work
][*DeVx*][ Posted September 1, 2009 Author Posted September 1, 2009 yeah "smart old guy" i have done this and this doesnt work i made this and it does so 1st dont spam and second check the tut again step by step..
CryStaliN Posted September 1, 2009 Posted September 1, 2009 Good job...i'm really confused how some guys can ask how how i don't know how to make,this guy explained you very clear+with photos..and you can make that server very easy you dont need so much brain...
Flavio Posted September 3, 2009 Posted September 3, 2009 Is that 3rd option ClanMod or WebMod? In explanation says WebMod and in Options 1.BlaBla 2.Blabla 3. ClanMod. Or those are same? <Edit> Yeah,i dont have sv_lan 0/1 in server.cfg folder,i have only 4 i think sv_cheats sv_maptime hostname etc. What to do?
Recommended Posts