TipTac Reborn

TipTac Reborn

1M Downloads

Calling 'GetScale' on bad self

frozn opened this issue ยท 1 comments

commented

From: Deceptor

I am getting this but only on my druid ๐Ÿค”

Message: Interface/AddOns/TipTac/ttCore.lua:1530: calling 'GetScale' on bad self (Usage: local frameScale = self:GetScale())
Time: Mon Jun 5 22:21:53 2023
Count: 2
Stack: Interface/AddOns/TipTac/ttCore.lua:1530: calling 'GetScale' on bad self (Usage: local frameScale = self:GetScale())
[string "=[C]"]: in function `GetScale'
[string "@Interface/AddOns/TipTac/ttCore.lua"]:1530: in function `SetScaleToTip'
[string "@Interface/AddOns/TipTac/ttCore.lua"]:1233: in function `SetAppearanceToTip'
[string "@Interface/AddOns/TipTac/ttCore.lua"]:1162: in function `ApplyConfig'
[string "@Interface/AddOns/TipTac/ttCore.lua"]:818: in function `?'
[string "@Interface/AddOns/TipTac/ttCore.lua"]:853: in function <Interface/AddOns/TipTac/ttCore.lua:852>
[string "=[C]"]: in function `LoadAddOn'
[string "@Interface/FrameXML/UIParent.lua"]:545: in function `UIParentLoadAddOn'
[string "@Interface/FrameXML/UIParent.lua"]:851: in function `Communities_LoadUI'
[string "@Interface/FrameXML/UIParent.lua"]:1161: in function `ToggleCommunitiesFrame'
[string "@Interface/FrameXML/UIParent.lua"]:1017: in function `ToggleGuildFrame'
[string "TOGGLEGUILDTAB"]:1: in function <[string "TOGGLEGUILDTAB"]:1>
 
Locals: (*temporary) = NamePlateTooltip {
0 = <userdata>
GetBackdropColor = <function> defined @Interface/SharedXML/Backdrop.lua:390
SetHyperlink = <function> defined =[C]:-1
SetAzeriteEssence = <function> defined =[C]:-1
SetVoidDepositItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
SetTraitEntry = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
ClearBackdrop = <function> defined @Interface/SharedXML/Backdrop.lua:282
SetLootCurrency = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
SetWorldCursor = <function> defined @Interface/FrameXML/GameTooltip.lua:1074
SetLootItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
GetSpell = <function> defined @Interface/FrameXML/GameTooltip.lua:1112
SetQuestLogSpecialItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
SetRecipeReagentItem = <function> defined =[C]:-1
SetMerchantItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
BottomOverlay = Texture {
}
SetSocketedRelic = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
ProcessInfo = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:335
NineSlice = Frame {
}
SetInventoryItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
TopEdge = Texture {
}
SetUnitDebuffByAuraInstanceID = <function> defined =[C]:-1
GetProcessingTooltipInfo = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:488
SetBackdropColor = <function> defined @Interface/SharedXML/Backdrop.lua:399
LeftEdge = Texture {
}
AddLineDataText = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:429
AppendInfo = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:525
SetSpellBookItem = <function> defined =[C]:-1
textLeft1Font = "GameTooltipHeaderText"
AppendInfoWithSpacer = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:531
SetShapeshift = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
SetArtifactPowerByID = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
textRight2Font = "GameTooltipText"
TopOverlay = Texture {
}
SetSocketedItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
SetUnitDebuff = <function> defined =[C]:-1
SetMountBySpellID = <function> defined =[C]:-1
SetBorderBlendMode = <function> defined @Interface/SharedXML/Backdrop.lua:266
SetToyByItemID = <function> defined =[C]:-1
TextLeft1 = NamePlateTooltipTextLeft1 {
}
GetTooltipData = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:505
IsTooltipType = <function> defined @Interface

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

commented

In the meantime this has been fixed. I added several IsForbidden() checks to make shure, that the tooltip isn't accessed while it's protected.