VDT does not capture COMBAT_LOG_EVENT_UNFILTERED args in 8.0.
Hekili opened this issue ยท 0 comments
Blizzard added a necessary function call to retrieve combat log args when COMBAT_LOG_EVENT_UNFILTERED fires: CombatLogGetCurrentEventInfo()
Here's a potential fix (Modules/ViragDevToolEvents.lua line 75):
function cleuHelper( args, ... )
for i = 1, select( "#", ... ) do
args[i+1] = select( i, ... )
end
end
function ViragDevTool:SetMonitorEventScript()
local f = self:GetListenerFrame()
f:SetScript("OnEvent", function(this, ...)
local args = { ... }
local event = args[1]
local showAllEvents = ViragDevTool:GetMonitoredEvent("ALL")
if ViragDevTool:GetMonitoredEvent(event) or (showAllEvents and showAllEvents.active) then
if event == 'COMBAT_LOG_EVENT_UNFILTERED' then cleuHelper( args, CombatLogGetCurrentEventInfo() ) end
if #args == 1 then args = args[1] end
ViragDevTool:Add(args, date("%X") .. " " .. event)
end
end);
end