LS: UI

LS: UI

146k Downloads

Error on target Aura buff

tucomel opened this issue ยท 6 comments

commented

Date: 2016-07-25 23:53:38
ID: -3
Error occured in: Global
Count: 2
Message: ..\AddOns\ls_UI\embeds\oUF\elements\aura.lua line 216:
attempt to index field 'overlay' (a nil value)

commented

I'm fixed with this code block on aura.lua

if icon.overlay then 
                if((isDebuff and icons.showDebuffType) or (not isDebuff and icons.showBuffType) or icons.showType) then
                    local color = DebuffTypeColor[dtype] or DebuffTypeColor.none

                    icon.overlay:SetVertexColor(color.r, color.g, color.b)
                    icon.overlay:Show()
                else
                    icon.overlay:Hide()
                end
            end
commented

No, that's not a good fix.

And tbh, that's pretty much impossible to get this issue. button.overlay is ALWAYS created, unless someone modified aura button constructor T_T

commented

this bug only happens with omnicc and when the aura will blink (or active another visual effect) on next 1 sec.
Example : I target myself and cast Eagle Eye (hunter).
when the eagle eye end, if I cast again with less then 1 sec of delay the aura blinks inside target buffs and the error appears. sry for my english
image

commented

Ah, I see. Let me test it, if it's a conflict between oUF and OmniCC, there's nothing neither you nor I can and should do in this case. Then the best solutions will be to disable OmniCC for unit frame auras, because it's OmniCC that breaks oUF's widget.

commented

Okay, that's OmniCC bug. I'll report to tuller and jaliborc myself. It'll be much easier to explain what's going on.

commented

K, reported it, for now stop using 'Activate' finish effect, use something else.

Closing this one.