TipTac Reborn

TipTac Reborn

1M Downloads

I am getting multiple LUA errors all the time

rionshin opened this issue ยท 1 comments

commented

Describe the bug
My bug sack is flooded with this error:

51x TipTac/ttCore.lua:1698: calling 'GetScale' on bad self (Usage: local frameScale = self:GetScale())
[string "=[C]"]: in function GetScale' [string "@TipTac/ttCore.lua"]:1698: in function SetScaleToTip'
[string "@TipTac/ttCore.lua"]:1382: in function SetAppearanceToTip' [string "@TipTac/ttCore.lua"]:1311: in function ApplyConfig'
[string "@TipTac/ttCore.lua"]:1822: in function AddModifiedTipExtended' [string "@TipTac/ttCore.lua"]:471: in function Acquire'
[string "@SavedInstances/Core/Tooltip.lua"]:43: in function AcquireTooltip' [string "@SavedInstances/Core/Core.lua"]:3315: in function ShowTooltip'
[string "@SavedInstances/Core/Core.lua"]:2498: in function OnEnter' [string "@AutoCombatLogger/Libs/LibDBIcon-1.0-52/LibDBIcon-1.0.lua"]:76: in function oenter'
[string "@MBB/MBB.lua"]:493: in function <MBB/MBB.lua:475>

also :

8x TipTacItemRef/ttItemRef.lua:2671: Attempt to access forbidden object from code tainted by an AddOn
[string "=[C]"]: in function AddLine' [string "@TipTacItemRef/ttItemRef.lua"]:2671: in function spell'
[string "@TipTacItemRef/ttItemRef.lua"]:656: in function <TipTacItemRef/ttItemRef.lua:644>
[string "=[C]"]: ?
[string "=[C]"]: in function `setFunction'
[string "@Blizzard_NamePlates/Blizzard_NamePlates.lua"]:898: in function <...eBlizzard_NamePlates/Blizzard_NamePlates.lua:891>

Also :
11x TipTac/ttCore.lua:2594: calling 'IsShown' on bad self (Usage: local isShown = self:IsShown())
[string "=[C]"]: in function IsShown' [string "@TipTac/ttCore.lua"]:2594: in function ResetCurrentDisplayParamsForAnchoring'
[string "@TipTac/ttCore.lua"]:2632: in function <TipTac/ttCore.lua:2631>
[string "=[C]"]: in function `SetOwner'
[string "@Blizzard_NamePlates/Blizzard_NamePlates.lua"]:892: in function <...eBlizzard_NamePlates/Blizzard_NamePlates.lua:891>

Locals:
(*temporary) = NamePlateTooltip {
0 =
GetBackdropColor = defined @SharedXML/Backdrop.lua:390
SetHyperlink = defined =[C]:-1
SetAzeriteEssence = defined =[C]:-1
SetVoidDepositItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539
SetTraitEntry = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539
ClearBackdrop = defined =[C]:-1
SetLootCurrency = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539
SetWorldCursor = defined @FrameXML/GameTooltip.lua:1076
SetLootItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539
GetSpell = defined @FrameXML/GameTooltip.lua:1114
SetQuestLogSpecialItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539
SetRecipeReagentItem = defined =[C]:-1
SetMerchantItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539
BottomOverlay = Texture {
}
SetSocketedRelic = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539
ProcessInfo = defined @SharedXML/Tooltip/TooltipDataHandler.lua:335
NineSlice = Frame {
}
SetInventoryItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539
TopEdge = Texture {
}
SetUnitDebuffByAuraInstanceID = defined =[C]:-1
GetProcessingTooltipInfo = defined @SharedXML/Tooltip/TooltipDataHandler.lua:488
SetBackdropColor = defined =[C]:-1
LeftEdge = Texture {
}
AddLineDataText = defined @SharedXML/Tooltip/TooltipDataHandler.lua:429
AppendInfo = defined @SharedXML/Tooltip/TooltipDataHandler.lua:525
SetSpellBookItem = defined =[C]:-1
textLeft1Font = "GameTooltipHeaderText"
AppendInfoWithSpacer = defined @SharedXML/Tooltip/TooltipDataHandler.lua:531
SetShapeshift = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539
SetArtifactPowerByID = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539
textRight2Font = "GameTooltipText"
TopOverlay = Texture {
}
SetSocketedItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539
SetUnitDebuff = defined =[C]:-1
SetWorldLootObject = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539
SetMountBySpellID = defined =[C]:-1
SetBorderBlendMode = defined @SharedXML/Backdrop.lua:266
SetTrainerService = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539
TextLeft1 = NamePlateTooltipTextLeft1 {
}
GetTooltipData = defined @SharedXML/Tooltip/TooltipDataHandler.lua:505
IsTooltipType = defined @SharedXML/Tooltip/TooltipDataHandler.lua:509
OnBackdropSizeChanged = defined @SharedXML/Backdrop.lua:182
ClearHandlerInfo = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetEnhancedConduit = defined =[C]:-1
StatusBar = NamePlateTooltipStatusBar {
}
SetPossession = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539
SetUnitAura = defined =[C]:-1
SetUnitBuffByAuraInstanceID = defined =[C]:-1
SetConduit = defined =[C]:-1
SetupPieceVisuals = defined @SharedXML/Backdrop.lua:246
SetMinimapMouseover = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539
GetItem = defined @FrameXML/GameTooltip.lua:1110
SetRecipeResultItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539
SetQuestPartyProgress = defined =[C]:-1
ProcessLineData = defined @SharedXML/Tooltip/TooltipDataHandler.lua:410
OnBackdropLoaded = defined @SharedXML/Backdrop.lua:152
SetPvpTalent = defined @SharedXML/Tooltip/TooltipDataHandler.lua:53

To Reproduce
Its generated all the time in Bugsack on any Tooltip event
this is happening when 10.2.6 hit and latest version of tiptac was released

Expected behavior
No bugs captured in BugSack

Screenshots
If applicable, add screenshots to help explain your problem.

TipTac Reborn (please complete the following information):
24.03.23

WoW (please complete the following information):
Retail 10.2.6.53913

Additional context
Add any other context about the problem here.

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.