TipTac Reborn

TipTac Reborn

1M Downloads

LUA error during mouse over characters

mentis00 opened this issue ยท 3 comments

commented

Describe the bug
When mouse over other characters following LUA error occurs --- ** ONLY my character is HUNTER CLASS **

10x ...libs/LibFroznFunctions-1.0-3/LibFroznFunctions-1.0.lua:2017: attempt to call global 'GetInspectSpecialization' (a nil value)
[string "@TipTac/libs/LibFroznFunctions-1.0-3/LibFroznFunctions-1.0.lua"]:2017: in function GetTalents' [string "@TipTac/libs/LibFroznFunctions-1.0-3/LibFroznFunctions-1.0.lua"]:1893: in function InspectDataAvailable'
[string "@TipTac/libs/LibFroznFunctions-1.0-3/LibFroznFunctions-1.0.lua"]:1882: in function `?'
[string "@TipTac/libs/LibFroznFunctions-1.0-3/LibFroznFunctions-1.0.lua"]:1606: in function <...libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1605>

Locals:
self =

{
CreatePushArray = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:580
GetAverageItemLevel = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:2138
MixinDifferingObjects = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:715
FormatText = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:372
RegisterForGroupEvents = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:776
GetValueFromObjectByPath = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:677
MirrorAnchorPointCentered = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1140
HookScriptOnTooltipSetItem = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:170
IsAverageItemLevelAvailable = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:2110
CallFunctionAndSuppressErrorMessageAndSpeech = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:653
AreTalentsAvailable = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1960
GetItemQualityColor = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:988
CanInspect = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1742
IsInspectFrameOpen = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1734
RegisterNewSlashCommands = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:848
IsTableEmpty = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:396
RecalculateSizeOfGameTooltip = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1262
InspectUnit = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1634
CreateUnitRecord = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1535
CreateMarkupForClassIcon = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1066
UnitIsWildBattlePet = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:75
UpdateUnitRecord = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1572
ExistsInTable = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:589
HookSecureFuncIfExists = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:746
GetClassColorByClassFile = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:947
UnitIsBattlePetCompanion = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:87
GetUnitReactionIndex = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1435
GetPowerColor = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:979
FontExists = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1280
TextureExists = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1312
RemoveCallbackFromQueuedInspectCallbacks = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1680
IsFrameBackInFrameChain = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1223
CallFunctionDelayed = defined @

TipTac Reborn (please complete the following information):

  • Version 23.01.28

WoW (please complete the following information):

  • Flavor: WotLKC
  • Version 3.4.1.47720

Additional context
It only happen hunter class.

commented

The part of the code in which this error occured, is only for retail. I think one of your other addons globally creates the function GetSpecialization() which only exists in retail. Please try to disable some of your other addons to find the affecting addon.

commented

Disabling the San's FloAspectBar and San's FloTotemBar addons solved the problem.
Thank you.

commented

I had a look into the code of the addons you mentioned. In their current version on curseforge they accidentally override blizzards function GetSpecialization() as I suspected.

For "San's FloAspectBar" I created the following issue: Sansaan/FloAspectBar#2
For "San's FloTotemBar" I created the following pull request: Sansaan/FloTotemBar#3