
AH price is missing from some tooltips. (maybe a solution)
Tarkumi opened this issue ยท 3 comments
Hello,
If I mouse over an item icon in the profession windows (reagent or product) the tooltip not contains the price for the item.
If you hook the GameToolTip's OnTooltipSetItem script, maybe you get more reliable results.
For example:
`GameTooltip:HookScript("OnTooltipSetItem", T_SetStuff)
ItemRefTooltip:HookScript("OnTooltipSetItem", T_SetStuff)
ItemRefShoppingTooltip1:HookScript("OnTooltipSetItem", T_SetStuff)
ItemRefShoppingTooltip2:HookScript("OnTooltipSetItem", T_SetStuff)
ShoppingTooltip1:HookScript("OnTooltipSetItem", T_SetStuff)
ShoppingTooltip2:HookScript("OnTooltipSetItem", T_SetStuff)
local function T_SetStuff(self)
if self:IsForbidden() then return end
local _, link = self:GetItem()
if link then
local itemid = string.match(link, "|c.+|Hitem:([0-9]+):(.+)|h%[(.+)%]|h|r")
if (itemid) then
Set the tooltip.
end
end
end
`
Thanks for the recommendation @Tarkumi I'll investigate this evening!
This bug is new. The last alpha didn't have this problem - I used the tooltips to decide which potions to craft. Have you tested this with only auctionator active?