Download
(101Kb)
Download
Updated: 02-28-10 11:20 PM
Pictures
File Info
Updated:02-28-10 11:20 PM
Created:unknown
Downloads:42,589
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-11-08, 12:01 PM  
ObbleYeah
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 210
File comments: 122
Uploads: 3
Originally posted by Stuck
playerclass enables player class colors for the players name, not the border. Right now, I'm reworking the color settings a bit. Everything was too cluttered and inefficient. I'll add it in again. Just need to rethink it a bit.
Ok, thanks. Got confused because it was held in with all the other border color code :P
Report comment to moderator  
Reply With Quote
Unread 10-11-08, 02:51 PM  
cali
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
nice work
Report comment to moderator  
Reply With Quote
Unread 10-11-08, 07:37 PM  
aiikachi
A Cyclonian
 
aiikachi's Avatar

Forum posts: 44
File comments: 23
Uploads: 0
heya! First thing I would like to say is great job on this addon! I have been looking for a simple, easy tooltip mod to replace TinyTip for a long time.

Second, I have a couple request, and If "no!" then that's fine, I will still use this mod...But a couple features I would love to see are:

x,y positioning while still anchored to the mouse (I like having it on the mouse, but just slightly to the right)

Raid marks attached to the tooltips (on the side or what not)

and the least important is having buff information on the tooltip (so i can mouseover raid frames and see who is missing my buffs)

Just my suggestions. Thanks for the great addon!
Report comment to moderator  
Reply With Quote
Unread 10-11-08, 09:38 PM  
Odai
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
is there a way to remove the target line?
also is there a way to make the position the tooltip is different for each character?

great mod btw, thanx
Last edited by Odai : 10-11-08 at 11:43 PM.
Report comment to moderator  
Reply With Quote
Unread 10-12-08, 07:54 AM  
Stuck
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 127
Uploads: 14
Originally posted by aiikachi
heya! First thing I would like to say is great job on this addon! I have been looking for a simple, easy tooltip mod to replace TinyTip for a long time.

Second, I have a couple request, and If "no!" then that's fine, I will still use this mod...But a couple features I would love to see are:

x,y positioning while still anchored to the mouse (I like having it on the mouse, but just slightly to the right)

Raid marks attached to the tooltips (on the side or what not)

and the least important is having buff information on the tooltip (so i can mouseover raid frames and see who is missing my buffs)

Just my suggestions. Thanks for the great addon!
aiikachi, there is no way to incorporate the cursor anchor idea of yours without an OnUpdate script. It works, but it uses more memory than I would want for this addon. I'm all about efficiency, no matter how small of an increase it may be. I won't include it in the addon, but I can give you the code to add yourself...

Add this code to the very bottom of rantTooltip.lua if you want to use it:
local frame = CreateFrame("Frame")
frame:SetScript("OnUpdate", function()
if ( GameTooltip:GetAnchorType() == "ANCHOR_CURSOR" ) then
local x, y = GetCursorPosition()
GameTooltip:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", (x / UIParent:GetScale()) + layout.anchor[2], (y / UIParent:GetScale()) + layout.anchor[3])
end

end)
As for the raid icon idea, I'll start working on it.

...and the buffs. I'm not sure about that. I think that is crossing the line into a heavy weight addon. I will still think it through, though.

Odai, I will consider changing it to use saved variables. Originally, I wanted this addon to be completely tether-free, which is why I use a lua config. I'll see what I can do. And I don't mean to be insulting, but why would you want to remove the target line? If theres a good reason that I haven't heard of yet, I'll add the option for everyone.

edit: I've thought it through a bit and I'm considering making GUI options, with saved variables, as a completely separate mod for non-minimalists. By completely separate, I mean I wouldn't be altering a single line of this addon to work with it. They won't even be in the same rar. The whole point of this addon was for it to be light weight, but if people really really want a heavy weight mod, I'll add it separately.
Last edited by Stuck : 10-12-08 at 09:07 PM.
Report comment to moderator  
Reply With Quote
Unread 10-12-08, 05:44 PM  
Stuck
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 127
Uploads: 14
Updates for you guys:
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.
Report comment to moderator  
Reply With Quote
Unread 10-13-08, 07:56 AM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 787
Uploads: 5
Im getting this error everytime i log in:

[2008/10/13 15:35:39-121-x1]: rantTooltip\rantTooltip.lua:207: attempt to concatenate a nil value
rantTooltip\rantTooltip.lua:285: in function <Interface\AddOns\rantTooltip\rantTooltip.lua:231>

---
EDIT: Any idea to change the location of the Raid Icon itself? its a bit wrongly placed :P
__________________
Livestream | Twitter | YouTube
Last edited by Dajova : 10-13-08 at 07:58 AM.
Report comment to moderator  
Reply With Quote
Unread 10-13-08, 02:09 PM  
Stuck
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 127
Uploads: 14
Originally posted by richerich
Im getting this error everytime i log in:



EDIT: Any idea to change the location of the Raid Icon itself? its a bit wrongly placed :P
I can't fix the bug if I can't reproduce it. Is there anything you changed in the rantTooltip.lua? What config variables had you changed? From the looks of your error, it looks like the unit variable equals nil, but thats impossible because it is set in the first few lines.

The raid icon, I tried placing it on all corners, and it conflicted with the combat icon. To me, the bottom right looked the best because it couldn't have the top left. If you have an idea let me know.
Report comment to moderator  
Reply With Quote
Unread 10-14-08, 09:57 AM  
Stuck
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 127
Uploads: 14
Expect an update coming today when the patch hits. This will include an optional GUI config as well as optional saved variable use which will allow character specific settings.

Edit: Maybe not. Coding GUI options has reignited my hate for them.
Last edited by Stuck : 10-14-08 at 02:50 PM.
Report comment to moderator  
Reply With Quote
Unread 10-15-08, 12:24 AM  
tralkar
An Onyxian Warder
 
tralkar's Avatar

Forum posts: 352
File comments: 215
Uploads: 0
Can you upload it in zip? can't get rar on my computer..
Report comment to moderator  
Reply With Quote
Unread 10-15-08, 06:24 PM  
Odai
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
And I don't mean to be insulting, but why would you want to remove the target line? If theres a good reason that I haven't heard of yet, I'll add the option for everyone.
well to tell you the truth, i just wanted a mod that will keep the blizzard tooltip look and just move the tooltip, but now i've found the target line kinda useful, so yeh dont need to remove it anymore

edit: I've thought it through a bit and I'm considering making GUI options, with saved variables, as a completely separate mod for non-minimalists. By completely separate, I mean I wouldn't be altering a single line of this addon to work with it. They won't even be in the same rar. The whole point of this addon was for it to be light weight, but if people really really want a heavy weight mod, I'll add it separately.
that would be great, well for me it will be, cause pretty much each character of mine has a different UI so it would make life so much easier
Report comment to moderator  
Reply With Quote
Unread 10-15-08, 10:49 PM  
Vytae
A Murloc Raider

Forum posts: 6
File comments: 62
Uploads: 0
Getting this error:
Interface\AddOns\rantTooltip\rantTooltip.lua:207: attempt to concatenate a nil value
[C]: ?
Interface\AddOns\rantTooltip\rantTooltip.lua:207: in function <Interface\AddOns\rantTooltip\rantTooltip.lua:155>
Interface\AddOns\rantTooltip\rantTooltip.lua:309: in function <Interface\AddOns\rantTooltip\rantTooltip.lua:294>
[C]: ?
Report comment to moderator  
Reply With Quote
Unread 10-16-08, 05:16 AM  
Stuck
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 127
Uploads: 14
Originally posted by Vytae
Getting this error:
vytae, when do you get this error? Someone else has reported this, but I can't reproduce it. I really want to fix this, but I need to know why its happening first. What were you doing when you got this error? How is your config set up? It would be a lot of help. Thanks.
Last edited by Stuck : 10-16-08 at 05:30 AM.
Report comment to moderator  
Reply With Quote
Unread 10-16-08, 09:46 AM  
Vytae
A Murloc Raider

Forum posts: 6
File comments: 62
Uploads: 0
Originally posted by Stuck
vytae, when do you get this error? Someone else has reported this, but I can't reproduce it. I really want to fix this, but I need to know why its happening first. What were you doing when you got this error? How is your config set up? It would be a lot of help. Thanks.

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:
--Config: Please look at the readme for more information.

local layout = {
showGuild = true,
showTalents = true,
showTrees = true,
showSpecTab = true,
showPvP = true,
showCombat = true,
showRaidIcon = true,
showTitles = false,
scale = 1.0,
anchor = { "PRESERVE", 0, 0 },
edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border",
edgeSize = 16,
insets = { left = 3, right = 3, top = 3, bottom = 3 },
--statusBar = "Interface\\TargetingFrame\\UI-TargetingFrame-BarFill" --DEFAULT
statusBar = "Interface\\AddOns\\rantTooltip\\statusbar"
}

local colorScheme = {
border = { TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b, 0 },
backdrop = TOOLTIP_DEFAULT_BACKGROUND_COLOR,
guild = { 1, 0, 1 },
playerClass = false,
itemBorder = true,
reactionBorder = true,
reactionTable = "FACTION_BAR_COLORS"
}

local tooltipFont = {
font = "Fonts\\FRIZQT__.TTF",
hSize = 14,
size = 12,
flagA = nil,
flagB = nil
}

--Don't edit below here
function RantTooltip_config()
return layout, colorScheme, tooltipFont
end
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: