BuffOverlay

BuffOverlay

366k Downloads

Lua Error after latest update

JyanseiCoding opened this issue ยท 1 comments

commented

Description

I got this Lua Error after the latest update (v12.6.18). I'd removed the old saved variables and did a fresh reinstall, and I was greeted by the lua error below upon login. Bug sack wouldn't stop going off. It did stop giving me the error after a reload though,

I thought it might have been a fluke, so I deleted the saved variables again and reinstalled only to be met with the same error

BuffOverlay Version

v12.6.18

World of Warcraft Flavor

Retail

Sterile Testing

Yes

Editing Lua Files

No

File Edited

No response

Frames Used

Default Blizzard Frames

Lua Error

5x BuffOverlay/BuffOverlay.lua:1341: attempt to compare number with nil
[string "@BuffOverlay/BuffOverlay.lua"]:1341: in function <BuffOverlay/BuffOverlay.lua:1328>
[string "@BuffOverlay/BuffOverlay.lua"]:1373: in function ApplyOverlay' [string "@BuffOverlay/BuffOverlay.lua"]:1615: in function <BuffOverlay/BuffOverlay.lua:1612> [string "=[C]"]: in function CompactUnitFrame_UpdateAuras'
[string "@FrameXML/CompactUnitFrame.lua"]:101: in function <FrameXML/CompactUnitFrame.lua:52>

Locals:
bar =

{
neverShow = false
showCooldownSpiral = true
iconScale = 1
showInBattleground = true
iconCount = 4
stackCountScale = 0.900000
id = "Bar1"
maxGroupSize = 40
name = "Bar1"
iconBorder = true
iconAlpha = 1
growDirection = "HORIZONTAL"
showStackCount = true
cooldownNumberScale = 1
showCooldownNumbers = false
showInArena = true
minGroupSize = 0
iconBorderColor =
{
}
debuffIconBorderColorByDispelType = true
iconAnchor = "BOTTOM"
iconSpacing = 0
showTooltip = true
frameTypes =
{
}
showInRaid = true
iconXOff = 0
showInDungeon = true
iconYOff = 0
showInScenario = true
showInWorld = true
buffIconBorderColorByDispelType = false
iconRelativePoint = "CENTER"
iconBorderSize = 1
}
frameType = "party"
instanceType = nil
numGroupMembers = nil
(*temporary) = 40
(*temporary) = "attempt to compare number with nil"
BuffOverlay =
{
CreatePriorityDialog = defined @BuffOverlay/Options.lua:621
SetDefaultModuleLibraries = defined @BigDebuffs/Libs/AceAddon-3.0/AceAddon-3.0.lua:363
UpdateUnits = defined @BuffOverlay/AddonCompatibility.lua:450
Colorize = defined @BuffOverlay/BuffOverlay.lua:232
Enable = defined @BigDebuffs/Libs/AceAddon-3.0/AceAddon-3.0.lua:290
RegisterChatCommand = defined @BuffOverlay/Libs/AceConsole-3.0/AceConsole-3.0.lua:81
UpdateCustomBuffs = defined @BuffOverlay/BuffOverlay.lua:515
EnableModule = defined @BigDebuffs/Libs/AceAddon-3.0/AceAddon-3.0.lua:328
modules =
{
}
GetModule = defined @BigDebuffs/Libs/AceAddon-3.0/AceAddon-3.0.lua:206
IterateEmbeds = defined @BigDebuffs/Libs/AceAddon-3.0/AceAddon-3.0.lua:438
baseName = "BuffOverlay"
ShowVersion = defined @BuffOverlay/Options.lua:236
defaultModuleLibraries =
{
}
AddBarToOptions = defined @BuffOverlay/Options.lua:718
Options = defined @BuffOverlay/Options.lua:1753
UnregisterChatCommand = defined @BuffOverlay/Libs/AceConsole-3.0/AceConsole-3.0.lua:107
defaultSpells =
{
}
HideGlows = defined @BuffOverlay/BuffOverlay.lua:1252
FullRefresh = defined @BuffOverlay/BuffOverlay.lua:981
Printf = defined @BuffOverlay/Libs/AceConsole-3.0/AceConsole-3.0.lua:65
ApplyOverlay = defined @BuffOverlay/BuffOverlay.lua:1356
SetDefaultModulePrototype = defined @BigDebuffs/Libs/AceAddon-3.0/AceAddon-3.0.lua:405
AddBar = defined @BuffOverlay/BuffOverlay.lua:256
InsertCustomAura = defined @BuffOverlay/BuffOverlay.lua:328
GetIconString = defined @BuffOverlay/Options.lua:240
name = "BuffOverlay"
RefreshOverlays = defined @BuffOverlay/BuffOverlay.lua:940
IsEnabled = defined @BigDebuffs/Libs/AceAddon-3.0/AceAddon-3.0.lua:447
orderedModules =
{
}
ignoreParentIcons =
{
}
DisableModule = defined @BigDebuffs/Libs/AceAddon-3.0/AceAddon-3.0.lua:346
InsertCustomChild = defined @BuffOverlay/BuffOverlay.lua:354
customIcons =
{
}
SetupContainer = defined @BuffOverlay/BuffOverlay.lua:1319
AddToCustom = defined @BuffOverlay/Options.lua:1724
L =
{
}
GetArgs = defined @BuffOverlay/Libs/AceConsole-3.0/AceConsole-3.0.lua:140
frames =
{
}
GetSingleTestAura = defined @BuffOverlay/BuffOverlay.lua:1033
OnInitialize = defined @BuffOverlay/BuffOverlay.lua:852
UpdateBarOptionsTable = <functio

Reproduction Steps

Delete Addon along with all saved variables
Reinstall Addon
Log in with Addon running
Error

Last Working Version

No response

Screenshots

No response

commented

ah yeah, that makes sense. Will push out a fix soon