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,788
Favorites:117
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
Old 07-30-09, 08:33 AM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
I hope on getting Feedback, especially the people using the buff-module

/e @ Skylinee: My fault, i forgotten to test the Addon without !ClassColors.. hope fixing in in the right time, i've git to go in 20 mins, and don't come earlyer home than ~22:00. Hang on.
Last edited by Lolzen : 07-30-09 at 08:36 AM.
Lolzen is offline Report comment to moderator  
Reply With Quote
Old 07-30-09, 08:31 AM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 390
Uploads: 0
[2009/07/30 16:30:34-2908-x4]: lolTip-2.1\tip.lua:192: attempt to index global 'CUSTOM_CLASS_COLORS' (a nil value)
Interface\FrameXML\UnitFrame.lua:151: in function `UnitFrame_UpdateTooltip':
Interface\FrameXML\UnitFrame.lua:133: in function `UnitFrame_OnEnter':
ShadowedUnitFrames\modules\units.lua:469: in function <...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:467>

---


[2009/07/30 16:30:41-2908-x2]: lolTip-2.1\tip.lua:192: attempt to index global 'CUSTOM_CLASS_COLORS' (a nil value)
<string>:"*:OnTooltipSetUnit":2: in function <[string "*:OnTooltipSetUnit"]:1>
<in C code>: ?
<in C code>: ?
<in C code>: ?

---


[2009/07/30 16:31:36-2908-x3]: lolTip-2.1\tip.lua:425: attempt to concatenate a nil value
<in C code>: ?
<in C code>: ?

---



Popping like crazy.
Last edited by Skylinee : 07-30-09 at 08:32 AM.
Skylinee is offline Report comment to moderator  
Reply With Quote
Old 07-29-09, 11:47 AM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
I built it in, and it will be in the next release as option.

/e
Code:
GameTooltipStatusBar.Text:SetFormattedText("%.0f%%", min*100/max)
if you can't wait
Last edited by Lolzen : 07-29-09 at 11:48 AM.
Lolzen is offline Report comment to moderator  
Reply With Quote
Old 07-29-09, 09:33 AM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 825
Uploads: 13
How do i change the values so it only displays procent? I've found the line:

if unit and GameTooltipStatusBar.Text then
local min, max = UnitHealth(unit), UnitHealthMax(unit)
if max == min then
GameTooltipStatusBar.Text:SetText(min)
elseif min == 0 then
GameTooltipStatusBar.Text:SetText("|cff7f7f7f"..DEAD.."|r")
else
GameTooltipStatusBar.Text:SetText(min.."/"..max)
end
... but i can't figure out how to change it to % >.<
__________________


Livestream | Twitter | Facebook | YouTube


Dajova is offline Report comment to moderator  
Reply With Quote
Old 07-29-09, 02:39 AM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
Sure, actually i have forgotten, but i wanted to build it in the 2.0 release - Notes are underrated ;P

Thanks for the suggestion ;D
Lolzen is offline Report comment to moderator  
Reply With Quote
Old 07-28-09, 08:07 PM  
Cala
A Fallenroot Satyr
 
Cala's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 22
File comments: 49
Uploads: 1
Quick feature request since I'm loving this tooltip mod madly:

Support for Phanx's Class Colors - throws me for a loop when I see a dark blue color for a shammy.

Other than that, I love this thing!
Cala is offline Report comment to moderator  
Reply With Quote
Old 07-28-09, 04:23 AM  
crian
A Defias Bandit
 
crian's Avatar

Forum posts: 3
File comments: 27
Uploads: 0
na das is doch mal fein.

ich hatte für mich eine einfachere lösung bezüglich der hp leiste gefunden, habe sie einfach außerhalb des tooltips gesetzt. somit hat da auch nix mehr überlappt!

bin schon auf die neue version gespannt!
Last edited by crian : 07-28-09 at 04:24 AM.
crian is offline Report comment to moderator  
Reply With Quote
Old 07-28-09, 03:56 AM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
Whoa vielen vielen dank Arhay!

Ich habs selbst eben mit Questhelper nochmal getestet und siehe da alles ohne probs =)
Zusätzlich zu diesem problem haben die changes gleich einen weiteren bug gefixed den ich in den letzen tagen bemerkt hatte

Werde heute noch bisschen herumprobieren, und gegen nachmittag dann updaten.

