Predator Admin
Mesaje : 368 Data de înscriere : 30/06/2008 Varsta : 33 Localizare : Bucuresti
| Subiect: Cum faci un server pe windows cu amxmodx Mier Iul 23, 2008 9:08 pm | |
| De ce aveti nevoie pentru a face un server de cs pe calculatorul dumneavoastra:
- Windows XP , cel putin un procesor 1ghz si cel putin 256 ram - o conexiune la internet (viteza cel putin 100kB/s metro si extern) prin Fibra Optica.Daca aveti abonamente de gen RDS/Click-NeT sau CableLink nu va recomand pentru ca nu tineti mai multi de 5/6 jucatori pe el. - 1-2 GB spatiu pe disc - Rabdare foarte multa ]
Descarcare Fiserelor pentru server:
http://files.filefront.com/hldsupdatetoolexe/;7056779;/fileinfo.html -HldsUpdateTools http://files.filefront.com/hldsw32+emporiorar/;7056803;/fileinfo.html -NoSteamPach http://files.filefront.com/amxmodx+installer+176cexe/;7057751;/fileinfo.html -AmxModX+Metamod
Instalare Server
1.Creaza un director in partitia C:/ in care ai da-m numele HLDS ex: C:\HLDS 2. Deschidem hldsupdatetool.exe si dam click pe Next, apoi pe I Agree si ajungem la destination folder. Aici apasam Browse si selectam drive-ul C, apoi dublu click pe directorul hlds. OK, ne spune ca directorul exista deja, apasam Yes, apoi Next pana la sfarsit. 3. Urmatorul pas se face din command line-ul DOS. Ca sa ajungem in command line, trebuie sa apasam jos pe Start apoi Run... si scriem cmd si apasam OK. Odata ce a aparut command prompt-ul, schimbam directorul cu cel in care am instalat file-ul de mai sus. Asta se face prin comanda: Code:
cd C:\HLDS
4. Acum, downloadam fisierele ce ne trebuiesc pentru a rula serverul. In functie de conexiunea la internet, acesta poate dura de la cateva minute la cateva ore.Din nou, in command prompt scriem urmatoarea comanda: Code:
hldsupdatetool.exe -command update -game valve -dir .
Acesta downlodeaza toate fisierele hlds, hltv-ul si nucleul valve (game engine). Odata ce a terminat, va aparea in command prompt text-ul: Code:
HLDS installation up to date
Instalarea modului Counter-Strike
Dupa ce am terminat de downloadat fisierele hlds, hltv-ul si nucleul valve (game engine)., va trebui sa downloadam fisierele modul pe care il vrem instalat (in cazul nostru CounterStrike). Ca si inainte, aceasta se face in acelasi command prompt in care scriem urmatoarea comanda: Code:
hldsupdatetool.exe -command update -game cstrike -dir .
Aceasta poate dura tot de la cateva minute la cateva ore in care se termina tot cu textul: Code:
HLDS installation up to date
Patch-uirea serverului pentru acceptarea clientilor NOSTEAM
Deschidem hldsw32-emporio.rar si il extractam in C:\HLDS si da-m Yes to all daca cere.
Configurare server.cfg
In directorul C:\HLDS\cstrike avem un fiser server.cfg pe care al deschidem cu Notepad sau Worldpad (click dreapta pe el, open with... si alegem Worldpad)
Aici stergem tot ce este scris si adaugam urmatoarele setari sau cvars-uri: Code: ostname "Numele Serverului" 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 Parola a <hostname> putem scrie orice. De ex. "StarMedia CS 1.6 Server". Ce scriem aici, le apare jucatorilor sus cand apasa TAB. Mai departe, la <Parola> trecem o parola cu care vom putea controla serverul de la distanta. In rest, nu schimbati nimic decat daca stiti exact despre ce e vorba.
Instalarea modului AmXmodX
Dublu click pe a amxmodx_installer_176c.exe dupa care next -> bifati prima casuta dupa care next -> next -> install -> finish -> next -> bifati prima casuta dupa care next -> bifati select mod directory dupa care next -> la mod directory alegi directorul cstrike (ex: C:\HLDS\cstrike) si la custom game addons alegeti counter-strike dupa care dati OK -> finish
Configurare minima pentru AmXmodX
Mergem in directorul C:\HLDS\cstrike\addons\amxmodx\configs . Deschidem amxx.cfg cu wordpad. Click dreapta pe el, open with... si deschidem Notepad sau Wordpad. In fisierul amxx.cfg trebuie sa arate ceva de genu urmator:
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 "_parola"
// 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 Starmedia CS 1.6 Server" 70
// Center typed colored messages (last parameter is a color in RRRGGGBBB format) amx_imessage "ce doriti sa apara in joc la mijlocul ecranului" "000100255"
// Frequency in seconds of colored messages amx_freq_imessage 50
// Set in seconds how fast players can chat (chat-flood protection) amx_flood_time 0.75
// Amount of reserved slots (for more details see comments in a plugin source) amx_reservation 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 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
//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 Cum adaugam un admin sau stergem un admin
Mergem in directorul C:\HLDS\cstrike\addons\amxmodx\configs si deschidem fisierul amxx.cfg modificam password_field _pw-home sau ceva de genu asta cu ce doriti. De exmeplu password_field _parola . Modificati DOAR _pw-home cu ce doriti; aveti grija sa puneti underline-ul la inceput ( _ ). Iar in consola CS scrieti setinfo _ce-ai-inlocuit-la-pw-home parola-ta . Apoi deschidem cu Notepad sau Wordpad users.ini ce se afla tot in C:\HLDS\cstrike\addons\amxmodx\configs . Aici trecem numele adminilor si parolele lor, urmate de accesul pe server. Sa zicem ca vrem sa facem un admin cu access maxim pe numele Top29 si parola TopTop. Trecem in users.ini aceasta linie: Code:
"Top" "TopTop" "abcdefghijklmnopqrstu" "a"
Acum pe ip Code:
"ip" "" "abcdefghijklmnopqrstu" "de"
| |
|