Thursday, June 27, 2013

Clan Mod tutorial on Counter Strike 1.6 dedicated server

1.Installing ClanMod Files

1.Download ClanMod.rar here.
2.Extract clanmod_mm.dll into the /addons/clanmod/dlls/ folder.
3.Extract the ClanMod config files and directories into the /addons/clanmod/ folder. This folder may need to be created if you don't have a previous version of ClanMod installed.
4.Open the file /addons/metamod/plugins.ini in a plain text editor such as Notepad. Avoid the use of rich text editors such as Wordpad and MS-Word. This file may need to be created if it doesn't already exist.
5.Add the following line to plugins.ini: win32 addons/clanmod/dlls/clanmod_mm.dll
6.Save the file and exit the text editor
Finalizing the Install
ClanMod is now installed and ready to run. To start ClanMod, stop and restart your hlds server. The ClanMod plugin should automatically load. You can also load and unload the plugin on every map change using the appropriate Metamod commands. (Type "meta help" in server console for more help) To ensure that the plugin is running, type "clanmod_version" in your hlds console.
To configure and customize ClanMod, edit the various configuration files found in /addons/clanmod. The first thing you need to do is define your admins. To do this, edit the file /addons/clanmod/cm_admins.cfg. There are many examples of how to do this included in the file. For complete details on how to define admins, see the ClanMod Manual section titled "Creating Admins". Once you have defined your admins, you will want to make use of ClanMod when you are in-game. For instructions on how to do this, see the sections "Logging In" and "On-Screen Menus" in both the ClanMod Manual and the ClanMod Adminstrator's Guide.

2.Creating Admins

Admin accounts are defined in the file cm_admin.cfg using the cm_admin command. The syntax for cm_admin is:
cm_admin "" "" "" ["name"]
Make sure that you use quotes if your name or password contain spaces. The list of available levels and flags are:
Levels:
A Access to the Slap Menu
B Access to the Ban Menu - Temporary Time Bans
C Ability to send coloured Admin Chat messages (set by cvar cm_chatflag)
D Access to the Cancel Vote Menu
E Access to the Client-Commands Menu
J Access to clanmodmenu2
K Access to the Kick Menu
M Access to the Changelevel Menu
O Operator level
P Access to the Ban Menu - Permanent Ban
Q Access to the "Exit", "More" and "Back..." positions in ClanMod Menu
R Access to the Record Demo Menu and the Snapshot Menu
S Access to the Settings Menu
T Access to the Teleport Menu
U Access to the Unban Menu
V Access to the Votemap and Votekick Menus. Ability to close vote session
W Access to Play Sounds with Say and Menu
X Custom level (for Custom and Client Commands)
Y Custom level (for Custom and Client Commands)
Z Custom level (for Custom and Client Commands)

Flags:
b Kicks player no matter what password is given (used for unwanted names)
f Give level and flags to the player, but don't mark him as an admin
k Admin can not be kicked
l Do not logout if name or password has changed
o Operator, can kick everyone
r Has a reservation in the server's freeslots
s Kick the player if a bad password was given
Admin account exaple :
Example: If you have an admin with the nick "Boss|George" and the password "mypass" who you want to be able to use the Votemap Menu, the Kick Menu, and also to be able to send coloured messages, then the admin levels would be V, K, and C. If you also want this admin to be able to kick others admins, have a reserved slot on server, and be immune to kick from other admins, then you would add the o, r, and k flags. The command for creating this account would then be:
cm_admin "Boss|George" "mypass" "VKCork"

3.Logging In

To log into the game as an admin, you must add a setinfo line to your Half-Life//config.cfg file on your client. The syntax for the setinfo line is:
setinfo "" ""
By default, the variable is "_cm_pw". Using the admin example above, the admin Boss|George has the password "mypass". Therefore, that admin's setinfo line would be:
setinfo "_cm_pw" "mypass"

4.On-Screen Menus

For effective usage, bind an available key to the ClanMod menu. You can bind any key or mouse button that you prefer. For example, to make it such that the letter "o" opens your "op" menu, type the following in your client console:
bind "o" "clanmodmenu"
Now, whenever you hit "o" in the game, the menu will appear showing the available ClanMod options. If you hit "o" again, the menu will disappear. To navigate the menus, simply press the appropriate number key. All menu items are numbered.
There main menu has two pages. Although the second page is accessible from the first, it can also be quite handy to bind a key directly to that menu as well. The command to go directly to the second menu is "clanmodmenu2". So, for example, to bind it to key "p", you simply type the following into your client console:
bind "p" "clanmodmenu2".

Admin Mod - installation configuration, adding admins, adding plugins,commands

Adminmod installation

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).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 !

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.

AmxMod X Tutorial on Counter Strike 1.6 dedicated server


  1. Automatic installation tutorial

  2. Installing cstrike module tutorial

  3. Manual installation tutorial

  4. Configuring admins tutorial

  5. Configuring amxx.cfg tutorial

  6. Plugins installation tutorial

  7. Plugins compilation

1. Automatic installatin 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. 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 ( HLDS is the main directory of your server), down at the "Custom game addone" chose Counter-Strike and press OK .

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.8.0-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.8.0-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 !
Now you have installed the AmxModX with the CStrike module on your server . To see if it works properly go to console and type “meta list” . The result should be Amxmodx - RUN .

3.Manual installation of AmxModX

This installation is a bit complicated and I don`t recomand it to beginners . For those who want headaches we`ll make a breef presentation.
a.Go to www. amxmodx.org and download the base package for Windows
b.Unzipp it in HLDS\cstrike\addons
c.Go back to amxmodx.org and download the addons of your choice.
d. Unzipp it in HLDS|cstrike\addons
e.Add this line in HLDS\cstrike\addons\metamod\plugins.ini
win32 addons\amxmodx\dlls\amxmodx_mm.dll
To see if it works go to console and type “meta list” . The display should be Amxmodx - RUN.

