
TipTac Errors out when hovering over static object that has a health bar.
Closed this issue ยท 7 comments
Describe the bug
Hovering over Radiant Remnant in Hallowfall around 66.4, 16.7
6x TipTac/modules/ttStyle.lua:809: attempt to index field '?' (a nil value)
[TipTac/modules/ttStyle.lua]:809: in function '?'
[TipTac/libs/LibFroznFunctions-1.0-43/LibFroznFunctions-1.0.lua]:1443: in function 'FireGroupEvent'
[TipTac/ttCore.lua]:3874: in function 'SetUnitAppearanceToTip'
[TipTac/ttCore.lua]:3974: in function '?'
[TipTac/libs/LibFroznFunctions-1.0-43/LibFroznFunctions-1.0.lua]:1443: in function 'FireGroupEvent'
[TipTac/ttCore.lua]:2172: in function 'SetCurrentDisplayParams'
[TipTac/ttCore.lua]:2060: in function <TipTac/ttCore.lua:2059>
[TipTac/libs/LibFroznFunctions-1.0-43/LibFroznFunctions-1.0.lua]:358: in function <...libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:356>
[tail call]: ?
[C]: in function 'securecallfunction'
[Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:61: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:56>
[Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:81: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:77>
[Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:117: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:107>
[C]: in function 'SetAttribute'
[Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:142: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:135>
[Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:288: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:238>
[C]: in function 'securecallfunction'
[Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:235: in function 'ProcessInfo'
[Blizzard_GameTooltip/Mainline/GameTooltip.lua]:964: in function 'SetWorldCursor'
[Blizzard_UIParent/Mainline/UIParent.lua]:1358: in function <...rfaceBlizzard_UIParent/Mainline/UIParent.lua:1278>
Locals:
self = <table> {
}
TT_CacheForFrames = <table> {
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
}
tip = 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 {
}
ttWorkaroundForFirstMouseoverStatus = 0
numMoneyFrames = 1
waitingForData = false
BottomRightCorner = Texture {
}
updateTooltipTimer = 0.164000
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 {
}
}
currentDisplayParams = <table> {
anchorFrameName = "WorldUnit"
hideTip = false
isSet = true
extraPaddingBottomForBars = 13
firstCallDoneUnitAppearance = false
anchorPoint = "BOTTOMLEFT"
unitRecord = <table> {
}
anchorType = "mouse"
isSetTemporarily = false
defaultAnchoredParentFrame = UIParent {
}
lockedBackdropInfo = <table> {
}
lockedBackdropBorderColor = <table> {
}
tipContent = 1
lockedBackdropColor = <table> {
}
defaultAnchored = true
}
first = true
unitRecord = <table> {
isNPC = true
health = 1614953
reactionIndex = 7
guid = "Creature-0-4231-2601-9493-205849-0006D495A3"
isColorBlind = false
powerMax = 0
isTipTacDeveloper = false
sex = 1
healthMax = 1614953
normalizedRealmName = "Thunderhorn"
originalName = "Light Detector"
fullPlayerName = "Light Detector-Thunderhorn"
level = 80
nameWithForeignRealmSuffix = "Light Detector"
isBattlePetCompanion = false
className = "Light Detector"
isPlayer = false
classification = "normal"
isBattlePet = false
power = 0
id = "mouseover"
nameWithTitle = "Light Detector"
classID = 1
classFile = "WARRIOR"
isSelf = false
powerType = 1
name = "Light Detector"
isOtherPlayer = false
nameWithNormalizedForeignRealmName = "Light Detector"
timestamp = 36482.222000
isPet = false
isWildBattlePet = false
}
unitTooltipData = <table> {
dataInstanceID = 73695
type = 2
guid = "Creature-0-4231-2601-9493-205849-0006D495A3"
lines = <table> {
}
healthGUID = "Creature-0-4231-2601-9493-205849-0006D495A3"
}
(*temporary) = nil
(*temporary) = "colorblindMode"
(*temporary) = "0"
(*temporary) = "0"
(*temporary) = "colorblindMode"
(*temporary) = "0"
(*temporary) = <table> {
dataInstanceID = 73695
type = 2
guid = "Creature-0-4231-2601-9493-205849-0006D495A3"
lines = <table> {
}
healthGUID = "Creature-0-4231-2601-9493-205849-0006D495A3"
}
(*temporary) = "mouseover"
(*temporary) = "attempt to index field '?' (a nil value)"
cfg = <table> {
showUnitTip = true
tipBackdropBGLayout = "stretch"
tipBackdropEdge = "Interface\AddOns\!mMT_MediaPack\media\border\pixel.tga"
if_showAuraSpellIdAndRank = false
anchorFrameUnitPoint = "BOTTOMLEFT"
enableColorName = true
showDebuffs = true
enableChatHoverTips = true
left = 1517.833740
enableIcons = true
reactColoredBackdrop = false
enableCustomClassColors = false
gradientColor = <table> {
}
minimapConfig = <table> {
}
pixelPerfectBackdrop = false
top = 390.166687
Steps to Reproduce
No response
Expected behavior
No response
Additional context
No response
Version of TipTac Reborn
25.06.19
Flavor/Version of WoW
retail 11.1.7
It seems to be happening on static objects that for whatever reason have an HP bar. The explorer's league supplies in dornogal are triggering it too.
16x TipTac/modules/ttStyle.lua:809: attempt to index field '?' (a nil value)
[TipTac/modules/ttStyle.lua]:809: in function '?'
[TipTac/libs/LibFroznFunctions-1.0-43/LibFroznFunctions-1.0.lua]:1443: in function 'FireGroupEvent'
[TipTac/ttCore.lua]:3874: in function 'SetUnitAppearanceToTip'
[TipTac/ttCore.lua]:3974: in function '?'
[TipTac/libs/LibFroznFunctions-1.0-43/LibFroznFunctions-1.0.lua]:1443: in function 'FireGroupEvent'
[TipTac/ttCore.lua]:2172: in function 'SetCurrentDisplayParams'
[TipTac/ttCore.lua]:2060: in function <TipTac/ttCore.lua:2059>
[TipTac/libs/LibFroznFunctions-1.0-43/LibFroznFunctions-1.0.lua]:358: in function <...libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:356>
[tail call]: ?
[C]: in function 'securecallfunction'
[Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:61: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:56>
[Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:81: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:77>
[Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:117: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:107>
[C]: in function 'SetAttribute'
[Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:142: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:135>
[Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:288: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:238>
[C]: in function 'securecallfunction'
[Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:235: in function 'ProcessInfo'
[Blizzard_GameTooltip/Mainline/GameTooltip.lua]:964: in function 'SetWorldCursor'
[Blizzard_UIParent/Mainline/UIParent.lua]:1358: in function <...rfaceBlizzard_UIParent/Mainline/UIParent.lua:1278>
Locals:
self = <table> {
}
TT_CacheForFrames = <table> {
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
}
tip = GameTooltip {
ItemTooltip = Frame {
}
processingInfo = <table> {
}
infoList = <table> {
}
BottomOverlay = Texture {
}
NineSlice = Frame {
}
TopEdge = Texture {
}
LeftEdge = Texture {
}
textLeft1Font = "GameTooltipHeaderText"
hasMoney = 1
textRight2Font = "GameTooltipText"
TopOverlay = Texture {
}
TextLeft1 = GameTooltipTextLeft1 {
}
StatusBar = GameTooltipStatusBar {
}
ttWorkaroundForFirstMouseoverStatus = 0
numMoneyFrames = 1
waitingForData = false
BottomRightCorner = Texture {
}
updateTooltipTimer = 0.031000
Center = Texture {
}
supportsDataRefresh = true
RightEdge = Texture {
}
BottomEdge = Texture {
}
ttCount = FontString {
}
BottomLeftCorner = Texture {
}
TopRightCorner = Texture {
}
TopLeftCorner = Texture {
}
backdropInfo = <table> {
}
ttIcon = Texture {
}
supportsItemComparison = true
progressBarPool = <table> {
}
shoppingTooltips = <table> {
}
TextRight1 = GameTooltipTextRight1 {
}
textRight1Font = "GameTooltipHeaderText"
widgetContainer = Frame {
}
textLeft2Font = "GameTooltipText"
TextRight2 = GameTooltipTextRight2 {
}
TextLeft2 = GameTooltipTextLeft2 {
}
}
currentDisplayParams = <table> {
anchorFrameName = "WorldUnit"
lockedBackdropInfo = <table> {
}
defaultAnchored = false
extraPaddingBottomForBars = 13
firstCallDoneUnitAppearance = false
anchorPoint = "BOTTOMLEFT"
unitRecord = <table> {
}
anchorType = "mouse"
isSetTemporarily = false
hideTip = false
lockedBackdropBorderColor = <table> {
}
tipContent = 1
lockedBackdropColor = <table> {
}
isSet = true
}
first = true
unitRecord = <table> {
isNPC = true
health = 247882200
reactionIndex = 7
guid = "Creature-0-3024-2552-30267-223858-000054464D"
isColorBlind = false
powerMax = 0
isTipTacDeveloper = false
sex = 1
healthMax = 247882200
normalizedRealmName = "Thunderhorn"
originalName = "Explorers' League Supplies"
fullPlayerName = "Explorers' League Supplies-Thunderhorn"
level = 80
nameWithForeignRealmSuffix = "Explorers' League Supplies"
isBattlePetCompanion = false
className = "Explorers' League Supplies"
isPlayer = false
classification = "elite"
isBattlePet = false
power = 0
id = "mouseover"
nameWithTitle = "Explorers' League Supplies"
classID = 1
classFile = "WARRIOR"
isSelf = false
powerType = 1
name = "Explorers' League Supplies"
isOtherPlayer = false
nameWithNormalizedForeignRealmName = "Explorers' League Supplies"
timestamp = 37230.217000
isPet = false
isWildBattlePet = false
}
unitTooltipData = <table> {
dataInstanceID = 77035
type = 2
guid = "Creature-0-3024-2552-30267-223858-000054464D"
lines = <table> {
}
healthGUID = "Creature-0-3024-2552-30267-223858-000054464D"
}
(*temporary) = nil
(*temporary) = "colorblindMode"
(*temporary) = "0"
(*temporary) = "0"
(*temporary) = "colorblindMode"
(*temporary) = "0"
(*temporary) = <table> {
dataInstanceID = 77035
type = 2
guid = "Creature-0-3024-2552-30267-223858-000054464D"
lines = <table> {
}
healthGUID = "Creature-0-3024-2552-30267-223858-000054464D"
}
(*temporary) = "mouseover"
(*temporary) = "attempt to index field '?' (a nil value)"
cfg = <table> {
showUnitTip = true
tipBackdropBGLayout = "stretch"
tipBackdropEdge = "Interface\AddOns\!mMT_MediaPack\media\border\pixel.tga"
if_showAuraSpellIdAndRank = false
anchorFrameUnitPoint = "BOTTOMLEFT"
enableColorName = true
showDebuffs = true
enableChatHoverTips = true
left = 1517.833740
enableIcons = true
reactColoredBackdrop = false
enableCustomClassColors = false
Just to confirm what I said above because it seems correct, the issue occurs when hovering my mouse above the Delver's Gob Trotter mount preview in Dornogal too, which matches the description. Static object with an hp bar.
2x TipTac/modules/ttStyle.lua:809: attempt to index field '?' (a nil value)
[TipTac/modules/ttStyle.lua]:809: in function '?'
[TipTac/libs/LibFroznFunctions-1.0-43/LibFroznFunctions-1.0.lua]:1443: in function 'FireGroupEvent'
[TipTac/ttCore.lua]:3874: in function 'SetUnitAppearanceToTip'
[TipTac/ttCore.lua]:3974: in function '?'
[TipTac/libs/LibFroznFunctions-1.0-43/LibFroznFunctions-1.0.lua]:1443: in function 'FireGroupEvent'
[TipTac/ttCore.lua]:2172: in function 'SetCurrentDisplayParams'
[TipTac/ttCore.lua]:2060: in function <TipTac/ttCore.lua:2059>
[TipTac/libs/LibFroznFunctions-1.0-43/LibFroznFunctions-1.0.lua]:358: in function <...libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:356>
[tail call]: ?
[C]: in function 'securecallfunction'
[Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:61: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:56>
[Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:81: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:77>
[Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:117: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:107>
[C]: in function 'SetAttribute'
[Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:142: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:135>
[Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:288: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:238>
[C]: in function 'securecallfunction'
[Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:235: in function 'ProcessInfo'
[Blizzard_GameTooltip/Mainline/GameTooltip.lua]:964: in function 'SetWorldCursor'
[Blizzard_UIParent/Mainline/UIParent.lua]:1358: in function <...rfaceBlizzard_UIParent/Mainline/UIParent.lua:1278>
Locals:
self = <table> {
}
TT_CacheForFrames = <table> {
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
= <table> {
}
}
tip = GameTooltip {
BottomLeftCorner = Texture {
}
RightEdge = Texture {
}
NineSlice = Frame {
}
TopEdge = Texture {
}
LeftEdge = Texture {
}
textLeft1Font = "GameTooltipHeaderText"
hasMoney = 1
textRight2Font = "GameTooltipText"
TopOverlay = Texture {
}
shoppingTooltips = <table> {
}
StatusBar = GameTooltipStatusBar {
}
processingInfo = <table> {
}
infoList = <table> {
}
backdropInfo = <table> {
}
numMoneyFrames = 1
shouldRefreshData = false
ItemTooltip = Frame {
}
ttIcon = Texture {
}
BottomOverlay = Texture {
}
ttCount = FontString {
}
TextLeft1 = GameTooltipTextLeft1 {
}
ttWorkaroundForFirstMouseoverStatus = 0
waitingForData = false
progressBarPool = <table> {
}
BottomRightCorner = Texture {
}
updateTooltipTimer = 0.006000
TextRight1 = GameTooltipTextRight1 {
}
Center = Texture {
}
supportsDataRefresh = true
BottomEdge = Texture {
}
widgetContainer = Frame {
}
TopRightCorner = Texture {
}
TopLeftCorner = Texture {
}
supportsItemComparison = true
textLeft2Font = "GameTooltipText"
TextRight2 = GameTooltipTextRight2 {
}
TextLeft2 = GameTooltipTextLeft2 {
}
textRight1Font = "GameTooltipHeaderText"
}
currentDisplayParams = <table> {
anchorFrameName = "WorldUnit"
lockedBackdropInfo = <table> {
}
isSet = true
extraPaddingBottomForBars = 13
firstCallDoneUnitAppearance = false
anchorPoint = "BOTTOMLEFT"
unitRecord = <table> {
}
anchorType = "mouse"
isSetTemporarily = true
defaultAnchoredParentFrame = UIParent {
}
defaultAnchored = true
lockedBackdropBorderColor = <table> {
}
tipContent = 1
lockedBackdropColor = <table> {
}
hideTip = false
}
first = true
unitRecord = <table> {
isNPC = true
health = 1239411
reactionIndex = 7
guid = "Creature-0-3024-2552-30267-220796-000054464D"
isColorBlind = false
powerMax = 0
isTipTacDeveloper = false
sex = 1
healthMax = 1239411
normalizedRealmName = "Thunderhorn"
originalName = "Delver's Gob-Trotter"
fullPlayerName = "Delver's Gob-Trotter-Thunderhorn"
level = 80
nameWithForeignRealmSuffix = "Delver's Gob-Trotter"
isBattlePetCompanion = false
className = "Delver's Gob-Trotter"
isPlayer = false
classification = "normal"
isBattlePet = false
power = 0
id = "mouseover"
nameWithTitle = "Delver's Gob-Trotter"
classID = 1
classFile = "WARRIOR"
isSelf = false
powerType = 1
name = "Delver's Gob-Trotter"
isOtherPlayer = false
nameWithNormalizedForeignRealmName = "Delver's Gob-Trotter"
timestamp = 37687.941000
isPet = false
isWildBattlePet = false
}
unitTooltipData = <table> {
dataInstanceID = 79839
type = 2
guid = "Creature-0-3024-2552-30267-220796-000054464D"
lines = <table> {
}
healthGUID = "Creature-0-3024-2552-30267-220796-000054464D"
}
(*temporary) = nil
(*temporary) = "colorblindMode"
(*temporary) = "0"
(*temporary) = "0"
(*temporary) = "colorblindMode"
(*temporary) = "0"
(*temporary) = <table> {
dataInstanceID = 79839
type = 2
guid = "Creature-0-3024-2552-30267-220796-000054464D"
lines = <table> {
}
healthGUID = "Creature-0-3024-2552-30267-220796-000054464D"
}
(*temporary) = "mouseover"
(*temporary) = "attempt to index field '?' (a nil value)"
cfg = <table> {
showUnitTip = true
tipBackdropBGLayout = "stretch"
tipBackdropEdge = "Interface\AddOns\!mMT_MediaPack\media\border\pixel.tga"
if_showAuraSpellIdAndRank = false
anchorFrameUnitPoint = "BOTTOMLEFT"
enableColorName = true
showDebuffs = true
enableChatHoverTips = true
left = 1517.833740
enableIcons = true
reactColoredBackdrop = false
enabl```
#394 Is definitely related, although brann himself isnt a static object. perhaps its the same kind of "object" as far as the game is concerned?
For a quick fix, I just replaced the offending line with the old one:
unitRecord.petOrBattlePetOrNPCTitle = (unitRecord.isColorBlind and unitTooltipData.lines[3] or unitTooltipData.lines[2]).leftText;
So far I haven't gotten this error again.
Thanks for reporting this! ๐
I will push out a new release including the fix later this evening.
Pushed out new release v25.06.20 including the fix.