Download
(101Kb)
Download
Updated: 02-28-10 11:20 PM
Pictures
File Info
Updated:02-28-10 11:20 PM
Created:unknown
Downloads:42,592
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 10-17-08, 05:17 PM  
Stuck
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 127
Uploads: 14
Originally posted by Trilca
Hiya, how do I set the tooltip anchor somewhere to the middle right of my screen? I'm NO coder so going into the .lua just confuses me! I hate how tooltips follow the cursor, I like them in one spot all the time :P
If you enable useOptions in the config.lua and go in game, you can anchor the cursor by typing "/rant layout anchor "BOTTOMLEFT" 100 100" for example, where 100 100 are the x and y offset. BOTTOMLEFT is where you want it to be anchored on screen. You can also just change this in the config.

Skylinee, are you using any other tooltip addons? I would be happy to fix that, but I need to know which addon is conflicting with mine.

I just fixed the backdrop bug with tekKompare for you guys. As for the other bug reports (the slash command bug, the nil unit bug, the recent tooltip bug reported by skylinee), those all sound like conflicting addons. I would love to fix them, but I need to know which addons are conflicting.
Last edited by Stuck : 10-17-08 at 05:26 PM.
Report comment to moderator  
Reply With Quote
Unread 10-17-08, 03:56 PM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
I also have some kind of issue with the tooltip, it mostly happens when mousing over items on the actionbars though:

http://img413.imageshack.us/img413/1553/rant2sy3.png
Report comment to moderator  
Reply With Quote
Unread 10-17-08, 12:27 PM  
Stuck
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 127
Uploads: 14
Originally posted by Vytae
actually it says nothing at all...
I don't know what to tell you then. It works. I just tested it now.

Try typing "/script Rant_SlashHandler("help")". Let me know what happens.

If this doesn't do anything, the problem is your config.

Make sure useOptions looks like this:
Code:
useOptions = true,
Not:
Code:
useOptions = "true",
or anything else. It must be exactly the former.
Last edited by Stuck : 10-17-08 at 12:28 PM.
Report comment to moderator  
Reply With Quote
Unread 10-17-08, 12:21 PM  
Vytae
A Murloc Raider

Forum posts: 6
File comments: 62
Uploads: 0
Originally posted by Stuck
so "useOptions = true," is in your config, and when you type "/rant" it should say "Bad command. Type "/rant help" for info."

I think you're getting the wrong idea from that error message. If you get that error message, that means the slash command works. Type /rant help if you want to see all the settings.

I'll try to make it more user-friendly in versions to come, but I didn't put too much time into it.
actually it says nothing at all...
Report comment to moderator  
Reply With Quote
Unread 10-17-08, 12:14 PM  
Stuck
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 127
Uploads: 14
Originally posted by Vytae
When I update.. I shred the previous version and extract the updated version as a whole. I did try it after reloading the ui twice and no love for the slash command
so "useOptions = true," is in your config, and when you type "/rant" it should say "Bad command. Type "/rant help" for info."

I think you're getting the wrong idea from that error message. If you get that error message, that means the slash command works. Type /rant help if you want to see all the settings.

I'll try to make it more user-friendly in versions to come, but I didn't put too much time into it.
Last edited by Stuck : 10-17-08 at 12:15 PM.
Report comment to moderator  
Reply With Quote
Unread 10-17-08, 12:03 PM  
Vytae
A Murloc Raider

Forum posts: 6
File comments: 62
Uploads: 0
Originally posted by Stuck
Make sure you reloadui after you change useOptions to true. Also, make sure you extracted the updated rantTooltip.toc into the directory. I would assume some just update only the main files. THis time, the toc needs to be updated too.

As for tekkompare, I'll work on it today. I'll have to look at tekkompare's code and figure out what the problem is.

When I update.. I shred the previous version and extract the updated version as a whole. I did try it after reloading the ui twice and no love for the slash command
Report comment to moderator  
Reply With Quote
Unread 10-17-08, 11:53 AM  
Stuck
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 127
Uploads: 14
Originally posted by Vytae
Exact same thing happening with me as well(I am using tekkompare too) and to add more to the issue, at least for me, the /rant doesn't work when I set the value to "true"
Make sure you reloadui after you change useOptions to true. Also, make sure you extracted the updated rantTooltip.toc into the directory. I would assume some just update only the main files. THis time, the toc needs to be updated too.

As for tekkompare, I'll work on it today. I'll have to look at tekkompare's code and figure out what the problem is....

