Thread Tools Display Modes
Prev Previous Post   Next Post Next
02-24-10, 07:43 AM   #1
Brainn
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 263
rdx using the blizzard-combatlog ?

yesterday, while looking for options to optimize my ui's performance, i found the blizzard-combatlog-window. i never use that, and it is processing a huge number of events in raid-combat, so i thought hey, why not disable it completely. so what i did was create a new autoexec script with the following code:
Code:
COMBATLOG:SetScript("OnUpdate", nil)
COMBATLOG:SetScript("OnEvent", nil)
COMBATLOG:SetScript("OnShow", nil)
COMBATLOG:SetScript("OnHide", nil)
CombatLogUpdateFrame:SetScript("OnUpdate", nil)

COMBATLOG:UnregisterAllEvents()
CombatLogUpdateFrame:UnregisterAllEvents()
this does work, and the combatlog window now processes no events at all

now, i added this to an autoexec script, reloged, and my complete ui was gone, no rdx frames at all. since it worked when i manually called that script after the ui was fully loaded, i delayed it a bit in the autoexec script (moved the code to a function and called that via VFL.ZMSchedule with a delay of 0.1) and after that rdx loads as expected.

now the question is: why does it kill rdx if i call that script in an autoexec with no delay? how does rdx use the blizzard combatlog window so that it does not load without it ?
  Reply With Quote
 

WoWInterface » Featured Projects » OpenRDX » OpenRDX Community » OpenRDX: Community Chat » rdx using the blizzard-combatlog ?


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