We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

Counter-strike RPS


roguś
16-04-2009, 19:41
Witam. Mam ten sam problem lecz korzystam z ubuntu z pulpitem zdalnym. Niby odpalam serwer ale nie moge sie połączyć. Oto logi :



admin@r22756:~/hlds_l$ ./hlds_run -game cstrike +maxplayers 16 +map de_dust2 +exec server.cfg -port 27018
Auto detecting CPU
Using Pentium II Optimised binary.
Auto-restarting the server on crash

Console initialized.
scandir failed:/home/admin/hlds_l/./valve/SAVE
scandir failed:/home/admin/hlds_l/./platform/SAVE
Protocol version 48
Exe version 1.1.2.6/Stdio (cstrike)
Exe build: 18:05:13 Oct 24 2008 (4383)
STEAM Auth Server
couldn't exec language.cfg
couldn't exec listip.cfg
couldn't exec banned.cfg
Server IP address 91.121.45.205:27018

Metamod version 1.19p32 Copyright (c) 2001-2006 Will Day
Patch: Metamod-P (mm-p) v32 Copyright (c) 2004-2007 Jussi Kivilinna
Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `meta gpl' for details.

[DPROTO]: Alpha19 for 4383
[DPROTO]: Loading config './dproto.cfg'
[DPROTO]: LoggingMode = 2
scandir failed:/home/admin/hlds_l/./valve/SAVE
scandir failed:/home/admin/hlds_l/./platform/SAVE
[S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient. Continuing with current version anyway.
Adding master server 68.142.72.250:27010
Adding master server 72.165.61.189:27010

couldn't exec listip.cfg
couldn't exec banned.cfg
Connection to Steam servers successful.
VAC secure mode is activated.

sebayoyo
02-04-2009, 23:38
Hmm zmieniłem zna gentoo czyściutkie i wszystko działa

P.s
Dziękuje za chęci i pomoc =)

no4b
02-04-2009, 22:11
Tak, ale wcześniej też wyglądał na wyłączony, więc nie tu jest problem. Zainstaluj netstat i sprawdź to co pisałem wcześniej.

sebayoyo
02-04-2009, 22:06
Kod:
r21457 ~ # iptables -F
r21457 ~ # iptables -P INPUT ACCEPT
r21457 ~ # iptables -P OUTPUT ACCEPT
r21457 ~ # iptables -P FORWARD ACCEPT
r21457 ~ # /etc/init.d/iptables stop
 * ERROR:  "iptables" has not yet been started.
r21457 ~ # iptables -nvL
Chain INPUT (policy ACCEPT 1050 packets, 526K bytes)
 pkts bytes target     prot opt in     out     source               destination                                                                                                  

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination                                                                                                  

Chain OUTPUT (policy ACCEPT 1106 packets, 901K bytes)
 pkts bytes target     prot opt in     out     source               destination
Wyłączony ?

no4b
02-04-2009, 22:01
iptables -F
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT

Jeśli masz Gentoo, możesz zrobić /etc/init.d/iptables stop.

sebayoyo
02-04-2009, 21:58
Hmm nie działa mi ta komenda =/
A wiesz może jak wyłączyć albo najlepiej jak usunąć całkowicie tego firewall'a ?

no4b
02-04-2009, 21:25
Upewnij się czy gra faktycznie słucha:

netstat -tapun | grep 27015

baroszek
02-04-2009, 21:22
hmm a sprawdz czy wszystko dobrze dziala moze serwer dziala poprawnie :>

sebayoyo
02-04-2009, 20:44
ehh poprostu nie skopiowałem tej linijki co trzeba...
"czw kwi 2 15:50:10 CEST 2009: Server Quit"... to było wcześniej....

r21457 cs # ./hlds_run -autoupdate -game cstrike +maxplayers 18 +exec server.cfg +map de_dust
Auto detecting CPU
Using Pentium II Optimised binary.
Auto-restarting the server on crash
Updating server using Steam.
Checking bootstrapper version ...
Updating Installation
Checking/Installing 'Counter-Strike Base Content' version 25


Checking/Installing 'Linux Server Engine' version 42


Checking/Installing 'Half-Life Base Content' version 12


HLDS installation up to date

Console initialized.
scandir failed:/root/cs/./valve/SAVE
scandir failed:/root/cs/./platform/SAVE
Protocol version 48
Exe version 1.1.2.6/Stdio (cstrike)
Exe build: 18:05:13 Oct 24 2008 (4383)
STEAM Auth Server
couldn't exec language.cfg
couldn't exec listip.cfg
couldn't exec banned.cfg
Server IP address 87.98.158.107:27015
scandir failed:/root/cs/./valve/SAVE
scandir failed:/root/cs/./platform/SAVE
[S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient. Continu ing with current version anyway.

stacouldn't exec listip.cfg
couldn't exec banned.cfg
Adding master server 68.142.72.250:27010
Adding master server 69.28.151.162:27010
Connection to Steam servers successful.
VAC secure mode is activated.
status
hostname: Counter-Strike 1.6 Server
version : 48/1.1.2.6/Stdio 4383 secure (10)
tcp/ip : 87.98.158.107:27015
map : de_dust at: 0 x, 0 y, 0 z
players : 0 active (18 max)

# name userid uniqueid frag time ping loss adr
0 users

Już bez Server Quit . I co teraz o tym sądzisz ?

no4b
02-04-2009, 20:28
Nie wiem jaki proces myślowy może doprowadzić kogoś do stawierdzenia, że "niby wszystko włączone" po przeczytaniu "czw kwi 2 15:50:10 CEST 2009: Server Quit"...

P.s jeszcze takie małe pytanko wchodzę do folderu np 1
cd 1
jaką komendą wracam do poprzedniego ? ;>
cd ..

Oczywiście zamiast przeczytać w pomocy łatwiej było marnować czas, spytać tu i czekać na odpowiedź godzinę...

sebayoyo
02-04-2009, 19:45
Hmm
Kod:
r21457 ~ # iptables -nvL
Chain INPUT (policy ACCEPT 338K packets, 234M bytes)
 pkts bytes target     prot opt in     out     source               destination 

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination 

Chain OUTPUT (policy ACCEPT 425K packets, 438M bytes)
 pkts bytes target     prot opt in     out     source               destination
P.s jeszcze takie małe pytanko wchodzę do folderu np 1
cd 1
jaką komendą wracam do poprzedniego ? ;>
Wiem że może głupie pytanie ale cóż

uetam
02-04-2009, 19:33
iptables -nvL

sebayoyo
02-04-2009, 19:33
Hmm jaką komendą mogę sprawdzić czy jest aktywny ?

uetam
02-04-2009, 18:54
Firewall?

sebayoyo
02-04-2009, 15:59
Cześć

Robię wszystko według poradnika http://hlds.pl/Serwer_Counter-Strike_1.6_Linux.

Gdy wpisuję komendę ./hlds_run -autoupdate -game cstrike +maxplayers 18 +exec server.cfg +map de_dust

Kod:
r21457:~/hlds_l# ./hlds_run -autoupdate -game cstrike +maxplayers 18 +exec serve                                                                                                 r.cfg +map de_dust
Auto detecting CPU
Using Pentium II Optimised binary.
Auto-restarting the server on crash
Could not locate steam binary:./steam, ignoring.

Console initialized.
scandir failed:/root/hlds_l/./valve/SAVE
scandir failed:/root/hlds_l/./platform/SAVE
Protocol version 48
Exe version 1.1.2.6/Stdio (cstrike)
Exe build: 18:05:13 Oct 24 2008 (4383)
STEAM Auth Server
couldn't exec language.cfg
couldn't exec listip.cfg
couldn't exec banned.cfg
Server IP address 87.98.158.107:27015
scandir failed:/root/hlds_l/./valve/SAVE
scandir failed:/root/hlds_l/./platform/SAVE
[S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient. Continu                                                                                                 ing with current version anyway.

couldn't exec listip.cfg
couldn't exec banned.cfg
Adding master server 69.28.151.162:27010
Adding master server 72.165.61.189:27010
Connection to Steam servers successful.
   VAC secure mode is activated.
status
hostname:  Counter-Strike 1.6 Server
version :  48/1.1.2.6/Stdio 4383 secure  (10)
tcp/ip  :  87.98.158.107:27015
map     :  de_dust at: 0 x, 0 y, 0 z
players :  0 active (18 max)

#      name userid uniqueid frag time ping loss adr
0 users
czw kwi  2 15:50:10 CEST 2009: Server Quit
Niby wszystko włączone ale gdy wpisuje w cs connect 87.98.158.107:27015 nie łączy =/

Kod:
Connecting to 87.98.158.107:27015...
Retrying 87.98.158.107:27015...
Retrying 87.98.158.107:27015...
Retrying 87.98.158.107:2701
Czemu ??

Proszę o pomoc