idTip Community Fork

idTip Community Fork

26.7k Downloads

Mouseovering nameplate debuff tooltip

lowpita opened this issue ยท 2 comments

commented

Hey. Got this error after mouseovering a debuff from an enemy nameplate debuff which then turns into a friendly/neutral nameplate one. Seems to be related to what I commented here: frozn/TipTac#132 (comment)

11x idTip_CommunityFork/core/shared.lua:101: calling 'GetName' on bad self (Usage: local name = self:GetName())
[string "=[C]"]: in function GetName' [string "@idTip_CommunityFork/core/shared.lua"]:101: in function addLine'
[string "@idTip_CommunityFork/clients/dragonflight.lua"]:178: in function <idTip_CommunityFork/clients/dragonflight.lua:177>
[string "=[C]"]: ?

Locals:
(*temporary) = NamePlateTooltip {
0 =
SetQuestLogRewardSpell = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
GetBackdropColor = defined @SharedXML/Backdrop.lua:390
SetHyperlink = defined =[C]:-1
SetAzeriteEssence = defined =[C]:-1
SetVoidDepositItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetTraitEntry = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
ClearBackdrop = defined @SharedXML/Backdrop.lua:282
SetLootCurrency = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetWorldCursor = defined @FrameXML/GameTooltip.lua:952
SetLootItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
GetSpell = defined @FrameXML/GameTooltip.lua:990
ttGradient = Texture {
}
SetQuestLogSpecialItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetRecipeReagentItem = defined =[C]:-1
SetMerchantItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
BottomOverlay = Texture {
}
SetSocketedRelic = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
ProcessInfo = defined @SharedXML/Tooltip/TooltipDataHandler.lua:236
NineSlice = Frame {
}
OnLoad = defined @FrameXML/GameTooltip.lua:927
TopEdge = Texture {
}
SetUnitDebuffByAuraInstanceID = defined =[C]:-1
SetBagItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetBackdropColor = defined @TipTac/ttCore.lua:1746
LeftEdge = Texture {
}
AddLineDataText = defined @SharedXML/Tooltip/TooltipDataHandler.lua:324
SetSpellBookItem = defined =[C]:-1
textLeft1Font = "GameTooltipHeaderText"
SetShapeshift = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetArtifactPowerByID = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
textRight2Font = "GameTooltipText"
TopOverlay = Texture {
}
SetSocketedItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetUnitDebuff = defined =[C]:-1
SetMountBySpellID = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetBorderBlendMode = defined @SharedXML/Backdrop.lua:266
SetTrainerService = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
TextLeft1 = NamePlateTooltipTextLeft1 {
}
SetAzeritePower = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetLFGDungeonShortageReward = defined =[C]:-1
OnBackdropSizeChanged = defined @SharedXML/Backdrop.lua:182
SetArtifactItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
StatusBar = NamePlateTooltipStatusBar {
}
SetPossession = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetUnitAura = defined =[C]:-1
SetUnitBuffByAuraInstanceID = defined =[C]:-1
SetConduit = defined =[C]:-1
SetupPieceVisuals = defined @SharedXML/Backdrop.lua:246
SetMinimapMouseover = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
GetItem = defined @FrameXML/GameTooltip.lua:986
SetRecipeResultItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetQuestPartyProgress = defined =[C]:-1
ProcessLineData = defined @SharedXML/Tooltip/TooltipDataHandler.lua:303
OnBackdropLoaded = defined @SharedXML/Backdrop.lua:152
SetPvpTalent = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetExistingSocketGem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetUnit = defined =[C]:-1
SetTotem = defined @i

commented

Not able to reproduce it with tiptac, it seems like for some reason they're overriding NamePlateTooltip or something causing it to load it's GetName function as seen in the table of functions at [0] in your error report..