www.eXg.forumz.ro

»The Best Forum«
 
AcasaFAQCautareInregistrareConectare

Distribuiți | 
 

 Cum faci un server de Counter-Strike Source pe Linux

In jos 
AutorMesaj
adryan
>The BosS<
>The BosS
avatar

Mesaje : 177
Data de înscriere : 27/02/2008
Varsta : 23
Localizare : Bucuresti

Foaia
Kj: xKj

MesajSubiect: Cum faci un server de Counter-Strike Source pe Linux   Mar Mar 25, 2008 12:46 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 \cstrike\bin
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_0zk\cfg\mani_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

b) 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/language

c) 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_config

d) Mergeti in cstrike\cfg\autoexec.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_0zk\cfg si copiati mani_server.cfgin cstrike\cfg

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

f) In cstrike\addons 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_admin_plugin/documentation/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
23/10/2007 12:11 Vezi profilul utilizatorului Trimite mesaj privat Adresa AIM Numarul ICQ
Sus In jos
Vezi profilul utilizatorului http://adryan.forumz.ro
 
Cum faci un server de Counter-Strike Source pe Linux
Sus 
Pagina 1 din 1
 Subiecte similare
-
» HostName: Samp.Just2Play.Ro | Roleplay Server [0.3c]
» *FiveTime* IP: 188.212.105.203 Contact id: samp_florin Server De samp nou deschis Si dam level bani Super server:X Va asteptam i pe dumneavoastra Dati click sa vedeti srv:Xpoze
» HostName: FlyGaming RPG [0.3x] Server ON! Address: 93.119.26.209:7777 Players: 54 / 100 Ping: 56 Mode: FlyGaming RPG V0.1 Map: Los Santos HostName: FlyGaming RPG [0.3x] Server ON! Address: 93.119.26.209:7777 Players: 54 / 100 Ping: 56
» Partener Server
» Toxic RPG | Romania [0.3x]

Permisiunile acestui forum:Nu puteti raspunde la subiectele acestui forum
www.eXg.forumz.ro :: Counter-Strikes 1.6 :: Tutoriale Counter-Strike 1.6-
Mergi direct la: