Salut,sunt
ariciu.
In acest tutorial va voi invata cum sa configurati un server de counter strike 1.6 cu modul AmxModX.
Sunt 3 pasi simpli.
1.Configurarea fisierului
- Cod:
-
server.cfg (se afla in folderul cstrike)
In server.cfg trebuie sa avem urmatoarele configurari ca serverul sa ruleze corect si cu putin lag.(pentru multi lagul este o problema)
Apasa pe server.cfg pentru a vedea configurarile.
- server.cfg:
hostname "Aici puneti numele servarului dumneavoastra"
mp_autokick 1
mp_autocrosshair 0
mp_autoteambalance 1
mp_buytime 0.15
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 0
mp_fraglimit 0
mp_hostagepenalty 0
mp_limitteams 1
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 0
sv_maxrate 9999
sv_maxspeed 9999
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
setmaster add 69.28.151.162
setmaster add 72.165.61.189
setmaster add 207.173.177.11
setmaster add 68.142.72.250
setmaster add hlmaster.jolt.co.uk
setmaster add 65.73.232.251:27040
setmaster add 65.73.232.253:27040
setmaster add 207.173.177.12:27010
setmaster add 207.173.177.11:27010
// Execute the Admin Mod configuration file
exec addons/adminmod/config/adminmod.cfg
exec addons/booster/booster.cfg
2.Configurarea amxx.cfg (se afla in cstrike/addons/amxmodx/config)
Ca un server sa ruleze perfect fara buguri (in timp pot aparea,sunt 10% sanse) trebuie sa aveti in amxx.cfg urmatoarele linii
Da click pe amxx.cfg pentru a vedea liniile din amxx.cfg
- amxx.cfg:
// AMX Mod X Configuration File
echo Executing AMX Mod X Configuration File
// Default access for all non admin players (see users.ini for access details)
//
// Default value: "z"
amx_default_access "z"
// Name of setinfo which should store a password on a client (you should change this)
// Note: Always prefix the field with an underscore (aka: "_")
// (Example: setinfo _pw "password")
//
// Default value: "_pw"
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
//
// Default value: 1
amx_mode 1
// Show admins activity
// 0 - disabled
// 1 - show without admin name
// 2 - show with name
//
// Default value: 2
amx_show_activity 2
// Frequency in seconds and text of scrolling message
//
// Default value: "Adauga un mesaj" 600
amx_scrollmsg "Adauga un mesaj" 600
// Center typed colored messages (last parameter is a color in RRRGGGBBB format)
//
// Default values: "Adauga un mesaj" "000255100"
// "" "000100255"
amx_imessage "Adauga un mesaj" "000255100"
amx_imessage "Adauga un mesaj" "000100255"
// Frequency in seconds of colored messages
//
// Default value: 180
amx_freq_imessage 180
// Ban times for the main ban menu (amx_banmenu)
// Use 0 for permanent ban
// Default values: 0 5 10 15 30 45 60
amx_plmenu_bantimes 0 5 10 15 30 45 60
// Slap damage amounts for the main slap menu (amx_slapmenu)
// Slay is automaticall inserted as the first option
// Default values: 0 1 5
amx_plmenu_slapdmg 0 1 5
// Set in seconds how fast players can chat (chat-flood protection)
//
// Default value: 0.75
amx_flood_time 0.75
// Amount of slots to reserve.
//
// Default value: 0
amx_reservation 0
// If you set this to 1, you can hide slots on your server.
// If server "full" of public slots and slots hidden, you must manually connect with connect console command
//
// Default value: 0
amx_hideslots 0
// 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
//
// Default value: "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
// Announce "say thetime" and "say timeleft" with voice, set to 0 to disable.
//
// Default value: 1
amx_time_voice 1
// Minimum delay in seconds between two voting sessions
//
// Default value: 10
amx_vote_delay 10
// How long voting session goes on
//
// Default value: 10
amx_vote_time 10
// Display who votes for what option, set to 0 to disable, 1 to enable.
//
// Default value: 1
amx_vote_answers 1
// Some ratios for voting success
// Default value: 0.40
amx_votekick_ratio 0.40
// Default value: 0.40
amx_voteban_ratio 0.40
// Default value: 0.40
amx_votemap_ratio 0.40
// Default value: 0.02
amx_vote_ratio 0.02
// Max. time to which map can be extended
//
// Default value: 90
amx_extendmap_max 90
// Step for each extending
//
// Default value: 15
amx_extendmap_step 15
// If you set this to 0, clients cannot chose their language, instead they use
// whatever language the server is configured to use.
//
// Default value: 1
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
//
// Default value: 1
amx_debug 1
// Plugin MultiLingual Debug
// To debug a language put its 2 letter code between quotes ("en", "de", etc)
// "" means disabled
//
// Default value: ""
amx_mldebug ""
//
// Beginning of Counter-Strike package specific configurations.
//
// Rank mode
// 0 - by nick
// 1 - by authid
// 2 - by ip
//
// Default value: 1
csstats_rank 1
// Max size of the stats file
//
// Default value: 3500
csstats_maxsize 10000
// Whether or not to rank bots with csstats - set to 1 to rank bots, 0 otherwise.
//
// Default value: 0
csstats_rankbots 0
// Duration of HUD-statistics
//
// Default value: 12.0
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
//
// Default value: -2.0
amx_statsx_freeze -2.0
3.Pluginurile
Cu toti stim ca pluginurile sunt cele care creeaza serverul.Multi adauga pluginuri care nu isi au rostul si care pot crea mult lag servarului.
Aici a veti o lista de pluginuri necesare pentru o buna rulare a servarului
- plugins.ini:
====Basic====
admin.amxx
admincmd.amxx
adminhelp.amxx
adminslots.amxx
multilingual.amxx
====Menus====
menufront.amxx
cmdmenu.amxx
plmenu.amxx
mapsmenu.amxx
pluginmenu.amxx
====Chat/Messages=====
adminchat.amxx
antiflood.amxx
scrollmsg.amxx
imessage.amxx
adminvote.amxx
====Map related=====
nextmap.amxx
mapchooser.amxx
timeleft.amxx
====Configuration====
pausecfg.amxx
statscfg.amxx
====Counter-Strike====
statsx.amxx
====Pluginuri utile====
activitate.amxx (cautati pe net pluginuri Activitate Admini,este foarte folositor)
amx_gag.amxx
amx_blind.amxx
amx_ss.amxx
Acest tutoriale este creat in totalitate de mine ( Pirpiliu Gabriel)
Daca postati acest tutorial pe alte forumuri va rog sa puneti si sursa sau id de contact al meu (gabriel.ariciu ---->>>> Y!M)
Daca mai aveti nevoie de ajutor imi lasati PM sau add Y!M gabriel.ariciu