Exiled - Gaming Romania este o comunitate bazata pe gaming-ul profesionist.


Instalare AmxModX pe Linux

 



Vezi subiectul anterior Vezi subiectul urmator In jos   Mesaj • Pagina 1 din 1

мädáℓïη
#1

Dum Mar 10, 2013 8:51 am

мädáℓïη
Exiled Skill +4
Exiled Skill +4
NSTALARE 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:

COD: SELECTAŢI TOT
gamedll_linux "dlls/mp_i386.so"


cu

COD: SELECTAŢI TOT
gamedll_linux "addons/metamod/dlls/metamod_i386.so"


6. 6.Pentru a activa AmxModX (in caz ca luati numai baseul de la amxx fara metamod) intrati in addons/metamod/ si creeati un fisier numit plugins.ini si in el scrieti asa:

COD: SELECTAŢI TOT
linux addons/amxmodx/dlls/amxmodx_mm_i386.so


Instalam AmxModX
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:

COD: SELECTAŢI TOT
// 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_scrollmsg "Welcome to %hostname% -- This server is using AMX Mod X" "600" cu "amx_scrollmsg "Welcome to numele_serverului_tau -- This server is using AMX Mod X" 600""
-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:

COD: SELECTAŢI TOT
"nume" "parola" "abcdefghijklmnopqrstu" "a"

pentru admini pe nume
-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


COD: SELECTAŢI TOT
"nume" "" "ip" "abcdefghijklmnopqrstu" "de"


pentru admini pe ip
-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:

COD: SELECTAŢI TOT
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)


Ce face fiecare setare din amxx.cfg
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:

COD: SELECTAŢI TOT
numele_pluginului.amxx



Cum sa activam module
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

COD: SELECTAŢI TOT
;engine


cu

COD: SELECTAŢI TOT
engine



Daca vrem sa activam modulul fakemeta inlocuim:

COD: SELECTAŢI TOT
;fakemeta


cu

COD: SELECTAŢI TOT
fakemeta


Si tot asa.Deci uite ca v-am spus si cum se activeaza modulele
Acum mergem in C:\HLDS\cstrike\ si deschidem fisierul liblist.gam si modificam :
COD: SELECTAŢI TOT
secure "1"


cu

COD: SELECTAŢI TOT
secure
"0"

Vezi subiectul anterior Vezi subiectul urmator Sus   Mesaj • Pagina 1 din 1