Download
(7Kb)
Download
Updated: 08-04-18 08:30 PM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Updated:08-04-18 08:30 PM
Created:12-30-11 06:56 PM
Downloads:4,090
Favorites:60
MD5:

Fizzwidget HoverTips

Version: 8.0
by: Gazmik [More]

So, you've heard of Gnomish X-Ray Specs? Like most Gnomish technology, they're good for giggles but of little practical value.

These lenses, on the other hand (er, eye?) let you really "look into" things. Anything you merely glance at -- an item, units of some currency, a record of someone's great achievement, the name of a spell, and all sorts of things normally requiring close inspection -- is fully described for your perusal. And they even work with whatever headgear you already have!

------------------------------------------------------

FEATURES:

  • Causes the tooltips normally viewed when clicking a link in the chat window to appear automatically when just mousing over the link, for these link types:
    • item, enchant, spell, quest, unit, talent, achievement, glyph, instance lock, currency
  • Adds tooltips with useful information to other link types:
    • player (for Battle.net friends, WoW friends, and guild members)
    • dungeon journal
  • If you're also using my DiggerAid addon for archaeology, this addon enables mouseover tips for its custom hyperlink types (one which describes an artifact in progress, and the "click to solve" link)

ACKNOWLEDGMENTS:
  • Originally based on a secondary feature of Tekkub's tekKompare addon (http://tekkub.net), which I still recommend. (It shows item comparison tooltips in all cases, not just at the times where the default UI thinks it's useful.)


Visit HoverTips' page on Github to post bug reports, contribute improvements, or just live on the bleeding edge.

v. 7.0 - 2016/08/18
- Updated TOC to indicate compatibility with WoW Patch 7.0.
- Handles icons for Battle.net friends in newer games.

v. 6.0 - 2014/10/14
- Updated TOC to indicate compatibility with WoW Patch 6.0.

v. 5.2 - 2013/03/05
- Updated TOC to indicate compatibility with WoW Patch 5.2.

v. 5.1 - 2012/12/19
- Updated TOC to indicate compatibility with WoW Patch 5.1.
- Fixed an error when mousing over Battle.net friend links.
- Fixed an error when mousing over Dungeon Journal "tier" links (such as appear when gaining a level, e.g. "You're now eligible for [Cataclysm] Heroics").

v. 5.0 - 2012/08/28
- Updated TOC to indicate compatibility with WoW Patch 5.0.

v. 4.3.2 - 2012/06/17
- Fixed some issues with tooltips for player links (for WoW friends and guild members).

v. 4.3.1 - 2012/06/05
- Added hover tooltips for Battle.net friend links (seen when such friends go online/offline or chat), providing all the info normally found in the Friends panel.

v. 4.3 - 2011/12/30
- Initial release.
Optional Files (0)


Post A Reply Comment Options
Unread 11-21-20, 01:50 PM  
tazrulezall
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
The addon works, I am just getting this error message:

Code:
2x GFW_HoverTips\HoverTips.lua:61: attempt to call global 'GetNumFriends' (a nil value)
[string "@GFW_HoverTips\HoverTips.lua"]:61: in function <GFW_HoverTips\HoverTips.lua:22>
[string "@GFW_HoverTips\HoverTips.lua"]:279: in function <GFW_HoverTips\HoverTips.lua:263>

Locals:
frame = ChatFrame1 {
 GatherSelectedText = <function> defined =[C]:-1
 RefreshIfNecessary = <function> defined =[C]:-1
 OnPostShow = <function> defined =[C]:-1
 CalculateLineAlphaValueFromTimestamp = <function> defined =[C]:-1
 ScrollUp = <function> defined =[C]:-1
 tellTimer = 878694.683000
 fadeDurationSecs = 3
 GetFading = <function> defined =[C]:-1
 IsTextCopyable = <function> defined =[C]:-1
 shouldFadeAfterInactivity = true
 SetIndentedWordWrap = <function> defined =[C]:-1
 GetJustifyV = <function> defined =[C]:-1
 ScrollToBottom = <function> defined =[C]:-1
 GetMaxLines = <function> defined =[C]:-1
 GetIndentedWordWrap = <function> defined =[C]:-1
 buttonSide = "left"
 GetFont = <function> defined =[C]:-1
 checkedGMOTD = true
 SetMaxLines = <function> defined =[C]:-1
 CalculateSelectingCharacterIndicesForVisibleLine = <function> defined =[C]:-1
 OnPostUpdate = <function> defined =[C]:-1
 RefreshDisplay = <function> defined =[C]:-1
 SetFontObject = <function> defined =[C]:-1
 textIsCopyable = false
 SetOnScrollChangedCallback = <function> defined =[C]:-1
 CalculateNumVisibleLines = <function> defined =[C]:-1
 overrideFadeTimestamp = 880029.483000
 MarkDisplayDirty = <function> defined =[C]:-1
 GetMessageInfo = <function> defined =[C]:-1
 GetOnScrollChangedCallback = <function> defined =[C]:-1
 AtTop = <function> defined =[C]:-1
 GetFontObject = <function> defined =[C]:-1
 fontStringPool = <table> {
 }
 CanEffectivelyFade = <function> defined =[C]:-1
 OnPreSizeChanged = <function> defined =[C]:-1
 GetScrollOffset = <function> defined =[C]:-1
 GetSpacing = <function> defined =[C]:-1
 OnPreLoad = <function> defined =[C]:-1
 SetSpacing = <function> defined =[C]:-1
 name = "General"
 CalculateLineSpacing = <function> defined =[C]:-1
 AddMessage = <function> defined =[C]:-1
 InitializeFontableFrame = <function> defined =[C]:-1
 GetShadowColor = <function> defined =[C]:-1
 isUninteractable = false
 SetOnTextCopiedCallback = <function> defined =[C]:-1
 mouseOutTime = 0
 RemoveMessagesByPredicate = <function> defined =[C]:-1
 TransformMessages = <function> defined =[C]:-1
 SetShadowColor = <function> defined =[C]:-1
 buttonFrame = ChatFrame1ButtonFrame {
 }
 HasFontObject = <function> defined =[C]:-1
 isDocked = 1
 GetOnTextCopiedCallback = <function> defined =[C]:-1
 SetFading = <function> defined =[C]:-1
 OnPostHide = <function> defined =[C]:-1
 alternativeDefaultLanguage = "Common"
 isInitialized = 1
 GetNumVisibleLines = <function> defined =[C]:-1
 GetInsertMode = <function> defined =[C]:-1
 SetTimeVisible = <function> defined =[C]:-1
 hasOwnFontObject = true
 Clear = <function> defined =[C]:-1
 oldAlpha = 1
 channelList = <table> {
 }
 GetTimeVisible = <function> defined =[C]:-1
 MarkLayoutDirty = <function> defined =[C]:-1
 SetTextCopyable = <function> defined =[C]:-1
 BackFillMessage = <function> defined =[C]:-1
 UnpackageEntry = <function> defined =[C]:-1
 FontStringContainer = <unnamed> {
 }
 SetShadowOffset = <function> defined =[C]:-1
 messageTypeList = <table> {
 }
 timeVisibleSecs = 120
 PackageEntry = <function> defined =[C]:-1
 MakeFontObjectCustom = <function> defined =[C]:-1
 fontObject = table: 00000122A82FFB50 {
 }
 SetInsertMode = <function> defined =[C]:-1
 mouseInTime = 0
 UpdateSelectingText = <function> defined =[C]:-1
 zoneChannelList = <table> {
 }
 SetScrollOffset = <function> defined =[C]:-1
 onDisplayRefreshedCallback = <function> defined =[C]:-1
 insertMode = 2
 hasBeenFaded = true
 ResetSelectingText = <function> defined =[C]:-1
 chatLevelUP = <table> {
 }
 0 = <userdata>
 GetTextColor = <function> defined =[C]:-1
 IsSelectingText = <function> defined =[C]:-1
 CallOnDisplayRefreshed = <function> defined =[C]:-1
 OnFontObjectUpdated = <function> defined =[C]:-1
 ScrollBar = <unnamed> {
 }
 ResizeButton = ChatFrame1ResizeButton {
 }
 SetFont = <function> defined =[C]:-1
 onScrollChangedCallback = <function> defined =[C]:-1
 OnPostMouseDown = <function> defined =[C]:-1
 defaultLanguage = "Common"
 isLayoutDirty = false
 ScrollToTop = <function> defined =[C]:-1
 isDisplayDirty = false
 visibleLin
also this error:

Code:
1x GFW_HoverTips\HoverTips.lua:122: attempt to call global 'BNGetFriendInfoByID' (a nil value)
[string "@GFW_HoverTips\HoverTips.lua"]:122: in function <GFW_HoverTips\HoverTips.lua:118>
[string "@GFW_HoverTips\HoverTips.lua"]:281: in function <GFW_HoverTips\HoverTips.lua:263>

Locals:
frame = ChatFrame1 {
 SetJustifyV = <function> defined =[C]:-1
 RefreshIfNecessary = <function> defined =[C]:-1
 OnPostShow = <function> defined =[C]:-1
 CalculateLineAlphaValueFromTimestamp = <function> defined =[C]:-1
 isLayoutDirty = false
 isDisplayDirty = false
 GetFading = <function> defined =[C]:-1
 IsTextCopyable = <function> defined =[C]:-1
 shouldFadeAfterInactivity = true
 SetIndentedWordWrap = <function> defined =[C]:-1
 GetJustifyV = <function> defined =[C]:-1
 SetFont = <function> defined =[C]:-1
 GetMaxLines = <function> defined =[C]:-1
 GetIndentedWordWrap = <function> defined =[C]:-1
 buttonSide = "left"
 GetFont = <function> defined =[C]:-1
 checkedGMOTD = true
 onScrollChangedCallback = <function> defined =[C]:-1
 CalculateSelectingCharacterIndicesForVisibleLine = <function> defined =[C]:-1
 PageUp = <function> defined =[C]:-1
 RefreshDisplay = <function> defined =[C]:-1
 SetFontObject = <function> defined =[C]:-1
 textIsCopyable = false
 SetOnScrollChangedCallback = <function> defined =[C]:-1
 CalculateNumVisibleLines = <function> defined =[C]:-1
 overrideFadeTimestamp = 0
 MarkDisplayDirty = <function> defined =[C]:-1
 GetMessageInfo = <function> defined =[C]:-1
 GetOnScrollChangedCallback = <function> defined =[C]:-1
 AtTop = <function> defined =[C]:-1
 GetFontObject = <function> defined =[C]:-1
 fontStringPool = <table> {
 }
 CanEffectivelyFade = <function> defined =[C]:-1
 OnPreSizeChanged = <function> defined =[C]:-1
 OnPostMouseUp = <function> defined =[C]:-1
 GetSpacing = <function> defined =[C]:-1
 OnPreLoad = <function> defined =[C]:-1
 SetSpacing = <function> defined =[C]:-1
 name = "General"
 CalculateLineSpacing = <function> defined =[C]:-1
 AddMessage = <function> defined =[C]:-1
 InitializeFontableFrame = <function> defined =[C]:-1
 GetShadowColor = <function> defined =[C]:-1
 isUninteractable = false
 SetOnTextCopiedCallback = <function> defined =[C]:-1
 mouseOutTime = 0
 AcquireFontString = <function> defined =[C]:-1
 TransformMessages = <function> defined =[C]:-1
 SetShadowColor = <function> defined =[C]:-1
 buttonFrame = ChatFrame1ButtonFrame {
 }
 HasFontObject = <function> defined =[C]:-1
 isDocked = 1
 GetOnTextCopiedCallback = <function> defined =[C]:-1
 SetFading = <function> defined =[C]:-1
 OnPostHide = <function> defined =[C]:-1
 alternativeDefaultLanguage = "Common"
 isInitialized = 1
 ScrollByAmount = <function> defined =[C]:-1
 GetInsertMode = <function> defined =[C]:-1
 SetTimeVisible = <function> defined =[C]:-1
 hasOwnFontObject = true
 Clear = <function> defined =[C]:-1
 oldAlpha = 1
 channelList = <table> {
 }
 GetTimeVisible = <function> defined =[C]:-1
 MarkLayoutDirty = <function> defined =[C]:-1
 SetTextCopyable = <function> defined =[C]:-1
 BackFillMessage = <function> defined =[C]:-1
 UnpackageEntry = <function> defined =[C]:-1
 ScrollBar = <unnamed> {
 }
 SetShadowOffset = <function> defined =[C]:-1
 messageTypeList = <table> {
 }
 timeVisibleSecs = 120
 PackageEntry = <function> defined =[C]:-1
 MakeFontObjectCustom = <function> defined =[C]:-1
 fontObject = table: 000001C691F54990 {
 }
 SetInsertMode = <function> defined =[C]:-1
 mouseInTime = 0
 ScrollDown = <function> defined =[C]:-1
 zoneChannelList = <table> {
 }
 SetScrollOffset = <function> defined =[C]:-1
 onDisplayRefreshedCallback = <function> defined =[C]:-1
 insertMode = 2
 ResetSelectingText = <function> defined =[C]:-1
 chatLevelUP = <table> {
 }
 defaultLanguage = "Common"
 GetTextColor = <function> defined =[C]:-1
 GatherSelectedText = <function> defined =[C]:-1
 ResetAllFadeTimes = <function> defined =[C]:-1
 GetNumVisibleLines = <function> defined =[C]:-1
 ScrollUp = <function> defined =[C]:-1
 0 = <userdata>
 IsSelectingText = <function> defined =[C]:-1
 fadeDurationSecs = 3
 ScrollToBottom = <function> defined =[C]:-1
 FontStringContainer = <unnamed> {
 }
 OnFontObjectUpdated = <function> defined =[C]:-1
 ScrollToTop = <function> defined =[C]:-1
 ResizeButton = ChatFrame1ResizeButton {
 }
 SetMaxLines = <function> defined =[C]:-1
 AdjustMessageColors = <function> defined =[C]:-1
 GetNumMes
Last edited by tazrulezall : 11-28-20 at 05:19 PM.
Report comment to moderator  
Reply With Quote
Unread 09-03-19, 11:33 AM  
Comicus
A Deviate Faerie Dragon

Forum posts: 14
File comments: 34
Uploads: 0
Classic

any chance of a Classic version ?????
Report comment to moderator  
Reply With Quote
Unread 08-06-18, 05:42 PM  
Enigma_TL
A Kobold Labourer

Forum posts: 0
File comments: 68
Uploads: 0
Woot~

Thx for the update of this and Digger aid.. Hoping Faction Friend gets some love too!
Report comment to moderator  
Reply With Quote
Unread 08-24-16, 06:34 PM  
Enigma_TL
A Kobold Labourer

Forum posts: 0
File comments: 68
Uploads: 0
Been ting this error:

Message: Interface\AddOns\GFW_HoverTips\HoverTips.lua:138: attempt to call global 'BNGetToonInfo' (a nil value)
Time: 08/24/16 19:32:28
Count: 5
Stack: [C]: in function `BNGetToonInfo'
Interface\AddOns\GFW_HoverTips\HoverTips.lua:138: in function <Interface\AddOns\GFW_HoverTips\HoverTips.lua:104>
Interface\AddOns\GFW_HoverTips\HoverTips.lua:256: in function <Interface\AddOns\GFW_HoverTips\HoverTips.lua:238>
(tail call): ?

Locals:
Report comment to moderator  
Reply With Quote
Unread 08-23-16, 02:38 PM  
Asjaskan
A Kobold Labourer
 
Asjaskan's Avatar

Forum posts: 0
File comments: 3
Uploads: 0
Solution for LUA-Error on Battle.net friend links

Hi,

since Patch 6.2.4, tooltips for Battle.net friend links didn't work but resulted in a LUA error instead, because Blizzard removed some API functions and renamed some more.

I was able to fix this, so these are my changes in HoverTips.lua (starting at line 136):

Lua Code:
  1. -- current toon
  2.     if ( toonID ) then
  3.         local hasFocus, _, client, realmName, realmID, faction, race, class, guild, zoneName, level, gameText = BNGetGameAccountInfo(toonID); --BNGetToonInfo(presenceID);
  4.         level = level or "";
  5.         race = race or "";
  6.         class = class or "";
  7.         gameText = gameText or "";
  8.         local c = FRIENDS_GRAY_COLOR;
  9.         if ( client == BNET_CLIENT_WOW ) then
  10.             if ( faction == UnitFactionGroup("player") ) then --if ( CanCooperateWithToon(toonID, HasTravelPass()) ) then
  11.                 text = string.format(FRIENDS_TOOLTIP_WOW_TOON_TEMPLATE, characterName, level, race, class);
  12.             else
  13.                 text = string.format(FRIENDS_TOOLTIP_WOW_TOON_TEMPLATE, characterName..CANNOT_COOPERATE_LABEL, level, race, class);
  14.             end
  15.             GameTooltip:AddLine(ChatIcons[client] .. text, c.r,c.g,c.b);
  16.             local FRIENDS_TOOLTIP_WOW_INFO_TEMPLATE = "    " .. NORMAL_FONT_COLOR_CODE .. FRIENDS_LIST_ZONE .. "|r%1$s|n    " .. NORMAL_FONT_COLOR_CODE .. FRIENDS_LIST_REALM .. "|r%2$s";
  17.             GameTooltip:AddLine(string.format(FRIENDS_TOOLTIP_WOW_INFO_TEMPLATE, zoneName, realmName), c.r,c.g,c.b);
  18.         else
  19.             if (ChatIcons[client]) then
  20.                 GameTooltip:AddLine(ChatIcons[client] .. characterName, c.r,c.g,c.b);
  21.             else
  22.                 GameTooltip:AddLine(characterName, c.r,c.g,c.b);
  23.             end
  24.             GameTooltip:AddLine("    "..gameText, c.r,c.g,c.b);
  25.         end
  26.     end

Changed are only these 3 lines in the above code, I included the rest just for context:
  • Line 3: BNGetGameAccountInfo(toonID) replaces BNGetToonInfo(presenceID)
  • Line 7: added for safety
  • Line 10: faction == UnitFactionGroup("player") as a replacement for the removed functions CanCooperateWithToon(toonID, HasTravelPass()) - as everyone can now group up with BNet friends cross realm, different factions should be the only barrier.

Hope this helps!

Best regards,
Asjaskan
Last edited by Asjaskan : 08-23-16 at 02:39 PM.
Report comment to moderator  
Reply With Quote
Unread 08-23-16, 12:04 AM  
Gazmik
A Cobalt Mageweaver
 
Gazmik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 245
File comments: 44
Uploads: 18
re-uploaded HoverTips 7.0

Fixed zip file name issue. If you had trouble downloading 7.0, try again.
__________________
Gazmik Fizzwidget's UI Addons: www.fizzwidget.com
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: