How to create a Cs Server

Vezi subiectul anterior Vezi subiectul urmator In jos

How to create a Cs Server

Mesaj  Administrator la data de Lun Dec 17, 2007 5:10 pm

How to make a counter-strike 1.6 server

Downloading files.
You need to download the following files:
HLDSUpdateTool

NoSteamPatcher

AdminMod + MetaMod

StatsMe

Installing the server
1. You have to create directory where the server will be installed. For example C:\HLDS
2. Open hldsupdatetool.exe and click Next, then I Agree then we get to destination folder. Here you click Browse and select C drive, then double click on hlds folder. Now it will say that the directory already exists, Click Yes, then Next untill hlds is installed.
3. Next step is in command line DOS. To enter command line, go Start, Run, write cmd and enter. When command prompt appears, change the directory with the one where we have installed the file. The command is:

Cod:
cd C:\HLDS

4. Now, download the files we need to run the server. Depending of your internet conexion, this can take from some minutes to some hours. Again in comand prompt write this:

Cod:
hldsupdatetool.exe -command update -game valve -dir .

What does this do ? Well this downloads all the hlds files, hltv and valve (game engine).
When finished, in command prompt will appear the text:

Cod:
HLDS installation up to date


Installing Counterstrike mod
When you finished downloading server files, we have to download mod files that we have installed (in our case counterstrike). Like before, you do this in command prompt where we write the folowing command:

[code]hldsupdatetool.exe -command update -game cstrike -dir .[code]

Again, this opperation it depends of your internet conection and it finishes with the text:

[code]HLDS installation up to date[/code]


Patching the server to accept NOSTEAM clients

Open hldsw32-emporio.rar and extract in C:\HLDS

server.cfg
In the directory C:\HLDS\cstrike we have a file server.cfg that we open with notepad (Right click on it, open with.. and chose notepad)
Here we delete all that it's written and coppy the following cvars:
[code]
hostname "Name of the server"
mp_autokick 0
mp_autocrosshair 0
mp_autoteambalance 0
mp_buytime 2
mp_consistency 1
mp_c4timer 35
mp_fadetoblack 0
mp_falldamage 0
mp_flashlight 1
mp_forcecamera 3
mp_forcechasecam 2
mp_friendlyfire 1
mp_freezetime 3
mp_fraglimit 0
mp_hostagepenalty 0
mp_limitteams 6
mp_logfile 1
mp_logmessages 1
mp_logdetail 3
mp_maxrounds 0
mp_playerid 0
mp_roundtime 3
mp_startmoney 800
mp_timelimit 35
mp_tkpunish 0
mp_winlimit 0

sv_aim 0
sv_airaccelerate 10
sv_airmove 1
sv_allowdownload 1
sv_clienttrace 1.0
sv_clipmode 0
sv_allowupload 1
sv_cheats 0
sv_gravity 800
sv_lan 1
sv_maxrate 7000
sv_maxspeed 320
sv_maxupdaterate 101
sys_ticrate 10000
decalfrequency 60
pausable 0
log on
decalfrequency 60
edgefriction 2
host_framerate 0
exec listip.cfg
exec banned.cfg
rcon_password Password
[/code]

At <HOSTNAME> we can write for example. "MuZone CS 1.6 Server". What we write here will appear to the players up when we press TAB. At <Password> we chose a password wich you can control the server from distance. In rest don't change nothing only if you know exactly what is it.

Installing AdminMod
We have downloaded earlyer halflife-admin-2.50.60-win.zip wich we extract everywhere. We will need a directory called Adminmod. In it double click on install_admin.vbs. Press OK then it will ask you where to install it. We are interested in C:\HLDS so we write in the case bellow a number C:\HLDS. For example 2) Dedicated Server (C:\HLDS) we write in the case 2 and press OK. Then it will ask us what MOD you want to install. Write 1 (for cstrike). OK and this is it..

