1. Creeati un folder "HLDS" in driverul C:\
2. Downloadam hldsupdatetool.
3. Deschidem hldsupdatetool.exe si dam click pe Next, apoi pe I Agree si ajungem la destination folder. Aici apasam Browse si selectam drive-ul D, apoi dublu click pe directorul hlds. OK, ne spune ca directorul exista deja, apasam Yes, apoi Next pana la sfarsit.
4. Intram in Start-->Run-->si scriem acolo "cmd" fara ghilimele si apasam OK .
Pe urma scriem acolo asa:
Code: Select all
cd C:\HLDS
Code: Select all
hldsupdatetool.exe -command update -game valve -dir .
Code: Select all
HLDS installation up to date
Code: Select all
hldsupdatetool.exe -command update -game cstrike -dir .
Code: Select all
HLDS installation up to date
7.Configurare Server
In C:\HLDS\cstrike\ vom avea un fisier numit server.cfg , il deschidem si stergem TOT de acolo si punem acestea:
Code: Select all
hostname "Numele Server-ului"
mp_autokick 0
mp_autocrosshair 0
mp_autoteambalance 1
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 0
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 parola
INSTALARE AMXMODX
Pentru inceput instalam Metamod
Instalare Metamod
1. Mergem in hlds/cstrike/addons/ si creem un folder numit metamod
2. Creem in hlds/cstrike/addons/metamod un folder numit dlls
3. Downloadam Metamod
4. Punem .so-ul in hlds/cstrike/addons/metamod/dlls/
5. Intram in hlds/cstrike/ si deschidem liblist.gam si modificam:
Code: Select all
gamedll_linux "dlls/mp_i386.so"
Code: Select all
gamedll_linux "addons/metamod/dlls/metamod_i386.so"
Code: Select all
linux addons/amxmodx/dlls/amxmodx_mm_i386.so
1. Downloadam de aici -> AmxModX Base Linux
2. Downloadam de aici AmxModX Counter-Strike Linux
3. Extragem amandoua arhive in hlds/cstrike/
4. Intram in addons/amxmodx/configs/amxx.cfg si facem urmatoarele setari:
Code: Select all
// 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% -- This server is using AMX Mod X" 600
// Center typed colored messages (last parameter is a color in RRRGGGBBB format)
amx_imessage "Welcome to %hostname%" "000255100"
amx_imessage "This server is using AMX Mod X\nVisit http://www.amxmodx.org" "000100255"
// Frequency in seconds of colored messages
amx_freq_imessage 40
// 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 4
// 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 0
// 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 ""
-Modificati "amx_imessage "Welcome to %hostname%" "000255100" cu "amx_imessage "Welcome to numele_serverului_tau" "000255100"
Cum adaugam admini !
Intrati in C:\HLDS\cstrike\addons\amxmodx\configs\users.ini si scrieti acolo la sfarsit asa:
Code: Select all
"nume" "parola" "abcdefghijklmnopqrstu" "a"
-in loc de "nume" puneti numele care vreti sa aiba adminul
-in loc de parola puneti parola pe care o vrea adminul
-in loc de "abcdefghijklmnopqrstu" puneti accesu care vreti sa-l aiba adminul
Code: Select all
"nume" "" "ip" "abcdefghijklmnopqrstu" "de"
-in loc de "nume" puneti numele care sa-l aiba adminul
-in loc de "ip" puneti ip-ul celuia care doriti sa ii faceti adminul
-in loc de "abcdefghijklmnopqrstu" puneti accesu care vreti sa-l aiba adminul
Accesele sunt urmatoarele:
Code: Select all
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)
amx_default_access "z" / ce acces are fiecare user care intra pe server
amx_password_field "_pw" / daca este acolo _pw atunci in consola te vei loga ca admin cu setinfo _pw parola
amx_mode 1 / daca este 1 modul de logare este normal
amx_show_activity 2 / daca ii 2 atunci comenzile adminilor se vor arata cu tot cu nume
amx_freq_imessage 40 / intervalul in care apar mesajele colorate
amx_flood_time 0.75 / daca un player scrie ceva,trebuie sa astepte ca sa mai scrie altceva inca 0.75 sutimi
amx_reservation 4 / cate sloturi rezervate sa aiba serverul
amx_hideslots 1 / daca este setat 1 atunci puteti ascunde sloturile de pe server
amx_time_voice 1 /daca este setat 1 atunci dupa ce dati comenzile /timeleft sau /thetime se va aude si vocea
amx_vote_delay 10 / cate secunde trebuie sa treaca de la un vot dat
amx_vote_time 10 / cat va tine un vot
amx_vote_answers 1 / arata cine si ce voteaza la acel vot
amx_extendmap_max 90 / harta se poate extinde maxim cu 90 secunde
amx_extendmap_step 15 / cate secunde se va extinde harta la fiecare extindere
csstats_rank 0 / rank-ul sa se salveze pe nume
csstats_maxsize 3500 / maximul de marime a fisierului cu stats-uri (top si rank)
amx_statsx_duration 12.0 / durata statisticilor
amx_statsx_freeze -2.0 / daca are "-" in fata atunci HUD-statusurile se vor termina inainte de durata de freeze time sa se termine
amx_client_languages 1 / jucatorii isi pot alege limba dorita
amx_debug 1 / pluginurile cu debuge se vor pune in plugins.ini
amx_mldebug "" aici puteti pune mai multe limbi disponibile dupa descrierea facuta acolo
Cum sa adaugam pluginuri
1.Luam fisierul .sma si il bagam in addons/amxmodx/scripting/
2.Executam compile.exe
3.Intram in addons/amxmodx/scripting/compiled/ si o sa gasim pluginul .amxx
4.Luam pluginu .amxx si il punem in addons/amxmodx/plugins/
5.Mergem in addons/amxmodx/configs/plugins.ini si scriem la sfarsit asa:
Code: Select all
numele_pluginului.amxx
Pai de multe ori am auzit "activeaza modulul engine,sau activeaza modulul fun sau alte module",ca sa activam unele module procedam astfel:
1.Intram in Addons/amxmodx/configs/modules.ini
2.Modificam acolo de exemplu pentru a activa modulul engine,inlocuim
Code: Select all
;engine
Code: Select all
engine
Code: Select all
;fakemeta
Code: Select all
fakemeta
Acum mergem in C:\HLDS\cstrike\ si deschidem fisierul liblist.gam si modificam :
Code: Select all
secure "1"
Code: Select all
secure "0"