Xruptor / LagBar

Displays a simple bar with some Latency Information.
http://www.wowinterface.com/downloads/info12373-LagBar.html
5 stars 2 forks source link

pre-patch errors - 1x LagBar\config.lua:68: attempt to call method 'SetBackdrop' (a nil value) #4

Closed zmoose closed 3 years ago

zmoose commented 3 years ago

1x LagBar\config.lua:68: attempt to call method 'SetBackdrop' (a nil value) [string "@LagBar\config.lua"]:68: in function <LagBar\config.lua:50> [string "@LagBar\config.lua"]:181: in function <LagBar\config.lua:142>

Locals: parentFrame = LagBarAboutPanel { 0 = cancel = defined @FrameXML\InterfaceOptionsFrame.lua:615 refresh = defined @FrameXML\InterfaceOptionsFrame.lua:617 default = defined @FrameXML\InterfaceOptionsFrame.lua:616 btnReset = LagBar_config_button_1 { } name = "LagBar" btnBG = LagBar_config_chkbtn_1 { } okay = defined @FrameXML\InterfaceOptionsFrame.lua:614 CheckButton = LagBar_config_chkbtn_1 { } } displayText = "LagBar Frame Scale" minVal = 0.100000 maxVal = 200 SliderBackdrop =

{ bgFile = "Buttons\UI-SliderBar-Background" tileSize = 8 edgeFile = "Buttons\UI-SliderBar-Border" tile = true edgeSize = 8 insets =
{ } } slider = LagBar_config_slider_1 { 0 = } (temporary) = nil (temporary) = LagBar_config_slider_1 { 0 = } (temporary) =
{ bgFile = "Buttons\UI-SliderBar-Background" tileSize = 8 edgeFile = "Buttons\UI-SliderBar-Border" tile = true edgeSize = 8 insets =
{ } } (temporary) = "attempt to call method 'SetBackdrop' (a nil value)" sliderIndex = 1 ADDON_NAME = "LagBar"

zmoose commented 3 years ago

1x LagBar\LagBar-4.7.lua:197: attempt to call method 'SetBackdrop' (a nil value) [string "@LagBar\LagBar-4.7.lua"]:197: in function `DrawGUI' [string "@LagBar\LagBar-4.7.lua"]:117: in function <LagBar\LagBar.lua:106>

Locals: self = LagBar { 0 = DrawGUI = defined @LagBar\LagBar.lua:178 configEvent = LagBar_config_eventFrame { } RestoreLayout = defined @LagBar\LagBar.lua:341 PLAYER_LOGIN = defined @LagBar\LagBar.lua:106 GetTipAnchor = defined @LagBar\LagBar.lua:381 SaveLayout = defined @LagBar\LagBar.lua:316 BackgroundToggle = defined @LagBar\LagBar.lua:362 } (temporary) = nil (temporary) = LagBar { 0 = DrawGUI = defined @LagBar\LagBar.lua:178 configEvent = LagBar_config_eventFrame { } RestoreLayout = defined @LagBar\LagBar.lua:341 PLAYER_LOGIN = defined @LagBar\LagBar.lua:106 GetTipAnchor = defined @LagBar\LagBar.lua:381 SaveLayout = defined @LagBar\LagBar.lua:316 BackgroundToggle = defined @LagBar\LagBar.lua:362 } (temporary) = nil (temporary) = "attempt to call method 'SetBackdrop' (a nil value)" addon = LagBar { 0 = DrawGUI = defined @LagBar\LagBar.lua:178 configEvent = LagBar_config_eventFrame { } RestoreLayout = defined @LagBar\LagBar.lua:341 PLAYER_LOGIN = defined @LagBar\LagBar.lua:106 GetTipAnchor = defined @LagBar\LagBar.lua:381 SaveLayout = defined @LagBar\LagBar.lua:316 BackgroundToggle = defined @LagBar\LagBar.lua:362 } ADDON_NAME = "LagBar" UPDATE_INTERVAL = 0 MAX_INTERVAL = 1 L =

{ SlashScaleText = "LagBar Frame Scale" SlashScaleSet = "LagBar: scale has been set to [|cFF20ff20%s|r]" SlashFPSChkBtn = "Show the fps display." SlashBG = "bg" TooltipDragInfo = "[Hold Shift and Drag to move window.]" SlashResetInfo = "Reset frame position." SlashResetAlert = "LagBar: Frame position has been reset!" SlashHomePing = "homeping" SlashImpDisplayOn = "LagBar: Improved Ping Display is now [|cFF99CC33ON|r]" SlashImpDisplayChkBtn = "Show the improved ping display." SlashWorldPingOn = "LagBar: WorldPing is now [|cFF99CC33ON|r]" SlashFPSInfo = "Toggles fps display (|cFF99CC33ON/OFF|r)." SlashScale = "scale" SlashFPSOff = "LagBar: FPS is now [|cFF99CC33OFF|r]" SlashBGOff = "LagBar: Background is now [|cFF99CC33HIDDEN|r]" SlashFPS = "fps" SlashImpDisplay = "impdisplay" SlashScaleSetInvalid = "LagBar: scale invalid or number cannot be greater than 2" SlashHomePingOff = "LagBar: HomePing is now [|cFF99CC33OFF|r]" SlashHomePingOn = "LagBar: HomePing is now [|cFF99CC33ON|r]" SlashReset = "reset" Home = "H" SlashWorldPingOff = "LagBar: WorldPing is now [|cFF99CC33OFF|r]" SlashFPSOn = "LagBar: FPS is now [|cFF99CC33ON|r]" SlashScaleInfo = "Set the scale of the LagBar frame (0-200)" SlashWorldPing = "worldping" FPS = "fps" World = "W" SlashImpDisplayInfo = "Toggles improved ping display (|cFF99CC33ON/OFF|r)." Milliseconds = "ms" SlashBGOn = "LagBar: Background is now [|cFF99CC33SHOWN|r]" SlashHomePingChkBtn = "Show the home ping display." SlashImpDisplayOff = "LagBar: Improved Ping Display is now [|cFF99CC33OFF|r]" SlashWorldPingInfo = "Toggles world ping display (|cFF99CC33ON/OFF|r)." SlashWorldPingChkBtn = "Show the world ping display." SlashHomePingInfo = "Toggles home ping display (|cFF99CC33ON/OFF|r)." SlashBGInfo = "Show the window background." } LagBar_GetThresholdHexColor = defined @LagBar\LagBar.lua:96

Xruptor commented 3 years ago

Thank you! I'll take a look into it.