Pentru inceput , ca sa nu aveti probleme cu lag`ul , va trebuie minim:
- 256 ram
- procesor 1400+
- banda de net 100 kb/s
Programele care ne trebuiesc pentru a face server sunt urmatoarele:
- hldsupdatetool.exe
- no steam patch
- amxmodx
1. Instalarea Server`ului
Pentru inceput , mergem in partitia C si cream un folder nou numit HLDS.
Acum deschidem hldsupdatetool.exe
Acum mergeti pe bara de jos si dati click pe start , intrati in Run , scrieti cmd si dati Enter:
Acum scriem cd C:\HLDS
Acum scrieti exact randul urmator:
Code:
hldsupdatetool.exe -command update -game valve -dir .
Acum o sa ne apara ce scrie in imaginea de mai jos si dam enter:
Acum scrieti exact randul urmator si apoi dam enter.
Code:
hldsupdatetool.exe -command update -game cstrike -dir .
2. Instalarea Modului AmxModX
Am downloadad la inceput amxinstaller. Intram in el si facem dupa imagini:
3. Configurarea Server`ului
a) Pentru inceput , trebuie sa punem patch`ul no steam pe care l`am downloadad la inceput. Ii dam extract files in C:\HLDS. Faceti ca in poze:
Image
Image
Image
b)Acum trebuie sa configuram server.cfg din hlds/cstrike. Il deschidem , stergem tot ce e acolo si trecem urmatoarele:
Code:
// Use this file to configure your DEDICATED server.
// This config file is executed on server start.
// disable autoaim
sv_aim 0
// disable clients' ability to pause the server
pausable 0
// default server name.
hostname "Numele Server"
// maximum client movement speed
sv_maxspeed 320
// 20 minute timelimit
mp_timelimit 60
sv_cheats 0
// load ban files
exec listip.cfg
exec banned.cfg
rcon_password onyx
sv_region 3
mp_tkpunish 0
mp_autokick 0
mp_friendlyfire 0
mp_hostagepenalty 0
mp_freezetime 0
mp_roundtime 3
mp_autoteambalance 1
mp_limitteams 0
mp_startmoney 800
mp_c4timer 25
bot_chatter off
bot_difficulty 2
bot_auto_vacate 1
bot_quota 0
log off
sv_logbans 0
sv_logecho 0
sv_logfile 0
sv_log_onefile 0
mp_logmessages 0
mp_logdetail 0
fps_max 600
mp_autocrosshair 0
mp_buytime 0.50
mp_flashlight 1
mp_forcerespawn 1
mp_footsteps 1
mp_playerid 1
sv_airaccelerate 10
sv_allowdownload 1
sv_allowupload 0
sv_friction 4
sv_gravity 800
sv_maxunlag 0.5
sv_minupdaterate 10
sv_maxupdaterate 60
sv_stopspeed 75
sv_timeout 30
sv_unlag 1
sv_unlagmax 0.5
sv_unlagsamples 2
change_models 1
mp_lowlag 1
sv_maxrate 9000
sv_minrate 4000
Modificati doar la host name , dar vedeti sa puneti numele intre " " si acolo la rcon_password , schimbati onyx cu ce parola vreti. Restu le lasati asa daca nu va pricepeti.
c)Acum sa modificam amxx.cfg din hlds/cstrike/addons/amxmodx/configs
Stergeti tot ce e acolo si treceti urmatoarele:
Code:
// AMX Configuration File
echo Executing AMX Mod X Configuration File
// Default access for all non admin players (see users.ini for access details)
amx_default_access "z"
// Name of setinfo which should store a password on a client (you should change this)
// (Example: setinfo _pw "password")
amx_password_field "_pw"
// Mode of logging to a server
// 0 - disable logging, players won't be checked (and access won't be set)
// 1 - normal mode which obey flags set in accounts
// 2 - kick all players not
on list
amx_mode 1
// Show admins activity
// 0 - disabled
// 1 - show without admin name
// 2 - show with name
amx_show_activity 2
// Frequency in seconds and text of scrolling message
amx_scrollmsg "Welcome to %hostname% -- Server CS 1.6" 600
// Center typed colored messages (last parameter is a color in RRRGGGBBB format)
amx_imessage "Welcome to %hostname%" "000255100"
amx_imessage "Server CS 1.6" "000100255"
// Frequency in seconds of colored messages
amx_freq_imessage 180
// Set in seconds how fast players can chat (chat-flood protection)
amx_flood_time 0.75
// Amount of reserved slots, amx_hideslots must be 1 to use this cvar (for more details see comments in plugin source)
amx_reservation 1
// If you set this to 1, you can hide slots on your server
amx_hideslots 1
// Displaying of time remaining
// a - display white text on bottom
// b - use voice
// c - don't add "remaining" (only in voice)
// d - don't add "hours/minutes/seconds" (only in voice)
// e - show/speak if current time is less than this set in parameter
amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
// Announce "say thetime" and "say timeleft" with voice
amx_time_voice 1
// Minimum delay in seconds between two voting sessions
amx_vote_delay 10
// How long voting session goes on
amx_vote_time 10
// Display who votes for what option
amx_vote_answers 1
// Some ratios for voting success
amx_votekick_ratio 0.40
amx_voteban_ratio 0.40
amx_votemap_ratio 0.40
amx_vote_ratio 0.02
// Max. time to which map can be extended
amx_extendmap_max 90
// Step for each extending
amx_extendmap_step 15
// Rank mode
// 0 - by nick
// 1 - by authid
// 2 - by ip
csstats_rank 2
// Max size of the stats file
csstats_maxsize 3500
// Duration of HUD-statistics
amx_statsx_duration 12.0
// HUD-statistics display limit relative round freeze end
// Negative time will clear the HUD-statstics before the round freeze time has ended
amx_statsx_freeze -2.0
//If you set this to 0, clients cannot chose their language
amx_client_languages 1
// Plugin Debug mode
// 0 - No debugging (garbage line numbers)
// 1 - Plugins with "debug" option in plugins.ini are put into debug mode
// 2 - All plugins are put in debug mode
// Note - debug mode will affect JIT performance
amx_debug 1
// Plugin MultiLingual Debug
// To debug a language put its 2 letter code between quotes ("en", "de", etc)
// "" means disabled
amx_mldebug ""
Aici modificam doar amx_password_field "_pw". Modificat _pw cu ce doriti , iar atunci cand va logati pe admin , scrieti setinfo _ce`ati`modificat`acolo parola`la`admin. Daca il modificati cu _parola sa zicem , va arata asa : amx_password_field "_parola". De exemplu daca modific _pw cu _parola si parola la admin este onyx, atunci cand va logati pe admin scrieti: setinfo _parola onyx
d)Ca sa va mearga rank si top15 , trebuie sa mergem in hlds/cstrike/addons/amxmodx/configs si in modules.ini , stergem ; din fata modulelor cstrike si csx.
4. Asa Faceti Admini
Mergem in hlds/cstrike/addons/amxmodx/configs si deschidem users.ini
Acolo avem niste litere care reprezinte accesul adminului pe server. Ca sa facem un admin cu acces total, pe parola , scriem urmatoarea linie:
Code:
"nick" "parola" "abcdefghijklmnopqrstu" "a"
(exemplu: "onyx" "onyx" "abcdefghijklmnopqrstu" "a")
Daca vrem sa facem un admin cu acces total pe ip , scriem astfel:
Code:
"ip" "" "abcdefghijklmnopqrstu" "a"
(exemplu: "12.45.56.765" "" "abcdefghijklmnopqrstu" "a")
5. Pornirea Server`ului
Mergem in C:\HLDS si deschidem hlds.exe si facem astfel:
- Game -> alegeti Counter-Strike
- Server Name -> puneti un nume la server
- Map -> alegeti harta care sa fie pe server cand il porniti
- Netword -> alegeti Internet ca sa poata intra playerii pe el
- Max. players -> alegeti cati playeri doriti sa aveti maxim pe server
- UDP Port -> lasati 27015
- RCON Password -> aici scrieti parola pe care ati pus`o in server.cfg
- Secure (Valve Anti-Cheat) -> debifati asta
Daca nu intelegeti , faceti ca in poza:
Image
Asta este tot. Succes.
Astept pareri.