Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(8 Kb)
Download
Updated: 08-05-09 02:02 PM
Pictures
File Info
Updated:08-05-09 02:02 PM
Created:unknown
Downloads:15,880
Favorites:115
MD5:

lolTip  Popular! (More than 5000 hits)

Version: 2.2
by: Lolzen [More]

Explanation
Once i experienced Lua for the first time, i've ever since dreamed about making my very own tooltip.
Someday i really did it, and i've learned much trough this addon. It has grown very much since the release back then.

What can lolTip do?
lolTip features following Stuff:

  • Unitnames colors in class/reactioncolor
  • Level displayed in difficultycolor
  • Own Guild Coloring
  • Show GuildRank, GuildRankName next to the Guild
  • Target on the topright if exists
  • RaidIcon
  • Anchor changeable to follow the mouse
  • Hides Playertitles in Tooltip
  • Nicer Style if PvP is activated on mouseoverunit
  • ItemQualitycolored tooltipborders
  • Healthbar inside the Tooltip
  • Modifiable HealthBar-values in different Styles
    -percentage (37%)
    -numeral (3489/5000)
    -shortened (42.3k)
    -diff (-29399)
    -They also can be mixed up like diff and shortened (-37.4k)
  • de/activateable modules
    -Talents
    -disable fading, and hide tooltip instant instead
    -Dont popup Actionbartooltips inFight
    -Buffdisplay under the Tooltip
  • Easy changeable colors
  • Support for ManyItemTooltips (Skinning)
  • Support for Class Colors (Custom Class Colors)

Modules Q&A
Q:So what are this modules, and why are they there anyway?
A:The modules are tiny additions to the Tooltip not everyone might wants to have activated. So they are deactivatable.
Q:I want module xy.
A:You can a) Request it, or b) make it you own and send it to me per PM, and i'll add it in the next Release. Personally i prefer b, because i want to focus on the main Addon, not the modules, but also want to give the users the chance to habe a customable, yet not bloated Addon.

Other
To modify the border and StatusBartexture, you'll have to replace the blp's. (Also tga's possible)

Configuration
The configuration will be done through lua only.
You may open tip.lua and at the very top you'll find the configuration
Also there is a little config in lolTip\modules\buffs.lua
There you can modify the maxumum auras displayed, the size of them, the x & y offsets and add filters (no worry, a small text from WoWWiki should describe it fairly easy)

Thanks to
Aezay, Cargor & Seerah
You! for Reporting bugs, and suggestions

Hope you enjoy lolTip as much as i do,
Lolzen

2.2
*Fixed status display (afk, dnd, offline)
*Updated API change
*TOC bump

2.1.2
*Fixed a second error popping up when not having Class Color installed
*Fixed error when hovering over a guildless player or playerpet when having guilranks activated

2.1.1
*Fixed Error popping up if NOT having Phanx's Class Color Addon installed

2.1
*Updated Descriptionpage
*Small codetweaks due changes
*Added Support for Phanx's Class Color
*Added Percentage display for the HealthBar
*Added diff display for the HealthBar
*Added option to shorten the HealthBarar-values
*Added module: buffs
*Changed the Color of the 'Dead'-text to dark-orange

2.0.1
*Added: Option for showing GuildRank/GuildRankName right next to the guild
*Added: Anchors and offsets for MouseOverAnchor to config
*Fixed: guildcoloring didn't worked
*Fixed: If a target is shown on tooltip and the target isn't selected anymore, it will now correct hide it (eg. target yourself by clicking on your playerframe, and hit esc)
*Fixed: Problems with other Addons modifiing the Tooltip resultin in an overlapping HealthBar
*Fixed: (talentsmodule) If the data from talents is gathered the Tooltip doesn't "bump" anymore.
*Small codetweaks

2.0
*Out of Beta! The Addon seems stable enough to make it a regular release.
*Optimized code a bit
*With the optimized code a bug is fixed where the Tooltip on Special Bosses as Thrall is not messed up anymore
*Optimized code in Talentmodule a bit as well
*Changed: If no Talents are on units 10+ then it says "Talents: None" instead of "Talents: No Talents"
*Fixed: (talentsmodule) If unit is far far away and no talents can be gathered the Standard-PvP-line is hidden
*Added: (PvP) will be colored in the Reactioncolor if not customPvPcolors is activated (so you can still color it in your colorchoice, if you want)
*Added: RaidIcon on a unit that has a RaidIcon set.

2.0 (Beta3)
*Fixed talentsmodule overwriting lvl, race line if in guild but not pvp activated
*Fixed [YOU]-tag colored incorrect sometimes
*Added If talentsmodule isn't activated the standard PvPline is now hidden

2.0 (Beta2)
*Fixed bug that messed up Standart UnitFrames and spew out errors
*Fixed "-1Boss" is now correct shown as "?? Boss"
*Possible bugfix: use alternative color when reactioncolor can not be gathered (for UnitNames)

2.0 (Beta)
*Complete Rewrite
*Changed Targetlineappearence
*Made healthBar slightely thinner
*Changed display if unit has PvP activated
*made talents, instanthiding and actionbartips hiding in combat, modules de/acticatable in the config

1.5.2
*TOC bump
*Added Option: Disable fading (instant hide)
*Fixed: ItemRefTooltip & ShoppingTooltip 1, 2 & 3 using old background
*Added ManyItemTooltips Support
*Removed fix for DokingStation, as it is fixed by DockingStation itself
*Fixed Backdrop_Color not working, added to table

1.5.1
*Changed the way the space for the HealthBar is Added. I hope this prevents lolTip interfering with other Addons adding lines.
*fixed Tooltip not fading out correct some times.
*fixed SBMove = false - this was messed up in at least 1.5
*fixed weird border on doodads when MouseoverAnchor activated
*Added Border and Guild colors to config, so you don't need to scroll down anymore
*Added Option: Hide ActionBar-tooltips when in Combat
*Fixed Not showing Tooltips on DockingStation with MouseoverAnchor activated (thanks Cargor ;) )

1.5
*Fixed the Error randomly popping up about UnitLevel is nil
*Changed default look a bit
*Changed MouseoverAnchor, so you can offscale the Tooltip (Got this from ui.phcnet.de ;) )
*optimised Description for config
*no more "lvl -1". It is now shown correct as "??"
*Updated inbuilt TipTacTalentscode by Aezay
*little code Tweaks here and there

1.4.2
*Added an option to shorten high numbers (eg 12000 -> 12k), Thanks cs-cam
*Fixed self value not working (stupid me, messing around and forgetting the changes)
*A few little changes, not mentionable

1.4.1
*TOC bump
*Removed my own config, only standart Config remained
*cleared unnessecary 2.4 codebits

1.4
*Added Lua Config with comments
*Added Option for Realmnames when crossrealm
*Added Seera's Quality Border
*made PvPline hiding optional
*Fixed reactionColors in Wrath
*Changed TexturePaths
*probably fixed the error with ureaction
*Temporary usable on both, live and Beta

1.3.3
*Changed formating a bit
*fixed a little thing with HealthBar
*fixed bug with target from mouseoverplayer behind HealthBar (finaly!")

1.3.2.1
*Just fixed a small BrainAFK error

1.3.2
*Unit-Health should be fixed really now
*Updated how targetline works
*Updated PreviewPic

1.3.1
*Now hides Playertitles by default (Thanks Shantalya)
*should fix a error with unithealth (Thanks Moon Witch)
*PvP-line now complete hidden!

1.3
*Code cleaned (thanks Cargor)
*Bug should be fixed REALLY now =)

1.2.1.1
*Fixed forgotten locals

1.2.1
*Hopeful fixed targetline issue some people had. (Thanks Aezay)
*Splitted code into tinier bits, for a nicer editing.

1.2 (actually i did skip a number, my fault)
*Added ReactionColor to tartetline when targettarget is an NPC.
*Added GuildColoring if own Guild is shown.

1.0.1
*Thanks Kyron & Snago: Fixes a bug with targetline
*Added Scale (default 1)
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Author
Date
2.1.2
8kB
Lolzen
07-30-09 11:06 AM


Post A Reply Comment Options
Unread 04-03-09, 03:49 AM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar

Forum posts: 268
File comments: 250
Uploads: 5
Got this, while mouseovering over a party pet frame

Code:
1147 \AddOns\lolTip\core.lua:341: attempt to concatenate a nil value
1147 \AddOns\lolTip\core.lua:101: attempt to index local 'color' (a nil value)
And i think i got the same yesterday at malygos, prolly something with party pets/vehicles aswell.

Allright, quickfix for line 101, as it seems you can't gather the unit reaction color if the unit isn't in range, change line 99 to this
Code:
elseif not isPlayerOrPet and UnitInRange(unit) then
About line 341, that would be the same problem so change line 340 to this
Code:
if (_G['GameTooltipTextLeft'..i]:GetText():find('^'..LEVEL)) and UnitInRange(unit) then
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Last edited by Caellian : 04-03-09 at 03:21 PM.
Caellian is offline Report comment to moderator  
Reply With Quote
Unread 04-02-09, 07:24 AM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
Originally posted by Skylinee
Thanks, please take a look at this too, which is the biggest reason why i can't use it yet.
sure thing
Lolzen is offline Report comment to moderator  
Reply With Quote
Unread 04-02-09, 06:24 AM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
Thanks, please take a look at this too, which is the biggest reason why i can't use it yet.


Originally posted by Skylinee
With 1.5 and Dockingstation, i get no tooltip when mousing over objects on the panels.
Skylinee is offline Report comment to moderator  
Reply With Quote
Unread 04-02-09, 01:59 AM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
I'll try to add options for instant hiding and hiding actionbartooltips in combat, but yet i'm still on trying to fix the bug where the Tooltip isn't fading out correct.
I changed the way Space for the Healtbar is made, so i do not have to call GameTooltip:Show() (wich causes the bug), but i still have a bit of problems.
Anyways, i think the new way the Space is added, this should prevent the Addon from interfer with others, but this is still unconfirmed.
Unfortunely, as of today, i'll be out of the Country till next week, so i can't work on lolTip till then, sorry.

Just felt to say =)
Lolzen is offline Report comment to moderator  
Reply With Quote
Unread 03-31-09, 01:55 PM  
willgk
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 37
File comments: 153
Uploads: 3
As always lolZen, perfect looking tooltips . I really like the changes you made to the borders. I do wish it were easier to keep the tooltip cleaner from other mods that add the quest info too bad I guess. Luckily most of them allow you to turn most of those things off.
willgk is offline Report comment to moderator  
Reply With Quote
Unread 03-30-09, 01:12 PM  
light007
A Kobold Labourer

Forum posts: 1
File comments: 12
Uploads: 0
Nice addon - i like it so far. One thing i'm missing is to hide tooltips for button /spells/action) when i'm infight. I have my buttons near my grid fram and in the heat of the battle the tooltips from the button overlap the grid frame - it's annoying. Can you please insert an option to turn off tooltips for buttons when i'm infight ?

This addon doing the job but with the default game tooltip

http://www.wowinterface.com/downloads/info6574-CombatHideTooltip.html
Last edited by light007 : 03-30-09 at 01:13 PM.
light007 is offline Report comment to moderator  
Reply With Quote
Unread 03-30-09, 10:58 AM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
With 1.5 and Dockingstation, i get no tooltip when mousing over objects on the panels.

Also, is there a way to disable the slow fading out after targeting someone and make it instant instead?
Last edited by Skylinee : 03-30-09 at 11:01 AM.
Skylinee is offline Report comment to moderator  
Reply With Quote
Unread 03-27-09, 02:50 AM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
Put this at line 279
Code:
if (unit and UnitName(unit) ~= UNKNOWN) then
and after line 342 an additional
Code:
end
This will make lolTip without any Errors, as far as i know.
Also i'll update the Addon in the next time.
Lolzen is offline Report comment to moderator  
Reply With Quote
Unread 03-22-09, 04:21 PM  
Nightspirit
A Cyclonian
 
