Page 1 of 1

Counterstrike PHP class

Posted: Thu Dec 22, 2005 4:56 am
by spamyboy
Hi pleas i need help, I'm looking for PHP script wich could show curent map in my CS server, server name, players (ex. 4/24) ping and etc ?
Pleas were could I get it ?

Posted: Thu Dec 22, 2005 5:15 am
by Jenk
http://server.counter-strike.net/phprcon/

gotta be something useful in that.

Posted: Thu Dec 22, 2005 5:22 am
by m3mn0n
That does remote console, but does it do simple queries, like he is asking?

I'd recommend reading more about this at http://dev.kquery.com/

It's by far the best resource online for this sort of thing that I've found. It has a page dedicated for the source engine (if you're talkin' CS: Source) and also one for Half-life (if you're talkin' CS 1.6).

Also, I believe GameQ ( http://gameq.sourceforge.net/ ) supports Half-life. Don't believe it supports Source though. That's a good solution if you're not experienced with PHP networking and general packet sending/handling. It's a plug-n-play solution, whereas you'd most likely need to program much of what you learn on kquery yourself.

Posted: Thu Dec 22, 2005 5:38 am
by spamyboy
Im talking about 1.6

Posted: Thu Dec 22, 2005 6:41 am
by spamyboy
Could I get more links ? :wink:

Posted: Thu Dec 22, 2005 7:33 am
by m3mn0n
Didn't find what you were looking for on those two sites?

edit: typo

Posted: Thu Dec 22, 2005 8:00 am
by spamyboy
I didi (almost) but i still dint found how to show server ping

Posted: Thu Dec 22, 2005 8:08 am
by m3mn0n
Didn't you try GameQ? I know learning from the kquery site might be daunting for beginners, but GameQ is a plug-n-play PHP app. Just download... install.. and query...

And it supports Half-life (which means CS 1.6)