Twintop's Resource Bar

Twintop's Resource Bar

670k Downloads

Deep Wounds causing LUA errors

MaDVitek opened this issue · 1 comments

commented

1x TwintopInsanityBar/Classes/Warrior.lua:2110: attempt to perform arithmetic on field 'deepWounds' (a nil value)
[string "@TwintopInsanityBar/Classes/Warrior.lua"]:2110: in function <TwintopInsanityBar/Classes/Warrior.lua:2035>

Locals:
self = TwintopResourceBarFrame {
0 =
OnBackdropLoaded = defined @SharedXML/Backdrop.lua:152
Center = Texture {
}
GetBackdropColor = defined @SharedXML/Backdrop.lua:390
SetupTextureCoordinates = defined @SharedXML/Backdrop.lua:214
OnBackdropSizeChanged = defined @SharedXML/Backdrop.lua:182
HasBackdropInfo = defined @SharedXML/Backdrop.lua:278
SetBackdropBorderColor = defined @SharedXML/Backdrop.lua:422
RightEdge = Texture {
}
backdropInfo =

{
}
BottomEdge = Texture {
}
GetEdgeSize = defined @SharedXML/Backdrop.lua:188
BottomLeftCorner = Texture {
}
BottomRightCorner = Texture {
}
TopEdge = Texture {
}
ApplyBackdrop = defined @SharedXML/Backdrop.lua:294
SetBackdrop = defined @SharedXML/Backdrop.lua:329
ClearBackdrop = defined @SharedXML/Backdrop.lua:282
TopRightCorner = Texture {
}
GetBackdropBorderColor = defined @SharedXML/Backdrop.lua:409
GetBackdrop = defined @SharedXML/Backdrop.lua:347
TopLeftCorner = Texture {
}
SetupPieceVisuals = defined @SharedXML/Backdrop.lua:246
SetBackdropColor = defined @SharedXML/Backdrop.lua:399
LeftEdge = Texture {
}
SetBorderBlendMode = defined @SharedXML/Backdrop.lua:266
}
event = "COMBAT_LOG_EVENT_UNFILTERED"
currentTime = 587688.273000
triggerUpdate = false
_ = nil
specId = 1
time = 1677160263.712000
type = "SPELL_AURA_APPLIED"
_ = false
sourceGUID = "Player-1602-0EC7781A"
sourceName = "Дестингл"
_ = 1297
_ = 32
destGUID = "Player-1302-0B75F902"
destName = "Salouppio-Archimonde"
_ = 66888
_ = 0
spellId = 262115
spellName = "Глубокие раны"
(*temporary) =
{
rend = 0
ttdIsActive = false
targets =
{
}
currentTargetGuid = "Player-1302-0B75F902"
}
(*temporary) = nil
(*temporary) = "Player-1302-0B75F902"
(*temporary) = nil
(*temporary) = 1
(*temporary) = true
(*temporary) = 587688.273000
(*temporary) = 587688.273000
(*temporary) =
{
rendRemaining = 0
deepWounds = true
deepWoundsRemaining = 0
lastUpdate = 587688.273000
rend = false
ttd = 0
snapshot =
{
}
}
(*temporary) =
{
}
(*temporary) = "Player-1302-0B75F902"
(*temporary) = false
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on field 'deepWounds' (a nil value)"
TRB =
{
Options =
{
}
Functions =
{
}
Details =
{
}
Data =
{
}
Frames =
{
}
}
UpdateBladestorm = defined @TwintopInsanityBar/Classes/Warrior.lua:1526
RefreshTargetTracking = defined @TwintopInsanityBar/Classes/Warrior.lua:919
TargetsCleanup = defined @TwintopInsanityBar/Classes/Warrior.lua:947

commented

I wasn't able to reproduce this but I see how it could occur if things were timed just right (or wrong, in this case). I've put some guardrails in to prevent this.