4.Configuring admins

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:
;
; 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 .

How to patch the server for Non Steam users 47 and 48 protocol

n order to patch the server do these steps:
1. Download the CS 1.6 Non Steam 47+48 protocol patcher and unzzip it . Copy the files to your main directory (where hlds.exe is).
2. Open cstrike\server.cfg and add these lines:
Don`t forget to set the sv_lan 0 in server.cfg.

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 :
5. Next step is to set the server up for accepting non steam clients . In order to do that download you can use one ofe these methods:
  • 5.1 Rcommended - Use Dual protocol method (47+48). Download Dproto (latest version), double click it and choose as installation folder, the main directory of your server (HLDS). Then go to HLDS\cstrike\addons\metamod, open plugins.ini and edit this line there:
  • 5.2 The old swds.dll No Stream patcher. Download it fron this link . Double click the exe and chose as installation folder, the main directory of your server (HLDS).
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 or Notepad. Deleeverithing and paste this:
Edit your server name and any other cvar you like (only if you know what you are doing). Save the file and exit.

7. Add these lines in server.cfg . They will make your server visible in game`s Internet list of servers.
8. No go to HLDS\cstrike\liblist.gam , open it with Notepad or Wordpad and add this line:
9. In order to turn the server on, create a shortcut of hlds.exe file on your desktop and double click it. Edit the Server Name and chose your map, port and RCON Password and click Start Server. The hlds.exe file is located inside your main directory (HLDS).
The installer automatically installed Amx Mod X 1.8.1 on your server. Amx Mod X helps you to administrate your server ( change maps, set up cvars, kick players) and shows the game statistics .
To see if it runs properly go to the server console and type meta list . If the message recived is:
AMX Mod X - RUN
..then everything it`s OK.
This is pritty much it. Have Fun !

Download Counter Strike 1.6 Modren Warfare 2

Download Counter Strike 1.6 Modren Warfare 2

As the name says, in this Counter Strike 1.6 version we tried to bring some of the MW2 look and gameplay into CS 1.6. This is not justa reskinned CS 1.6, the changes made to the game are significant.

Weapon skinns and models are made to look like those in Modern Warfare 2, player models, even some animations, too. We changed the sounds and some controls to make it feel like MW2 gameplay.

This CS 1.6 MW2 version is playable online, on any server you like, but you can play on a LAN server (with or without bots) started ingame from Create Server, if you like.

The mod was made by an international team, and adapted for online gameplaye and packed by us.
Installer size: 758 MB
Installed game size: 1.4 GB
Warning! If you recive an error at w_c4.mdl when trying to connect to online servers, download and install CS 1.6 MW2 Update 1.1 C4 Fix. Without this one you won`t be able to connect to some of these servers. Double click the exe and chose as installation folder, the game`s main directory (Counter Strike 1.6 Modern Warfare 2).
Download CS 1.6 MW2 Update 1.1 C4 Fix
Size: 300 KB


Some instructions for Counter Strike 1.6 Modern Warfare 2


1. Specific key bindings
- E - quick slash (press and hold down the key for fasn knife hit)
- F - quick flash throw (press and hold down the key ; you have to buy the flashbang first)
- Mouse 3 - quick he throw (press and hold down the key ; you have to buy the he grenade first)
- C - flashlight
- V - Use Item
2. If you want to change the specific binds, go to cstrike\userconfig.cfg (lines 71,76,81).
To disable those bindings just comment the lines (put // in front of them), and then bind whatever key you want ingame (Options -> Keyboard).

3. You can start a LAN listenserver from Create Server, and add bots.

4. You can enable/disable some plugins for listensever in
cstrike\addons\amxmodx\configs\plugins.ini

5. Thew game`s default instalation is on 1024x768 resolution. If you use a wide screen desktop you can change the backround, game menu, to fit to your resolution.
Go to Counter Strike 1.6 Modern Warfare 2\cstrike and delete or rename the resource folder. Rename resource_wide folder to resource, then in game chose the 1280X720 resolution.

Mani Admin Plugin for Counter Strike Source dedicated server

1. Features

Mani admin plugin is an administration plugin for Counter Strike Source servers. It has many features most of them set in one cfg file calledmani_server.cfg :
  • manage adverts
  • manage tem killing
  • manage player and weapon stats
  • manage reserverd slots
  • manage high ping kicker
  • manage admin messages
  • chat flooding control
  • auto team balance
  • voting functionality

  • and many others..


2. Installing Mani admin plugin

In order to install this administration plugin, download the Mani admin pluginn installer and unzipp it anywhere on disk.
Run the installer and select as installation directory, the main folder of your server (if you have installed the server using our tutorial, the main folder should be called SRCDS )
The installer will set the plugin up for your server. Then go to SRCDS\cstrike\addons\metamod and open metaplugins.ini using Wordpad or Notepad. Add there this line:

3. Configuring Mani admin plugin

The core file of the plugin is called mani_server.cfg and you can find it in SRCDS\cstrike\cfg . This file is used to turn on/off functionality and to also config options within the plugin. By default the main functions are turned off. For the most part the on/off switch is usually the first cvar under each module (i.e mani_adverts, mani_stats, etc).
In order for this config to be used by the plugin an exec command must be placed in the server.cfg file within the SRCDS\cstrike\cfg folder. Add there a line like this : exec mani_server.cfg
Now you can open the mani_server.cfg and configure it as you like.

3. Adding admins in Mani admin plugin

In order to add admins you will have to create a text file in SRCDS\cstrike\cfg\mani_admin_plugin and save it as adminlist.txt . Then copy these lines into it:
You have there all the instructions you need.