Are events still fired during a load screen?
Scenario:
You are traveling between zones and get a friend invite, Would the EVENT_INCOMING_FRIEND_INVITE_ADDED event fire and would you be able to handle said event while in the load screen? Basically what I would like to know is if the events fire in real time, queue up and fire once loaded in or don't fire at all. Thanks :) |
Afaik the lua VM is paused during real loading screens -> means no lua callback functions fire at that time.
We often had it happen e.g. that chat messages during loadig screens were missing. |
Ah, that is a real shame
Thanks for the fast reply though <3 |
I also faced such a problem, thank you for having an answer) !!
|
It depends on the event. Some events are dropped in load screens, others are queued and sent when the load screen ends. For the former, the expectation is that you'd use the ON_PLAYER_ACTIVATED event to init/re-init your addon state, rather than doing it based only on X events coming in.
|
There also exsist EVENT_PLAYER_DEACTIVATED which should fire before the loading screen happens, isn't it?
|
Quote:
|
All times are GMT -6. The time now is 10:07 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI