PHP polling of servers
#1
I recently had some time to burn; guess what - I turned back to one of my favourite projects - AssaultCube
There were a few threads on this at some point - but, if I recall correctly, they lacked in proper protocol-parsing. Since I still had some experimental code lying about I gave it another stab - this is a pretty basic package, but it should make anybody with a run-of-the-mill webserver happy (PHP is required).
I used jquery and a tablesorter-plugin for it; you get a full list from the masterserver and display the basic stats for it - like the serverbrowser in-game. Extended polling was too experimental for inclusion at this point. Maybe I'll take that up the next time .. whenever that'll be - so: don't hold your breath, do it yourself ;-)
mediafire: 2012may25.ACpoll.PHPandJQUERY.tar.bz (D/L:13.01KB; unpacked:72KB)
P.S.:
I forgot that the jquery file wasn't inside the directory I worked in .. so in addition to the package above (which does contain the tablesorter plugin) you'll need v1.7.2 of jquery (minified: 93KB) and fix up the path to it!
Thanks given by:


Messages In This Thread
PHP polling of servers - by flowtron - 25 May 12, 09:52PM
RE: PHP polling of servers - by Jg99 - 25 May 12, 11:46PM
RE: PHP polling of servers - by Ronald_Reagan - 26 May 12, 01:21AM