Configurare minima pentru AdminMod
Go in C:\HLDS\cstrike\addons\adminmod\config. here we have some files that need our attencion. Start with adminmod.cfg that we open it with notepad.
admin_balance_teams - leave it 0
admin_bot_protection - if it's set 0 and we start a server with bots, this cvar lets the admins to slay, kick, ban etc the bots.
admin_connect_msg - this is the message that appears to each player in the middle of the screen after he has conected.
admin_cs_restrict - set it 1 to restrict the weapons in game. (anti-apasaci)
admin_debug - set it 0
admin_fun_mode - set it 0. This cvar is to make the players to glow in a specific colour (glow blue).
admin_fx - set it 1. Special efects.
admin_gag_name - set it 0 ore 1
admin_gag_sayteam - set it 0 ore 1
admin_highlander - set it 0.
admin_ignore_immunity - Here if you put 1 admins, moderators and other players with imunity can give/tale slay, kick, ban etc between them.
admin_repeat_msg - A message wich appears in some minutes green in the middle of the screen
admin_quiet - If we set it 0, the commands given by admin will appear with he's nickname. If you set it 1, the commands will appear but it will appear "Admin" not he's nickname and if you set it 2, the commands won't appear at all.
allow_client_exec - Set it 1 !
password_field - Maybe the most important cvar. The admins will have to write in the console he's password. For ex. if we set _password, admin gigi with password gigi123 we will have to write in the console name gigi then setinfo _password gigi123.
reserve_slots - Here we set how much reserved slots the server has. Write like 2-3. This lets the admins to connect when the server if full.
reserve_type - Set it 0.


How we add/delete admin
Open with notepad users.ini. here we set admin maes and they're passwords, then the acces of the server. If we want to make an admin with maximum acces with the name gigi and password gigi123. Write in users.ini this line:

[code]gigi:gigi123:131071[/code]

For custom acces levels go to http://www.adminmod.org/help/online/Admin_Mod_Reference/Access_Levels_and_Respective_Admin_Commands.htm
If you tryed to login with setinfo _password your-password and the commands are not working, connect to the server with the name admin from users.ini and write in the console admin_passworld your_password form users.ini !

StatsMe
We have downloaded earlyer statsme-2.8.3-cstrike.zip that we open with winzip/winrar. Press the buton Extract and select the directory C:\HLDS\cstrike . First go to C:\HLDS\cstrike\addons\metamod and open plugins.ini with wordpad. Here we add the following line uper the ones allready existing:

[code]win32 addons\statsme\dlls\statsme_mm.dll[/code]

Then we go to C:\HLDS\cstrike\addons\statsme and open statsme.cfg with wordpad. At sm_menupassword modify r3wt with another password. It's necesary to modify the password ore else some things won't work. Then when you will enter in the game, you will write in the console statsme_menu the-password-written-in-statsme.cfg to modify some settings.

To work /rank and /top10
You have to open the same statsme.cfg and at sm_storebyauth set it 0 where it's 1

Secure server
it's preferable to have a non-secured server for more reasons. To do that, we have to go in C:\HLDS\cstrike and open liblist.gam with wordpad. There you will modify secure "1" to secure "0" save&exit.

Starting the server - the simple way but uses more resources
go to C:\HLDS . Double click on hlds.exe and select the following options:
Game: CounterStrike
Server Name: For example MuZone CS 1.6 Server (apare sus in TAB in joc)
Map: Any
Network: Internet
Max. Players: How much you want
UDP Port: the port that server will run. If you change the defaul on (27015), the players that will want to connect will have to write in the console : connect server.ip:port.nou
RCON Password: a password wich u can control the server from distance
Secure (Valve Anti-Cheat): Deselect this.




The Plugin for admin_who
anyone on the server will use the command admin_who that will show the admins.
Moderators
with maximum acces (admin_rcon admin_exec* etc.)
Administrators
acces to anything, except admin_rcon, admin_exec*
Helpers
acces to anything except admin_rcon si admin_ban !
Slots
The ones with name/slot reserved.

Download this plugin and put it in cstrike\addons\adminmod\scripts then add the line in cstrike\addons\adminmod\config\plugins.ini
addons\adminmod\scripts\admin_who.amx

Download Link

Luat de pe http://muzone.co.nr

Administrator
AdministratorSite
AdministratorSite

Numarul mesajelor : 13
Localizare : On Terra
Data de inscriere : 16/12/2007

Vezi profilul utilizatorului http://seeker-forum2007.in-goo.com

Sus In jos

Vezi subiectul anterior Vezi subiectul urmator Sus

- Subiecte similare

 
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum