Bug in latest release (v10) of addon
Daveo7 opened this issue ยท 0 comments
Running Software (issues missing this information will be deleted):
- Addon version: 10
- Server patch: 10.0.5.47967
Have you read the changelog? (please don't waste our time)
Yes
Describe the bug
Something to do with FindPetIDByName function within PetTracker's tooltips
To Reproduce
Steps to reproduce the behaviour:
- Log into game
- See error in chat window
Expected behaviour
Shouldn't be reporting any errors upon login
Error Logs
Error Log 1/3....
Message: .../AddOns/PetTracker/addons/main/features/tooltips.lua:27: Usage: FindPetIDByName("petName")
Time: Tue Feb 7 16:04:43 2023
Count: 1
Stack: .../AddOns/PetTracker/addons/main/features/tooltips.lua:27: Usage: FindPetIDByName("petName")
[string "=(tail call)"]: ?
[string "=[C]"]: in function securecallfunction' [string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:60: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:55> [string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:80: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:76> [string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:116: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:106> [string "=[C]"]: in function
SetAttribute'
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:141: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:134>
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:278: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:236>
[string "=[C]"]: in function securecallfunction' [string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:233: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:232> [string "=(tail call)"]: ? [string "@Interface/AddOns/Rematch/Menus/TargetMenus.lua"]:157: in function
GetNameFromNpcTooltip'
[string "@Interface/AddOns/Rematch/Menus/TargetMenus.lua"]:181: in function `?'
[string "@Interface/AddOns/Rematch/Main.lua"]:736: in function <Interface/AddOns/Rematch/Main.lua:724>
Locals: (*temporary) = 3.277000
(*temporary) = defined =[C]:-1
Error Log 2/3....
Message: .../AddOns/PetTracker/addons/main/features/tooltips.lua:27: Usage: FindPetIDByName("petName")
Time: Tue Feb 7 16:04:43 2023
Count: 1
Stack: .../AddOns/PetTracker/addons/main/features/tooltips.lua:27: Usage: FindPetIDByName("petName")
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:233: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:232>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/Rematch/Menus/TargetMenus.lua"]:157: in function GetNameFromNpcTooltip' [string "@Interface/AddOns/Rematch/Menus/TargetMenus.lua"]:181: in function
?'
[string "@Interface/AddOns/Rematch/Main.lua"]:736: in function <Interface/AddOns/Rematch/Main.lua:724>
Locals: self = RematchTooltipScan {
0 =
SetQuestLogRewardSpell = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
SetQuestPartyProgress = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
ProcessLineData = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:299
SetPvpTalent = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
SetRuneforgeResultItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
SetHyperlink = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
SetUnit = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
SetAzeriteEssence = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
SetVoidDepositItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
SetVoidWithdrawalItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
SetInfoBackdropStyle = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:334
SetSocketGem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
SetTransmogrifyItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
shouldRefreshData = true
info =
}
SetLootCurrency = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
SetSlottedKeystone = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
SetWorldCursor = defined @Interface/FrameXML/GameTooltip.lua:952
SetLootItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
updateTooltipTimer = 0
GetUnit = defined @Interface/FrameXML/GameTooltip.lua:994
SetOwnedItemByID = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
StatusBar = RematchTooltipScanStatusBar {
}
SetQuestLogSpecialItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
SetBagItemChild = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
SetItemInteractionItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
SetRecipeReagentItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
SetQuestCurrency = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
TextRight1 = RematchTooltipScanTextRight1 {
}
SetWeeklyReward = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
SetMerchantItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
SetMerchantCostItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
SetEnhancedConduit = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
BottomOverlay = Texture {
}
SetSpellByID = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
AddLineDataText = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:320
SetSocketedRelic = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:440
ProcessInfo = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:232
ProcessLines = defined @Interface/Shar
Error Log 3/3....
Message: .../AddOns/PetTracker/addons/main/features/tooltips.lua:27: Usage: FindPetIDByName("petName")
Time: Tue Feb 7 16:10:16 2023
Count: 15
Stack: .../AddOns/PetTracker/addons/main/features/tooltips.lua:27: Usage: FindPetIDByName("petName")
Additional context
Displayed in chat window...
/Addons/PetTracker/addons/main/features/tooltips.lua:27: Usage: FindPetIDByName("petName")