User
Pass
2FA
 
 

Instalare Server CS 1.6, nonsteam, protocol 47(vechi) Linux
Go to page 1, 2, 3, 4  Next    
 
Post new topic   Reply to topic    Freakz Forum Index -> Help zone -> Counter-Strike AMX Mod X -> Tutorials
Show all posts
Author Message165678
DarkSider

[Mentally Stable]



Status: Offline
(since 13-08-2010 19:58)
Joined: 01 Aug 2006
Posts: 347, Topics: 28
Location: Iasi

Reputation: 120.8
Votes: 4

 
Post Posted: 06-01-2007, 21:57:16 | Translate post to: ... (Click for more languages)

Tutorial instalare Server CS 1.6 NoSteam pe Linux





De ce avem nevoie ?

- Un calculator cu Linux pe el (Recomand Fedora Core 4/5/6) si acces ssh , cu privilegii root .
- Resurse aproximative de care avem nevoie pentru a tine 22 Playeri pe el fara loss , lag , probleme :
- Procesor 2 GB ;
- 512 MB RAM ;
- 1-2 GB spatiu pe HDD ;
- O conectiune la internet de aproximativ 1 - 1.5 MB/s ; atat download cat si upload ! Este bine sa va faceti un test de viteza AICI (Preferabil la Server-ul din NY) .
- IP Rootabil ; port forward .

Recomand folosirea PuTTy si WinSCP pentru urmarea pasilor de mai jos .


Sa descarcam fisierele necasare :

Va trebui ca creem un director in care vom lucra :

Code:
mkdir /usr/hlds


Apoi , vom intra in el :

Code:
cd /usr/hlds


Downloadam urmatoarele :

HLDSUpdateTool :

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


Patch-ul pentru Server NoSteam :

Code:
wget http://download.freakz.ro/engine.v15.tgz


AdminMoD si MetaMoD :

Code:
wget http://ovh.dl.sourceforge.net/sourceforge/halflifeadmin/halflife-admin-2.50.60-linux.tar.gz


StatsMe :

Code:
wget http://ovh.dl.sourceforge.net/sourceforge/statsme/statsme-2.8.3-cstrike.zip



Sa incepem instalarea :

In /usr/hlds , executam comenzile :

Code:
chmod +x hldsupdatetool.bin
./hldsupdatetool.bin


Este posibil sa va dea o eroare legata de uncompress .
Daca este asa , rulati urmatoarea comanda :

Code:
ln -s /usr/bin/gunzip /usr/bin/uncompress


Executati din nou :

Code:
chmod +x hldsupdatetool.bin
./hldsupdatetool.bin


Apoi , incepem sa instalam fisierele necesare Server-ului :

Code:
./steam -command update -game valve -dir .


Isi va face un update ; va va cere sa executati comanda de mai sus din nou . Apasam pe sageata sus & apasam enter . Incepe instalarea fisierelor necesare Server-ului ; aceasta operatiune poate dura in functie de banda dvs. . Se va termina cu textul HLDS Installation up to date . Apasam enter .

Acum , sa instalam fisierele necesare pentru modul Counter-Strike :

Code:
./steam -command update -game cstrike -dir .


Aceasta comanda , la fel ca si cea de mai sus , va dura in functie de banda dvs. la internet si se va termina cu mesajul HLDS Installation up to date . Apasam din nou enter .


Patchuim Server-ul pentru nosteam :

Executam urmatoarele comenzi :

Code:
rm -rf engine_amd.so
rm -rf engine_i486.so
rm -rf engine_i686.so
tar -xzvf engine.v15.tgz



Configurarea Server-ului :

1. Prin WinSCP , deschidem /usr/hlds/cstrike/server.cfg . Stergem tot ce scrie acolo si adaugam urmatoarele :

Quote:
// Server's config ; by https://www.freakz.ro !

mp_autokick 0
mp_autocrosshair 0
mp_autoteambalance 0
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 3
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 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
exec settings.cfg


2. Deasemenea , in acelasi director , creem un fisier numit "settings.cfg" . Il deschidem si scriem :

Quote:
// Server's config ; by https://www.freakz.ro !

hostname *
rcon_password *


Dupa hostname , stergem steluta si scriem numele Server-ului intre ghilimele ( "nume" ) . Ce vom scrie aici le va aparea Player-ilor cand vor apasa tasta tab (+showscores) in stanga sus .
Dupa rcon_password , stergem steluta si scriem parola rcon a Server-ului tot intre ghilimele . Aceasta parola va fi folosita in webmod , HDSW si alte programe din care vom administra Server-ul de la distanta .

3. Este bine sa avem un Server non secure . Pentru aceasta , intram in /usr/hlds/cstrike/liblist.gam si cautam linia secure "1" . O inlocuim cu secure "0" .


Instalare AdminMoD + Metamod :

Extractam halflife-admin-2.50.60-linux.tar.gz oriunde in calculator :

Code:
tar xfvz halflife-admin-2.50.60-linux.tar.gz


Vom avea un director nou ; AdminMoD .

Code:
cd Adminmod
./install_admin


La prima intrebare raspundem cu Y .
Ne va intreba care este directorul HLDS-ului . Raspundem cu /usr/hlds .
Ne va intreba pentru ce mod vrem sa instalam adminmod-ul . Raspundem cu 1 .
La urmatoarele intrebari raspundem cu Y .

Configurarea adminmod-ului o gasim in fisierul /usr/hlds/cstrike/addons/adminmod/config/adminmod.cfg . Avem comment-uri in engleza la fiecare cvar . Modificati-le cum vreti voi .

Adminii ii vom adauga din fisierul /usr/hlds/cstrike/addons/adminmod/config/users.ini .
Conturile se vor face astfel :

nick:parola:acces

Exemplu :

DarkSider:dark:131071

Accesul il putem seta AICI . Bifati casutele continand comenzile la care vreti sa aiba acces acel tip de cont si dati Calculate Acces Right . Va va aparea accesul in casuta Access Right for users.ini: .
131071 are acces la toate comenzile . Un acces mai mare ar fi 262142 , folosit de unele Servere ca acces de owner . Acesta nu este cu nimic diferit fata de 131071 . Singura diferenta ar fi ca e mai mare in cazul in care este setat admin_highlander pe 1 .


StatsMe

Instalam StatsMe :

Code:
cd /usr/hlds/cstrike
unzip statsme-2.8.3-cstrike.zip


Prin WinSCP , editam /usr/hlds/cstrike/addons/metamod/plugins.ini . Adaugam linia :

Code:
linux addons/statsme/dlls/statsme_mm_i386.so


Deschidem /usr/hlds/cstrike/addons/statsme/statsme.cfg tot cu WinSCP si modificam dupa sm_menupassword parola meniului la statsme . Inlocuim r3wt cu parola dorita . Vom putea accesa mai tarziu meniul statsme-ului din joc , folosind comanda statsme_menu parola , parola fiind parola aleasa .
Deasemenea , mai jos , setati cvar-urile cum vreti voi . Aveti comment-urile in engleza deasupra fiecarui cvar . Ca sa mearga rank-ul va trebui sa setam cvar-ul sm_storebyauth 0 .


Cam asta a fost . Cum pornim Server-ul ?

Executam urmatoarele comenzi :

Quote:
cd /usr/hlds
./hlds_run -game cstrike +ip ip.extern +port 27015 +sv_lan 1 -nomaster +maxplayers 22 +map de_dust2


Inlocuim ip.extern cu IP-ul dvs. .

Ca Server-ul sa porneasca odata cu boot-ul linuxului , adaugam in /etc/rc.local urmatoarele linii :

Quote:
cd /usr/hlds
./hlds_run -game cstrike +ip ip.extern +port 27015 +sv_lan 1 -nomaster +maxplayers 22 +map de_dust2


Din nou , inlocuim ip.extern cu IP-ul dvs. .


Ehhhh , cam asta a fost ... Na ca v-ati facut si Server pe Linux - .
Daca aveti probleme postati aici .

In format PDF:Aici
In format text:Aici



Last edited by DarkSider on 01-02-2007, 11:38:39; edited 5 times in total
0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
Shocker

[Freakz owner]



Status: Offline
(online 4 hours ago)
Joined: Momentul zero
Posts: 33866, Topics: 1209
Location: localhost

Reputation: 6455.9
Votes: 816

   
Post Posted: 07-01-2007, 22:41:24 | Translate post to: ... (Click for more languages)

Chiar asa de greu e ma? E o greseala minora in tutorial.

