View Single Post
06/14/18, 01:29 PM   #4
SDPhantom
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 47
I've had mixed results so far. The first day, EVENT_NEW_DAILY_LOGIN_REWARD_AVAILABLE failed to fire, then the next two did. I hooked EVENT_MAIL_NUM_UNREAD_CHANGED as backup since it always seems to send a notification... until I implemented it and the other event started working.

I still need to work out the timing for the on login scan. It runs into an issue where it sees a reward available, but the system errors saying there isn't one when running off EVENT_PLAYER_ACTIVATED. That needs a little more attention. I put in more debug code to see if it's either running too early or trying to claim multiple times before the UI has a chance to update.
  Reply With Quote