Jdi na obsah Jdi na menu


29. 6. 2011



Don't start to create your server if you don't have one of these:
- Windows XP , processor at least 1ghz and 256 ram
- an in ternet conexion (speed at least 100kB/s ) on OPTICAL FIBER.
- 1-2 GB disk space
- A lot of patience

Files Download:

You have to download these files:
- HLDSUpdateTool -> http://www.steampowered.com/download/hldsupdatetool.exe
- NoSteamPatcher -> http://rapidshare.de/files/19456143/hldsw32.patch.3382.zip.html
- AdminMod + MetaMod -> http://prdownloads.sourceforge.net/halflifeadmin/halflife-admin-2.50.60-win.zip?download
- StatsMe -> http://prdownloads.sourceforge.net/statsme/statsme-2.8.3-cstrike.zip?download

Server setup:

1. You must create a folder, where you will install the server. I will use for example, C:\HLDS
2. We have to open hldsupdatetool.exe, then click NEXT, after that click I Agree. At destination Folder, we click browse. On drive C, make double-click on HLDS folder, than press ok. Than we receive a little error that told us that the folder already exist. We press Yes to the end.
3. The next step it's make from DOS line command. In order to I arrive the in command line, go in Start, Run, write cmd and press OK. Appeared command readily, I change director with one which in have install the file .Use this command:
cd C:\HLDS

4. Now we have to download the files that we need to run the server. Again, in command promt, we write the next command:
hldsupdatetool.exe -command update -game valve -dir .

What make this exactly? This command download hlds files, hltv and valve game engine.
When the setup is ready, in the command promt will appear this line:
HLDS installation up to date

Counter-Strike mode setup:

After we finish to download the server files, we must download the files for Counter-Strike mode. Like before, in the same command promt we write the next line:
hldsupdatetool.exe -command update -game cstrike -dir .

When the setup is ready, in the command promt will appear this line:
HLDS installation up to date

Patching the server for the NO-STEAM clients:

We have to open hldsw32-emporio.rar and we will extract it in C:\HLDS

In the C:\HLDS\cstrike directory we have a file , server.cfg that we will open with wordpad ( right click on the file, open with wordpad)
We Have to DELETE everything that writes inside and to add the next cvars:
At <HOSTNAME> we can write everything. For example "Pufuletz CS 1.6 Server". What we write here, will show to the players, up, when they press TAB. At <PASSWORD> we write your password. With this password tou can control your server from distance. Don't change anything alse.

AdminMod install:

We have download earlyer halflife-admin-2.50.60-win.zip that we can exctract it every where. We will have a directory calle AminMod. In this folder we will press double-click on install_admin.vbs. Press OK after that we are asked about setup destination. Probably will found more tag's but we are interested about C:\HLDS. So we write in the box, the number for C:\HLDS. For example: for 2) Dedicated Server (C:\HLDS) we write in the box 2 and press OK. Then we chose the MOD that we want to setup. In the box we write 1 (for Counter-Strike). Then press OK.

The minimal configuration for AdminMod
We are going in: C:\HLDS\cstrike\addons\adminmod\config. Here we have some files that require out atention. We start with adminmod.cfg that we open with WordPad.
admin_balance_teams - we are not interested in this, so let it 0
admin_bot_protection - if is 0 and we have bot's on the server, this cvar will let the admin to slay/ kick ban, to bot's.
admin_connect_msg - this is the message that will appeare to the player, in the middle of the monitor, after he connect's to the server.
admin_cs_restrict - we will put it on 1 to restrict the weapons in the game.
admin_debug - we are not interested in this, so let it 0
admin_fun_mode - this cvar will make the players to shine. So let it 0.
admin_fx - we will put change it in 1. Special effects
admin_gag_name - 0 or 1 . Witch you like..
admin_gag_sayteam - 0 or 1 . Witch you like..
admin_highlander - this must be 0, because if will change it in 1, only the "biggest" admin will have acces to commands.
admin_ignore_immunity - If is 1 the admins / moderators can kick, ban, slay each other.
admin_repeat_msg - The green message that will appear on the center every 5-10 minutes.
admin_quiet - if is 0, the commands will appear with the admin nick. If is 1, the commands will appear without admin nickname.
allow_client_exec - MUST BE 1 !. With this command you will force the player to execute the commands (quit..)
password_field - the most important cvar,. what we will write here, the admins must write in game-consol before connecting to the server. For example if we put _password, the admin gigi with the password gigi123 must write in the game-console gigi after that setinfo _password gigi123 before connecting to the server.
reserve_slots - Here we will write the number of reserved slots. when the server is full, the admin can connect to it.
reserve_type - we are not interested in this, so let it 0
You will see that we don't write all cvars because it's recommended to let them in the original form.

Adding / deleting admins
We have to open users.ini with wordpad. Here we have to write the admin names, passwords, and acces..For example we will create admin gigi and the password gigi123. In users.ini we will write this line

For custom acces levels, go to http://www.adminmod.org/help/online/Admin_Mod_Reference/Access_Levels_and_Respective_Admin_Commands.htm there custom your admin commands, and press "calculate access right" Write the number that result after admin name and password. in the example with gigi, we replace 131071 with the number that result. Each admin line will be under the last. NOT consecutive.

WARNING! If you try to login with setinfo _password your-password and the commands does not work, connect to the server with the admin name from users.ini and write in the game-sonsole admin_passworld your-password from users.ini !

We have download early statsme-2.8.3-cstrike.zip that we open with win zip. We extract it in C:\HLDS\cstrike . But first we have to go in C:\HLDS\cstrike\addons\metamod and open plugins.ini with notepad. Here we add this line in the top of the existent lines:
win32 addons\statsme\dlls\statsme_mm.dll

Than go in C:\HLDS\cstrike\addons\statsme and open statsme.cfg with wordpad. At sm_menupassword we change r3wt with an other password. The password must be changed because some thing's doesen't work with that password (r3wt). Then we run the game and write in game-console statsme_menu password-write-in-statsme.cfg to make some last settings.

To make /rank and /top10 work
You must open statsme.cfg and at la sm_storebyauth change it from 1 in to 0

Secure server

It's recommanded to have a non-secure server. To make this we have to go in C:\HLDS\cstrike and open liblist.gam with wordpad. There we will change secure "1" with secure "0". Svae & exit.

Starting server 1 - simple mode, using a lot of resurces
Go in C:\HLDS Double-click on hlds.exe an we make the settings:
Game: CounterStrike
Server Name: For example: Pufuletz CS 1.6 Server
Map: everything
Network: Internet
Max. Players: how much you want
UDP Port: The game port. The default is 27015
RCON Password: A password witch you can control your server from distance
Secure (Valve Anti-Cheat): That box must be NOT-SELECTED.

Starting serveri 2 - using few resources

We are going in C:\HLDS right-click on hlds.exe amn chose "Create shortcut" (or Send to > Desktop).

In HLDS (or on the Desktop) will appear a ne icon called "Shortcut to hlds.exe". Press Right-Click on "Shortcut to hlds.exe" than go to Proprieties. In the line with Target we have: avem C:\HLDS\hlds.exe . After that we add the next line:
-console -game cstrike +ip IP.EXTERN +sv_lan 1 +maxplayers playerNumbers +map de_dust2 -nomaster. So, at target we will have:

C:\HLDS\hlds.exe -console -game cstrike +ip +sv_lan 1 +maxplayers 22 +map de_dust2 -nomaster

Then we start the server, double-clicking the "Shortcut to hlds.exe" icon