Ich glaube weiß was du mit dieser verzögerung meinst, ich schaue ob ich das heute vielleicht optimieren kann, aber der sinn vom 0.1 update besteht darin die cpu-lastigkeit eines OnUpdates bisschen einzudämmen, weil es sonst jede millisekunde upgedated wird.
Lolzen is offline Report comment to moderator  
Reply With Quote
Old 07-27-09, 12:26 PM  
Arhay
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Ich hab mal rumprobiert und eine Lösung für den überlappende Lebensbalken gefunden.

Code:
hooksecurefunc(GameTooltip, "AppendText", function(self)
	local _, unit = GameTooltip:GetUnit()
	if not unit then return end
	if UnitExists(unit.."target") then
		self:SetHeight(GameTooltip:GetHeight()+10)
	end
end)
zu

Code:
hooksecurefunc(GameTooltip, "AppendText", function(self)
	self:SetHeight(GameTooltip:GetHeight()+10)
end)
und (in SetScript)

Code:
if not UnitExists(unit) then
	if activetl then
		getLine(targetline, "Right"):Hide()
		GameTooltip:AppendText("")
	end
	return
end
zu

Code:
if not UnitExists(unit) then
	getLine(targetline, "Right"):Hide()
	GameTooltip:AppendText("")
	return
end
ändern.

Weil es (bei mir zumindest) immer eine verzögerung gab bis der Tooltip komplett und richtig angezeigt wurde habe ich die updateTime von 0.1 auf 0.01 gesetzt(ist vielleicht ein bisschen zu niedrig muss man mal schauen).

Funktioniert bei mir mit Addons die den Tooltip verändern (Carbonite, MobInfo) und auch nur mit lolTip.
Last edited by Arhay : 07-27-09 at 04:29 PM.
Arhay is offline Report comment to moderator  
Reply With Quote
Old 07-20-09, 04:31 PM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
Originally posted by subvertedhope
Is there a simple way to get this to display guild rank next to the guild name?
I'll add it as option in the next release.
Lolzen is offline Report comment to moderator  
Reply With Quote
Old 07-19-09, 10:44 PM  
subvertedhope
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Is there a simple way to get this to display guild rank next to the guild name?
subvertedhope is offline Report comment to moderator  
Reply With Quote
Old 07-17-09, 10:35 AM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
@ Voy, thanks for the list.

@ crian, ah danke. Ich werd demnächst wenn ich wieder dazu komme schauen wie ich das demnächst behebe.
Lolzen is offline Report comment to moderator  
Reply With Quote
Old 07-17-09, 02:08 AM  
crian
A Defias Bandit
 
crian's Avatar

Forum posts: 3
File comments: 27
Uploads: 0
habe jetzt auch mal carbonite ausprobiert. da tritt der fehler auch auf, aber nur bei quest relevanten mobs. dort auch nur, wenn man den mob anvisiert und ooc ist, sobald man ic ist, wird im tooltip alles normal angzeigt. andere npc`s sind davon nicht betroffen.
crian is offline Report comment to moderator  
Reply With Quote
Old 07-15-09, 02:24 AM  
Voy
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Re: Re: overlapping healthbar with 2.0

Originally posted by Lolzen
Would be great if you provide an addonlist as well, because the bug itself isn't caused by loltip. I must know which addon interferes with loltip besides questhelper, so i can fix it.
  • !ClassColors
    acb_CastBar
    AzCastBar
    AzCastBarOptions
    Bagnon Forver
    Bagnon_Tooltips
    BasicChatMods
    ButtonFacade
    ButtonFacade_Caith
    Combuctor
    DamnAchievements
    DBM (DeadlyBossMods)
    Dominos
    iMinimap
    kgPanels
    LoggerHead
    lolTip
    NeedToKnow
    NeonChat
    NugComboBar
    OmniCC
    pError
    pStats
    rBuff
    sGroupLoot
    ShadowedUnitFrames
    SharedMedia
    sThreatMeter2

Those are the Addons I'm using and getting the overlaping issue.
Voy is offline Report comment to moderator  
Reply With Quote
Old 07-14-09, 11:59 PM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
Re: overlapping healthbar with 2.0

Would be great if you provide an addonlist as well, because the bug itself isn't caused by loltip. I must know which addon interferes with loltip besides questhelper, so i can fix it.
Lolzen is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: