Weird Tooltip like window appears only when arenamaster addon is enabled.
shfthappens opened this issue ยท 3 comments
So when I have arena master addon enabled a weird blank tooltip like window appears in my social window. Disabling the addon removes it. Tried to delete the saved variables etc. and reinstall the addon from scratch but it still shows up.
Attached screenshot
I get this error when first logging in
Message: Interface/AddOns/ArenaMasterPvPInspect/ui/ui.lua:320: GameTooltip doesn't have a "OnTooltipSetUnit" script
Time: Mon Nov 21 10:49:52 2022
Count: 1
Stack: Interface/AddOns/ArenaMasterPvPInspect/ui/ui.lua:320: GameTooltip doesn't have a "OnTooltipSetUnit" script
[string "=[C]"]: in function `HookScript'
[string "@Interface/AddOns/ArenaMasterPvPInspect/ui/ui.lua"]:320: in main chunk
Locals: (*temporary) = GameTooltip {
0 =
SetQuestLogRewardSpell = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetQuestPartyProgress = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
ProcessLineData = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:303
SetPvpTalent = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetRuneforgeResultItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetHyperlink = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetUnit = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetAzeriteEssence = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetVoidDepositItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetVoidWithdrawalItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetInfoBackdropStyle = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:338
shoppingTooltips =
}
SetSocketGem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
updateTooltipTimer = 0.200000
ItemTooltip = Frame {
}
StatusBar = GameTooltipStatusBar {
}
SetLootCurrency = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetSlottedKeystone = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetWorldCursor = defined @Interface/FrameXML/GameTooltip.lua:952
SetLootItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetMerchantCostItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
GetUnit = defined @Interface/FrameXML/GameTooltip.lua:994
SetOwnedItemByID = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetItemInteractionItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetQuestLogSpecialItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
TextRight1 = GameTooltipTextRight1 {
}
SetEnhancedConduit = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetRecipeReagentItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetQuestCurrency = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
supportsDataRefresh = true
SetWeeklyReward = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetMerchantItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetPvpBrawl = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetAchievementByID = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
BottomOverlay = Texture {
}
SetSpellByID = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
supportsItemComparison = true
SetSocketedRelic = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
ProcessInfo = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:236
ProcessLines = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:293
NineSlice = Frame {
}
SetInventoryItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
RefreshData = defined @Interface/FrameXML/GameTooltip.lua:933
SetTransmogrifyItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
Go to AddOns/ArenaMasterPvPInspect/ui/ui.lua and open with a text editor, press ctrl+F and find GameTooltip:HookScript("OnTooltipSetUnit", function(self, ...)
and replace it with:
TooltipDataProcessor.AddTooltipPostCall(Enum.TooltipDataType.Unit,function(GameTooltip, data)
save file and reload or restart game, it should work.
Greetings, thanks for your report.
The issue was now fixed and it should come live with the next release ( later on today ), so you can update the AddOn freely.
I'll keep an eye on it if other issues get by ( I'll have to check some other API changes and push another update if that's needed ).
Have a great one!