Lua error and maybe wrong Ace3 lib choosen
Opened this issue ยท 1 comments
What version number you are using?
10.0.1
What game client are you playing? Retail, Burning Crusade, Classic / Live, PTR, Beta
Retail 10.0.0.46313
What language is the game client set to?
German
Describe the bug
A clear and concise description of what the bug is.
On log in an lua error occurs (see below in "Additional context"). It looks like that AutoTurnIn takes the library from the first folder it founds inside the "AddOns" folder. Is AutoTurnIn using an old version of Ace3?
To Reproduce
Steps to reproduce the behaviour, if possible:
Log in to game with AutoTurnIn and ArkInventory active
It is also reproduceable if you install "Ace3" as dedicated addon.
Additional context
Add any other context about the problem here.
Message: Interface/AddOns/AutoTurnIn/AutoTurnIn.lua:94: attempt to call method 'LibDataStructure' (a nil value)
Time: Thu Oct 27 14:32:37 2022
Count: 1
Stack: Interface/AddOns/AutoTurnIn/AutoTurnIn.lua:94: attempt to call method 'LibDataStructure' (a nil value)
[string "@Interface/AddOns/AutoTurnIn/AutoTurnIn.lua"]:94: in function <Interface/AddOns/AutoTurnIn/AutoTurnIn.lua:63>
[string "=[C]"]: ?
[string "@Interface/AddOns/ArkInventory/Externals/Ace3/AceAddon/AceAddon-3.0.lua"]:66: in function <...rkInventory/Externals/Ace3/AceAddon/AceAddon-3.0.lua:61>
[string "@Interface/AddOns/ArkInventory/Externals/Ace3/AceAddon/AceAddon-3.0.lua"]:523: in function `EnableAddon'
[string "@Interface/AddOns/ArkInventory/Externals/Ace3/AceAddon/AceAddon-3.0.lua"]:626: in function <...rkInventory/Externals/Ace3/AceAddon/AceAddon-3.0.lua:611>
[string "=[C]"]: in function `LoadAddOn'
[string "@Interface/AddOns/ArkInventory/Core/ArkInventory.lua"]:11090: in function `LoadAddOn'
[string "@Interface/AddOns/ArkInventory/Core/ArkInventory.lua"]:11106: in function `BlizzardAPIHook'
[string "@Interface/AddOns/ArkInventory/Core/ArkInventory.lua"]:2886: in function <Interface/AddOns/ArkInventory/Core/ArkInventory.lua:2855>
[string "=[C]"]: ?
[string "@Interface/AddOns/ArkInventory/Externals/Ace3/AceAddon/AceAddon-3.0.lua"]:66: in function <...rkInventory/Externals/Ace3/AceAddon/AceAddon-3.0.lua:61>
[string "@Interface/AddOns/ArkInventory/Externals/Ace3/AceAddon/AceAddon-3.0.lua"]:523: in function `EnableAddon'
[string "@Interface/AddOns/ArkInventory/Externals/Ace3/AceAddon/AceAddon-3.0.lua"]:626: in function <...rkInventory/Externals/Ace3/AceAddon/AceAddon-3.0.lua:611>
Locals: <none>
** Alternative lua error with "Ace3" installed **
Message: Interface/AddOns/AutoTurnIn/AutoTurnIn.lua:94: attempt to call method 'LibDataStructure' (a nil value)
Time: Thu Oct 27 14:46:17 2022
Count: 1
Stack: Interface/AddOns/AutoTurnIn/AutoTurnIn.lua:94: attempt to call method 'LibDataStructure' (a nil value)
[string "@Interface/AddOns/AutoTurnIn/AutoTurnIn.lua"]:94: in function <Interface/AddOns/AutoTurnIn/AutoTurnIn.lua:63>
[string "=[C]"]: ?
[string "@Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua"]:66: in function <Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua"]:523: in function `EnableAddon'
[string "@Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua"]:626: in function <Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua:611>
[string "=[C]"]: in function `LoadAddOn'
[string "@Interface/AddOns/ArkInventory/Core/ArkInventory.lua"]:11090: in function `LoadAddOn'
[string "@Interface/AddOns/ArkInventory/Core/ArkInventory.lua"]:11106: in function `BlizzardAPIHook'
[string "@Interface/AddOns/ArkInventory/Core/ArkInventory.lua"]:2886: in function <Interface/AddOns/ArkInventory/Core/ArkInventory.lua:2855>
[string "=[C]"]: ?
[string "@Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua"]:66: in function <Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua"]:523: in function `EnableAddon'
[string "@Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua"]:626: in function <Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua:611>
Locals: <none>
https://github.com/lure/AutoTurnIn/blob/master/AutoTurnIn.lua#L94