View Single Post
09-03-10, 05:12 AM   #1
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,934
Beta Starting Event Sequence

Knowing this area is what tends to kick our butt I thought I would check this part out before doing anything else.

Not only does the generic variables no longer work but the old favorite ... doesn't seem to work either.

So I had to change my event watching addons event watcher function from :

local function OnEvent(self,event,...)
to
local function OnEvent(self,event,arg1,arg2,arg3,arg4,arg5)

Anyway, with that in mind and the addon watching the following events :

ADDON_LOADED
SPELLS_CHANGED
UPDATE_CHAT_WINDOWS
UPDATE_FLOATING_CHAT_WINDOWS
PLAYER_LOGIN
PLAYER_ENTERING_WORLD
PLAYER_ALIVE
VARIABLES_LOADED

On First Login from Character Loading Screen:

ADDON_LOADED XEventWatcher
UPDATE_FLOATING_CHAT_WINDOWS
UPDATE_CHAT_WINDOWS
VARIABLES_LOADED
Hundreds of SPELLS_CHANGED
ADDON_LOADED Blizzard_CombatLog
PLAYER_LOGIN
ADDON_LOADED Blizzard_TimeManager
ADDON_LOADED Blizzard_CombatText
ADDON_LOADED Blizzard_DebugTools
PLAYER_ENTERING_WORLD
PLAYER_ALIVE

/console reloadui - 1,2,3
ADDON_LOADED XEventWatcher
UPDATE_FLOATING_CHAT_WINDOWS
VARIABLES_LOADED
UPDATE_CHAT_WINDOWS
ADDON_LOADED Blizzard_CombatLog
PLAYER_LOGIN
ADDON_LOADED Blizzard_TimeManager
ADDON_LOADED Blizzard_CombatText
ADDON_LOADED Blizzard_DebugTools
PLAYER_ENTERING_WORLD


Adjusted addon to register all events and the resulting wtf file is attached. The counter is the order in which it triggered.
Attached Files
File Type: lua XEventWatcher_Backup.lua (6.1 KB, 1095 views)
__________________


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