frozn / TipTac

WoW AddOn TipTac Reborn
GNU General Public License v3.0
118 stars 25 forks source link

Itemref/libs/libitemstring #331

Closed Faulkal closed 3 months ago

Faulkal commented 3 months ago

Describe the bug

Pretty sure i get this lua error when hovering over things, though im not sure what.

Steps to Reproduce

not really sure

Expected behavior

No response

Additional context

3004x TipTacItemRef/libs/LibItemString.lua:321: attempt to call field 'SurfaceArgs' (a nil value) [string "@TipTacItemRef/libs/LibItemString.lua"]:321: in function <TipTacItemRef/libs/LibItemString.lua:316>

[string "@TipTacItemRef/ttItemRef.lua"]:2417: in function `item' [string "@TipTacItemRef/ttItemRef.lua"]:1282: in function <TipTacItemRef/ttItemRef.lua:1271> [string "@TipTac/libs/LibFroznFunctions-1.0-29/LibFroznFunctions-1.0.lua"]:389: in function <...libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:387>

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 functionSetAttribute' [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 "=[C]": in function SetAction' [string "@Bartender4/libs/LibActionButton-1.0-117/LibActionButton-1.0.lua"]:2278: in functionSetTooltip' [string "@Bartender4/libs/LibActionButton-1.0-117/LibActionButton-1.0.lua"]:1985: in function <...er4/libs/LibActionButton-1.0/LibActionButton-1.0.lua:1978> [string "@Bartender4/libs/LibActionButton-1.0-117/LibActionButton-1.0.lua"]:1060: in function <...er4/libs/LibActionButton-1.0/LibActionButton-1.0.lua:1058>

Locals: self =

{ ITEM_LEVEL_PATTERN = "Item Level (%d+)" ITEMSTRING_PROPERTY_INDEX =
{ } TIMEWARPED_LEVEL_ADJUST =
{ } UPGRADED_LEVEL_ADJUST =
{ } ITEMSTRING_PATTERN = "(item:[^|]+)" ScanTip = LibItemStringScanTip { } TOOLTIP_MAXLINE_LEVEL = 5 REVISION = 4 TIMEWARPED_WARFORGED_LEVEL_ADJUST =
{ } } itemLink = "|cffffffff|Hitem:109076::::::::70:70:::::::::|h[Goblin Glider Kit]|h|r" tooltipData =
{ dataInstanceID = 102 type = 0 isAzeriteEmpoweredItem = false isAzeriteItem = false id = 109076 hyperlink = "|cffffffff|Hitem:109076::::::::70:70:::::::::|h[Goblin Glider Kit]|h|r" isCorruptedItem = false lines =
{ } } (temporary) = nil (temporary) =
{ dataInstanceID = 102 type = 0 isAzeriteEmpoweredItem = false isAzeriteItem = false id = 109076 hyperlink = "|cffffffff|Hitem:109076::::::::70:70:::::::::|h[Goblin Glider Kit]|h|r" isCorruptedItem = false lines =
{ } } (*temporary) = "attempt to call field 'SurfaceArgs' (a nil value)" LIS =
{ ITEM_LEVEL_PATTERN = "Item Level (%d+)" ITEMSTRING_PROPERTY_INDEX =
{ } TIMEWARPED_LEVEL_ADJUST =
{ } UPGRADED_LEVEL_ADJUST =
{ } ITEMSTRING_PATTERN = "(item:[^|]+)" ScanTip = LibItemStringScanTip { } TOOLTIP_MAXLINE_LEVEL = 5 REVISION = 4 TIMEWARPED_WARFORGED_LEVEL_ADJUST =
{ } }

Version of TipTac Reborn

24.08.05

Flavor/Version of WoW

retail 11.0.2

fraerie commented 3 months ago

Getting this error when mousing over inventory items

956x TipTacItemRef/libs/LibItemString.lua:321: attempt to call field 'SurfaceArgs' (a nil value) [string "@TipTacItemRef/libs/LibItemString.lua"]:321: in function <TipTacItemRef/libs/LibItemString.lua:316>

[string "@TipTacItemRef/ttItemRef.lua"]:2417: in function `item' [string "@TipTacItemRef/ttItemRef.lua"]:1282: in function <TipTacItemRef/ttItemRef.lua:1271> [string "@TipTac/libs/LibFroznFunctions-1.0-29/LibFroznFunctions-1.0.lua"]:389: in function <...libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:387>

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 functionSetAttribute' [string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:142: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:135> ...

string "=[C]": in function `SetHyperlink' [string "@ArkInventory/Core/ArkInventoryTooltip.lua"]:284: in function <...aceArkInventory/Core/ArkInventoryTooltip.lua:237> [string "@ArkInventory/Core/ArkInventoryTooltip.lua"]:557: in function <...aceArkInventory/Core/ArkInventoryTooltip.lua:417>

[string "@ArkInventory/Core/ArkInventory.lua"]:9199: in function Frame_Item_UpdateTooltip' [string "@ArkInventory/Core/ArkInventory.lua"]:9325: in functionFrame_Item_OnEnter'

Locals: self =

{ ITEM_LEVEL_PATTERN = "Item Level (%d+)" ITEMSTRING_PROPERTY_INDEX =
{ } TIMEWARPED_LEVEL_ADJUST =
{ } UPGRADED_LEVEL_ADJUST =
{ } ITEMSTRING_PATTERN = "(item:[^|]+)" ScanTip = LibItemStringScanTip { } TOOLTIP_MAXLINE_LEVEL = 5 REVISION = 4 TIMEWARPED_WARFORGED_LEVEL_ADJUST =
{ } } itemLink = "|cff1eff00|Hitem:79255::::::::70:102:::::::::|h[Starlight Ink]|h|r" tooltipData =
{ dataInstanceID = 35096 type = 0 isAzeriteEmpoweredItem = false isAzeriteItem = false id = 79255 hyperlink = "|cff1eff00|Hitem:79255::::::::70:102:::::::::|h[Starlight Ink]|h|r" isCorruptedItem = false lines =
{ } } (temporary) = nil (temporary) =
{ dataInstanceID = 35096 type = 0 isAzeriteEmpoweredItem = false isAzeriteItem = false id = 79255 hyperlink = "|cff1eff00|Hitem:79255::::::::70:102:::::::::|h[Starlight Ink]|h|r" isCorruptedItem = false lines =
{ } } (*temporary) = "attempt to call field 'SurfaceArgs' (a nil value)" LIS =
{ ITEM_LEVEL_PATTERN = "Item Level (%d+)" ITEMSTRING_PROPERTY_INDEX =
{ } TIMEWARPED_LEVEL_ADJUST =
{ } UPGRADED_LEVEL_ADJUST =
{ } ITEMSTRING_PATTERN = "(item:[^|]+)" ScanTip = LibItemStringScanTip { } TOOLTIP_MAXLINE_LEVEL = 5 REVISION = 4 TIMEWARPED_WARFORGED_LEVEL_ADJUST =
{ } }

Aur0r4 commented 3 months ago

It is also happening when hover over Items in your actionbar (like trinkets or questitems). Happening since the 11.0.2 patch.

frozn commented 3 months ago

Thanks for reporting this! 👍

Calling TooltipUtil.SurfaceArgs() is obsolete (since df 10.1.0) and can be removed. The fix will be included in the next release.

Duplicate of #330.