arkayenro / arkinventory

A World of Warcraft Inventory mod for Retail, Burning Crusade, and Classic
108 stars 14 forks source link

[BUG] LUA error WEAR_EQUIPMENT_SET #1779

Closed hollo6 closed 1 year ago

hollo6 commented 1 year ago

What version number you are using? 3.10.14

What game client are you playing? Retail, Wrath, Classic / Live, PTR, Beta Retail

What language is the game client set to? enGB

Describe the bug On login/reload, I always get the following printout: [10:11:17] ArkInventory: WARNING> skipped event: WEAR_EQUIPMENT_SET: AceEvent30Frame:RegisterEvent(): AceEvent30Frame:RegisterEvent(): Attempt to register unknown event "WEAR_EQUIPMENT_SET"

If some other addons are enabled (I can reproduce this every time with PetTracker and sporadically with some others), I get the following LUA error on every login/reload:

4x AceEvent30Frame:RegisterEvent(): AceEvent30Frame:RegisterEvent(): Attempt to register unknown event "WEAR_EQUIPMENT_SET" string "=[C]": in function RegisterEvent' [string "@Ace3/AceEvent-3.0-4/AceEvent-3.0.lua"]:33: in functionOnUsed' [string "@Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:66: in function Fire' [string "@Ace3/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <Ace3/AceEvent-3.0/AceEvent-3.0.lua:119> [string "=[C]"]: in functionLoadAddOn' [string "@FrameXML/UIParent.lua"]:544: in function UIParentLoadAddOn' [string "@FrameXML/UIParent.lua"]:595: in functionCombatLog_LoadUI' [string "@FrameXML/UIParent.lua"]:1531: in function <FrameXML/UIParent.lua:1409>

Locals: (temporary) = AceEvent30Frame { 0 = } (temporary) = "WEAR_EQUIPMENT_SET"

To Reproduce

  1. Enable some other addon (100% reproducible with PetTracker).
  2. Reload.
  3. Observe LUA error.

Additional context Reproducible with only AI + PetTracker enabled. No error if only PetTracker is enabled. Commenting out L2995 in ArkInventory.lua seems to fix the issue but I have no idea if this has other consequences.

hollo6 commented 1 year ago

Fixed in 3.10.15, thanks!