Fisierul downlaodat se numeste engine.v15.tar iar in tutorial arata sa dezarhivezi prin tar xzvf engine.v15.tgz. Ei, in loc de tar xzvf engine.v15.tgz pui:
Code:

tar xzvf engine.v15.tar

Insa dupa extensie banuiesc ca e o arhiva tar simpla fara compresie GZip asa ca scoatem parametrul Z:
Code:

tar xvf engine.v15.tar


FREAKZ COMMUNITY @ Facebook
WOW FREAKZ @ Facebook
0 0
  
Back to top
View user's profile Send private message
Shocker

[Freakz owner]



Status: Offline
(online 4 hours ago)
Joined: Momentul zero
Posts: 33866, Topics: 1209
Location: localhost

Reputation: 6455.9
Votes: 816

   
Post Posted: 22-05-2007, 22:34:31 | Translate post to: ... (Click for more languages)

Pai de pe ce user ai intrat cu WinSCP pe serverul respectiv?

FREAKZ COMMUNITY @ Facebook
WOW FREAKZ @ Facebook
0 0
  
Back to top
View user's profile Send private message
Shocker

[Freakz owner]



Status: Offline
(online 4 hours ago)
Joined: Momentul zero
Posts: 33866, Topics: 1209
Location: localhost

Reputation: 6455.9
Votes: 816

   
Post Posted: 22-05-2007, 23:08:21 | Translate post to: ... (Click for more languages)

Cand dai dublu click pe fisier? Pai dai click dreapta / Edit parca

FREAKZ COMMUNITY @ Facebook
WOW FREAKZ @ Facebook
0 0
  
Back to top
View user's profile Send private message
Shocker

[Freakz owner]



Status: Offline
(online 4 hours ago)
Joined: Momentul zero
Posts: 33866, Topics: 1209
Location: localhost

Reputation: 6455.9
Votes: 816

   
Post Posted: 15-02-2008, 15:46:52 | Translate post to: ... (Click for more languages)

Nu poti adigh.

FREAKZ COMMUNITY @ Facebook
WOW FREAKZ @ Facebook
0 0
  
Back to top
View user's profile Send private message
Shocker

[Freakz owner]



Status: Offline
(online 4 hours ago)
Joined: Momentul zero
Posts: 33866, Topics: 1209
Location: localhost

Reputation: 6455.9
Votes: 816

   
Post Posted: 19-03-2008, 22:31:31 | Translate post to: ... (Click for more languages)

Bagi hartile ( fisierele .bsp ) in folderul cstrike/maps

FREAKZ COMMUNITY @ Facebook
WOW FREAKZ @ Facebook
0 0
  
Back to top
View user's profile Send private message
Shocker

[Freakz owner]



Status: Offline
(online 4 hours ago)
Joined: Momentul zero
Posts: 33866, Topics: 1209
Location: localhost

Reputation: 6455.9
Votes: 816

   
Post Posted: 17-04-2008, 20:47:09 | Translate post to: ... (Click for more languages)

Ai drept de root pe serverul respectiv?

FREAKZ COMMUNITY @ Facebook
WOW FREAKZ @ Facebook
0 0
  
Back to top
View user's profile Send private message
Shocker

[Freakz owner]



Status: Offline
(online 4 hours ago)
Joined: Momentul zero
Posts: 33866, Topics: 1209
Location: localhost

Reputation: 6455.9
Votes: 816

   
Post Posted: 04-05-2008, 01:58:05 | Translate post to: ... (Click for more languages)

E ocupat portul 27015, probabil ruleaza alt server de CS pe computerul respectiv, incearca alt port, gen 27016

FREAKZ COMMUNITY @ Facebook
WOW FREAKZ @ Facebook
0 0
  
Back to top
View user's profile Send private message
Shocker

[Freakz owner]



Status: Offline
(online 4 hours ago)
Joined: Momentul zero
Posts: 33866, Topics: 1209
Location: localhost

Reputation: 6455.9
Votes: 816

   
Post Posted: 04-05-2008, 14:55:10 | Translate post to: ... (Click for more languages)

Ai drept de root pe computerul respectiv? E al tau?

FREAKZ COMMUNITY @ Facebook
WOW FREAKZ @ Facebook
0 0
  
Back to top
View user's profile Send private message
Shocker

[Freakz owner]



Status: Offline
(online 4 hours ago)
Joined: Momentul zero
Posts: 33866, Topics: 1209
Location: localhost

