arkayenro / arkinventory

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

[BUG] Tooltips and Transmogs #1941

Open thisisu opened 3 months ago

thisisu commented 3 months ago

What version number you are using? Alpha27

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

What language is the game client set to?

English

Describe the bug

14x ArkInventory/Core/ArkInventory.lua:8076: bad argument #1 to 'pairs' (table expected, got nil)
[string "=[C]"]: ?
[string "@ArkInventory/Core/ArkInventory.lua"]:8076: in function `ItemTransmogStateAccount'
[string "@ArkInventory/Core/ArkInventoryTooltip.lua"]:2571: in function `TooltipAddTransmogOwned'
[string "@ArkInventory/Core/ArkInventoryTooltip.lua"]:3210: in function <...aceArkInventory/Core/ArkInventoryTooltip.lua:3166>
[string "=(tail call)"]: ?
[string "=[C]"]: in function `securecallfunction'
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:61: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:56>
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:81: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:77>
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:117: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:107>
[string "=[C]"]: in function `SetAttribute'
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:142: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:135>
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:288: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:238>
[string "=[C]"]: in function `securecallfunction'
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:235: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:234>
[string "=(tail call)"]: ?
[string "@Blizzard_UIPanels_Game/Mainline/MerchantFrame.lua"]:684: in function `MerchantItemButton_OnEnter'
[string "*MerchantFrame.xml:46_OnEnter"]:1: in function <[string "*MerchantFrame.xml:46_OnEnter"]:1>

Locals:
(*temporary) = nil
(*temporary) = "table expected, got nil"

To Reproduce Visit Leutenant Tristia in Stormwind. Select the Ensemble: Vicious Gladiator's Silk Armor item for 12 honor tokens and try to preview it and also hover over the purchasable item.

Screenshots

image

Additional context Add any other context about the problem here.

arkayenro commented 3 months ago

hmm, presumably its a delay issue with the server not returning the actual set table. will wrap some extra code around it to check for that so it doesnt error.

will be fixed in the next alpha

arkayenro commented 3 months ago

should be fixed in alpha 28