To allow for easier spread and ensure players of all time zones can attend one, the Melody rift will be delayed by 12 hours
Sign in to follow this  
Yaga

How To Obtain Reliable Online Server Status Info?

Recommended Posts

Hi,

some of you may know me as the author of WurmClock (http://forum.wurmonl...-time-and-date/). While testing the latest update I ran into a problem, which I could use some help with.

Recently Code Club AB introduced server info URLs displaying server status information about the Wurm servers. These can be found here:

Golden Valley: "http://jenn001.game....les/stats.html"

Independence: "http://freedom001.ga...les/stats.html"

Deliverance: "http://freedom002.ga...les/stats.html"

Exodus: "http://freedom003.ga...les/stats.html"

Celebration: "http://freedom004.ga...les/stats.html"

Chaos: "http://wild001.game....les/stats.html"

Elevation: "http://wild001.game....les/stats.html"

Serenity: "http://freedom001.ga...les/stats.html"

Desertion: "http://freedom002.ga...les/stats.html"

Affliction: "http://freedom003.ga...les/stats.html"

The problem is that obviously these pages are not updated if a server is down - the Indy page shows "Up and running" status for the last 10 hours, although the server is down.

I am aware that there are at least 2 other sources of information:

- The forum front page shows 0 players on Indy (while the Indy status page says 169 players),

- WurmTools correctly displays Indy as "Down".

So, WurmTools seems to get the correct information - but how? Does anybody know who the author of WurmTools is, so I can ask him? Or can anybody give me a hint how to obtain that up-to-date info on the server availability?

Cheers,

Yaga

Share this post


Link to post
Share on other sites

we have a widgit tool thingymabob on the right hand side of the forums now also, perhaps you can take a sneak peak at the code there too and get a hint as to how wurmTools knows the player count.

Maybe no luck being php...but who knows.

Share this post


Link to post
Share on other sites

we have a widgit tool thingymabob on the right hand side of the forums now also, perhaps you can take a sneak peak at the code there too and get a hint as to how wurmTools knows the player count.

Maybe no luck being php...but who knows.

Unfortunately it's PHP, like WurmTools :(

Share this post


Link to post
Share on other sites

You could assume that the server is down if no players are online, although not that reliably.

Share this post


Link to post
Share on other sites

Here is the place these tools all get their information: http://freedom001.ga...nline.com/mrtg/ . Just change freedom001 for whichever server you are wanting info, I don't know all the server names.

He states that those links are not updated when the server is down... See below.

Golden Valley: "http://jenn001.game....les/stats.html"

Independence: "http://freedom001.ga...les/stats.html"

Deliverance: "http://freedom002.ga...les/stats.html"

Exodus: "http://freedom003.ga...les/stats.html"

Celebration: "http://freedom004.ga...les/stats.html"

Chaos: "http://wild001.game....les/stats.html"

Elevation: "http://wild001.game....les/stats.html"

Serenity: "http://freedom001.ga...les/stats.html"

Desertion: "http://freedom002.ga...les/stats.html"

Affliction: "http://freedom003.ga...les/stats.html"

The problem is that obviously these pages are not updated if a server is down - the Indy page shows "Up and running" status for the last 10 hours, although the server is down.

Edited by Laiwyn

Share this post


Link to post
Share on other sites

Thanks for all the hints, guys - I am working on this! Also got a very helpful hint by ago about using the "Last-Modified" info in the HTML header. To test this, I made a little tool showing all the servers with their status information. If anyone is interested: I will share this little status tool as soon as it's finished.

Edited by Yaga
  • Like 1

Share this post


Link to post
Share on other sites

As far as I know the wurmtools one uses sockets and such to tell if its online or not. I would have to dive back into my logs when I was poking around for this information as well.

Share this post


Link to post
Share on other sites

a few months ago I create a PHP Script to test server status, and currently works fine (it say only UP or DOWN not number of player).: http://giuseppepassanisi.it/wurm/script.php

It is easy to interface with a website, I called it via cURL (also iframe is possible) in Italian Communicity fansite

Currently I'm developing a new version of this script

Share this post


Link to post
Share on other sites

Are these links listed somewhere officially? I'm missing one to the newest server.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this