Update: It seems tekkcompare doesn't use the the GameTooltip_ShowCompare function. I'll rehook everything with a ui handler when I get the chance. I changed this in the last update, but I had no idea it would create problems with other addons.
Last edited by Stuck : 10-17-08 at 12:12 PM.
Report comment to moderator  
Reply With Quote
Unread 10-17-08, 11:26 AM  
Vytae
A Murloc Raider

Forum posts: 6
File comments: 62
Uploads: 0
Originally posted by Willowy
Hey, thx for the work so far, this is a great tooltip addon.

Been using it through the last few revisions; the latest update (1.6.0) seems to affect my tekkompare tooltips, causing their tooltip backdrop(s) to be white. The previous version did not. The main tooltip itself is unaffected.
Exact same thing happening with me as well(I am using tekkompare too) and to add more to the issue, at least for me, the /rant doesn't work when I set the value to "true"
Report comment to moderator  
Reply With Quote
Unread 10-17-08, 09:20 AM  
Trilca
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Hiya, how do I set the tooltip anchor somewhere to the middle right of my screen? I'm NO coder so going into the .lua just confuses me! I hate how tooltips follow the cursor, I like them in one spot all the time :P
Report comment to moderator  
Reply With Quote
Unread 10-17-08, 07:40 AM  
Willowy
A Kobold Labourer

Forum posts: 1
File comments: 39
Uploads: 0
Hey, thx for the work so far, this is a great tooltip addon.

Been using it through the last few revisions; the latest update (1.6.0) seems to affect my tekkompare tooltips, causing their tooltip backdrop(s) to be white. The previous version did not. The main tooltip itself is unaffected.

Fwiw, I appreciate your keeping the mod light; config in lua has been clear and pretty easy to understand.

**Users**: This mod adds some pretty solid functionality into the game tooltip without the large overhead of the many other tooltip addons out there. Lrn2rightclick and open with wordpad, the author has laid out the options pretty clearly along with instructions included. Just my opinion, but if you need a full featured in game config, might take a look at one of the other options out there.
Last edited by Willowy : 10-17-08 at 08:19 AM.
Report comment to moderator  
Reply With Quote
Unread 10-16-08, 08:24 PM  
Stuck
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 127
Uploads: 14
Originally posted by spiritryu
Thanks! I'll just wait for the release cause i don't wanna break anything =p
and i'm too busy/lazy playing with the patch to bother. xD
Just uploaded the new version. You will still need to set "useOptions" in config.lua to true before you can use the slash command. The slash command is disabled by default. This is the bare minimum for addon options. I really never intended to have these. I only included these options because a select few wanted them. Otherwise, I probably would've made neat looking GUI options.

There are a few things that cannot be changed in-game. This includes: the tooltip's font, the backdrop, the scale, the border file/size, and the status bar texture. This is because I would have to rewrite a lot of rantTooltip.lua in order to do this (Actually I wouldn't, but I really don't care for in-game options).
Last edited by Stuck : 10-16-08 at 08:36 PM.
Report comment to moderator  
Reply With Quote
Unread 10-16-08, 06:28 PM  
spiritryu
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Thanks! I'll just wait for the release cause i don't wanna break anything =p
and i'm too busy/lazy playing with the patch to bother. xD
Report comment to moderator  
Reply With Quote
Unread 10-16-08, 06:17 PM  
Stuck
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 127
Uploads: 14
Re: Command?

Originally posted by spiritryu
Not sure if this is obvious or not... but how do I config settings? I've tried /ranttooltip /rant /ranttip etc. etc.... I have no clue...unless I can't customize anything...
Open config.lua. All the settings are there.

I've written a simple slash command menu that lets you change settings in game. I'll release it soon.
Report comment to moderator  
Reply With Quote
Unread 10-16-08, 05:52 PM  
spiritryu
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Command?

Not sure if this is obvious or not... but how do I config settings? I've tried /ranttooltip /rant /ranttip etc. etc.... I have no clue...unless I can't customize anything...
Report comment to moderator  
Reply With Quote
Unread 10-16-08, 05:22 PM  
Stuck
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 127
Uploads: 14
Originally posted by Vytae
It happens when mousing over random items/npcs/players/pets. It also happens when reloading the UI and alt tabbing when moused over the things listed above.

Here is how my config is set up:
Does it happen all the time, or every once in a while?

The only thing I can do is assume some other addon is interfering with this one. I can't duplicate this bug no matter what I do.

If you want to do me a big favor and disable every addon except rantTooltip and see if you still get the error, I would appreciate it.
Last edited by Stuck : 10-16-08 at 08:38 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: