PDA

View Full Version : [SCRIPT] AJAX/J Server Status



Btcc22
December 17th, 2012, 02:17 PM
Halo Status, the live/real-time Halo server status script
with an original name




http://i.imgur.com/yFPDE.png




http://i.imgur.com/RCWwZ.png



I wanted a Halo server status script a while back and couldn't find any half-decent ones so I decided to put my own together and use it as a chance to have a toy with Javascript and jQuery.

This has been sitting on my machine for a very long time, waiting for other Halo projects to be completed that would have given the script access to more statistics to go on the tabs. Since there's a chance that said projects will never see the light of day, I've decided to just release the script as is rather than let it go to waste.

Features:

Real-time (well, close enough) updating.
A degree of animation.
Sound cues for certain events (scoring, for example).
Supports all player/game flags.
Zombies support.
A fairly flexible query/parsing script that you could use to for your own scripts (server information signatures, for example). IP/port go in, associative array comes out.

Demo:
http://osvex.com/halostatus/
Direct link example: http://osvex.com/halostatus/#s=46.249.47.12:2332

There's further information and an extended F.A.Q. in the readme.txt if anybody actually wishes to make use of it.

Download here. (https://github.com/Chaosvex/Halo-Status/archive/master.zip) - ~15mb as it has PSDs included, minus the one for the main design (forever lost).

Jelly
December 18th, 2012, 02:38 AM
an original name, nice

sanni
December 20th, 2012, 07:36 AM
This is great =)
Thanks for sharing. If I can make a request I would like to see the ability to query multiple servers at once and have the data displayed neatly in one page.
For example query your 10 favorite servers and instantly see who plays on which server. It could be just a list of multiple player data tabs with a link on each to go to the full details page of this server.

Cortexian
December 20th, 2012, 08:44 AM
Very nice!

sanni
December 22nd, 2012, 09:05 AM
There seems to be a little bug. It says "Assault: Yes" even if it's not assault but cbctf

Btcc22
December 22nd, 2012, 10:48 AM
There seems to be a little bug. It says "Assault: Yes" even if it's not assault but cbctf

I'll take a look, thanks. :)

Limited
December 26th, 2012, 12:00 PM
Very nice project, you should host it on Git, easier to update and maintain.

You looking into expanding it any further?

souless
December 27th, 2012, 03:22 AM
Limited, I'm hosting REST/JSON API for server querying. Full source on git, running on NodeJS.

http://www.modacity.net/forums/showthread.php?24959-Halo-Server-Query-API

Btcc22
December 27th, 2012, 05:14 AM
Your source references a file that you haven't uploaded, just to let you know.

souless
December 27th, 2012, 06:55 AM
Yes, the templating is trivial in my API - for anyone that knows Node.js. All you have to do is replace the template handles with a res.write(). Everything else is available in the global scope.