frozn / TipTac

WoW AddOn TipTac Reborn
GNU General Public License v3.0
108 stars 20 forks source link

Several LUA Errors in case with new AFFIX ? Afflicted #238

Open Vilogity opened 1 year ago

Vilogity commented 1 year ago

Get this Errors when i dispel the ADDS and tanke them in target ? TipTac Version 23.05.20

6x TipTac/ttCore.lua:1530: calling 'GetScale' on bad self (Usage: local frameScale = self:GetScale()) string "=[C]": in function GetScale' [string "@TipTac/ttCore.lua"]:1530: in functionSetScaleToTip' [string "@TipTac/ttCore.lua"]:1650: in function ?' [string "@TipTac/libs/LibFroznFunctions-1.0-10/LibFroznFunctions-1.0.lua"]:885: in functionFireGroupEvent' [string "@TipTac/ttCore.lua"]:1472: in function SetCurrentDisplayParams' [string "@TipTac/ttCore.lua"]:1336: in function <TipTac/ttCore.lua:1335> [string "=[C]"]: in functionShow' [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:391: in function <SharedXML/Tooltip/TooltipDataHandler.lua:339> string "=[C]": in function `securecallfunction' [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:336: in function <SharedXML/Tooltip/TooltipDataHandler.lua:335>

string "=[C]": in function `setFunction' [string "@Blizzard_NamePlates/Blizzard_NamePlates.lua"]:860: in function <...eBlizzard_NamePlates/Blizzard_NamePlates.lua:853>

Locals: Skipped (In Encounter)

Then: 3x TipTac/ttCore.lua:1375: calling 'IsShown' on bad self (Usage: local isShown = self:IsShown()) string "=[C]": in function `IsShown' [string "@TipTac/ttCore.lua"]:1375: in function <TipTac/ttCore.lua:1374>

string "=[C]": in function SetOwner' [string "@Blizzard_NamePlates/Blizzard_NamePlates.lua"]:854: in functionUpdateTooltip'

Locals: Skipped (In Encounter) This: 3x TipTacItemRef/ttItemRef.lua:2487: Attempt to access forbidden object from code tainted by an AddOn string "=[C]": in function AddLine' [string "@TipTacItemRef/ttItemRef.lua"]:2487: in functionspell' [string "@TipTacItemRef/ttItemRef.lua"]:631: in function <TipTacItemRef/ttItemRef.lua:619>

string "=[C]": in function `setFunction' [string "@Blizzard_NamePlates/Blizzard_NamePlates.lua"]:860: in function <...eBlizzard_NamePlates/Blizzard_NamePlates.lua:853>

Locals: Skipped (In Encounter)

glassleo commented 1 year ago

I am also getting spammed with Lua errors whenever mousing over the new affix nameplates.

hollo6 commented 1 year ago

I get the following randomly in keys:

34x TipTac/ttCore.lua:2403: calling 'IsShown' on bad self (Usage: local isShown = self:IsShown()) string "=[C]": in function IsShown' [string "@TipTac/ttCore.lua"]:2403: in functionResetCurrentDisplayParamsForAnchoring' [string "@TipTac/ttCore.lua"]:2441: in function <TipTac/ttCore.lua:2440> string "=[C]": in function SetOwner' [string "@Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua"]:63: in functionSetTooltipOwner' [string "@Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua"]:69: in function `OnEnter' [string "@Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua"]:622: in function <...Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:621>

Locals: (*temporary) = EmbeddedItemTooltip { 0 = ItemTooltip = Frame { } 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:1074 SetLootItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539 GetSpell = defined @FrameXML/GameTooltip.lua:1112 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 SetMountBySpellID = defined =[C]:-1 SetBorderBlendMode = defined @SharedXML/Backdrop.lua:266 SetTrainerService = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539 TextLeft1 = EmbeddedItemTooltipTextLeft1 { } 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 SetArtifactItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539 StatusBar = EmbeddedItemTooltipStatusBar { } 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:1108 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:539 SetExistingSocketGem = defined @SharedXML/Tooltip/TooltipDataHandler.l

And after that, when trying to mouseover a broker addon:

65x TipTac/ttCore.lua:1530: calling 'GetScale' on bad self (Usage: local frameScale = self:GetScale()) string "=[C]": in function GetScale' [string "@TipTac/ttCore.lua"]:1530: in functionSetScaleToTip' [string "@TipTac/ttCore.lua"]:1650: in function ?' [string "@TipTac/libs/LibFroznFunctions-1.0-10/LibFroznFunctions-1.0.lua"]:885: in functionFireGroupEvent' [string "@TipTac/ttCore.lua"]:1472: in function `SetCurrentDisplayParams' [string "@TipTac/ttCore.lua"]:1336: in function <TipTac/ttCore.lua:1335>

string "=[C]": in function SetShown' [string "@Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua"]:102: in functionOnEnter' [string "@Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua"]:622: in function <...Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:621>

Locals: (*temporary) = EmbeddedItemTooltip { 0 = ItemTooltip = Frame { } 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:1074 SetLootItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539 GetSpell = defined @FrameXML/GameTooltip.lua:1112 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 SetMountBySpellID = defined =[C]:-1 SetBorderBlendMode = defined @SharedXML/Backdrop.lua:266 SetTrainerService = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539 TextLeft1 = EmbeddedItemTooltipTextLeft1 { } 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 SetArtifactItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539 StatusBar = EmbeddedItemTooltipStatusBar { } 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:1108 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:539 SetExistingSocketGem = defined @SharedXML/Tooltip/TooltipDataHandler.l

hollo6 commented 1 year ago

This still exists :(

frozn commented 1 year ago

Is there an easy way to reproduce this outside of a dungeon?

glassleo commented 1 year ago

No, it only happens with the Afflicted mobs. Maybe TipTac can disable their tooltips if the mob is NPC ID 204773?

Vilogity commented 1 year ago

Yes is there and it's mostly in M+ Dungeons with Afflicted MOBS. They must be dispelled and when you take them in Target then this error is there. EDIT: Only classes they help with dispell the desease or poison has this problem, with my warrie I dont get a error.

Vilogity commented 1 year ago

New information Last fight i was dead and had time to test what it is in M+ It's not targeting the add, it is the debuff (desease) you see over the cast line from this affix adds. When I go with the mouse over this, i get the error.......

hollo6 commented 11 months ago

Still happening :( any chance of a workaround?

hollo6 commented 6 months ago

Still happening. Also breaks every broker after this pops up, with this LUA error:

71x TipTac/ttCore.lua:1565: calling 'GetScale' on bad self (Usage: local frameScale = self:GetScale()) string "=[C]": in function GetScale' [string "@TipTac/ttCore.lua"]:1565: in functionSetScaleToTip' [string "@TipTac/ttCore.lua"]:1685: in function ?' [string "@TipTac/libs/LibFroznFunctions-1.0-15/LibFroznFunctions-1.0.lua"]:889: in functionFireGroupEvent' [string "@TipTac/ttCore.lua"]:1507: in function `SetCurrentDisplayParams' [string "@TipTac/ttCore.lua"]:1359: in function <TipTac/ttCore.lua:1358>

string "=[C]": in function SetShown' [string "@Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua"]:102: in functionOnEnter' [string "@Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua"]:622: in function <...Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:621>

Locals: (*temporary) = EmbeddedItemTooltip { 0 = ItemTooltip = Frame { } 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:1074 SetLootItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539 GetSpell = defined @FrameXML/GameTooltip.lua:1112 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 SetMountBySpellID = defined =[C]:-1 SetBorderBlendMode = defined @SharedXML/Backdrop.lua:266 SetTrainerService = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539 TextLeft1 = EmbeddedItemTooltipTextLeft1 { } 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 SetArtifactItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:539 StatusBar = EmbeddedItemTooltipStatusBar { } 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:1108 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:539 SetExistingSocketGem = defined @SharedXML/Tooltip/TooltipDataHandler.l

hollo6 commented 5 months ago

Could we please have at least a workaround for this, something like the one suggested above?

frozn commented 5 months ago

From: BNS333

This error often occurs in the Retail, appears in the mythic+ combat.

After that, there will be a few Tiptac errors, but it may be affected by this.

1x SharedXML/Backdrop.lua:215: calling 'GetWidth' on bad self (Usage: local width = self:GetWidth([ignoreRect]))
[string "=[C]"]: in function `GetWidth'
[string "@SharedXML/Backdrop.lua"]:215: in function `SetupTextureCoordinates'
[string "@SharedXML/Backdrop.lua"]:184: in function <SharedXML/Backdrop.lua:182>
[string "=[C]"]: in function `Show'
[string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:391: in function <SharedXML/Tooltip/TooltipDataHandler.lua:339>
[string "=[C]"]: in function `securecallfunction'
[string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:336: in function <SharedXML/Tooltip/TooltipDataHandler.lua:335>
[string "=(tail call)"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function `setFunction'
[string "@Blizzard_NamePlates/Blizzard_NamePlates.lua"]:886: in function <...eBlizzard_NamePlates/Blizzard_NamePlates.lua:879>

Locals:

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

Can we please prioritze this a bit more? Makes the addon unusable during certain weeks.

frozn commented 5 months ago

I've been playing WoW the last year only if I have to develop something for TipTac, e.g. new features, fixes or fixes regarding WoW patches. Yesterday I setup my addons/talents and started with actual playing again.

I analyzed this specific error several times, but I can't see any obvious error with the coding here. To analyze it further, I have to debug this for myself, and that's only possible if I e.g. go in mythic dungeons. But my main char is currently at lvl 62, so I firstly have to level him up. 🙈

But I'm on it...

glassleo commented 5 months ago

Sorry if I sounded harsh, I just love the addon and I'm sad when it breaks. I really appreciate your efforts. <3

I analyzed this specific error several times, but I can't see any obvious error with the coding here. To analyze it further, I have to debug this for myself, and that's only possible if I e.g. go in mythic dungeons. But my main char is currently at lvl 62, so I firstly have to level him up. 🙈

I think what is going wrong is that those particular nameplates are completely protected and cannot be modified by addons in any way and since TipTac tries to attach a tooltip to them it throws protected errors at us.

I think there needs to be some kind of check to see if the frame is protected or not and then just cancel trying to attach/modify the tooltip attached to it. The NPC ID is 204773 but I'm not sure if that helps.

It will be 6 weeks until the affix is back again (it's up for two out of ten weeks in a set rotation of affixes) and you have to be in a +7 or higher key to see it. If you are on EU I would be happy to provide you with a key for testing next time it's up assuming you have a level 70 character by then.

Dairyman commented 4 months ago

So I don't now why I didn't see earlier that it only happens with the NamePlateTooltip; so fix fix for it is to not modify the NamePlateTooltip:

diff --git a/TipTac/ttCore.lua b/TipTac/ttCore.lua
index f2feeb1..f5c636e 100755
--- a/TipTac/ttCore.lua
+++ b/TipTac/ttCore.lua
@@ -418,7 +418,7 @@ TT_ExtendedConfig.tipsToModify = {
                end
            },
            ["EmbeddedItemTooltip"] = { applyAppearance = true, applyScaling = true, applyAnchor = true },
-           ["NamePlateTooltip"] = { applyAppearance = true, applyScaling = true, applyAnchor = true },
+           -- ["NamePlateTooltip"] = { applyAppearance = true, applyScaling = true, applyAnchor = true },
            ["BattlePetTooltip"] = { applyAppearance = true, applyScaling = true, applyAnchor = true },
            ["FloatingBattlePetTooltip"] = { applyAppearance = true, applyScaling = true, applyAnchor = true },
            ["FloatingPetBattleAbilityTooltip"] = { applyAppearance = true, applyScaling = true, applyAnchor = true },
diff --git a/TipTacItemRef/ttItemRef.lua b/TipTacItemRef/ttItemRef.lua
index b6068e9..42fe87a 100644
--- a/TipTacItemRef/ttItemRef.lua
+++ b/TipTacItemRef/ttItemRef.lua
@@ -142,7 +142,7 @@ local tipsToModify = {
    "ItemRefShoppingTooltip1",
    "ItemRefShoppingTooltip2",
    "EmbeddedItemTooltip",
-   "NamePlateTooltip",
+   -- "NamePlateTooltip",
    "BattlePetTooltip",
    "PetBattlePrimaryUnitTooltip",
    "FloatingBattlePetTooltip",

Question now is how easy it is to add a check if a Tooltip is Protected or Forbidden and not to modify.

hollo6 commented 1 month ago

This is still happening and the above change didn't fix it for me, in fact made it worse by causing several other addons having a lot of other LUA errors.

hollo6 commented 1 month ago

Still happening 50 times every dungeon :(

frozn commented 1 month ago

I added several IsForbidden() checks in the last versions and the error messages I encounter on name plates during LFR raids are now gone. Can you post the latest error message here for further investigation? Thanks!

hollo6 commented 1 month ago

Turns out it was another addon doing it lately, it just didn't occur to me to check again because this was always the one doing this error (the other one introduced this recently). I'm very sorry for the accusation and thank you for the fixes on your end! It seems I'm no longer getting any LUA errors for this finally.