View Single Post
04-30-10, 05:47 AM   #27
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
Okay, and just so it wasn't a fluke the other times. I have refined the error messages and can confirm the sequence of events are what are messing things up.

if PLAYER_LOGIN is triggered last it will load properly. If VARIABLES_LOADED is triggered last it will load bad.

The unfortunate solution is to use ADDON_LOADED to do data preparation and PLAYER_LOGIN for displaying etc and VARIABLES_LOADED to override positioning and anchoring that blizzard sets up from their variables.

And the reason there is no error message is because nothing is going wrong. A for loop will just not execute if there are no items in the list and so thus the tests later on silently fail.

But then thats my theory.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_043010_124412.jpg
Views:	665
Size:	312.2 KB
ID:	4213  Click image for larger version

Name:	WoWScrnShot_043010_124253.jpg
Views:	679
Size:	297.4 KB
ID:	4214  
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818