Monitoring a Gameserver

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Monitoring a Gameserver

Post by jackpf »

Hi,

I was just thinking it'd be cool if I could check the status of my gameserver on my site.

I've tried using sockets, but it just seems to hang with no error.

I've done some googling, and found GameQ, which is cool, and does exactly what I want, but it doesn't support left 4 dead 2 (yet).

I've had a look through their source, which is...rather confusing. I can't figure out what they've actually done.

I was just wondering if anyone here had any ideas or knowledge as to how I could request information from my gameserver, such as the number of players...which map it's on, which game it's serving, the server name etc.

If I were able to send remote commands to the server, a bit like RCon, that would be cool 8O

I'm not really sure where to start.

Thanks for any help,
Jack.
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Monitoring a Gameserver

Post by jackpf »

No one? D:
bowtakwah
Forum Newbie
Posts: 4
Joined: Sat Dec 12, 2009 2:48 pm

Re: Monitoring a Gameserver

Post by bowtakwah »

You can use HLstatsX? I'm pretty sure it can do that, along with keeping the game play stats.
http://www.hlstatsx.com/
bowtakwah
Forum Newbie
Posts: 4
Joined: Sat Dec 12, 2009 2:48 pm

Re: Monitoring a Gameserver

Post by bowtakwah »

Or maybe you can try using GameTracker.
http://www.gametracker.com/games/left4dead2/
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Monitoring a Gameserver

Post by jackpf »

Ahh I was hoping to be able to do it on my own site, rather than through a service.

I just can't figure out how they do it with GameQ. There must be a way - obviously, since GameQ does it with other servers.

Cheers anyway,
Jack.
Post Reply