SRCDS Steam group


Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[COLLECTION] PHP stuff for game servers!
#31
(05-27-2010, 05:11 PM)realchamp Wrote:  Well the server is still running. But you could check werether if the amount of players is above 0. But if it is running and still working, it will show as offline.

Hmm thats odd...is it possible to add some sort of ping check in php? The server shows as timed out in HLSW/Steam server browser when the console is frozen but still open, and it doesn't respond to ping.
Reply
#32
Yeh you could probably do it that way. Which actually would work and it should!
Reply
#33
So basically I need to make a php class like yours, but querying A2A_Ping instead of A2S_info?
Reply
#34
Or: http://www.phptoys.com/e107_plugins/content/content.php?content.41
Reply
#35
I only gets error..
Something like this...


Code:
hostname: Notice: Undefined index: name in \\WEBSTORAGE\STORAGE_CONTENT\97\123797\marcusudden.se\public_html\index.php on line 51
players: Notice: Undefined index: players in \\WEBSTORAGE\STORAGE_CONTENT\97\123797\marcusudden.se\public_html\index.php on line 53
playersmax: Notice: Undefined index: playersmax in \\WEBSTORAGE\STORAGE_CONTENT\97\123797\marcusudden.se\public_html\index.php on line 55
vac(?): Notice: Undefined index: vac in \\WEBSTORAGE\STORAGE_CONTENT\97\123797\marcusudden.se\public_html\index.php on line 57
passowrd(?): Notice: Undefined index: password in \\WEBSTORAGE\STORAGE_CONTENT\97\123797\marcusudden.se\public_html\index.php on line 59
Reply
#36
And my website gots open ports...
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)