frozn / TipTac

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

errors if hovering over the item Nethershard or Class Hall resources #318

Closed frozn closed 3 months ago

frozn commented 4 months ago

Describe the bug

From: kraiden

Hover over the item Nethershard:

Message: Interface/AddOns/TipTacItemRef/ttItemRef.lua:921: attempt to call global 'GetQuestCurrencyInfo' (a nil value)
Time: Sat Jul 27 22:19:10 2024
Count: 11
Stack: Interface/AddOns/TipTacItemRef/ttItemRef.lua:921: attempt to call global 'GetQuestCurrencyInfo' (a nil value)
[string "@Interface/AddOns/TipTacItemRef/ttItemRef.lua"]:921: in function <Interface/AddOns/TipTacItemRef/ttItemRef.lua:918>
[string "=[C]"]: in function `SetQuestCurrency'
[string "@Interface/AddOns/Blizzard_UIPanels_Game/Mainline/QuestInfo.lua"]:1250: in function `UpdateTooltip'
[string "@Interface/AddOns/Blizzard_GameTooltip/Mainline/GameTooltip.lua"]:421: in function <...AddOns/Blizzard_GameTooltip/Mainline/GameTooltip.lua:414>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?

Locals: self = GameTooltip {
 ItemTooltip = Frame {
 }
 BottomOverlay = Texture {
 }
 NineSlice = Frame {
 }
 TopEdge = Texture {
 }
 LeftEdge = Texture {
 }
 textLeft1Font = "GameTooltipHeaderText"
 hasMoney = 1
 processingInfo = <table> {
 }
 infoList = <table> {
 }
 textRight2Font = "GameTooltipText"
 TopOverlay = Texture {
 }
 TextLeft1 = GameTooltipTextLeft1 {
 }
 StatusBar = GameTooltipStatusBar {
 }
 shouldRefreshData = false
 numMoneyFrames = 1
 waitingForData = false
 BottomRightCorner = Texture {
 }
 updateTooltipTimer = 0.200000
 Center = Texture {
 }
 supportsDataRefresh = true
 RightEdge = Texture {
 }
 BottomEdge = Texture {
 }
 ttCount = FontString {
 }
 BottomLeftCorner = Texture {
 }
 TopRightCorner = Texture {
 }
 TopLeftCorner = Texture {
 }
 backdropInfo = <table> {
 }
 ttIcon = Texture {
 }
 supportsItemComparison = true
 shoppingTooltips = <table> {
 }
 TextRight1 = GameTooltipTextRight1 {
 }
 textRight1Font = "GameTooltipHeaderText"
 textLeft2Font = "GameTooltipText"
 TextRight2 = GameTooltipTextRight2 {
 }
 TextLeft2 = GameTooltipTextLeft2 {
 }
}
_type = "reward"
index = 1
currencyID = 1226
(*temporary) = nil
(*temporary) = "reward"
(*temporary) = 1
(*temporary) = "attempt to call global 'GetQuestCurrencyInfo' (a nil value)"
cfg = <table> {
 gttScale = 0.800000
 showCurrentUnitSpeed = false
 classification_elite = "+%s "
 iconFaction = false
 tipBackdropEdge = "Interface\Tooltips\UI-Tooltip-Border"
 optionsLeft = 257.000275
 hideFactionText = true
 tipBackdropBG = "Interface\Tooltips\UI-Tooltip-Background"
 classification_normal = "%s "
 classification_minus = "-%s "
 iconCombat = false
 fontSize = 12
 classification_rare = "%s (Rare) "
 optionsBottom = 397.000031
 showStatus = true
 anchorFrameTipType = "mouse"
 classification_trivial = "~%s "
 classification_worldboss = "%s (Boss) "
 showPlayerGender = false
 colorNameByClass = false
 classColoredBorder = false
 anchorWorldUnitType = "mouse"
 nameType = "normal"
 targetYouText = "[YOU]"
 showGuildRank = false
 top = 468.000223
 hidePvpText = true
 minimapConfig = <table> {
 }
 classification_rareelite = "+%s (Rare) "
 left = 1011.999514
 anchorWorldTipType = "mouse"
 anchorFrameUnitType = "mouse"
 showMount = false
}
tipDataAdded = <table> {
}
gtt = GameTooltip {
 ItemTooltip = Frame {
 }
 BottomOverlay = Texture {
 }
 NineSlice = Frame {
 }
 TopEdge = Texture {
 }
 LeftEdge = Texture {
 }
 textLeft1Font = "GameTooltipHeaderText"
 hasMoney = 1
 processingInfo = <table> {
 }
 infoList = <table> {
 }
 textRight2Font = "GameTooltipText"
 TopOverlay = Texture {
 }
 TextLeft1 = GameTooltipTextLeft1 {
 }
 StatusBar = GameTooltipStatusBar {
 }
 shouldRefreshData = false
 numMoneyFrames = 1
 waitingForData = false
 BottomRightCorner = Texture {
 }
 updateTooltipTimer = 0.200000
 Center = Texture {
 }
 supportsDataRefresh = true
 RightEdge = Texture {
 }
 BottomEdge = Texture {
 }
 ttCount = FontString {
 }
 BottomLeftCorner = Texture {
 }
 TopRightCorner = Texture {
 }
 TopLeftCorner = Texture {
 }
 backdropInfo = <table> {
 }
 ttIcon = Texture {
 }
 supportsItemComparison = true
 shoppingTooltips = <table> {
 }
 TextRight1 = GameTooltipTextRight1 {
 }
 textRight1Font = "GameTooltipHeaderText"
 textLeft

When I hover over Class Hall resources:

Message: Interface/AddOns/TipTacItemRef/ttItemRef.lua:921: attempt to call global 'GetQuestCurrencyInfo' (a nil value)
Time: Sat Jul 27 21:52:13 2024
Count: 4
Stack: Interface/AddOns/TipTacItemRef/ttItemRef.lua:921: attempt to call global 'GetQuestCurrencyInfo' (a nil value)
[string "@Interface/AddOns/TipTacItemRef/ttItemRef.lua"]:921: in function <Interface/AddOns/TipTacItemRef/ttItemRef.lua:918>
[string "=[C]"]: in function `SetQuestCurrency'
[string "@Interface/AddOns/Blizzard_UIPanels_Game/Mainline/QuestInfo.lua"]:1250: in function <...AddOns/Blizzard_UIPanels_Game/Mainline/QuestInfo.lua:1229>

Locals: self = GameTooltip {
 ItemTooltip = Frame {
 }
 BottomOverlay = Texture {
 }
 NineSlice = Frame {
 }
 TopEdge = Texture {
 }
 LeftEdge = Texture {
 }
 textLeft1Font = "GameTooltipHeaderText"
 hasMoney = 1
 textRight2Font = "GameTooltipText"
 TopOverlay = Texture {
 }
 processingInfo = <table> {
 }
 infoList = <table> {
 }
 TextLeft1 = GameTooltipTextLeft1 {
 }
 StatusBar = GameTooltipStatusBar {
 }
 shouldRefreshData = false
 numMoneyFrames = 1
 waitingForData = false
 TopRightCorner = Texture {
 }
 updateTooltipTimer = 0.132000
 Center = Texture {
 }
 RightEdge = Texture {
 }
 BottomEdge = Texture {
 }
 supportsDataRefresh = true
 BottomRightCorner = Texture {
 }
 BottomLeftCorner = Texture {
 }
 ttCount = FontString {
 }
 TopLeftCorner = Texture {
 }
 backdropInfo = <table> {
 }
 ttIcon = Texture {
 }
 supportsItemComparison = true
 shoppingTooltips = <table> {
 }
 TextRight1 = GameTooltipTextRight1 {
 }
 textRight1Font = "GameTooltipHeaderText"
 textLeft2Font = "GameTooltipText"
 TextRight2 = GameTooltipTextRight2 {
 }
 TextLeft2 = GameTooltipTextLeft2 {
 }
}
_type = "reward"
index = 1
currencyID = 1220
(*temporary) = nil
(*temporary) = "reward"
(*temporary) = 1
(*temporary) = "attempt to call global 'GetQuestCurrencyInfo' (a nil value)"
cfg = <table> {
 gttScale = 0.800000
 showCurrentUnitSpeed = false
 classification_elite = "+%s "
 iconFaction = false
 tipBackdropEdge = "Interface\Tooltips\UI-Tooltip-Border"
 optionsLeft = 257.000275
 hideFactionText = true
 tipBackdropBG = "Interface\Tooltips\UI-Tooltip-Background"
 classification_normal = "%s "
 classification_minus = "-%s "
 iconCombat = false
 fontSize = 12
 classification_rare = "%s (Rare) "
 optionsBottom = 397.000031
 showStatus = true
 anchorFrameTipType = "mouse"
 classification_trivial = "~%s "
 classification_worldboss = "%s (Boss) "
 showPlayerGender = false
 colorNameByClass = false
 classColoredBorder = false
 anchorWorldUnitType = "mouse"
 showMount = false
 targetYouText = "[YOU]"
 top = 468.000223
 showGuildRank = false
 anchorWorldTipType = "mouse"
 left = 1011.999514
 classification_rareelite = "+%s (Rare) "
 minimapConfig = <table> {
 }
 hidePvpText = true
 anchorFrameUnitType = "mouse"
 nameType = "normal"
}
tipDataAdded = <table> {
}
gtt = GameTooltip {
 ItemTooltip = Frame {
 }
 BottomOverlay = Texture {
 }
 NineSlice = Frame {
 }
 TopEdge = Texture {
 }
 LeftEdge = Texture {
 }
 textLeft1Font = "GameTooltipHeaderText"
 hasMoney = 1
 textRight2Font = "GameTooltipText"
 TopOverlay = Texture {
 }
 processingInfo = <table> {
 }
 infoList = <table> {
 }
 TextLeft1 = GameTooltipTextLeft1 {
 }
 StatusBar = GameTooltipStatusBar {
 }
 shouldRefreshData = false
 numMoneyFrames = 1
 waitingForData = false
 TopRightCorner = Texture {
 }
 updateTooltipTimer = 0.132000
 Center = Texture {
 }
 RightEdge = Texture {
 }
 BottomEdge = Texture {
 }
 supportsDataRefresh = true
 BottomRightCorner = Texture {
 }
 BottomLeftCorner = Texture {
 }
 ttCount = FontString {
 }
 TopLeftCorner = Texture {
 }
 backdropInfo = <table> {
 }
 ttIcon = Texture {
 }
 supportsItemComparison = true
 shoppingTooltips = <table> {
 }
 TextRight1 = GameTooltipTextRight1 {
 }
 textRight1Font = "GameTooltipHeaderText"
 textLeft2Font = "GameTooltipText"
 TextRight2 = GameTooltipTextRight2 {
 }
 TextLeft2 = GameTooltipTextLeft2 {
 }
}
LinkTypeFuncs = <table> {
}

and

Message: Interface/AddOns/TipTacItemRef/ttItemRef.lua:921: attempt to call global 'GetQuestCurrencyInfo' (a nil value)
Time: Sat Jul 27 21:52:14 2024
Count: 21
Stack: Interface/AddOns/TipTacItemRef/ttItemRef.lua:921: attempt to call global 'GetQuestCurrencyInfo' (a nil value)
[string "@Interface/AddOns/TipTacItemRef/ttItemRef.lua"]:921: in function <Interface/AddOns/TipTacItemRef/ttItemRef.lua:918>
[string "=[C]"]: in function `SetQuestCurrency'
[string "@Interface/AddOns/Blizzard_UIPanels_Game/Mainline/QuestInfo.lua"]:1250: in function `UpdateTooltip'
[string "@Interface/AddOns/Blizzard_GameTooltip/Mainline/GameTooltip.lua"]:421: in function <...AddOns/Blizzard_GameTooltip/Mainline/GameTooltip.lua:414>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?

Locals: self = GameTooltip {
 ItemTooltip = Frame {
 }
 BottomOverlay = Texture {
 }
 NineSlice = Frame {
 }
 TopEdge = Texture {
 }
 LeftEdge = Texture {
 }
 textLeft1Font = "GameTooltipHeaderText"
 hasMoney = 1
 textRight2Font = "GameTooltipText"
 TopOverlay = Texture {
 }
 processingInfo = <table> {
 }
 infoList = <table> {
 }
 TextLeft1 = GameTooltipTextLeft1 {
 }
 StatusBar = GameTooltipStatusBar {
 }
 shouldRefreshData = false
 numMoneyFrames = 1
 waitingForData = false
 TopRightCorner = Texture {
 }
 updateTooltipTimer = 0.200000
 Center = Texture {
 }
 RightEdge = Texture {
 }
 BottomEdge = Texture {
 }
 supportsDataRefresh = true
 BottomRightCorner = Texture {
 }
 BottomLeftCorner = Texture {
 }
 ttCount = FontString {
 }
 TopLeftCorner = Texture {
 }
 backdropInfo = <table> {
 }
 ttIcon = Texture {
 }
 supportsItemComparison = true
 shoppingTooltips = <table> {
 }
 TextRight1 = GameTooltipTextRight1 {
 }
 textRight1Font = "GameTooltipHeaderText"
 textLeft2Font = "GameTooltipText"
 TextRight2 = GameTooltipTextRight2 {
 }
 TextLeft2 = GameTooltipTextLeft2 {
 }
}
_type = "reward"
index = 1
currencyID = 1220
(*temporary) = nil
(*temporary) = "reward"
(*temporary) = 1
(*temporary) = "attempt to call global 'GetQuestCurrencyInfo' (a nil value)"
cfg = <table> {
 gttScale = 0.800000
 showCurrentUnitSpeed = false
 classification_elite = "+%s "
 iconFaction = false
 tipBackdropEdge = "Interface\Tooltips\UI-Tooltip-Border"
 optionsLeft = 257.000275
 hideFactionText = true
 tipBackdropBG = "Interface\Tooltips\UI-Tooltip-Background"
 classification_normal = "%s "
 classification_minus = "-%s "
 iconCombat = false
 fontSize = 12
 classification_rare = "%s (Rare) "
 optionsBottom = 397.000031
 showStatus = true
 anchorFrameTipType = "mouse"
 classification_trivial = "~%s "
 classification_worldboss = "%s (Boss) "
 showPlayerGender = false
 colorNameByClass = false
 classColoredBorder = false
 anchorWorldUnitType = "mouse"
 showMount = false
 targetYouText = "[YOU]"
 top = 468.000223
 showGuildRank = false
 anchorWorldTipType = "mouse"
 left = 1011.999514
 classification_rareelite = "+%s (Rare) "
 minimapConfig = <table> {
 }
 hidePvpText = true
 anchorFrameUnitType = "mouse"
 nameType = "normal"
}
tipDataAdded = <table> {
}
gtt = GameTooltip {
 ItemTooltip = Frame {
 }
 BottomOverlay = Texture {
 }
 NineSlice = Frame {
 }
 TopEdge = Texture {
 }
 LeftEdge = Texture {
 }
 textLeft1Font = "GameTooltipHeaderText"
 hasMoney = 1
 textRight2Font = "GameTooltipText"
 TopOverlay = Texture {
 }
 processingInfo = <table> {
 }
 infoList = <table> {
 }
 TextLeft1 = GameTooltipTextLeft1 {
 }
 StatusBar = GameTooltipStatusBar {
 }
 shouldRefreshData = false
 numMoneyFrames = 1
 waitingForData = false
 TopRightCorner = Texture {
 }
 updateTooltipTimer = 0.200000
 Center = Texture {
 }
 RightEdge = Texture {
 }
 BottomEdge = Texture {
 }
 supportsDataRefresh = true
 BottomRightCorner = Texture {
 }
 BottomLeftCorner = Texture {
 }
 ttCount = FontString {
 }
 TopLeftCorner = Texture {
 }
 backdropInfo = <table> {
 }
 ttIcon = Texture {
 }
 supportsItemComparison = true
 shoppingTooltips = <table> {
 }
 TextRight1 = GameTooltipTextRight1 {
 }
 textRight1Font = "GameTooltipHeaderText"
 textLeft

Source: https://legacy.curseforge.com/wow/addons/tiptac-reborn/?comment=531 https://legacy.curseforge.com/wow/addons/tiptac-reborn/?comment=530

Steps to Reproduce

No response

Expected behavior

No response

Additional context

No response

Version of TipTac Reborn

24.07.26

Flavor/Version of WoW

11.0.0

frozn commented 4 months ago

Duplicate of #319.

frozn commented 4 months ago

Fix will be included in the next release.