LUA error with latest version and broken options menu.
Daervon opened this issue ยท 1 comments
I've been getting the following error with the latest version of the addon. The bar still seems to work, however there are certain elements in the options menu that don't:
For example, in the Options menu --> Shadow Priest options --> Bar Display tab: Can't scroll down beyond the title "Ability Threshold Lines". Also, the other tabs (Font & Text, Audio & Tracking, Bar Text, Reset Defaults) are all empty when I switch to them.
I tried with only this addon, BugSack and BugGrabber enabled and the error persisted, along with the other issues in the options menu, so it doesn't seem to be a conflict with something else.
1x TwintopInsanityBar\Classes\PriestOptions.lua:1317: attempt to index field 'colors' (a nil value)
[string "@TwintopInsanityBar\Classes\PriestOptions.lua"]:1317: in function <TwintopInsanityBar\Classes\PriestOptions.lua:462>
[string "@TwintopInsanityBar\Classes\PriestOptions.lua"]:3219: in function <TwintopInsanityBar\Classes\PriestOptions.lua:3163>
[string "@TwintopInsanityBar\Classes\PriestOptions.lua"]:3228: in function `ConstructOptionsPanel'
[string "@TwintopInsanityBar\Classes\Priest.lua"]:2457: in function <TwintopInsanityBar\Classes\Priest.lua:2439>
Locals:
parent = {
0 =
CheckButton = TIBCB1_5 {
}
}
interfaceSettingsFrame =
panel = TwintopResourceBarPanel {
}
shadowDisplayPanel = TwintopResourceBar_Options_Priest_Shadow {
}
controls =
}
optionsPanel = TwintopResourceBar_Options_General {
}
}
controls =
textSection = {
}
ttdPrecision = {
}
vertical = {
}
textbox =
}
barColorsSection = {
}
thresholdWidth = {
}
ttdSamplingRate = {
}
flashPeriod = {
}
textBarTexturesSection = {
}
flashAlpha = {
}
colors =
}
characterRefreshRate = {
}
borderWidth = {
}
width = {
}
barDisplaySection = {
}
ttdSampleSize = {
}
checkBoxes =
}
dropDown =
}
height = {
}
horizontal = {
}
barPositionSection = {
}
labels =
}
}
yCoord = -820
f = {
0 =
Font = {
}
OnBackdropLoaded = defined @SharedXML\Backdrop.lua:195
backdropInfo =
}
Center = {
}
GetBackdropColor = defined @SharedXML\Backdrop.lua:433
SetupTextureCoordinates = defined @SharedXML\Backdrop.lua:257
OnBackdropSizeChanged = defined @SharedXML\Backdrop.lua:225
HasBackdropInfo = defined @SharedXML\Backdrop.lua:321
SetBackdropBorderColor = defined @SharedXML\Backdrop.lua:465
RightEdge = {
}
Texture = {
}
BottomEdge = {
}
GetEdgeSize = defined @SharedXML\Backdrop.lua:231
BottomLeftCorner = {
}
BottomRightCorner = {
}
TopEdge = {
}
ApplyBackdrop = defined @SharedXML\Backdrop.lua:337
SetBackdrop = defined @SharedXML\Backdrop.lua:372
ClearBackdrop = defined @SharedXML\Backdrop.lua:325
TopRightCorner = {
}
GetBackdropBorderColor = defined @SharedXML\Backdrop.lua:452
GetBackdrop = defined @SharedXML\Backdrop.lua:390
TopLeftCorner = {
}
SetupPieceVisuals = defined @SharedXML\Backdrop.lua:289
SetBackdropColor = defined @SharedXML\Backdrop.lua:442
LeftEdge = {
}
SetBorderBlendMode = defined @SharedXML\Backdrop.lua:309
}
maxOptionsWidth = 580
xPadding = 10
xPadding2 = 30
xCoord = 5
xCoord2 = 290
xOffset1 = 50
xOffset2 = 340
title = "Devouring Plague Flash Period (sec)"
dropdownWidth = 225
sliderWidth = 260
sliderHeight = 20
maxBorderHeight = 4
(*temporary) =
borderOvercap = {
}
enterVoidform = {
}
border = {
}
inVoidform1GCD = {
}
inVoidform = {
}
passive = {
}
casting = {
}
base = {
}
background = {
}
}
(*temporary) = defined @TwintopInsanityBar\UiFunctions.lua:199
(*temporary) = {
0 =
CheckButton = TIBCB1_5 {
}
}
(*temporary) = "Under minimum required Insanity"
(*temporary) = nil
(*temporary) =
core =
}
druid =
}
shaman =
}
priest =
}
hunter =
}
}
(*temporary) = {
0 =
font = {
}
}
(*temporary) = defined =[C]:-1
(*temporary) = {
0 =
}
(*temporary) = "Ability Threshold Lines"
(*temporary) =
(*temporary) =
(*temporary) = "attempt to index field 'colors' (a nil value)"
TRB =
Options =
}
Functions =
}
Details =
}
UiFunctions =
}
Frames =
}
Data =
}
}
barContainerFrame = TwintopResourceBarFrame {
0 =
OnBackdropLoaded = defined @SharedXML\Backdrop.lua:195
Center = {
}
GetBackdropColor = defined