Xuerian / XLoot

World of Warcraft addon enhancing loot related functionality
Other
12 stars 2 forks source link

LUA errors with version 10.0.0.2-alpha #10

Closed fraerie closed 1 year ago

fraerie commented 1 year ago

Multiple errors

2x Interface/AddOns/XLoot_Frame/Frame.lua:525: attempt to call global 'LootButton_OnClick' (a nil value) [string "@Interface/AddOns/XLoot_Frame/Frame.lua"]:525: in function <Interface/AddOns/XLoot_Frame/Frame.lua:520>

Locals: self = XLootFrameButton1 { 0 = OnEnter = defined @Interface/AddOns/XLoot_Frame/Frame.lua:507 ShowHighlight = defined @Interface/AddOns/XLoot/skins.lua:232 text_info = FontString { } OnBackdropLoaded = defined @Interface/SharedXML/Backdrop.lua:152 Auto_OnLeave = defined @Interface/AddOns/XLoot_Frame/Frame.lua:548 i = 1 GetBackdropColor = defined @Interface/SharedXML/Backdrop.lua:390 RightEdge = Texture { } texture_item = XLootFrameButton1IconTexture { } layout = "simple" ClearBackdrop = defined @Interface/SharedXML/Backdrop.lua:282 HighlightLeave = defined @Interface/AddOns/XLoot_Frame/Frame.lua:501 gradient = Texture { } HighlightEnter = defined @Interface/AddOns/XLoot_Frame/Frame.lua:495 text_locked = FontString { } Update = defined @Interface/AddOns/XLoot_Frame/Frame.lua:635 _SetBorderColor = defined @Interface/AddOns/XLoot/skins.lua:170 SetupTextureCoordinates = defined @Interface/SharedXML/Backdrop.lua:214 GetBorderColor = defined @Interface/AddOns/XLoot/skins.lua:176 HasBackdropInfo = defined @Interface/SharedXML/Backdrop.lua:278 GetEdgeSize = defined @Interface/SharedXML/Backdrop.lua:188 _skin_options =

{ } slot = 1 TopEdge = Texture { } owner = XLootFrame { } Auto_OnShow = defined @Interface/AddOns/XLoot_Frame/Frame.lua:553 button_auto = Button { } OffsetText = defined @Interface/AddOns/XLoot_Frame/Frame.lua:458 SetBackdropColor = defined @Interface/SharedXML/Backdrop.lua:399 LeftEdge = Texture { } _highlights =
{ } _skin_borders =
{ } _higlight_options =
{ } HideHighlight = defined @Interface/AddOns/XLoot/skins.lua:238 ShowTooltip = defined @Interface/AddOns/XLoot_Frame/Frame.lua:490 Auto_OnClick = defined @Interface/AddOns/XLoot_Frame/Frame.lua:530 SetBackdropBorderColor = defined @Interface/SharedXML/Backdrop.lua:422 OnClick = defined @Interface/AddOns/XLoot_Frame/Frame.lua:520 quality = 0 BottomEdge = Texture { } SetBackdrop = defined @Interface/SharedXML/Backdrop.lua:329 SetBorderColor = defined @Interface/AddOns/XLoot_Frame/Frame.lua:463 GetBackdropBorderColor = defined @Interface/SharedXML/Backdrop.lua:409 GetBackdrop = defined @Interface/SharedXML/Backdrop.lua:347 text_button_auto = FontString { } SetBorderBlendMode = defined @Interface/SharedXML/Backdrop.lua:266 frame_slot = 1 Auto_OnHide = defined @Interface/AddOns/XLoot_Frame/Frame.lua:557 Center = Texture { } OnBackdropSizeChanged = defined @Interface/SharedXML/Backdrop.lua:182 item_name = "Twisted Sediment" UpdateAppearance = defined @Interface/AddOns/XLoot_Frame/Frame.lua:563 backdropInfo =
{ } BottomLeftCorner = Texture { } OnLeave = defined @Interface/AddOns/XLoot_Frame/Frame.lua:513 TopLeftCorner = Texture { } SetHighlightColor = defined @Interface/AddOns/XLoot/skins.lua:244 text_quantity = FontString { } texture_bang = Texture { } BottomRightCorner = Texture { } text_bind = FontString { } ApplyBackdrop = defined @Interface/SharedXML/Backdrop.lua:294 text_name = XLootFrameButton1Text { } Auto_OnEnter = defined @Interface/AddOns/XLoot_Frame/Frame.lua:541 SetGradientColor = defined @Interface/AddOns/XLoot/skins.lua:180 SetupPieceVisuals = defined @Interface/SharedXML/Backdrop.lua:246 GetHighlightColor = defined @Interface/AddOns/XLoot/skins.lua:250 frame_item = Frame { } TopRightCorner = Texture { } } button = "LeftButton" (temporary) = nil (temporary) = XLootFrameButton1 { 0 = OnEnter = defined @Interface/AddOns/XLoot_Frame/Frame.lua:507 ShowHighlight = defined @Interface/AddOns/XLoot/skins.lua:232 text_info = FontString { } OnBackdropLoaded = defined @

1x Interface/AddOns/XLoot_Options/Options.lua:769: bad argument #1 to 'ipairs' (table expected, got nil) string "=[C]": in function ipairs' [string "@Interface/AddOns/XLoot_Options/Options.lua"]:769: in functionOpenPanel' [string "@Interface/AddOns/XLoot/XLoot.lua"]:56: in function ShowOptionPanel' [string "@Interface/AddOns/XLoot/XLoot.lua"]:145: in function <Interface/AddOns/XLoot/XLoot.lua:145> [string "=[C]"]: in functionShow' [string "@Interface/SharedXML/Settings/Blizzard_SettingsPanel.lua"]:803: in function DisplayLayout' [string "@Interface/SharedXML/Settings/Blizzard_SettingsPanel.lua"]:758: in functionDisplayCategory' [string "@Interface/SharedXML/Settings/Blizzard_SettingsPanel.lua"]:725: in function <...erface/SharedXML/Settings/Blizzard_SettingsPanel.lua:721>

[string "@Interface/SharedXML/CallbackRegistry.lua"]:143: in function <Interface/SharedXML/CallbackRegistry.lua:142>

[string "@Interface/SharedXML/CallbackRegistry.lua"]:146: in function `TriggerEvent' [string "@Interface/SharedXML/Settings/Blizzard_CategoryList.lua"]:136: in function <...terface/SharedXML/Settings/Blizzard_CategoryList.lua:134>

Locals: (temporary) = nil (temporary) = "table expected, got nil" = defined =[C]:-1

Xuerian commented 1 year ago

Thanks.

The first one should be fixed in -3, I think. Please let me know.

The second one is going to require more work, options may take a while.

Xuerian commented 1 year ago

Options should be fixed now. Thanks for the report.