Category: ToolTip
Addon Information
Works with 3.2
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Author:
Version:
66
Date:
08-05-2009 06:56 PM
Size:
23.40 Kb
Downloads:
27,338
Favorites:
218
MD5:
Pictures
friendly npc
player
hostile npc
RantTooltip   Popular! (More than 5000 hits)

Update: I've recently rewritten this addon completely. It should be more efficient, however, this development of the addon has grown a mind of it's own. It's original purpose was to provide you with a very simple lightweight tooltip, but it has somewhat strayed away from that ideal. It now includes almost every option imaginable, and although I am proud of what it has become, I have created RantTooltip: Lite for those of you who want a simple lightweight tooltip. RantTooltip: Lite is similar to the original version of RantTooltip. The options are right in the lua, there are no in-game options. It has a number of options that are currently in RantTooltip. It contains the most options as possible while at the same time being very efficient and using around 30-50 kbs memory. I hope you all enjoy. Click here to check it out.

As for the original RantTooltip, I've spent a while now coding my own library (Rant) which serves all practical purposes. RantTooltip now uses this library. I've also added and modified some API's for GameTooltip to make managing the tooltip a lot easier for anyone who plans to make a tooltip addon with RantTooltip as the dependency. These are all listed in API.txt in the rar.

Modest, efficient, customizable tooltip. Should work fine with whatever WotLK throws at it.

Features:
  • GUI Options.
  • Anchored to cursor by default.
  • Ability to anchor the tooltip anywhere with the lua config variable, layout.anchor.
  • Option to change color scheme (unit name color, guild color, bg color, border color)
  • Unit Reaction Color or Class Color borders and likewise colors for unit names, all included in the colorScheme table.
  • The tooltip's font is completely customizable, including the ability to add font flags (OUTLINE) etc.
  • These options are tables at the top of the lua file. An option GUI has been intentionally excluded for efficiency purposes.
  • Target Line: Displays the unit's target.
  • Talent Spec Line: To enable or disable talent display, open rantTooltip.lua and set layout.showTalents to true/false respectively.
  • Combat Icon: displays the unit's combat status. Can be toggled on or off.
  • Raid Icon: displays the unit's raid icon. Can be toggled on or off.
  • Toggles for the PvP status Line, player guild line, and Player Titles.
  • Different border for the tooltip, also an option in the lua config.
  • Item Quality Borders
  • Custom Health Bar Texture
  • Optional mana bar display
  • Status bars can be displayed on the inside of the tooltip if desired
  • Scaling and a lot more.

I'm always willing to make this addon better. If you have any suggestions just let me know.

Feel free to make borders and upload them. I will try to include them as an option!

-[Rum] (Stuck)
  Change Log - RantTooltip
66 - updated for 3.2. still working on new options, but as of right now i've added SML support for fonts/borders/etc. also added dropdown menus.

-Quick update to fix "Show Guild".

65 - LOTS of changes. I've recoded the entire tooltip. I'll try to document every change here tomorrow. Have fun.

64 - Added 2 new options:
statusBarFormat: format for text on the statusbars inside the tooltip. Variables are: $cur, $max, $perc, and $miss
fadeOut: whether or not unit tooltips should fade out
Also added a draggable anchor for the tooltip.

[Revision 63] - Fixed an bug where death knight's mana bars were causing an error when displayed. Probably changed around some other stuff too.

[Revision 62] - Re-added the pvp line. Changed some code around.

[Revision 61] - Fixed a bug where the tooltip position would be skewed if anchored to the cursor while the tooltip was scaled.
Fixed a bug where loading the UI without RantTooltip_Options enabled would produce an error.
The show PvP flags option now changes the backdrop of the tooltip based on the units PvP status.
You can link an item in chat from the ItemRefTooltip by shift+clicking.
You can now also try on the item, from itemreftooltip, in the dressing room with Ctrl+click.
Quick fix for an error that was presenting itself when "Retrieving item info" was displayed on a tooltip.
More small changes.

[Revision 60] - More options revisions. Keep in mind these small updates aren't terribly necessary to download if you're just upgrading. I upload these to make sure the first time users can download the most revised version.

[Revision 59] - Bug fixes: Option edit boxes are no longer numeric only. Negative offsets will work with "CURSOR" anchor (and everything else).

[Revision 58] - cleaned up A LOT of code

[Revision 57] - more minor changes to make the options more user friendly

[Revision 56] - minor changes

[Revision 55] - Added GUI Options (/rant), coded from scratch. You can delete RantTooltip_Options if you don't want to use them at all.

[Revision 54] - New versions will no longer reload the default config. Just be sure to set new options if there are any.

[Revision 53] - Started counting versions in terms of revisions. Added version detection. If you use options, this will reload the default config everytime you install a new version. This is necessary to keep new slash command options available. This is why I highly recommend you keep your config.lua updated with your default settings and re-enter them when there is a new version.

Added a statusBarsInTooltip option. This took me maybe 10 lines of code to implement. This is still a lightweight addon. It uses a new global function that was added with the arrival of the achievement system to add a health bar and mana bar on the inside of the tooltip, so it is more efficient that other addons that do this. It shows health/mana values as well as percentages on the bars. You can enable this by typing: /rant layout statusBarsInTooltip true
You can turn the mana bar off with: /rant layout showManaBar false

You can now input offsets when the tooltip is anchored to the cursor.
Example: /rant layout anchor "CURSOR" 50 50

1.7.8 - Fixed a bug where showTitles wasn't working.

1.7.7 - RantTooltip now displays QuestHelper lines. Added a reanchorActionTips option that dictates whether a tooltip should be reanchored to action buttons or not, when mousing over them.

1.7.5 - Fixed display bugs. Cleaned up code.

1.7.3 - Now affects drop down menus and world map tooltips.
The tooltip is now anchored to the right of the action button when mousing over a spell.
Something else I forgot. Probably fixed something.

1.7.0 Beta - rantTooltip code has been reorganized to allow upcoming changes. Options enabled by default. You can now change all config settings in-game. Let me know how it is.

1.6.5 - Tooltip now displays a player's realm name with the config variables, "showRealm" and "realmAsterisk".

1.6.2 - fixed a texture bug

1.6.1 - Changed a few small details
Fixed a backdrop bug when used with tekKompare

1.6.0 - Added slash command options. In order to use these you must set "useOptions" to true in config.lua. This saves all the config variables for different characters. Use this if you want character specific settings or just want to change things around in-game.
Clicking ItemRefTooltip now links the item in chat.
Made raid icon less intrusive.
Started using the premade tooltip textures for cleaner memory usage.

1.5.1 - Added new default health bar texture. Borrowed from Nurfed UI (the best ui suite known to man).

1.5.0 - The showCombat option now displays a combat icon in the top left corner if the unit is in combat.
Added a showRaidIcon option which displays the unit's raid icon.
ItemRefTooltip (the item link tooltip) now displays the item's icon in the top left corner.

1.4.6 - fixed level display bug on mobs
cleaned up more code
the scale option now scales all tooltips

1.4.5 - added item quality borders - option in config
added a border thickness option
tooltip anchoring has been changed so it works correctly
cleaned up config a bit

1.4.2 - Added a status bar texture config option
Fixed a bug - NPC's will now display all of their tooltip lines correctly (i.e. "Innkeeper")

1.4.1 - Fixed bugs with WotLK:
-Fixed a reaction table bug
-Tooltips will now be displayed correctly when mousing over unit frames.

1.4.0 - Recoded the colorScheme settings from scratch. They are a lot more efficient now.
-Separated the lua config into "config.lua".
-Added a readme.txt for config setting info.
-Added a scale option in the config.
-Added x and y offsets for the tooltip anchor in the config.


-Added option to change the color table for unit reactions.
-Other stuff as well.

1.3.5 - fixed wotlk bug
new tooltip border

added config options for:
normal border color
tooltip edgeFile
more talent line options

1.3.1 - minor code adjustments

1.3 - Added a few new features/lines. Lua config in the layout table with these variables:
-showGuild = true, --Shows the player's guild line
-showTalents = false, --Shows the player's talent spec if set to true
-showPvP = false, --Shows the pvp line
-showCombat = false, --Shows a combat line if unit is in combat
-showTitles = false, --Shows player titles on the tooltip
-anchor = "CURSOR" --Tooltip anchor. Blizzard Default is "PRESERVE". Can be: TOPRIGHT, RIGHT, BOTTOMRIGHT, TOPLEFT, LEFT, BOTTOMLEFT, CURSOR, PRESERVE, or NONE

-Improved all around efficiency.
-Cleaned up a lot of code and fixed the ItemRef and Shopping tooltip displays.

1.2 - Changed the reaction border colors so they're easier on the eye.

1.1 - Fixed a target line bug and added a talent display line.
  Optional Files - RantTooltip
Sorry, there are currently no optional files available.
  Archived Versions - RantTooltip
File Name
Version
Size
Author
Date
65
21kB
Stuck
04-16-2009 01:25 PM
65
17kB
Stuck
04-16-2009 01:40 AM
65
21kB
Stuck
04-15-2009 10:33 AM
r64
16kB
Stuck
11-27-2008 02:16 PM
r64
16kB
Stuck
11-27-2008 09:46 AM
r63
14kB
Stuck
11-18-2008 05:01 PM
  Comments - RantTooltip
Post A Reply Comment Options
Old 11-23-2009, 04:42 PM  
NemoX
A Defias Bandit

Forum posts: 3
File comments: 1
Uploads: 0
Every now and then I'll get a cascading "no target" filling up the tooltip (and extending is border down). It can be cleared by moving off the unit and back over, but its annoying.
NemoX is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-16-2009, 02:39 AM  
Norek
A Defias Bandit
 
Norek's Avatar

Forum posts: 2
File comments: 41
Uploads: 0
Hey there Stuck, minor thing here but when you go to select the font type to use, there is no way to tell what font your CURRENTLY using other then remembering what it is.

Very minor like I said, as usual much thanks for a great mod
__________________
Norek - Garithos
Norek is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-15-2009, 01:55 AM  
Fitzpwns
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I am not sure how many other people have this issue, but with an anchor offset other than 0,0 , the tooltip of macros and abilities with cooldown timers were jumping in between the offset position (anchored at the cursor) and a default position. I made a fix that works for me, so I thought I would share it (just copy and pasted the updateposition cursor stuff). It only works with the Reanchor Action Tooltips option enabled. It's probably not the best fix, hopefully a better one gets put in a later update.

Quote:
Use at your own risk
In RantTooltip.lua, in the OnShow function, replace the line (line 517 I think)

self:SetPoint("BOTTOMLEFT", focus, "TOPRIGHT")

with

if (options.layout.anchor[2] + options.layout.anchor[3]) ~= 0 and options.layout.anchor[1] == "CURSOR" then
if self:GetAnchorType() == "ANCHOR_CURSOR" then
local x, y = GetCursorPosition()
local scale = UIParent:GetScale()
x = (x / scale) / options.layout.scale
y = (y / scale) / options.layout.scale
x = x - (self:GetWidth() / 2)
self:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", x + options.layout.anchor[2], y + options.layout.anchor[3])
end
else
self:SetPoint("BOTTOMLEFT", focus, "TOPRIGHT")
end
Fitzpwns is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-06-2009, 07:46 PM  
Nightspirit
An Aku'mai Servant
Interface Author - Click to view interfaces

Forum posts: 31
File comments: 104
Uploads: 4
Addon does not play nice with GearScore
Nightspirit is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-03-2009, 06:24 AM  
getaddon
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
can you add localization file?
getaddon is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-30-2009, 12:42 AM  
Nightspirit
An Aku'mai Servant
Interface Author - Click to view interfaces

Forum posts: 31
File comments: 104
Uploads: 4
This addon is the first I encountered I cannot install using MMOUI Minion. Something wrong with the file? Maybe the program can't handle rar.

Besides that: great addon, using it and happy with it
Nightspirit is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-18-2009, 12:13 AM  
Manaman
A Deviate Faerie Dragon

Forum posts: 19
File comments: 72
Uploads: 0
Quote:
Originally posted by Magnamaria
Hey all!

I've been using Ranttooltip for a short time now and it's brilliant.
I have, however, found something of a nuisance while questing.

After killing a mob from a quest and mousing over to loot, I frequently recieve this LUA error:
Message: Interface\AddOns\RantTooltip\RantTooltip.lua:326: attempt to index local 'text' (a nil value)
Time: 08/17/09 10:03:30
Count: 4
Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
(tail call): ?
[C]: ?
Interface\AddOns\RantTooltip\RantTooltip.lua:326: in function `GetUnitInfo'
Interface\AddOns\RantTooltip\RantTooltip.lua:341: in function `SetUnit'
Interface\AddOns\RantTooltip\RantTooltip.lua:537: in function <Interface\AddOns\RantTooltip\RantTooltip.lua:534>
[C]: ?
Interface\AddOns\Clique\Clique.lua:105: in function <Interface\AddOns\Clique\Clique.lua:103>
(tail call): ?
(tail call): ?
Interface\AddOns\QuestHelper\manager_event.lua:43: in function <Interface\AddOns\QuestHelper\manager_event.lua:25>
Interface\AddOns\QuestHelper\manager_event.lua:161: in function <Interface\AddOns\QuestHelper\manager_event.lua:161>


I'm guessing there's a conflict somewhere with quest helper as This error occured before I had clique installed also.
Anyone have any insight on the matter or is it a case of choosing QuestHelper or Ranttooltip?
I have been reading this is a bug with blizzards code. Supposedly you will get this error even using no mods at all.
Manaman is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-17-2009, 05:13 AM  
Magnamaria
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hey all!

I've been using Ranttooltip for a short time now and it's brilliant.
I have, however, found something of a nuisance while questing.

After killing a mob from a quest and mousing over to loot, I frequently recieve this LUA error:
Message: Interface\AddOns\RantTooltip\RantTooltip.lua:326: attempt to index local 'text' (a nil value)
Time: 08/17/09 10:03:30
Count: 4
Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
(tail call): ?
[C]: ?
Interface\AddOns\RantTooltip\RantTooltip.lua:326: in function `GetUnitInfo'
Interface\AddOns\RantTooltip\RantTooltip.lua:341: in function `SetUnit'
Interface\AddOns\RantTooltip\RantTooltip.lua:537: in function <Interface\AddOns\RantTooltip\RantTooltip.lua:534>
[C]: ?
Interface\AddOns\Clique\Clique.lua:105: in function <Interface\AddOns\Clique\Clique.lua:103>
(tail call): ?
(tail call): ?
Interface\AddOns\QuestHelper\manager_event.lua:43: in function <Interface\AddOns\QuestHelper\manager_event.lua:25>
Interface\AddOns\QuestHelper\manager_event.lua:161: in function <Interface\AddOns\QuestHelper\manager_event.lua:161>


I'm guessing there's a conflict somewhere with quest helper as This error occured before I had clique installed also.
Anyone have any insight on the matter or is it a case of choosing QuestHelper or Ranttooltip?
Magnamaria is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-16-2009, 05:53 PM  
essmene
A Murloc Raider

Forum posts: 4
File comments: 13
Uploads: 0
Re: Error with new MultiCast Button for Shamans

Quote:
Originally posted by Draewind
I keep getting this error in instances when I am healing as a Resto Shaman. I have to reload my UI to get the new Shaman Totem Bar to work correctly after the error occurs:


The MultiCast button is the new Shaman button that cast several totems with one click.

I can edit the code. If you find a quick fix and don't want to update, please just print the lines and changes. If you think it might be another addon involved, though none are listed in the error, I am using the latest version of Totem Timers which no longer affects those bars but might possibly cause the error. I don't use any bar mods at all. I will leave a copy of this with the Totem Timers author and ask if there is any issue with the button being hooked or tainted.
I read about a problem with tainting the totembar with tooltip addons.
http://forums.wowace.com/showpost.ph...postcount=1571
Quote:
I suggest you contact the author of TipTac and tell him that he has to secure hook "GameTooltip_SetDefaultAnchor" from now on, or it'll break the Totem Bar.

Last edited by essmene : 08-16-2009 at 05:53 PM.
essmene is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-15-2009, 02:30 AM  
Manaman
A Deviate Faerie Dragon

Forum posts: 19
File comments: 72
Uploads: 0
Combat Target Line Bug

When in combat, if I mouseover a target I am in combat with, the Target line will repeat itself until the entire tooltip has been extended in vertical size to fill the screen, and then it will repeat again back at a single Target line. No error codes or anything associated, just the really long tooltip.
Manaman is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-11-2009, 02:15 PM  
Draewind
A Defias Bandit
 
Draewind's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 10
Uploads: 1
Error with new MultiCast Button for Shamans

I keep getting this error in instances when I am healing as a Resto Shaman. I have to reload my UI to get the new Shaman Totem Bar to work correctly after the error occurs:



The MultiCast button is the new Shaman button that cast several totems with one click.

I can edit the code. If you find a quick fix and don't want to update, please just print the lines and changes. If you think it might be another addon involved, though none are listed in the error, I am using the latest version of Totem Timers which no longer affects those bars but might possibly cause the error. I don't use any bar mods at all. I will leave a copy of this with the Totem Timers author and ask if there is any issue with the button being hooked or tainted.
Draewind is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-10-2009, 01:31 AM  
Willowy
A Kobold Labourer

Forum posts: 1
File comments: 27
Uploads: 0
Rant still works great, been using it since you created the first version. Only bug I've seen, and not sure if its fixable since it's been around awhile:

Reanchor action tooltips doesn't work if you anchor tooltip to cursor with an offset. Using Dominos, cursor tooltip anchor with a Y offset of 40. Mousing over the action bars will give you a tooltip like any other object (in other words, not anchored to the button), and will sometimes "bounce" between the offset position and an anchored position, mostly on macros on action bars.
Willowy is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-06-2009, 01:02 PM  
Whatever4ever
A Kobold Labourer

Forum posts: 0
File comments: 33
Uploads: 0
How come it shows Health twise, but not on Taget UnitFrame's tooltip?...

Last edited by Whatever4ever : 08-06-2009 at 01:02 PM.
Whatever4ever is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-06-2009, 03:10 AM  
Heimdall
A Murloc Raider

Forum posts: 9
File comments: 9
Uploads: 0
i'll try this addon today since cowtip it's broken with 3.2
thank for the quick update

Regards
Heimdall is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-05-2009, 09:32 AM  
Stuck
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 1
File comments: 80
Uploads: 10
Updated for 3.2.

Last edited by Stuck : 08-05-2009 at 06:57 PM.
Stuck is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.