Download
(9Kb)
Download
Updated: 03-04-18 06:15 AM
Pictures
File Info
Updated:03-04-18 06:15 AM
Created:12-10-13 09:30 PM
Downloads:5,168
Favorites:34
MD5:

PhanxTooltip  Popular! (More than 5000 hits)

Version: 7.3.5.0
by: Phanx [More]

I am no longer developing or maintaining World of Warcraft addons. I haven't played in years, and don't have the time or interest to continue working on addons for a game I don't play anymore. If you are an addon author interested in continuing one of my addons, please see https://phanx.net/addons/. If you are an addon user, sorry, but there won't be any more fixes or updates from me.
Simple tooltip modifications.
  • Border is colored by item type/quality, NPC reaction, or player hostility/class
  • Player names and classes are colored by dead/tapped/class
  • Hostile NPC and player levels are colored by difficulty
  • Target names are added to unit tooltips
  • Health bar is moved inside the tooltip
  • Icons are added for raid targets and linked items, spells, and achievements
  • PvP status moved from its own space-wasting line to the level/class line for hostile players, hidden for friendlies
  • Useless text (vanity titles, faction names, coalesced realm descriptions, fake level info on wild battle pets) is hidden
  • Coalesced realm names are marked with the traditional asterisk (*); permanently connected realms are not marked
  • Background and border colors are fixed (no more ugly navy blue background on mailboxes etc.)
IMPORTANT: There are no options, and none will be added, so don't ask. If you don't like how this addon works by default, and don't know how to change the code yourself, use some other tooltip addon. Posts on this page asking how to change the code will be deleted.
Language Support
Compatible with all languages. However, I didn't test in every language, so if something looks strange in your locale, please post a comment with a description and/or screenshot of the issue so I can fix it.
Feedback
Post a comment. If you are reporting a bug, please first make sure you have the latest version from this page, and then include detailed instructions I can follow to reproduce the bug myself, whether the bug still happens when all other addons are disabled, and the exact text of the accompanying error message (if any) from Bugger.

Fonts in the screenshot are Grad (serif) and DejaWeb (sans-serif). Border and bar textures are from another (private) addon. Colored "collected" text in the battle pet tooltip is from Better Battle Pet Tooltip.

Version 7.3.5.0
  • Tooltip is now hidden during combat unless a modifier key is pressed
  • Tooltip is now anchored to the cursor for units and objects in the game world
  • To revert to previous behavior, comment lines 41-71 and uncomment lines 74-78

Version 7.1.0.0
  • Updated for WoW 7.1

Version 7.0.3.1
  • Fixed the tooltip health bar texture (ticket #2)

Version 7.0.3.0
  • Updated for WoW 7.0

Version 6.1.0.3
  • Updated for WoW 6.1
  • Fixed "??" level display for high-level enemy players
  • Fixed "tap to all" mobs being colored as tapped
  • Fixed some issues with fake player units in Proving Grounds
  • Removed compatibility with other addons coloring the border for now, due to issues with WoW not fully resetting the tooltip in WoD

Version 6.0.2.43
  • Updated for WoW 6.0
  • Fixed wild pet creature type detection
  • Improved compatibility with other addons that color the tooltip border

Version 5.4.2.34
  • First public release
Post A Reply Comment Options
Unread 09-25-16, 11:48 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Originally Posted by thomasjohnshannon
You can fix the tooltips for world quests that include items by swapping from skinning WorldMapTooltip to WorldMapTooltip.BackdropFrame.
What exactly needs to be fixed? Can you post a screenshot?

As far as I can tell by reading the Blizzard UI code, WorldMapTooltip is still the actual tooltip object, while WorldMapTooltip.BackdropFrame is only used to display a texture, so attempting to call tooltip methods on WorldMapTooltip.BackdropFrame will just throw errors because they don't exist. However, I don't have an active subscription, so I have no access to test any of the new Legion world quests personally.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Last edited by Phanx : 09-25-16 at 11:49 PM.
Report comment to moderator  
Reply With Quote
Unread 09-20-16, 02:29 PM  
thomasjohnshannon
A Theradrim Guardian
 
thomasjohnshannon's Avatar
AddOn Author - Click to view AddOns

Forum posts: 68
File comments: 79
Uploads: 5
You can fix the tooltips for world quests that include items by swapping from skinning WorldMapTooltip to WorldMapTooltip.BackdropFrame.
__________________
Thomas aka Urnn
Last edited by thomasjohnshannon : 09-20-16 at 09:54 PM.
Report comment to moderator  
Reply With Quote
Unread 09-04-16, 10:15 PM  
nomad980
A Kobold Labourer

Forum posts: 1
File comments: 9
Uploads: 0
Hey Phanx,

Noticed an issue that I have been trying to correct. The unit tooltips show an additional line. An example of this:
"Level 100 Blood Elf Hunter (Player)"
This happens right after changes made in line 362, which change the line to:
"10 Blood Elf Hunter"
I am taking a wild guess and thinking that its probably units that have more then 4 lines already in the tooltip.

Edit>
Ok, figured it out. I went looking and found line 433 commented.
left[line + 1]:SetText(nil)
Removed the comment, and appended it to line 364.

That seems to have fixed the issue. Thank you for the minimalist, cleanest addon.
Last edited by nomad980 : 09-04-16 at 11:43 PM.
Report comment to moderator  
Reply With Quote
Unread 08-15-16, 02:02 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
There are already about 784932432 addons that do nothing but add IDs to tooltips -- any of them will work with PhanxTooltip or any other tooltip addon. No need for me to reinvent the wheel. Give this one a try.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 08-14-16, 10:42 AM  
remlnx
A Kobold Labourer

Forum posts: 0
File comments: 20
Uploads: 0
I wonder if it's possible to add a function to show the item/spell ID on bottom of the tooltip, it's the only thing that keep me from using it (i already use your chat/buffs/ouf addons)
Report comment to moderator  
Reply With Quote
Unread 08-04-16, 02:19 PM  
Eos
A Murloc Raider
 
Eos's Avatar

Forum posts: 8
File comments: 9
Uploads: 0
Thanks for the update Phanx!
Report comment to moderator  
Reply With Quote
Unread 07-31-16, 12:21 AM  
blackytemp/Nīm
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Update for 7.0.3

Here are some quick fixes to stop the error flood in 7.0.3:
Line numbers are for the unmodified, downloaded addon.

Core.lua

LINE 375
Old code:
Code:
local tapped = UnitIsTapped(unit) and not UnitIsTappedByPlayer(unit) and not UnitIsTappedByAllThreatList(unit)
Change to:
Code:
local tapped = UnitIsTapDenied(unit)
LINE 475
Old code:
Code:
if UnitIsTapped(target) and not UnitIsTappedByPlayer(target) and not UnitIsTappedByAllThreatList(target) then
Change to:
Code:
if UnitIsTapDenied(target) then
LINES 512-518
I didn't bother with fully fixing the functionality here, so it's semi-bandaid, but it shouldn't make a vital difference in practice.
Old code:
Code:
L["Trade Goods"] = select(6, GetAuctionItemClasses())

local ignoreSubType = {
	[(select(13, GetAuctionItemSubClasses(6)))] = true, -- Other
	[(select(14, GetAuctionItemSubClasses(6)))] = true, -- Item Enhancements

}
Change to:
Code:
L["Trade Goods"] = _G.GetItemClassInfo(LE_ITEM_CLASS_TRADEGOODS)
local ignoreSubType = {


	["tempfix"] = false, -- Other
}

Localization.lua

LINE 23
Old code:
Code:
L["Quest"] = select(10, GetAuctionItemClasses())
Change to:
Code:
L["Quest"] = _G.GetItemClassInfo(LE_ITEM_CLASS_QUESTITEM)


Can't guarantee things actually work 100% fine with this but I haven't gotten a LUA error so far. Blizz changed a bunch about the AuctionItemClasses functions so related functionality might not work correctly even if it doesn't throw LUA errors. I'll update the post if I encounter any.
Last edited by blackytemp/Nīm : 07-31-16 at 12:26 AM.
Report comment to moderator  
Reply With Quote
Unread 07-20-16, 05:31 AM  
Eos
A Murloc Raider
 
Eos's Avatar

Forum posts: 8
File comments: 9
Uploads: 0
Will we see a 7.0.3 update for this? It's starting to spit out errors since the new patch hit.
Report comment to moderator  
Reply With Quote
Unread 03-30-15, 06:39 AM  
Barjack
A Black Drake
AddOn Author - Click to view AddOns

Forum posts: 89
File comments: 58
Uploads: 7
Thanks for uploading this. I'd been trying to maintain a local copy of an absolutely ancient tooltip mod (RantTooltip) and keep it working just for my own sake, but it ultimately became way too much work and I needed to start over. This was a great base to work from, got it mimicking my old layout in an afternoon and I've yet to encounter any problems. Cheers!
Report comment to moderator  
Reply With Quote
Unread 02-01-15, 11:07 AM  
Firedancer
An Aku'mai Servant
 
Firedancer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 35
File comments: 59
Uploads: 2
I was in Dalaran on a level 71 Alliance warlock earlier, and any Horde player that was much higher level than me was showing "-1" (minus the quotes) as their level.

I changed
Code:
-- Level, class
if pvp then
	left[line]:SetFormattedText("%s%d|r %s%s %s|r (%s)", lhex, level, "|cffeeeeee"--[[ chex]], race, class, PVP_ENABLED)
else
	left[line]:SetFormattedText("%s%d|r %s%s %s|r", lhex, level, "|cffeeeeee"--[[ chex ]], race, class)
end
line = line + 1
to
Code:
-- Level, class
if pvp then
	left[line]:SetFormattedText("%s%s|r %s%s %s|r (%s)", lhex, level > 0 and level or "??", "|cffeeeeee"--[[ chex]], race, class, PVP_ENABLED)
else
	left[line]:SetFormattedText("%s%s|r %s%s %s|r", lhex, level > 0 and level or "??", "|cffeeeeee"--[[ chex ]], race, class)
end
line = line + 1
and now it shows "??" (minus the quotes) as I had originally expected it to. Just wanted to post this in case it is helpful to others.
__________________
(\ /)
( . .) <( if you say 'plz' because it's shorter than 'please' then I'll say 'no' because it's shorter than 'yes' )
c('')('')
Report comment to moderator  
Reply With Quote
Unread 11-04-14, 12:31 PM  
ckaotik
A Fallenroot Satyr
 
ckaotik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 168
Uploads: 5
Originally Posted by ckaotik
I'm on a Mac, using BetterBattlePetTooltip as well and have TipTac/ItemTooltipCleaner installed but disabled. There's also custom info on talents/role but that's just adding lines and shouldn't conflict.
Nevermind, I think it might be related to some custom code. I had moved the faction text and apparently didn't check properly what I was moving. Sorry to waste your time I'll disable that code and keep an eye open if it happens again.
__________________
It all starts to make a creepy kind of sense. Avatar
Last edited by ckaotik : 11-04-14 at 12:32 PM.
Report comment to moderator  
Reply With Quote
Unread 11-04-14, 01:56 AM  
ckaotik
A Fallenroot Satyr
 
ckaotik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 168
Uploads: 5
A weird side note: Just logged on and first had no world unit tooltips whatsoever (strange, but hovering unit frames worked fine). Disabled PhanxTooltip addon, Blizz' tooltips worked fine, re-enabled PhanxTooltip and they were back. Strange.

Either way, the first person I found produced the bug Normally its more of the rare kind, something along one in twenty or so. Happens in raids, at the temple, in the open world - couldn't see a pattern there.


Code:
GameTooltipTextLeft1:GetText() => "|cffffffffMithrandyr|r"
GameTooltipTextLeft2:GetText() => "|cffffffff90|r |cffeeeeeeBlutelf Priester|r"
GameTooltipTextLeft3:GetText() => nil
GameTooltipTextLeft4:GetText() => nil
GameTooltipTextRight1:GetText() => nil
GameTooltipTextRight2:GetText() => nil
GameTooltipTextRight3:GetText() => "|cffff2020@ |cff33ff33San die Sanfte|r|r"
GameTooltipTextRight4:GetText() => nil
I'm on a Mac, using BetterBattlePetTooltip as well and have TipTac/ItemTooltipCleaner installed but disabled. There's also custom info on talents/role but that's just adding lines and shouldn't conflict.
__________________
It all starts to make a creepy kind of sense. Avatar
Last edited by ckaotik : 11-04-14 at 01:58 AM.
Report comment to moderator  
Reply With Quote
Unread 11-03-14, 05:11 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
It shouldn't be possible for it to go on the right... how often does it happen? Does it seem to happen only in certain situations (fior example: only on enemy players in BGs) or not? Do you have any other addons modifying the tooltip? Can you post a screenshot next time you notice it happening?
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 11-03-14, 03:38 PM  
ckaotik
A Fallenroot Satyr
 
ckaotik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 168
Uploads: 5
I sometimes have the situation that the "@ Targetname" text is placed on the right hand side of the tooltip, which usually collides with previous lines of text. Is this behavior known/intended?
__________________
It all starts to make a creepy kind of sense. Avatar
Report comment to moderator  
Reply With Quote
Unread 10-17-14, 07:52 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Not interested, sorry. Any standalone addon that adds this (or any other info) to the tooltip should work fine, but I don't know of any offhand.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: