Collapse column

 Main Menu -


 Links -


 Personal Menu -

Hi, Guest
avatar


 Calendar -

March 2024
S M T W T F S
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31

Author Topic: Server Queries  (Read 13184 times)

ugh

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Server Queries
« on: 08. April 2013, 13:15:53 »
Hi,

could you please share your server query script for those old hl1 servers?
I tried to contact my server yesterday with a homemade php script but couldn't get an answer.

Thanks,
ugh

Cnegurozka

  • Administrator
  • Uber-Pro
  • *****
  • Posts: 417
  • Karma: +0/-0
Re: Server Queries
« Reply #1 on: 13. April 2013, 00:18:05 »
Hi,
do you mean for the statistics? I use phgstats 0.6.9b to contact the server, and then use my own script to show the table. Or which script do you mean exactly?
I'm running:
Gameservers: HL Deathmatch | Firearms 1.2a | CS 6.1 | CS 5.2
And Teamspeak 3
... also BetaStrike.Net in general ;)

ugh

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Server Queries
« Reply #2 on: 14. April 2013, 18:36:38 »
Hey,

I meant the script for the normal server queries (players, map etc).

Thanks!

Cnegurozka

  • Administrator
  • Uber-Pro
  • *****
  • Posts: 417
  • Karma: +0/-0
Re: Server Queries
« Reply #3 on: 16. April 2013, 15:11:28 »
For this I use phgstats (0.6.9b). It has a class to get info from the old Half-Life versions.

It creates this pages: http://www.betastrike.net/phgstats/index.php?sh_srv=1

My php script just uses the phgstats class to contact the server.

You can download it here:
http://sourceforge.net/projects/phgstats/files/phgstats/0.6.9b/
I'm running:
Gameservers: HL Deathmatch | Firearms 1.2a | CS 6.1 | CS 5.2
And Teamspeak 3
... also BetaStrike.Net in general ;)