Request:- un calculator cu linux pe el sau access pe ssh
- root privileges
- o conexiune la internet minim 200 kb/s metro si extern minim 60 kb/s
- Procesor: 1,4 ghz minim + 512 ram
1) Downlodam HLDSUpdatetool facem un folderu numit
srcds_l - Cod:
-
mkdir srcds_l
cd srcds_l
Downlodam HLDSUpdatetool
- Cod:
-
wget http://www.steampowered.com/download/hldsupdatetool.bin
Acum sa instalam HLDSUpdatetool
- Cod:
-
chmod +x hldsupdatetool.bin
./hldsupdatetool.bin
./steam
Daca va da o erroare inseamna ca trebuie sa il deschideti cu gunzip
- Cod:
-
srcds_ns]$ locate gunzip
Normal el ar trebui sa va gaseasca gunzip in
- Cod:
-
/usr/bin/gunzip
Acum dam comanda
- Cod:
-
ln -s /usr/bin/gunzip /usr/bin/uncompress
Acum noua versiune de HLDSUpdateTool este downlodata.
2) Downlodarea fisierelordam comanda
- Cod:
-
./steam -command update -game "Counter-Strike Source" -dir .
Acum timpul de asteptare depinde de viteza voastra de download pe extern
3) Acum sa sa il facem no-steam. Prin patchuirea servului el va accepta si clienti STEAM si clienti NO-STEAMdownlodam:
de
aiciExtragem cele 3 fisiere in directorul
\bin NU in
\cstrike\binmergem in server.cfg si stergem tot ce e acolo si adaugam:
- Cod:
-
Ctrl-K H for help
// hostname - Set the name of your server
hostname "Counter-Strike Source Test Server"
// rcon_password - This allows you to control your server remotely, things like changing maps, kick/ban clients, etc.
rcon_password "parola"
// Advanced RCON
sv_rcon_banpenalty 25
sv_rcon_maxfailures 10
sv_rcon_minfailures 5
sv_rcon_minfailuretime 30
// server cvars
mp_friendlyfire 0
mp_footsteps 1
mp_autoteambalance 1
mp_autokick 1
mp_flashlight 1
mp_tkpunish 1
mp_forcecamera 1
sv_alltalk 0
sv_pausable 0
sv_cheats 0 // cheat and fun modes
sv_consistency 1
sv_allowupload 1
sv_allowdownload 1
sv_maxspeed 320
mp_limitteams 2
mp_hostagepenalty 5
sv_voiceenable 1
mp_allowspectators 1
mp_timelimit 25
mp_chattime 1
sv_timeout 30
// round specific cvars
mp_freezetime 3
mp_roundtime 3
mp_startmoney 800
mp_c4timer 45
mp_fraglimit 0
mp_maxrounds 0
mp_winlimit 0
mp_playerid 1 //Controls what information player see in the status bar: 0 all names; 1 team names; 2 no names
mp_spawnprotectiontime 5
// bandwidth rates/settings
sv_minrate 4000
sv_maxrate 8000
decalfrequency 60
sv_maxupdaterate 60
sv_minupdaterate 10
// server logging
log off
sv_logbans 0
sv_logecho 1
sv_logfile 1
sv_log_onefile 0
4) Instalare Mani Admin PluginDownload Mani Admin Plugin
- Cod:
-
wget http://www.mani-admin-plugin.com/mani_admin_plugin/v1_1_0zk/mani_admin_plugin_v1_1_0zk.zip
Creati urmatoarele directoare:
cstrike/addons
cstrike/cfg/mani_admin_plugin
cstrike/cfg/mani_admin_plugin/language
cstrike/cfg/mani_admin_plugin/map_config
cstrike/cfg/mani_admin_plugin/restrict
cstrike/cfg/mani_admin_plugin/mani_logs
cstrike/sound/admin_plugin
cstrike/sound/admin_plugin/actions
Dezarhivati mani_admin_plugin_v1_1_0zk.zip
a)Din folderu dezarhivat
mani_admin_plugin_v1_1_0zk\cfg\mani_admin_plugincopiati toate fisierele tip .txt toate fisierele in
cstrike/cfg/mani_admin_pluginactionsoundlist.txt
admingroups.txt
adminlist.txt
adverts.txt
cexeclist_all.txt
cexeclist_ct.txt
cexeclist_player.txt
cexeclist_spec.txt
cexeclist_t.txt
commandlist.txt
crontablist.txt
default_weapon_restrict.txt
gametypes.txt
gimpphrase.txt
immunitygroups.txt
immunitylist.txt
pingimmunity.txt
quakesoundlist.txt
rconlist.txt
reserveslots.txt
restricted_weapons.txt
soundlist.txt
votequestionlist.txt
voterconlist.txt
webshortcutlist.txt
wordfilter.txtb) Din folderu mani_admin_plugin_v1_1_0zk\cfg\mani_admin_plugin\language copiati celel 2 cfg-uri
english.cfg si
language.cfg in
cstrike/cfg/mani_admin_plugin/languagec) Din folderu mani_admin_plugin_v1_1_0zk\cfg\mani_admin_plugin\map_config copiati cs_reflex3.cfg in
cstrike/cfg/mani_admin_plugin/map_configd) Mergeti in cstrike\cfg\autoexec.cfg si adaugati liniile:
- Cod:
-
mani_reverse_admin_flags 0 // Set the option to reverse the meaning of the admin flags set in adminlist.txt
mani_reverse_immunity_flags 0 // Set the option to reverse the meaning of the immunity flags set in immunitylist.txt
Mergeti in
mani_admin_plugin_v1_1_0zk\cfg si copiati
mani_server.cfgin
cstrike\cfge) Din folderu
mani_admin_plugin_v1_1_0zk\cfg\mani_admin_plugin\restrict copiati
cs_reflex3_restrict.txt in
cstrike/cfg/mani_admin_plugin/restrictf) In cstrike\addons puneti
mani_admin_plugin.vdf si
mani_admin_plugin_i486.so5) Configuraricstrike/cfg/mani_admin_plugin/adminlist.txt aici punem admini aveti jos exemple
;;"nume";aslpls p <== acest admin are acces maxim
Pentru ca un ADMIN sa se autentifice trebuie sa scrie in consola setinfo _password parolacstrike/cfg/mani_admin_plugin/adverts.txt aici puneti mesaje dorite.Aveti model acolo
cstrike/cfg/mani_admin_plugin/downloads.txt aici puneti ce vreti sa fie downlodat, gen sunete, harti etc. Aveti exemplu acolo
cstrike/maplist.txt aici se pun hartile gen mapcycle.txt
Veti observa ca sunt unele .txt-uri de care nu am pomenit, este bine sa le lasati asa, sau sa editati numai citind bine descrierile
Adaugati exec mani_server.cfg in server.cfg
Comenzi pentur mani admin plugin
http://www.mani-admin-plugin.com/mani_admin_plugin/documentation/index.phpATENTIE acestea sunt configurarile minime pentru a rula serveru. Daca aveti intrebari postati aici.
Pornim serveru cu comanda
./srcds_run -game cstrike -port 27015 +ip xxx.xxx.xxx.xxx +map de_dust +maxplayers 14 -nomaster -insecure +sv_lan 1