PDA

View Full Version : Stats Question



Moogie
06-29-2003, 02:44 PM
On the top of the stats..it seems, at least for me, that the date never changes on updates. Right now it's showing:

THE-MKs Tiny Keycounter Statspage
Database last updated 2003-05-29
17:00 GMT + 0100

I know it's updated since then.

Great stats by the way!!!

:thumbs:

magnav0x
06-29-2003, 02:56 PM
Sounds like your need to use a max(timestamp) for your stats mk to show the latest stats update.

the-mk
06-29-2003, 02:57 PM
:swear:
Yes, that's right! It's because I (and probably you too) can't connect :mad: to the official (http://keycount.piqsoftware.com/teams/details.php?team=Free-DC) stats site. So I can't fetch new data to show on my stats-site and so the database last updated at 17:00 GMT +0100 :(

So you can't pulse and I can't create some stats. That makes us :cry:

EDIT: magnav0x posted faster than me. No, it isn't a problem of max(timestamp). I run the dataspider every hour, but if the official stats-server is unavailable because of some reason I do not update my stats.

Moogie
06-29-2003, 03:41 PM
Bumer :(

Hopefully I didn't bring up a sore subject. :) I'm hoping they come back up soon.

Thanks for the info!

the-mk
06-29-2003, 03:49 PM
update:

one minute ago I tried the official site (http://keycount.piqsoftware.com/teams/details.php?team=Free-DC) again and it seems to work :)

So I think the next statsupdate at 22:00 GMT +0100 should work...

Moogie
07-03-2003, 05:59 PM
The date for the stats being last updated is showing up as 6/3/03. Should that not be July?

:)

the-mk
07-03-2003, 06:22 PM
:blush: oooops!

Erm, yes, should be July.

Found the error:



GregorianCalendar cal = new GregorianCalendar();
month = cal.get(Calendar.MONTH); //were month can be from 0 to 11


BAD Java! :swear:

I'm increasing "month" with 1 and now it should be right... wait until next stats update and it should display right values...

I didn't even notice it until you told me Moogie! But my stats have the whole time been one month behind :rolleyes: Thanks Moogie for pointing out! :thumbs:

Moogie
07-03-2003, 06:48 PM
NP..with all the problems that we had with server issues and such, I didn't bring it up. You had enough on your plate to worry about.

;)