oUF

97.2k Downloads

Possible bug in auras

Opened this issue ยท 3 comments

commented

Not sure if this is oUF or oUF_Phanx related. Anyways this is on new char, and i can reproduce it consistently with Siltfin Oracles on Azuremist Isle (can't really test it with anything else). Happens when they recast lighting shield when targeted. After it bugs once, it stays bugged for every oracle with buff until reload, then it works until another time they recast it.

Message: Interface\AddOns\oUF\elements\aura.lua:212: attempt to index field 'overlay' (a nil value)
Time: 08/05/15 01:59:18
Count: 1
Stack: Interface\AddOns\oUF\elements\aura.lua:212: in function <Interface\AddOns\oUF\elements\aura.lua:141>
Interface\AddOns\oUF\elements\aura.lua:293: in function <Interface\AddOns\oUF\elements\aura.lua:287>
Interface\AddOns\oUF\elements\aura.lua:389: in function <Interface\AddOns\oUF\elements\aura.lua:314>
Interface\AddOns\oUF\elements\aura.lua:430: in function `func'
Interface\AddOns\oUF\ouf.lua:158: in function <Interface\AddOns\oUF\ouf.lua:149>
(tail call): ?
[C]: in function `Show'
Interface\FrameXML\SecureStateDriver.lua:83: in function <Interface\FrameXML\SecureStateDriver.lua:73>
Interface\FrameXML\SecureStateDriver.lua:137: in function <Interface\FrameXML\SecureStateDriver.lua:119>

Locals: unit = "target"
icons = <unnamed> {
 0 = <userdata>
 CustomFilter = <function> defined @Interface\AddOns\oUF_Phanx\Auras.lua:1088
 parent = oUFPhanxTarget {
 }
 growth-y = "UP"
 createdIcons = 1
 spacing-y = 12
 size = 22
 __owner = oUFPhanxTarget {
 }
 PostUpdateIcon = <function> defined @Interface\AddOns\oUF_Phanx\Functions.lua:526
 anchoredIcons = 1
 showType = false
 1 = <unnamed> {
 }
 visibleBuffs = 0
 ForceUpdate = <function> defined @Interface\AddOns\oUF\elements\aura.lua:452
 initialAnchor = "BOTTOMRIGHT"
 spacing-x = 6
 growth-x = "LEFT"
 num = 3
 PostCreateIcon = <function> defined @Interface\AddOns\oUF_Phanx\Functions.lua:477
}
index = 1
offset = 0
filter = "HELPFUL"
isDebuff = nil
visible = 0
name = "Lightning Shield"
rank = ""
texture = "Interface\Icons\Spell_Nature_LightningShield"
count = 3
dtype = "Magic"
duration = 600
timeLeft = 225433.004
caster = "target"
isStealable = false
shouldConsolidate = false
spellID = 12550
canApplyAura = false
isBossDebuff = false
n = 1
icon = <unnamed> {
 0 = <userdata>
 GetBorderLayer = <function> defined @Interface\AddOns\oUF_Phanx\Features\Border.lua:56
 SetBorderParent = <function> defined @Interface\AddOns\oUF_Phanx\Features\Border.lua:62
 GetBorderSize = <function> defined @Interface\AddOns\oUF_Phanx\Features\Border.lua:102
 SetBorderLayer = <function> defined @Interface\AddOns\oUF_Phanx\Features\Border.lua:47
 cd = <unnamed> {
 }
 GetBorderColor = <function> defined @Interface\AddOns\oUF_Phanx\Features\Border.lua:41
 SetBackdropBorderColor = <function> defined @Interface\AddOns\oUF_Phanx\Features\Border.lua:18
 icon = <unnamed> {
 }
 GetBorderParent = <function> defined @Interface\AddOns\oUF_Phanx\Features\Border.lua:74
 UpdateTooltip = <function> defined @Interface\AddOns\oUF\elements\aura.lua:68
 SetBorderSize = <function> defined @Interface\AddOns\oUF_Phanx\Features\Border.lua:80
 owner = "target"
 SetBorderColor = <function> defined @Interface\AddOns\oUF_Phanx\Features\Border.lua:18
 count = <unnamed> {
 }
 filter = "HELPFUL"
 timer = <unnamed> {
 }
 stealable = <unnamed> {
 }
 BorderTextures = <table> {
 }
}
isPlayer = nil
show = true
cd = <unnamed> {
 omniccActivate = oUFPhanxTargetOmniCCActivate {
 }
 omnicc = <unnamed> {
 }
 0 = <userdata>
 omniWidth = 22.000032424927
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = <userdata>
(*temporary) = nil
(*temporary) = 224833.004
(*temporary) = 600
(*temporary) = <unnamed> {
omniccActivate = oUFPhanxTargetOmniCCActivate {
 }
 omnicc = <unnamed> {
 }
 0 = <userdata>
 omniWidth = 22.000032424927
}
(*temporary) = <function> defined @Interface\AddOns\OmniCC\core\timer.lua:38
(*temporary) = <unnamed> {
 0 = <userdata>
 SetScale = <function> defined @Interface\AddOns\oUF_Phanx\Functions.lua:13
 SetPoint = <function> defined @Interface\AddOns\oUF_Phanx\Functions.lua:13
 abRatio = 0.61111111111111
 text = <unnamed> {
 }
 ClearAllPoints = <function> defined @Interface\AddOns\oUF_Phanx\Functions.lua:13
 enabled = true
 SetAlpha = <function> defined @Interface\AddOns\oUF_Phanx\Functions.lua:13
 finish = 225433.004
 visible = false
 charging = true
 start = 224833.004
 duration = 600
commented

@Phanx This looks like a bug in oUF_Phanx. Care to take a look? You should only have to verify that .overlay is created on the aura icons.

commented

Well, oUF/elements/aura.lua always creates an .overlay and oUF_Phanx doesn't override the aura creation function -- it just adds a post-creation callback -- so I'm not sure how I can get an aura icon without an .overlay object. ๐Ÿ˜•

@mjoze Can you reproduce the error with only oUF and oUF_Phanx enabled? Are you sure you have the latest versions of both?

commented

Oh, I know why and how this bug occurs.

It happens cuz of OmniCC. One of my UI users reported same bug to me. I already reported this issue, and explained why it happens, but no one seems to care about compatibility anymore.