Thanks for the idea, gouxim.gouxim wrote:Here's a proposal for the flood problem: only send that many notifications per player per day. You could for example run a cron that send once a day the best score of the player. Obvious drawback of this solution is the delay between the score and the notification itself though.
I thought about the flooding a little bit, and I came up with the following ideas, which both requires the MPWS to support it:
- If the MPWS supports adding comments to existing Notifications, new TopScores may simply be added as a comment to the existing Notification. So let's say epi reaches rank 2 in a mode, then this would be announced as known. If he now manage to reach place one within e.g. 24 hours, this new TopScore is added as comment, and no new notification is added. (If he would reach rank 1 after 24 hours, a new notification would be created.)
- If the MPWS supports editing or deleting of existing Notifications, the new TopScore may simply replace the existing one.
So in other words: I will wait what you have planned with the Notification IDs