Nightspirit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 44
File comments: 126
Uploads: 5
Originally posted by hipjipp
I've added this to my loltip code and i've not seen any errors regarding that since:
Code:
GameTooltip:SetScript("OnHide", function(self)
    self:SetBackdropBorderColor(0,0,0);
    self:SetBackdropColor(0,0,0);
    self.default = nil;
    GameTooltip_ClearMoney(self);
    GameTooltip_ClearStatusBars(self);
    
    GameTooltip:Hide();
    ShoppingTooltip1:Hide();
    ShoppingTooltip2:Hide();
    ShoppingTooltip3:Hide();
end);
The error is about wrong function usage, adding code that does not change that usage will not solve that.
Nightspirit is offline Report comment to moderator  
Reply With Quote
Unread 01-17-09, 08:43 AM  
hipjipp
A Cliff Giant
 
hipjipp's Avatar
AddOn Author - Click to view AddOns

Forum posts: 79
File comments: 229
Uploads: 10
I've added this to my loltip code and i've not seen any errors regarding that since:
Code:
GameTooltip:SetScript("OnHide", function(self)
    self:SetBackdropBorderColor(0,0,0);
    self:SetBackdropColor(0,0,0);
    self.default = nil;
    GameTooltip_ClearMoney(self);
    GameTooltip_ClearStatusBars(self);
    
    GameTooltip:Hide();
    ShoppingTooltip1:Hide();
    ShoppingTooltip2:Hide();
    ShoppingTooltip3:Hide();
end);
__________________
Being boring is fine too.
hipjipp is offline Report comment to moderator  
Reply With Quote
Unread 01-17-09, 02:39 AM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar

Forum posts: 268
File comments: 250
Uploads: 5
Originally posted by Zapper1
Thanks, that's sweet

But now i found a minor bug, when i mouse over a mob in the combat log i get this error

Code:
interface\addons\loltip\core.lua:312: usage:
unitlevel("unit")
Sadly i'm getting the same error, shame because this tooltip addon rox :s
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Caellian is offline Report comment to moderator  
Reply With Quote
Unread 01-01-09, 02:59 AM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
Sorry folks, i know it's not working that smooth right now, but i intent to rewrite the code someday. But right now i don't have an active Payment, sorry.
Lolzen is offline Report comment to moderator  
Reply With Quote
Unread 12-30-08, 09:58 AM  
8489
A Defias Bandit
 
8489's Avatar

Forum posts: 2
File comments: 36
Uploads: 0
having problems with CT mods tooltip mover not working with loltip. Any help on moving the tooltip would be great
8489 is offline Report comment to moderator  
Reply With Quote
Unread 12-29-08, 03:54 PM  
Phatrik
A Murloc Raider
 
Phatrik's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 4
File comments: 33
Uploads: 1
Originally posted by Zapper1
Thanks, that's sweet

But now i found a minor bug, when i mouse over a mob in the combat log i get this error

Code:
interface\addons\loltip\core.lua:312: usage:
unitlevel("unit")
I just did a sort of fix for that, as I also get it frequently. Just changed the line into this:
Code:
level = UnitLevel("mouseover")
Did the same with NumLines some rows futher down:

Code:
_G["GameTooltipTextLeft"..i]:SetText(leveltext.." "..UnitCreatureType("mouseover"))

EDIT: Turns out this doesn't work that well either. Blah!
Last edited by Phatrik : 12-30-08 at 11:38 AM.
Phatrik is offline Report comment to moderator  
Reply With Quote
Unread 12-09-08, 04:02 AM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 643
File comments: 265
Uploads: 23
Now why haven't i seen this before? Awesome tooltip. Good job!
__________________
All I see is strobe lights blinding me in my hindsight.
Wimpface is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: