Jump to content

Future Ideas: Difference between revisions

Line 90: Line 90:


== Implementation notes to myself ==
== Implementation notes to myself ==
Given badges table:
Contain: player, level, country, region, type, datetime. Where only one of the latter three is set.
Load my active badges on initial setup and on load others on other player info.
Check to see if new given only checks, adds (not update) badge if better than before. "archive" badges that have been replaced.
Notifications: Use existing notification handling. Add possibility for ref to a badge.
Area badges:
Area badges:
* insert select sum(..) on duplicate key update greatest(..)
* insert select sum(..) on duplicate key update greatest(..)