Posted November 20, 2012 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
Posted November 20, 2012 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
Posted November 20, 2012 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
Posted November 20, 2012 I can at least tell you that http://jenn001.game....tles/stats.html has the info so link your app to it and refresh the page at regular intervals.(link is from the php coding) Share this post Link to post Share on other sites
Posted November 20, 2012 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
Posted November 20, 2012 Here is the place these tools all get their information: http://freedom001.game.wurmonline.com/mrtg/ . Just change freedom001 for whichever server you are wanting info, I don't know all the server names. Share this post Link to post Share on other sites
Posted November 20, 2012 (edited) 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 November 20, 2012 by Laiwyn Share this post Link to post Share on other sites
Posted November 20, 2012 (edited) 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 December 9, 2012 by Yaga 1 Share this post Link to post Share on other sites
Posted November 21, 2012 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
Posted December 9, 2012 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.phpIt is easy to interface with a website, I called it via cURL (also iframe is possible) in Italian Communicity fansiteCurrently I'm developing a new version of this script Share this post Link to post Share on other sites
Posted December 15, 2012 Are these links listed somewhere officially? I'm missing one to the newest server. Share this post Link to post Share on other sites
Posted December 15, 2012 (The new URL is yet unknown) Share this post Link to post Share on other sites