Legacy-of-Sylvanaar / wow-instant-messenger

WIM (WoW Instant Messenger) is a World of Warcraft addon which brings an instant messenger feel to communication in game.
https://www.curseforge.com/wow/addons/wim-3
MIT License
11 stars 8 forks source link

Wotlk during login, bug/error appears from wim #40

Closed wazerstar closed 1 year ago

wazerstar commented 1 year ago

Describe the bug bug/error shows up during login.

Screenshots https://i.imgur.com/uks08vi.png

Additional context Wow WOTLK: 3.4.1(49345) Wim: 3.10.10

2x WIM/Sources/Options/CoreOptions.lua:37: attempt to index global 'db' (a nil value)
[string "@WIM/Sources/Options/CoreOptions.lua"]:37: in function `frame'
[string "@WIM/Sources/Options/Options.lua"]:194: in function <WIM/Sources/Options/Options.lua:188>
[string "=[C]"]: in function `Click'
[string "@WIM/Sources/Options/Options.lua"]:289: in function `UpdateSubCategories'
[string "@WIM/Sources/Options/Options.lua"]:104: in function <WIM/Sources/Options/Options.lua:104>
[string "=[C]"]: in function `Show'
[string "@WIM/Sources/Options/Options.lua"]:335: in function `ShowOptions'
[string "@AddOnSkins/SkinsWIM.lua"]:11: in function <AddOnSkins/SkinsWIM.lua:8>
[string "=[C]"]: ?
[string "@AddOnSkins/Core/Core.lua"]:216: in function `CallSkin'
[string "@AddOnSkins/Core/Core.lua"]:310: in function `?'
[string "@SharedMedia/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...dia/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@SharedMedia/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...dia/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@SharedMedia/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `Fire'
[string "@ElvUI_Libraries/Core/Ace3/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <...UI_Libraries/Core/Ace3/AceEvent-3.0/AceEvent-3.0.lua:119>

Locals:
frame = WIM3_OptionFrameFrame1 {
 ImportCustomObject = <function> defined @WIM/Sources/Options/OptionsTookKit.lua:401
 welcome = WIM3_OptionFrameFrame2 {
 }
 CreateDropDownMenu = <function> defined @WIM/Sources/Options/OptionsTookKit.lua:184
 CreateColorPicker = <function> defined @WIM/Sources/Options/OptionsTookKit.lua:76
 CreateCheckButtonMenu = <function> defined @WIM/Sources/Options/OptionsTookKit.lua:311
 lastObj = WIM3_OptionFrameFrame2 {
 }
 nextOffsetX = 0
 CreateButton = <function> defined @WIM/Sources/Options/OptionsTookKit.lua:66
 CreateCheckButton = <function> defined @WIM/Sources/Options/OptionsTookKit.lua:223
 nextOffSetY = 0
 CreateSlider = <function> defined @WIM/Sources/Options/OptionsTookKit.lua:129
 0 = <userdata>
 CreateSection = <function> defined @WIM/Sources/Options/OptionsTookKit.lua:356
 CreateText = <function> defined @WIM/Sources/Options/OptionsTookKit.lua:343
 SetFullSize = <function> defined @WIM/Sources/Options/OptionsTookKit.lua:61
 CreateFramedPanel = <function> defined @WIM/Sources/Options/OptionsTookKit.lua:395
}
(*temporary) = <function> defined @WIM/Sources/Options/OptionsTookKit.lua:223
(*temporary) = WIM3_OptionFrameFrame2CheckButton2 {
 0 = <userdata>
 Enable = <function> defined @WIM/Sources/Options/OptionsTookKit.lua:260
 Text = WIM3_OptionFrameFrame2CheckButton2Text {
 }
 CreateCheckButton = <function> defined @WIM/Sources/Options/OptionsTookKit.lua:223
 UpdateChildren = <function> defined @WIM/Sources/Options/OptionsTookKit.lua:284
 _Enable = <function> defined =[C]:-1
 text = WIM3_OptionFrameFrame2CheckButton2Text {
 }
 isCheckButton = true
 _Disable = <function> defined =[C]:-1
 children = <table> {
 }
 Disable = <function> defined @WIM/Sources/Options/OptionsTookKit.lua:272
}
(*temporary) = "Unlock from Minimap"
(*temporary) = nil
(*temporary) = <table> {
 enabled = false
 OnDisable = <function> defined @WIM/Modules/MinimapIcon.lua:412
 RegisterWidget = <function> defined @WIM/WIM.lua:313
 OnEnable = <function> defined @WIM/Modules/MinimapIcon.lua:394
 Enable = <function> defined @WIM/WIM.lua:309
 OnDisableWIM = <function> defined @WIM/Modules/MinimapIcon.lua:383
 canDisable = true
 OnEnableWIM = <function> defined @WIM/Modules/MinimapIcon.lua:372
 dPrint = <function> defined @WIM/WIM.lua:311
 enableByDefault = true
 title = "MinimapIcon"
 RegisterEvent = <function> defined @WIM/WIM.lua:308
 db_defaults = <table> {
 }
 resources = <table> {
 }
 hasWidget = false
 Disable = <function> defined @WIM/WIM.lua:310
}
(*temporary) = "enabled"
(*temporary) = nil
(*temporary) = <function> defined @WIM/Sources/Options/CoreOptions.lua:36
(*temporary) = WIM3_OptionFrameFrame2CheckButton2 {
 0 = <userdata>
 Enable = <function> defined @WIM/Sources/Options/OptionsTookKit.lua:260
 Text = WIM3_OptionFrameFrame2CheckButton2Text {
 }
 CreateCheckButton = <function> defined @WIM/Sources/Options/OptionsTookKit.lua:223
 UpdateChildren = <function> defined @WIM/Sources/Options/OptionsTookKit.lua:284
 _Enable = <function> defined =[C]:-1
 text = WIM3_OptionFrameFrame2CheckButton2Text {
 }
 isCheckButton = true
 _Disable = <function> defined =[C]:-1
 children = <table> {
 }
 Disable = <function> defined @WIM/Sources/Options/OptionsTookKit.lua:272
}
(*temporary) = <function> defined @WIM/Sources/Options/OptionsTookKit.lua:48
(*temporary) = WIM3_OptionFrameFrame2CheckButton2 {
 0 = <userdata>
 Enable = <function> defined @WIM/Sources/Options/OptionsTookKit.lua:260
 Text = WIM3_OptionFrameFrame2CheckButton2Text {
 }
 CreateCheckButton = <function> defined @Ad
Pazza commented 1 year ago

This is a duplicate of #39 This is caused by another addon breaking the WIM.db reference.

wazerstar commented 1 year ago

This is a duplicate of #39 This is caused by another addon breaking the WIM.db reference.

This hapend after wim update, it might be addonskins also causing it but was caused after wim update ?

Addonskins was not updated since last year for WOTLK https://www.curseforge.com/wow/addons/addonskins/files/4259403

Pazza commented 1 year ago

Nothing has been changed in WIM to affect this part of the addon in over a decade.