Checking server status

Ask, answer and discuss any and all topics about the hows, whys, wheres and whens of playing Haven & Hearth.
Broseidon
Posts: 2
Joined: Sun Aug 09, 2009 3:08 am

Checking server status

Post by Broseidon »

While I know this isn't directly game play related, I've been trying to write a little webpage to quickly check if the Haven and Hearth server is currently online. Currently the best I can do is ping the server and check the latency which gives a very poor idea of if the server is online or not, since it would appear that the server itself stays up even when the game is down. What would be the best way to get the status, preferably with PHP. (I've been unable to figure out exactly how the client does it, so I'm a little lost here.)

Thanks.
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Checking server status

Post by loftar »

The best way is probably to check http://www.havenandhearth.com/portal/srv-state.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
Broseidon
Posts: 2
Joined: Sun Aug 09, 2009 3:08 am

Re: Checking server status

Post by Broseidon »

Looks like exactly what I need, thanks!

Return to “How do I?”