Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(101 Kb)
Download
Updated: 02-28-10 11:20 PM
Pictures
File Info
Updated:02-28-10 11:20 PM
Created:unknown
Downloads:39,346
Favorites:213
MD5:
RantTooltip  Popular! (More than 5000 hits)
Version: 0.28
by: Stuck [More]
RantTooltip (GUI) Options here.

(NOTE: If you plan on using a layout other than the default layout, you need to delete the RantTooltip_Layout folder first.)

RantTooltip is a tooltip addon that was influenced by oUF to include a layout system for tooltips. You'll find it very similar to oUF. A sample layout is included, based on p3lim's oUF layout. It was designed to match p3lim's layout due to my personal use of it. I take no credit for the design.

The documentation included in the zip file should give you all the information you need on how you create your own tooltip layout.

For everyone who prefers the original RantTooltip look, I've uploaded a layout called RantTooltip Classic.

-[Rum] (Stuck)
0.28 - "<" and ">" will now be colored according to the tag variable the encompass.
- The last player's talent spec will now be cached. This will stop the "Loading" text from flashing in some cases.

0.27 - Colons next to tag variables are no longer colored to be consistent with the adjacent variable. This was conflicting with tag updates.
- Added two more new tags: $curshort and $maxshort. These variables will display health and power values but will reduce their size if necessary.
- For example: 125000 becomes 125k. 1500000 becomes 1.5m.
- Added a $spec tag which will display the player's current spec - their talent tree with the most points in it.
- Do not use $spec and $talents in the same conditional. It will not work. If you want them on the same line, put them in separate conditionals, like this:
Code:
"{Talents: [$spec]}{ ($talents)}",
instead of:
Code:
"{Talents: [$spec] ($talents)}",

0.26 - Added $talents tag which displays the player's talents.
- Fixed a small issue with tag updates.
- Fixed an error concerning layouts without raid icons or combat icons.
- Various small changes.

0.25 - Fixed a few errors involving the DeleteLine function and unit tags.
- Updated the library.
- Other minor changes.

0.24 - Fixed a tag update issues that concerned "$target".
- Added PreOnSizeChanged and PostOnSizeChanged functions for every tooltip.
- Fixed an issue concerning GameTooltip.FindLine in the library.

0.23 - Updated a few things.
- Colons are now colored according to the tag variable to the left of them.
- Fixed and changed the library.
- Cleaned up code.
- Other miscellaneous changes.

0.22 - Fixed a conflict with GearScore. GearScore tooltip text now displays properly.
-Add override functions (i.e.):
GameTooltip.OverrideSetDefaultAnchor(self, parent)
GameTooltip:PreSetUnit(unit)
GameTooltip:PostSetUnit(unit)
GameTooltip:PreOnShow()
GameTooltip:PostOnShow()
GameTooltip:PreOnHide()
GameTooltip:PostOnHide()
GameTooltip:OverrideUpdateHealthBar(bar, cur, max)
GameTooltip:PreUpdateHealthBar(bar, cur, max)
GameTooltip:PostUpdateHealthBar(bar, cur, max)
GameTooltip:OverrideUpdatePowerBar(bar, cur, max)
GameTooltip:PreUpdatePowerBar(bar, cur, max)
GameTooltip:PostUpdatePowerBar(bar, cur, max)

0.21 - Fixed health bar text, fixed text color, and a few other things changed.

0.2 - Updated to fix memory problem.
Optional Files (0)


Archived Files (17)
File Name
Version
Size
Author
Date
0.27
101kB
Stuck
01-28-10 02:38 AM
0.26
97kB
Stuck
01-26-10 02:30 AM
0.25
97kB
Stuck
01-13-10 08:00 PM
0.24
97kB
Stuck
01-10-10 10:52 PM
0.23
76kB
Stuck
01-09-10 01:09 AM
0.22
76kB
Stuck
12-31-09 05:37 PM
0.21
76kB
Stuck
12-31-09 08:58 AM
0.2
76kB
Stuck
12-29-09 03:05 PM
0.2
76kB
Stuck
12-29-09 12:36 PM
0.2
76kB
Stuck
12-29-09 11:33 AM
66
23kB
Stuck
08-05-09 04:56 PM
65
21kB
Stuck
04-16-09 11:25 AM
65
17kB
Stuck
04-15-09 11:40 PM
65
21kB
Stuck
04-15-09 08:33 AM
r64
16kB
Stuck
11-27-08 01:16 PM
r64
16kB
Stuck
11-27-08 08:46 AM
r63
14kB
Stuck
11-18-08 04:01 PM


Post A Reply Comment Options
Unread 12-29-09, 01:20 PM  
Stuck
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 127
Uploads: 14
Originally posted by Skylinee
I added those lines at the end of the lua file, but the memory still climbs to 3-400 i'm afraid, so i'm not sure if i did it right.
I was wrong. I've pinpointed the real problem. It will be fixed soon. =)
Stuck is offline Report comment to moderator  
Reply With Quote
Unread 12-29-09, 01:20 PM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 791
Uploads: 13
What's the deal with the extra numbers before the names?

http://i49.tinypic.com/ifppci.jpg
__________________


Livestream | Twitter | Facebook | YouTube


Dajova is offline Report comment to moderator  
Reply With Quote
Unread 12-29-09, 01:13 PM  
copystring
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 68
Uploads: 2
Wow, the new RantTooltip is fabulous! I've been waiting for this for months, thank you for going that direction. I can finally make my custom tooltip with out much hassle.
copystring is offline Report comment to moderator  
Reply With Quote
Unread 12-29-09, 01:01 PM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
I added those lines at the end of the lua file, but the memory still climbs to 3-400 i'm afraid, so i'm not sure if i did it right.
Skylinee is offline Report comment to moderator  
Reply With Quote
Unread 12-29-09, 12:54 PM  
Stuck
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 127
Uploads: 14
Originally posted by Skylinee
Looks really nice, though i found that it creates alot of garbage memory after mousing over people (starts at around 50kb memory and ends up around 500kb after hovering over 5-6 people).
This is most likely from the tagging system. I noticed this as well. Idly the addon should be using 30-40kb. I've seen it jump up to ~150kb when mousing over units, but never above that. This is inherent in the tag update code, which needs to determine where the tag variables actually are on the tooltip. If you are worried about memory you can put these lines of code into your layout to disable to target and misc unit text updates which are enabled by default:

Code:
RantTooltip.TagEvents["$target"].update = false
RantTooltip.TagEvents["$misc"].update = false
See if that makes a difference.

It will be this way until I can think of a more efficient way of coding the updates. Until then, you can turn updates off.

The only other solution would be to re-release this without the tags, which kind of defeats the point of having a layout system in the first place.

edit: Also, I don't think the $misc update even has to be turned on. I turned that on while testing something and forgot to turn it off. =/
Last edited by Stuck : 12-29-09 at 12:58 PM.
Stuck is offline Report comment to moderator  
Reply With Quote
Unread 12-29-09, 12:46 PM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
Looks really nice, though i found that it creates alot of garbage memory after mousing over people (starts at around 50kb memory and ends up around 500kb after hovering over 5-6 people). Real shame as it's the nicest looking tooltip around atm.
Last edited by Skylinee : 12-29-09 at 12:53 PM.
Skylinee is offline Report comment to moderator  
Reply With Quote
Unread 11-23-09, 03:42 PM  
NemoX
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 5
Uploads: 1
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  
Reply With Quote
Unread 10-16-09, 12:39 AM  
Norek
A Murloc Raider
 
Norek's Avatar

Forum posts: 4
File comments: 76
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  
Reply With Quote
Unread 10-14-09, 11:55 PM  
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.

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  
Reply With Quote
Unread 10-06-09, 05:46 PM  
Nightspirit
A Cyclonian
 
Nightspirit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 44
File comments: 126
Uploads: 5
Addon does not play nice with GearScore
Nightspirit is offline Report comment to moderator  
Reply With Quote
Unread 09-29-09, 10:42 PM  
Nightspirit
A Cyclonian
 
Nightspirit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 44
File comments: 126
Uploads: 5
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  
Reply With Quote
Unread 08-17-09, 10:13 PM  
Manaman
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 39
File comments: 160
Uploads: 1
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  
Reply With Quote
Unread 08-17-09, 03: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  
Reply With Quote
Unread 08-16-09, 03:53 PM  
essmene
A Murloc Raider

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

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
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-09 at 03:53 PM.
essmene is offline Report comment to moderator  
Reply With Quote
Unread 08-15-09, 12:30 AM  
Manaman
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 39
File comments: 160
Uploads: 1
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  
Reply With Quote
Post A Reply



Category Jump: