TipTac Reborn

TipTac Reborn

862k Downloads

LUA error on paragon reward tooltip

hollo6 opened this issue ยท 3 comments

commented

Describe the bug
Upon hovering over a paragon reward tooltip, I get the following LUA error:
45x ...libs/LibFroznFunctions-1.0-4/LibFroznFunctions-1.0.lua:255: attempt to perform arithmetic on a nil value
[string "@TipTac/libs/LibFroznFunctions-1.0-4/LibFroznFunctions-1.0.lua"]:255: in function RefreshAnchorShoppingTooltips' [string "@TipTac/ttCore.lua"]:2206: in function <TipTac/ttCore.lua:2204> [string "=[C]"]: in function GameTooltip_ShowCompareItem'
[string "@FrameXML/QuestUtils.lua"]:466: in function QuestUtils_AddQuestRewardsToTooltip' [string "@FrameXML/GameTooltip.lua"]:217: in function <FrameXML/GameTooltip.lua:201> [string "=[C]"]: in function GameTooltip_AddQuestRewardsToTooltip'
[string "@FrameXML/ReputationFrame.lua"]:312: in function `ReputationParagonFrame_SetupParagonTooltip'
[string "@FrameXML/ReputationFrame.lua"]:333: in function <FrameXML/ReputationFrame.lua:330>

Locals:
self =

{
CreatePushArray = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:580
GetAverageItemLevel = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:2133
MixinDifferingObjects = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:715
FormatText = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:372
RegisterForGroupEvents = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:776
GetValueFromObjectByPath = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:677
MirrorAnchorPointCentered = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1140
HookScriptOnTooltipSetItem = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:170
IsAverageItemLevelAvailable = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:2105
CallFunctionAndSuppressErrorMessageAndSpeech = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:653
AreTalentsAvailable = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1955
GetItemQualityColor = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:988
CanInspect = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1737
IsInspectFrameOpen = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1729
RegisterNewSlashCommands = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:848
IsTableEmpty = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:396
RecalculateSizeOfGameTooltip = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1262
InspectUnit = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1629
CreateUnitRecord = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1530
CreateMarkupForClassIcon = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1066
UnitIsWildBattlePet = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:75
UpdateUnitRecord = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1567
ExistsInTable = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:589
HookSecureFuncIfExists = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:746
GetClassColorByClassFile = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:947
UnitIsBattlePetCompanion = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:87
GetUnitReactionIndex = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1430
GetPowerColor = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:979
FontExists = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1280
TextureExists = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1307
RemoveCallbackFromQueuedInspectCallbacks = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1675
IsFrameBackInFrameChain = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1223
CallFunctionDelayed = defined @

To Reproduce
Steps to reproduce the behavior:

  1. Have an uncollected paragon reward chest
  2. Open Reputation pane
  3. Hover over the paragon reward (bag icon)
  4. See the above LUA error pop up

Expected behavior
No LUA errors should be popping up.

Screenshots
image

TipTac Reborn (please complete the following information):

WoW (please complete the following information):

  • Flavor: Retail
  • Version 10.0.5
commented

Fixed in main branch. Will be included in the next release. ๐Ÿ‘

commented

I pushed out all fixes regarding comparing items with today's release (v23.02.06).

commented

Working now, thank you!