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,849
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 06-02-08, 09:54 PM  
trickdaemon
An Aku'mai Servant

Forum posts: 36
File comments: 17
Uploads: 0
How can I make it anchor to the tooltip, and is there any way to add mana statusbar on it? Thank you!
trickdaemon is offline Report comment to moderator  
Reply With Quote
Unread 06-03-08, 04:05 AM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
Question, how do i muve the it in the normal blizzard positions ?
Anchor will be set at line 43 in lolTip\core.lua open it with notepad++ or another program, that shows you in wich line you're.
Anyways, there is an part called "Anchor & Scale" at the very top of the file. Just comment it out, or delete it.

How can I make it anchor to the tooltip, and is there any way to add mana statusbar on it? Thank you!
um, it alyready has an anchor?! <.< Sry i don't understand you well. To modify the Anchor look up at this post ;P
Manabars will not be Added, as i don't like 'em sry.
Lolzen is offline Report comment to moderator  
Reply With Quote
Unread 06-03-08, 12:20 PM  
trickdaemon
An Aku'mai Servant

Forum posts: 36
File comments: 17
Uploads: 0
Originally posted by Lolzen
Anchor will be set at line 43 in lolTip\core.lua open it with notepad++ or another program, that shows you in wich line you're.
Anyways, there is an part called "Anchor & Scale" at the very top of the file. Just comment it out, or delete it.


um, it alyready has an anchor?! <.< Sry i don't understand you well. To modify the Anchor look up at this post ;P
Manabars will not be Added, as i don't like 'em sry.
As in, how do I make it follow the cursor. I see where the line is in the file but I don't know how to modify it to make it follow the cursor.
trickdaemon is offline Report comment to moderator  
Reply With Quote
Unread 06-03-08, 01:19 PM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
Ah, i see.
To make it work edit line 42 to
Code:
tooltip:SetOwner(parent,"ANCHOR_CURSOR");
and comment out, or delete line 43
Lolzen is offline Report comment to moderator  
Reply With Quote
Unread 06-05-08, 05:59 AM  
eiszeit
A Flamescale Wyrmkin
 
eiszeit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 141
File comments: 159
Uploads: 9
does enemy players (pvp, or so) have red/yellow name, or also class names?

(und für dich als deutsch: wenn ich spieler mit pvp an sehe, sind deren namen dann rot/gelb, oder ebenfalls klassen farbe? denn das hat mich bei tiptac so gestört, dass sie weiterhin klasse haben)
__________________
Lyn • I'm a mess of unfinished thoughts
eiszeit is offline Report comment to moderator  
Reply With Quote
Unread 06-05-08, 06:45 AM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
Ha, i'm so dumb!
i used UnitIsPvP instead of UnitIsPVP (notice the uppercase V)

so if you edit line 53 to
Code:
if (UnitIsPlayer(unit) and not UnitIsPVP(unit)) then
It showed me all Players with PvP on in ReactionColors, and them with PvP toggled off with their ClassColors.

--

Hah, thx für die deutsche übersetzung, is in der tat leichter
Dumm muss man sein um wegen einem buchstaben durchzudrehen (siehe oben)^^
Wie dem auch sein, so siehts aus: Jeder Player mit PvP an wird jetzt wie die mobs mit grellem Grün/Rot angezeigt, ansonsten wenn PvP aus is in deren ClassColors. Hoff das Passt so
Last edited by Lolzen : 06-05-08 at 07:14 AM.
Lolzen is offline Report comment to moderator  
Reply With Quote
Unread 06-07-08, 06:41 AM  
whocare
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
BUG REPORT as following:

[2008/06/07 20:39:09-6908-x2]: lolTip-1.2\core.lua:135: attempt to concatenate upvalue 'unit' (a nil value)
<in C code>: ?
whocare is offline Report comment to moderator  
Reply With Quote
Unread 06-08-08, 01:26 PM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
Thanks for the Report.
Either i am dumb, or i am dumb, but i don't know how to fix it, and i don't know why it occours :S Couldn't reproduce it either, so could you at least say when it happened? maybe there is a *bing* and i know what to do, but for now i am confused as hell.
Lolzen is offline Report comment to moderator  
Reply With Quote
Unread 06-08-08, 06:57 PM  
whocare
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Originally posted by Lolzen
so could you at least say when it happened? maybe there is a *bing* and i know what to do, but for now i am confused as hell.
It is similar with Kyron's condition! It occurred randomly , spontaneously and frequently.

Originally posted by Kyron
Okay, first report, this happened randomly "i think" in EotS

Code:
[2008/06/01 03:42:44-9407-x1]: lolTip-1.0\core.lua:135: attempt to concatenate upvalue 'unit' (a nil value)
<in C code>: ?

  ---
Edit: confirmed, happens everywhere, can't get rid of it.
whocare is offline Report comment to moderator  
Reply With Quote
Unread 06-08-08, 08:38 PM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
Didn't notice it is exact the same error, zomg.
Really, as much as i want to help, ive read this passage now ~20 times and switched things, but i really don't know whats wrong.. Maybe i am too noobish for this shit, if anybody knows what to do please.. i'm out of ideas ~.~

It is a bummer that i can't do nothing, i feel helpless. I even can't reproduce it, thats what is confusing me so much, it's running smooth for me.

*sigh* I think it is th best to use 1.0.1 at the mean time, i'll ask in forums for help. (As far as i know, this version had this error fixed <.<)

Sorry :<
Lolzen is offline Report comment to moderator  
Reply With Quote
Unread 06-10-08, 12:35 AM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 707
Uploads: 20
This addon looks neat
Aezay is offline Report comment to moderator  
Reply With Quote
Unread 06-10-08, 05:27 AM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
Except of the strange errors that appears for a bunch of people, i can't rid of.. ;P

Thanks, this coming from you i feel a bit better =)
A pity you'll stop writing Examiner/TTac & AzCb :S Used all of them a while back and loved each of them back then, hopefully someone will find to overtake it ~.+
Lolzen is offline Report comment to moderator  
Reply With Quote
Unread 06-10-08, 05:48 AM  
OttoDeFe
A Chromatic Dragonspawn
 
OttoDeFe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 178
File comments: 194
Uploads: 12
Hmmm... I haven't seen any errors...

I just popped by to say "I Like!"
__________________
"They say
the pen is mightier than any saber -
any sword -
but if there's a war
I just don't know if a Bic will save ya..."

-- Last Offence
OttoDeFe is offline Report comment to moderator  
Reply With Quote
Unread 06-10-08, 05:15 PM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
Thanks =)
Tried much today, failed everywhere, but i'm on a good way. Just got to figure it out.
Lolzen is offline Report comment to moderator  
Reply With Quote
Unread 06-11-08, 12:20 PM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 707
Uploads: 20
Just after line 107 in the OnTooltipSetUnit hook, you should add this, as GameTooltip:GetUnit() can return nil for the second parameter.

Code:
if (not unit) then
  GameTooltip:Hide(); -- Might not have to call this, try out what works best
  return;
end
Ok, I haven't tried it myself, but I believe this would fix the error.
Last edited by Aezay : 06-11-08 at 12:27 PM.
Aezay is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: