LUA error when changing the XP bar to track Az instead
raysmith59 opened this issue ยท 0 comments
Latest version, newly reset, stock XP bar resized and moved and with text elements changed to my taste.
1x Neuron\Objects/STATUSBTN.lua:232: attempt to index field 'DB' (a nil value)
Neuron\Objects/STATUSBTN.lua:232: in function XPBar_OnEvent' Neuron\Objects/STATUSBTN.lua:292: in function
switchCurXPType'
Neuron\Objects/STATUSBTN.lua:318: in function func' FrameXML\UIDropDownMenu.lua:914: in function
UIDropDownMenuButton_OnClick'
[string ":OnClick"]:1: in function <[string ":OnClick"]:1>
Locals:
self = NeuronBarHandler2 {
0 =
WrapScript = defined @FrameXML\SecureHandlers.lua:782
SetFrameRef = defined @FrameXML\SecureHandlers.lua:793
Execute = defined @FrameXML\SecureHandlers.lua:777
fadeSpeed = 0.250000
UnwrapScript = defined @FrameXML\SecureHandlers.lua:788
bar = NeuronStatusBar2 {
}
}
event = "changed_curXPType"
(*temporary) = nil
(*temporary) = NeuronStatusBar2_StatusBar1 {
0 =
elapsed = 0
dropdownleft = NeuronStatusBar2_StatusBar1DropDownLeft {
}
sbbackground = NeuronStatusBar2_StatusBar1SBBackground {
}
sbcbtimer = NeuronStatusBar2_StatusBar1SBCBTimer {
}
dropdownicon = NeuronStatusBar2_StatusBar1DropDownIcon {
}
sbrighttext = NeuronStatusBar2_StatusBar1SBRightText {
}
dropdownbuttonpushedtexture = NeuronStatusBar2_StatusBar1DropDownButtonPushedTexture {
}
tColor =
}
sbbordershield = NeuronStatusBar2_StatusBar1SBBorderShield {
}
sbbaricon = NeuronStatusBar2_StatusBar1SBBarIcon {
}
dropdownbuttonnormaltexture = NeuronStatusBar2_StatusBar1DropDownButtonNormalTexture {
}
sbcentertext = NeuronStatusBar2_StatusBar1SBCenterText {
}
dropdown_init = true
fbframefeedbackborder = NeuronStatusBar2_StatusBar1FBFrameFeedbackBorder {
}
bar = NeuronStatusBar2 {
}
mColor =
}
data =
}
sbbarflash = NeuronStatusBar2_StatusBar1SBBarFlash {
}
cColor =
}
DB =
}
bordercolor =
}
dropdownright = NeuronStatusBar2_StatusBar1DropDownRight {
}
sbmouseovertext = NeuronStatusBar2_StatusBar1SBMouseoverText {
}
objType = "STATUSBAR"
alpha = 1
fbframefeedbacktext = NeuronStatusBar2_StatusBar1FBFrameFeedbackText {
}
lColor =
}
keys =
}
rColor =
}
fbframefeedback = NeuronStatusBar2_StatusBar1FBFrameFeedback {
}
dropdownmiddle = NeuronStatusBar2_StatusBar1DropDownMiddle {
}
sblefttext = NeuronStatusBar2_StatusBar1SBLeftText {
}
config =
}
dropdownbutton = NeuronStatusBar2_StatusBar1DropDownButton {
}
fbframe = NeuronStatusBar2_StatusBar1FBFrame {
}
id = 1
dropdownbuttondisabledtexture = NeuronStatusBar2_StatusBar1DropDownButtonDisabledTexture {
}
dropdownbuttonhighlighttexture = NeuronStatusBar2_StatusBar1DropDownButtonHighlightTexture {
}
class = "StatusBar"
editor = NeuronStatusBar2_StatusBar1EditFrame {
}
dropdown = NeuronStatusBar2_StatusBar1DropDown {
}
sbborder = NeuronStatusBar2_StatusBar1SBBorder {
}
sb = NeuronStatusBar2_StatusBar1SB {
}
showGrid = true
sbspark = NeuronStatusBar2_StatusBar1SBSpark {
}
fbframefeedbackbackground = NeuronStatusBar2_StatusBar1FBFrameFeedbackBackground {
}
dropdowntext = NeuronStatusBar2_StatusBar1DropDownText {
}
}
(*temporary) = NeuronBarHandler2 {
0 =
WrapScript = defined @FrameXML\SecureHandlers.lua:782
SetFrameRef = defined @FrameXML\SecureHandlers.lua:793
Execute = defined @FrameXML\SecureHandlers.lua:777
fadeSpeed = 0.250000
UnwrapScript = defined @FrameXML\SecureHandlers.lua:788
bar = NeuronStatusBar2 {
}
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'DB' (a nil value)"