ItemLevelDisplay

ItemLevelDisplay

449k Downloads

10.0.0 Release errors on game start

amiyuy opened this issue ยท 1 comments

commented

Version: 2.3.0

Bags: Blizzard default (which got an overhaul with 10.0.0)

Error 1

Time: Wed Oct 26 18:19:21 2022
Count: 1
Stack: AceEvent30Frame:RegisterEvent(): AceEvent30Frame:RegisterEvent(): Attempt to register unknown event "ITEM_UPGRADE_MASTER_UPDATE"
[string "=[C]"]: in function `RegisterEvent'
[string "@Interface/AddOns/Ace3/AceEvent-3.0/AceEvent-3.0.lua"]:33: in function `OnUsed'
[string "@Interface/AddOns/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:137: in function `RegisterEvent'
[string "@Interface/AddOns/ItemLevelDisplay/ItemLevelDisplay.lua"]:727: in function `OnInitialized'
[string "@Interface/AddOns/ItemLevelDisplay/libs/LibInit/LibInit.lua"]:996: in function <...ace/AddOns/ItemLevelDisplay/libs/LibInit/LibInit.lua:944>
[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"]:494: in function `InitializeAddon'
[string "@Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua"]:619: in function <Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua:611>

Locals: <none>

Error 2

Time: Wed Oct 26 18:19:42 2022
Count: 1
Stack: Interface/AddOns/ILD-Blizzard/core.lua:6: Usage: SecureHook([object], method, [handler]): Attempting to hook a non existing target
[string "=[C]"]: ?
[string "@Interface/AddOns/Ace3/AceHook-3.0/AceHook-3.0.lua"]:210: in function <Interface/AddOns/Ace3/AceHook-3.0/AceHook-3.0.lua:118>
[string "@Interface/AddOns/Ace3/AceHook-3.0/AceHook-3.0.lua"]:340: in function `SecureHook'
[string "@Interface/AddOns/ILD-Blizzard/core.lua"]:6: in function `OnEnabled'
[string "@Interface/AddOns/ItemLevelDisplay/Bags.lua"]:104: in function <Interface/AddOns/ItemLevelDisplay/Bags.lua:101>
[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>
commented

Check the comments for the add-on itself for a workaround for the first issue.

For the second issue, in very limited testing, commenting out line 6 in ILD-Blizzard/core.lua as below (put a -- at the start of the line) gets rid of the LUA error, I'm no expert but looks like that function was removed by Blizzard and not replaced with anything obvious.

--self:SecureHook("ContainerFrameItemButton_UpdateItemUpgradeIcon","Display")