View Single Post
07/31/14, 03:33 PM   #4
NickK
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 10
Originally Posted by Randactyl View Post
What's your workaround?

Looking through zgoo, I see the following trials related items:
Code:
    ["EVENT_RAID_LEADERBOARD_DATA_CHANGED"] = 131143
    ["EVENT_RAID_LEADERBOARD_PLAYER_DATA_CHANGED"] = 131144
    ["EVENT_RAID_PARTICIPATION_UPDATE"] = 131141
    ["EVENT_RAID_REVIVE_COUNTER_UPDATE"] = 131140
    ["EVENT_RAID_SCORE_NOTIFICATION_ADDED"] = 131145
    ["EVENT_RAID_SCORE_NOTIFICATION_REMOVED"] = 131146
    ["EVENT_RAID_TIMER_STATE_UPDATE"] = 131142
    ["EVENT_RAID_TRIAL_COMPLETE"] = 131137
    ["EVENT_RAID_TRIAL_FAILED"] = 131138
    ["EVENT_RAID_TRIAL_NEW_BEST_TIME"] = 131139
    ["EVENT_RAID_TRIAL_STARTED"] = 131136

    ZO_Announce_GetCurrentRaidTrialTimeString()
So you could start your own timer on EVENT_RAID_TRIAL_STARTED, add appropriate time on EVENT_RAID_REVIVE_COUNTER_UPDATE, and stop your timer on either EVENT_RAID_TRIAL_COMPLETE or EVENT_RAID_TRIAL_FAILED. Or maybe pull it out of ZO_Announce_GetCurrentRaidTrialTimeString() at set intervals

edit: disregard me, I missed GetCurrentRaidTime() [duh]
I've been doing that with the EVENT_RAID_TRIAL_STARTED, as for the the REVIVE_COUNTER_UPDATE and the 2 completion events, they don't work, i don't know if they used to work, but they don't anymore, the event doesn't fire off at all. I will try the ZO_Announce_GetCurrentRaidTrialTimeString() and see how it works out.

Also i'll try what merilight said and report back for future reference.

Thanks both for your info.
  Reply With Quote