I\/Ir Beefie Posted April 2, 2008 Report Posted April 2, 2008 I'm wondering if anyone knows how I can add the current population, average population, etc to a website. I want it to list Current Population = 21 , Average Population = 54... etc. Paintball ReloadedFlood- http://img221.imageshack.us/img221/627/beefie9bg.png
★ Bak Posted April 2, 2008 Report Posted April 2, 2008 use PHP to ping the zone's ip address and parse the packet that's sent back SubSpace Discretion: A Third Generation SubSpace Client
Smong Posted April 2, 2008 Report Posted April 2, 2008 Have a look at one of these:http://stats.trenchwars.org/index.php?a=displayhttp://stats.17thparallel.com/index.php?a=display
I\/Ir Beefie Posted April 2, 2008 Author Report Posted April 2, 2008 I've tried those Smong, it won't work for me.. or else I just dont know what to do. Bak, mind explaining that in english so I can understand? Paintball ReloadedFlood- http://img221.imageshack.us/img221/627/beefie9bg.png
★ CRe Posted April 2, 2008 Report Posted April 2, 2008 <?php $currentpop = file_get_contents('http://stats.trenchwars.org/index.php?a=display&id=[ZONEIDHERE]'); echo($currentpop); ?> Whats not to get? Or you can use GoldEyes' php ping class. http://wiki.minegoboom.com/index.php/PHP_ping_client -CReSSCC Desert Storm OwnerB.O.P. - Alive and running till the end of continuum. 4:L.C.> @Cre I am wearing.. THIS https://secure.wikimedia.org/wikipedia/en/wiki/Anti-rape_device4:L.C.> Dick untouchable, and my ass will shred your cock http://i44.tinypic.com/kf18ww.png
★ Lynx Posted April 2, 2008 Report Posted April 2, 2008 I don't get it either, but I don't know much about web development... I've been working on some pretty good flash stuff though, and would like to try and incorporate this..
Recommended Posts