Reputation: 6455.9
Votes: 816

   
Post Posted: 08-05-2008, 22:40:39 | Translate post to: ... (Click for more languages)

Incearca sa tastezi Y sa N pentru Yes respectiv No apoi apasa enter

FREAKZ COMMUNITY @ Facebook
WOW FREAKZ @ Facebook
0 0
  
Back to top
View user's profile Send private message
Shocker

[Freakz owner]



Status: Offline
(online 4 hours ago)
Joined: Momentul zero
Posts: 33866, Topics: 1209
Location: localhost

Reputation: 6455.9
Votes: 816

   
Post Posted: 08-05-2008, 23:43:52 | Translate post to: ... (Click for more languages)

In general eroarea aia cu restart din 10 in 10 secunde e cauzata de addon-uri. Incearca sa le scoti sa vezi

FREAKZ COMMUNITY @ Facebook
WOW FREAKZ @ Facebook
0 0
  
Back to top
View user's profile Send private message
Shocker

[Freakz owner]



Status: Offline
(online 4 hours ago)
Joined: Momentul zero
Posts: 33866, Topics: 1209
Location: localhost

Reputation: 6455.9
Votes: 816

   
Post Posted: 11-05-2008, 11:35:39 | Translate post to: ... (Click for more languages)

Pentru ca toate procesele pe care le pornesti in sesiunea respectiva se inchid atunci cand inchizi putty/sesiunea.

Exista solutii, gen folosirea aplicatiei screen ca sa creeze o sesiune separata si independenta de sesiunea ta de putty, ca atunci cand inchizi putty-ul sa nu se inchida si procesul tau. Deci in loc sa dai ./hlds_run blabla etc dai
Code:

screen -A -m -d -S nume ./hlds_run blabla etc


Cand deschizi iar putty si vrei sa ajungi la consola serverului dai
Code:

screen -r nume


FREAKZ COMMUNITY @ Facebook
WOW FREAKZ @ Facebook
0 0
  
Back to top
View user's profile Send private message
Shocker

[Freakz owner]



Status: Offline
(online 4 hours ago)
Joined: Momentul zero
Posts: 33866, Topics: 1209
Location: localhost

Reputation: 6455.9
Votes: 816

   
Post Posted: 11-05-2008, 13:01:35 | Translate post to: ... (Click for more languages)

Cum adica nu te lasa? Ai modificat in metamod la plugins.ini sa ii zici ca ai si addon-urile alea?

FREAKZ COMMUNITY @ Facebook
WOW FREAKZ @ Facebook
0 0
  
Back to top
View user's profile Send private message
Shocker

[Freakz owner]



Status: Offline
(online 4 hours ago)
Joined: Momentul zero
Posts: 33866, Topics: 1209
Location: localhost

Reputation: 6455.9
Votes: 816

   
Post Posted: 18-05-2008, 13:03:52 | Translate post to: ... (Click for more languages)

ice mean, uite-te mai bine, e:
Code:
screen -A -m -d -S nume ./hlds_run blabla etc

Cuvantul care urmeaza dupa -S e un nume oferit sesiunii respective, tu i-ai dat numele ./hlds_run si sa porneasca executabilul -game
Nu am pus degeaba toate alea in ordine acolo, fa cum am zis exact


FREAKZ COMMUNITY @ Facebook
WOW FREAKZ @ Facebook
0 0
  
Back to top
View user's profile Send private message
Shocker

[Freakz owner]



Status: Offline
(online 4 hours ago)
Joined: Momentul zero
Posts: 33866, Topics: 1209
Location: localhost

Reputation: 6455.9
Votes: 816

   
Post Posted: 18-05-2008, 21:44:33 | Translate post to: ... (Click for more languages)

cs /usr/magick sau cd ?

Dupa ce ai dat cd /blabla/folder/ dai un ls si arata-mi aici


FREAKZ COMMUNITY @ Facebook
WOW FREAKZ @ Facebook
0 0
  
Back to top
View user's profile Send private message
Post new topic   Reply to topic    Freakz Forum Index -> Help zone -> Counter-Strike AMX Mod X -> Tutorials  
Go to page 1, 2, 3, 4  Next    


The time now is 19-02-2019, 23:00:49
Copyright info

Based on phpBB ro/com

 
 
 







I forgot my password


This message appears only once, so
like us now until it's too late ! :D
x