TipTac Reborn

TipTac Reborn

1M Downloads

ttStyle.lua:671: bad argument #1 to 'pairs' (table expected, got nil)

Closed this issue · 3 comments

commented

Describe the bug

A bugsack error is generated every time I mouse-over an enemy mob in a M+ dungeon.

Steps to Reproduce

  1. Enter M+ dungeon (might happen elsewhere, that's just all I've been doing last couple weeks)
  2. Mouse-over an enemy.

Expected behavior

No bug when mouse-over enemy...

Additional context

Bugsack:

9576x TipTac/modules/ttStyle.lua:671: bad argument #1 to 'pairs' (table expected, got nil)
[TipTac/modules/ttStyle.lua]:671: in function 'ModifyUnitTooltip'
[TipTac/modules/ttStyle.lua]:1072: in function '?'
[TipTac/libs/LibFroznFunctions-1.0-50/LibFroznFunctions-1.0.lua]:1535: in function 'FireGroupEvent'
[TipTac/ttCore.lua]:4039: in function 'SetUnitAppearanceToTip'
[TipTac/ttCore.lua]:4139: in function '?'
[TipTac/libs/LibFroznFunctions-1.0-50/LibFroznFunctions-1.0.lua]:1535: in function 'FireGroupEvent'
[TipTac/ttCore.lua]:2260: in function 'SetCurrentDisplayParams'
[TipTac/ttCore.lua]:2146: in function <TipTac/ttCore.lua:2145>
[TipTac/libs/LibFroznFunctions-1.0-50/LibFroznFunctions-1.0.lua]:365: in function <...libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:363>
[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]:1241: in function <...rfaceBlizzard_UIParent/Mainline/UIParent.lua:1161>
[C]: ?

Locals:
self =

{
}
tip = GameTooltip {
ATT_AttachComplete = true
ItemTooltip = Frame {
}
RightEdge = Texture {
}
AllTheThingsOnTooltipClearedHook = true
AllTheThingsProcessing = "Depraved Darkblade"
processingInfo =
{
}
infoList =
{
}
NineSlice = Frame {
}
TopEdge = Texture {
}
LeftEdge = Texture {
}
textLeft1Font = "GameTooltipHeaderText"
hasMoney = 1
textRight2Font = "GameTooltipText"
TopOverlay = Texture {
}
TextLeft1 = GameTooltipTextLeft1 {
}
StatusBar = GameTooltipStatusBar {
}
ttWorkaroundForFirstMouseoverStatus = 0
textLeft2Font = "GameTooltipText"
ARKTTD =
{
}
numMoneyFrames = 4
BottomOverlay = Texture {
}
supportsItemComparison = true
supportsDataRefresh = true
shouldRefreshData = false
ttCount = FontString {
}
shoppingTooltips =
{
}
CIMI_tooltipWritten = false
BottomRightCorner = Texture {
}
TopLeftCorner = Texture {
}
BottomLeftCorner = Texture {
}
TopRightCorner = Texture {
}
TextRight1 = GameTooltipTextRight1 {
}
BottomEdge = Texture {
}
ttIcon = Texture {
}
waitingForData = false
updateTooltipTimer = 0.170000
Center = Texture {
}
textRight1Font = "GameTooltipHeaderText"
TextRight2 = GameTooltipTextRight2 {
}
TextLeft2 = GameTooltipTextLeft2 {
}
backdropInfo =
{
}
}
currentDisplayParams =
{
lockedBackdropBorderColor =
{
}
hideTip = false
anchorFrameName = "WorldUnit"
isSetTemporarily = true
isSet = true
defaultAnchoredParentFrame = UIParent {
}
extraPaddingBottomForBars = 13
firstCallDoneUnitAppearance = false
anchorPoint = "BOTTOMLEFT"
defaultAnchored = true
unitRecord =
{
}
isSetTimestamp = 268602.192000
anchorType = "normal"
lockedBackdropColor =
{
}
lockedBackdropInfo =
{
}
tipContent = 1
}
unitRecord =
{
reactionIndex = 2
guid = "Creature-0-3777-2287-5019-165515-0004CCB2A1"
isColorBlind = false
normalizedRealmName = "Proudmoore"
fullPlayerName = "Depraved Darkblade-Proudmoore"
reactionColor =
{
}
level = 80
isBattlePetCompanion = false
npcID = 165515
isSelf = false
powerMax = 100
classFile = "ROGUE"
sex = 2
timestamp = 268602.192000
isNPC = true
healthMax = 247720839
originalName = "Depraved Darkblade"
nameWithForeignRealmSuffix = "Depraved Darkblade"
nameColor =
{
}
isPlayer = false
classification = "elite"
isTipTacDeveloper = false
power = 0
id = "mouseover"
nameWithTitle = "Depraved Darkblade"
classID = 4
className = "Depraved Darkblade"
isBattlePet = false
powerType = 3
health = 242175646
isOtherPlayer = false
isWildBattlePet = false
isPet = false
name = "Depraved Darkblade"
nameWithNormalizedForeignRealmName = "Depraved Darkblade"
}
first = true
mapChallengeModeID = 378
dungeonIndex = nil
cfg =
{
}
lineLevel =
{
1 = "|cffffd100+80|r"
2 = " "
3 = "|cffffffffHumanoid|r"
Index = 2
count = 3
}
LibFroznFunctions =
{
hasWoWFlavor =
{
}
TableRegistry =
{
}
isWoWFlavor =
{
}
}
TT_ReactionIcon =
{
7 = "unit_reaction_friendly"
2 = "unit_reaction_hostile"
4 = "unit_reaction_neutral"
8 = "unit_reaction_honored"
9 = "unit_reaction_revered"
5 = "unit_reaction_friendly"
10 = "unit_reaction_exalted"
3 = "unit_reaction_caution"
6 = "unit_reaction_friendly"
}
MOD_NAME = "TipTac"
TT_COLOR =
{
text =
{
}
}
TT_ReactionText =
{
7 = "Friendly"
1 = "Tapped"
2 = "Hostile"
4 = "Neutral"
8 = "Honored"
9 = "Revered"
5 = "Friendly"
10 = "Exalted"
3 = "Unfriendly"
6 = "Friendly"
11 = "Dead"
}
lineInfo =
{
}
TT_MythicPlusDungeonScore = "Mythic+ Rating: %s"
mapChallengeModeIDToDungeonIndexLookup =
{
}
npcIDToEnemyIdxLookup =
{
}
tt = TipTac {
RightEdge = Texture {
}
TopEdge = Texture {
}
BottomRightCorner = Texture {
}
LeftEdge = Texture {
}
BottomEdge = Texture {
}
BottomLeftCorner = Texture {
}
close = Button {
}
TopLeftCorner = Texture {
}
Center = Texture {
}
backdropInfo =
{
}
TopRightCorner = Texture {
}
text = FontString {
}
}
TT_M

Version of TipTac Reborn

v25.09.16-release

Flavor/Version of WoW

Retail

commented

Thanks for reporting this issue! 👍

Do you have addon "Mythic Dungeon Tools" or similiar M+ addons (e.g. Mythic Plus Pull) installed?

commented
Image

IFTL hasn't been updated for most recent but it's just a graphic that shows ilvl gear tracks. Shouldn't interact with mobs or tooltips.

commented

The addon "Mythic Plus Pull" adds a dummy-"Mythic Dungeon Tools"-object to the global namespace. This is the cause for the lua error.

I added additional checks if properties from addon "Mythic Dungeon Tools" (MDT) are missing. The fix will be included in the next release.