View Full Version : online players graph
Batchman
08-04-2011, 02:22 PM
if some1 cares http://online-graph.g6.cz/
its slowly filling up
zeros represent heroesofnewerth.com downtime
1 thing is sure, its not going up after initial f2p boom :D
feedback welcomed
XcrableZ
08-04-2011, 03:51 PM
where do you get this data from?
gj btw!
Batchman
08-04-2011, 05:11 PM
i get online users from heroesofnewerth.com every 30min than generate graph from it
dunno if u can get it from somewhere else, not from xml, mb from chat server
SHiRKiT
08-05-2011, 12:38 PM
Well, can't really understand because of the time zone. I'm in -3 and it's 13:38, and in the picture it says it's 18:29, but it's +1
Nice graph. It has gone up by about 10k on average since the F2P system, I think.
Also, you are able to get the number of players online from the chat server, the amount online is sent every 30 seconds if you want an extremely detailed graph.
As for some feedback, store the times in UTC, have a read of http://unix4lyfe.org/time/. You could then create a javascript version which would be able to translate it into a local time for viewers, and also allow some greater interaction. Something I like on graphs is being given a vertical line which you can move around and see the exact value at a time, just like on Steam's (http://store.steampowered.com/stats/?snr=1_4_4__110).
Batchman
08-05-2011, 12:51 PM
gmt+1 + daylight saving basically gmt+2 during summer :D
i convert it to utc
Jamaicanism
08-06-2011, 03:06 PM
How do you get the points in between the 30 minute intervals? Do you just take the point before and after and then plot the points based on the two?
SHiRKiT
08-06-2011, 08:06 PM
If I were you I would make this get every minute. Really more acuratte. Or you could re-check if HoN is down. You have there a downtime that doesn't exist.
GoldMath
08-07-2011, 04:39 PM
Great Job !
But that grid make my eyes bleed :D
Use a bigger width or delete the secondary vertical grid I think ;)
Batchman
08-08-2011, 06:15 AM
If I were you I would make this get every minute. Really more acuratte. Or you could re-check if HoN is down. You have there a downtime that doesn't exist.
it did exist, site was down and there were login problems ;)
checking every minute makes no difference, sure i can miss some extremes, but scale is enough for a few days in this size