View Single Post
10-06-22, 10:50 AM   #3
Yocote
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 5
Thanks for the info! I am not creating my own tooltip though, but adding extra lines to the system "GameTooltip" (and a few related ones), using code similar to this to hook in my code:

Lua Code:
  1. local tooltips = {
  2.   GameTooltip,
  3.   ItemRefTooltip,
  4.   ShoppingTooltip1,
  5.   ShoppingTooltip2,
  6. }
  7.  
  8. function events:PLAYER_LOGIN()
  9.   for i=1,#tooltips do
  10.     tooltips[i]:HookScript("OnTooltipSetItem", function(tt)
  11.       MyTooltipAddon:ProcessTip(tt)
  12.     end)
  13.   end
  14. end

What I observe is that my "MyTooltipAddon:ProcessTip" method is no longer being called at all since this patch. The hooking code in the PLAYER_LOGIN event handler is called, and no errors are raised there, but the hooks are just never called, as if HookScript silently no longer does anything anymore.
  Reply With Quote