SmoothCriminal

Member

Total Posts: 41
Online Status: Offline
Thu Sep 22 0:45:07 EDT 2011

Darn u CK why didnt u come up with this back when i was doing 4k attacks a day now im working 7 days a week and too budy to attack wish it could go back into the database and recover everyones best attack day and display it.

[02:39] <%WwWwW> joker have u ever killed someone
[02:40] <%Joker> i burnt down a house no kill though

Cyberkilla

Admin

Total Posts: 5,984
Online Status: Offline
Thu Sep 22 16:03:33 EDT 2011

Quote from SmoothCriminal
Darn u CK why didnt u come up with this back when i was doing 4k attacks a day now im working 7 days a week and too budy to attack wish it could go back into the database and recover everyones best attack day and display it.


(smiley)


Invisible War ][

Irayna

Member

Total Posts: 94
Online Status: Offline
Thu Sep 22 19:09:51 EDT 2011

Not quite the same, but kinda like putting in the badges after I already had my 100 attacks for the day.  So I had the 250 badge, but not the 100 badge. (smiley)  Anyway, that's ok, you'll just have to get them some day.  You only have to get them once, so that's nice. (smiley)



Cyberkilla

Admin

Total Posts: 5,984
Online Status: Offline
Thu Sep 22 19:18:23 EDT 2011

Quote from Irayna
Not quite the same, but kinda like putting in the badges after I already had my 100 attacks for the day.  So I had the 250 badge, but not the 100 badge. (smiley)  Anyway, that's ok, you'll just have to get them some day.  You only have to get them once, so that's nice. (smiley)


With some future badges, I may be forced to apply them retroactively, as there may be no way to redo the action that is required to earn them (e.g. reach level 50, do X forum posts, account age over X days, etc.). Technically some of them could be checked all of the time, like every time you level up.

However, for efficiency purposes, I tend to only check when you reach/pa** a milestone required to trigger the badge award. For instance, you might get one once you get to level X. Upon reaching/exceeding level X, the badge will be awarded. Subsequent level-ups wouldn't even check to see if the badge was awarded yet, because that would be inefficient.

It shouldn't be too hard to write a script for things like that. What /is/ hard is retroactively applying badges for things which aren't logged. I can't know how many attacks you did last Monday, because I don't log the attacks for that long (there's no good reason to keep such logs atm).

I only log attacks today, attacks globally, and a log of attacks over the last few days (which is constantly prunes to keep it relatively efficient). I'm tempted to do a monthly counter too, actually (smiley)

Edit:
------
Another thing worth mentioning is that I'm considering having a daily end-of-day log of a player's stats & achievements, for historical reasons. It would be good to be able to compare yourself against your past efforts. It isn't available at the moment though, and even if I added it, the past wouldn't suddenly be retrieved - that's gone(smiley)


Invisible War ][
Edited 1 time(s). Last edited by Cyberkilla @ Thu Sep 22 19:20:02 EDT 2011