Thread Tools Display Modes
08-04-14, 12:49 AM   #1
galvin
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 265
GetRuneCooldown returning nil after zoning

GetRuneCooldown and GetRuneType both return nil if they are called right after zoning. The test spot I used is the portal at the tram in IF or SW.

Is this intended something changed or a bug?
 
08-04-14, 06:26 PM   #2
Clamsoda
A Frostmaul Preserver
Join Date: Nov 2011
Posts: 269
What event are you listening for to make sure the rune data is updated and available? I am assuming PLAYER_ENTERING_WORLD? Use the event tracer to see what events fire shortly after PLAYER_ENTERING_WORLD, UNIT_POWER may fire when your rune information becomes accurate and accessible.
 
08-06-14, 03:33 PM   #3
galvin
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 265
Its happening with everything I think. Anything using UnitPower, this does not happen on live.
I have events that fire when ever I need to refresh all the bars in my addon. I dont listen to those events, but other events fire when you zone. Hopefully we'll be fixed, I have no work around atm.

This isn't logging in, this is when you zone, go from one zone to another. The best place to test it is zoning in or out at the trams in IF/SW.

This is beta so I suspect a lot of stuff is still broken here and there.
 
08-06-14, 03:47 PM   #4
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
PLAYER_ENTERING_WORLD fires every time you return from a loading screen, not just when you log in.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
 
 

WoWInterface » Site Forums » Archived Beta Forums » WoD Beta archived threads » GetRuneCooldown returning nil after zoning

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off