Download
(101Kb)
Download
Updated: 02-28-10 11:20 PM
Pictures
File Info
Updated:02-28-10 11:20 PM
Created:unknown
Downloads:42,572
Favorites:207
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)


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. =)
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: 787
Uploads: 5
What's the deal with the extra numbers before the names?

http://i49.tinypic.com/ifppci.jpg
__________________
Livestream | Twitter | YouTube
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: 1
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.
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.
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.
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.
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.
Report comment to moderator  
Reply With Quote
Unread 10-16-09, 12:39 AM  
Norek
A Murloc Raider
 
Norek's Avatar

Forum posts: 9
File comments: 85
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
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
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: 1
Addon does not play nice with GearScore
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: 1
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
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.
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?
Report comment to moderator  
Reply With Quote
Unread 08-16-09, 03:53 PM  
essmene
A Murloc Raider

Forum posts: 5
File comments: 30
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.
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.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: