![]() |
server query in php?
Hello peeps, i was wondering if anyone knows how i can get the status (i.e. players/names/and general stats seen in ASE GS etc) of a game server to be displayed in a php page for our website?
any links to code or actual pages would be great, since im a n00b when it comes to php and webdesign in general ;) |
That would be great. I would love the hear about this if it's possible. I imagine it would be since you can get that information from VB and C.
|
alliedassault.co.uk has a nice working system here:
http://alliedassault.co.uk/byservers.php I've tried to locate the script but can't find it anywhere. I'm not sure if it is just php or if the php is wrapping a cgi script tho. I looked into coding a query tool in php but it seemed to have some problems with the way php deals with socket sessions. Anyway it apparently can be done (but possibly requires wrapping a cgi script) so if anybody has more info please post it. It would be very nice to have a system like the one at aa.co.uk! |
http://www.gubbinz.com/
look for the mohquery.php class takes a bit of configuring to work with a predefined server, but if yr php savvy then it should be no probs. Remember to use the query port (12300 etc) instead of the game port. Thanks to Godin on #bymoh on quakenet for uploading it for everyone to use :) |
|
|
Can't get to either of those addresses, can someone who has it put it up on another site or email it to me at hex_333@hotmail.com and I'll put it up for download for everyone. Thanks!
EDIT: Nevermind, looks like his website is back up. |
The gubbinz.net server seems not to be listed by all nameservers (don't ask me why).
Try it using the IP! http://216.180.230.149/query/ |
Jedi Livecast should work with any quake 3 engine game:
http://www.jk2files.com He even tried it with MOHAAand it workz |
All times are GMT -6. The time now is 03:22 PM. |
Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.