FoRuM MxC - TuToriale CounTer StriKe, DC++ & OtheR
Doriti să reactionati la acest mesaj? Creati un cont în câteva clickuri sau conectati-vă pentru a continua.

Tutorial instalare server Counter-Strike Source (Linux)

In jos

Tutorial instalare server Counter-Strike Source (Linux) Empty Tutorial instalare server Counter-Strike Source (Linux)

Mesaj  Admin Mar Ian 08, 2008 10:09 pm

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

CODE
mkdir srcds_l

cd srcds_l


Downlodam HLDSUpdatetool

CODE
wget http://www.steampowered.com/download/hldsupdatetool.bin


Acum sa instalam HLDSUpdatetool

CODE
chmod +x hldsupdatetool.bin

./hldsupdatetool.bin

./steam


Daca va da o erroare inseamna ca trebuie sa il deschideti cu gunzip

CODE
srcds_ns]$ locate gunzip


Normal el ar trebui sa va gaseasca gunzip in
CODE
/usr/bin/gunzip


Acum dam comanda
CODE
ln -s /usr/bin/gunzip /usr/bin/uncompress



Acum noua versiune de HLDSUpdateTool este downlodata.

2) Downlodarea fisierelor

dam comanda

CODE
./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-STEAM

downlodam:
de aici

Extragem cele 3 fisiere in directorul bin NU in cstrikebin
mergem in server.cfg si stergem tot ce e acolo si adaugam:
CODE
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 Plugin
Download Mani Admin Plugin

CODE
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_0zkcfgmani_admin_plugincopiati toate fisierele tip .txt toate fisierele in cstrike/cfg/mani_admin_plugin

actionsoundlist.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.txt

(IMG:http://forum.cstrike.ro/style_emoticons/default/cool.gif) Din folderu mani_admin_plugin_v1_1_0zkcfgmani_admin_pluginlanguage copiati celel 2 cfg-uri english.cfg si language.cfg in cstrike/cfg/mani_admin_plugin/language

c) Din folderu mani_admin_plugin_v1_1_0zkcfgmani_admin_pluginmap_config copiati cs_reflex3.cfg in cstrike/cfg/mani_admin_plugin/map_config

d) Mergeti in cstrikecfgautoexec.cfg si adaugati liniile:
CODE
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_0zkcfg si copiati mani_server.cfgin cstrikecfg

e) Din folderu mani_admin_plugin_v1_1_0zkcfgmani_admin_pluginrestrict copiati cs_reflex3_restrict.txt in cstrike/cfg/mani_admin_plugin/restrict

f) In cstrikeaddons puneti mani_admin_plugin.vdf si mani_admin_plugin_i486.so


5) Configurari

cstrike/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 parola

cstrike/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_admi...ation/index.php

ATENTIE 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
Admin
Admin
FonDaToR FoRuM
FonDaToR FoRuM

masculin Numarul mesajelor : 96
Varsta : 32
Localizare : Bucuresti
Stare de spirit : Foarte Buna
Data de inscriere : 08/01/2008

http://WwW.MxC-NeTwoRk.FoRuMeR.Ro

Sus In jos

Sus

- Subiecte similare

 
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum