Download
(8Kb)
Download
Updated: 08-05-09 02:02 PM
Pictures
File Info
Updated:08-05-09 02:02 PM
Created:unknown
Downloads:16,975
Favorites:113
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)


Post A Reply Comment Options
Unread 07-14-09, 06:45 PM  
Theondry
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 110
Uploads: 1
overlapping healthbar with 2.0

It persists any time the unit whose tooltip is up does not have something targeted.
__________________
Theondry of Perenolde
Report comment to moderator  
Reply With Quote
Unread 07-13-09, 11:24 AM  
Lolzen
An Aku'mai Servant
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 167
Uploads: 12
Danke ihr beiden

werds gleich mal umsetzen und demnächst releasen =)

/e Mal eben ne kure frage: ist der bug ausschließlich bei npc's? ich hab mir mal Questhelper gedowned und bei normalen units passts, nur bei npc's machts probleme.
Und ja, das mit self:AddLine(" ") hatte ich früher auch immer benutzt, aber da ist so nen unschöner mini-abstand ur healthbar, im gegensatz dazu wenn ichs per onShow mache. Deswegen will ich jetzt auch ungern wieder auf AddLine(" ") umschwingen, allerdings will ich natürlich den Bug (mit questhelper) fixen.

Meine jetzige lösung wäre es einfach bei npc's, self:AddLine(" ") zu benutzen, vorrausgesetzt QuestHelper ist geladen.

btw, ich hab den verdacht das man hiermit noch was machen könnte:
Code:
-- Making place again if Appentext is called, and a targettarget exists
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)
And sorry to our english readers ;O
Just trying to get rid of the Healthbug if you were wondering.
Last edited by Lolzen : 07-13-09 at 12:51 PM.
Report comment to moderator  
Reply With Quote
Unread 07-13-09, 10:22 AM  
Neal
A Defias Bandit
 
Neal's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 300
Uploads: 10
Das Prblem ist das OnShow, hab da auch ewig rumgetüftel.

Die einzige Lösung hierzu war auch sogesehen sehr simpel. Und der Tooltip funtzt auch mit Questhelper etc.

Code:
GameTooltip:HookScript("OnTooltipSetUnit", function(self, ...)
            self:AddLine(" ")
            _G["GameTooltipStatusBar"]:ClearAllPoints()
            _G["GameTooltipStatusBar"]:SetPoint("LEFT", self:GetName().."TextLeft"..self:NumLines(), "LEFT", 1, -3)
            _G["GameTooltipStatusBar"]:SetPoint("RIGHT", self, "RIGHT", -10, 0)
end)
Das einzige Manko hierbei ist das es bei Gebäuden (Wintergrasp) nicht geht. Dazu hab ich einfach noch einmal

Code:
GameTooltip:HookScript("OnTooltipCleared", function(self)
    _G["GameTooltipStatusBar"]:ClearAllPoints()
    _G["GameTooltipStatusBar"]:SetPoint("TOPLEFT", GameTooltip, "BOTTOMLEFT", 3.5, 0)
    _G["GameTooltipStatusBar"]:SetPoint("TOPRIGHT", GameTooltip, "BOTTOMRIGHT", -3, 0)
end)
.. funtz soweit auch ganz gut, und ist recht simpel (Es geht auch komplizierter^^)
Report comment to moderator  
Reply With Quote
Unread 07-13-09, 09:07 AM  
crian
A Defias Bandit
 
crian's Avatar

Forum posts: 3
File comments: 11
Uploads: 0
da hat neal wo einen kleinen fehler entdeckt. sehr aufmerksam!

@neal: vielleicht kannst du ja mal gucken, wo der fehler mit der hp bar liegt.
Report comment to moderator  
Reply With Quote
Unread 07-13-09, 08:46 AM  
Neal
A Defias Bandit
 
Neal's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 300
Uploads: 10
Kleiner Tippfehler auf der Beschreibung " # de/activatebla modules "

Das heißt doch activatable
Report comment to moderator  
Reply With Quote
Unread 07-13-09, 05:44 AM  
Xperience
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I seem to only get the over lapping PVP and healthbar bug whenever Stubby is enabled.
Report comment to moderator  
Reply With Quote
Unread 07-13-09, 05:36 AM  
crian
A Defias Bandit
 
crian's Avatar

Forum posts: 3
File comments: 11
Uploads: 0
it is really strange with the overlapping hp bar. i looked into the lua but i cant find anything that may cause this bug.
maybe you should ask another addon author who has more knowledge about tooltips.
Last edited by crian : 07-13-09 at 05:37 AM.
Report comment to moderator  
Reply With Quote
Unread 07-12-09, 03:34 PM  
Lolzen
An Aku'mai Servant
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 167
Uploads: 12
Today i've really long testet lolTip, but didn't get the Bug with the overlapping HealthBar, not in PvP, not at leveling nor at the town beeing lazy.

Ive testet it with lolTip beeing the only activated Addon, so i'm really not sure what triggers the bug, but i might have a trace what is the cause of when it happens, but couldn't test because of the lack of reproductioness :S (yeah reproductioness is acool word.)

Anway, i think the Update has some really cool changes, and optimizes the tooltip in various ways, espacially in viewing the level-line (because on some bosses this was messed up), and i a good way to go out of the Beta-phase, thanks everyone for Reporting the bugs as quickly as they appeared

Also a result of testing today: No Error popping up.

Hope you have fun with the "full version" of 2.0 =)
Report comment to moderator  
Reply With Quote
Unread 07-10-09, 04:28 PM  
Lolzen
An Aku'mai Servant
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 167
Uploads: 12
Hm, okay i'll investigate further in this HealthBar-bug.
When i found a solution i'll release a new version immediatly, till then i hope it is bearable :/
Report comment to moderator  
Reply With Quote
Unread 07-10-09, 02:43 PM  
JohnCover
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
Originally posted by Lolzen
Odd thing with the healthbar, i didn't got it when i played.
Could you specify when this exactly happens?

Any other (tooltip modifiing) AddOns enabled?
I do have a lot of other addons enabled. I haven't modified the LUA at all.
The bug doesn't appear to happen on most NPCs. If you mouse over a player or a player's pet it overlaps like in the screen shot below. However, If the player targets something the tool tip will correct itself.

Here's a list of my addons: http://home.comcast.net/~jlcover1/Pv...rix-export.txt
Report comment to moderator  
Reply With Quote
Unread 07-10-09, 02:42 PM  
Cala
A Fallenroot Satyr
 
Cala's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 22
File comments: 48
Uploads: 1
I'll occasionally get it, but I know it's probably caused by Overachiever, where the HP bar will cover up if I need to kill or /love a particular creature. Doesn't seem to happen on fishing nodes, though.
Report comment to moderator  
Reply With Quote
Unread 07-10-09, 01:39 PM  
Lolzen
An Aku'mai Servant
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 167
Uploads: 12
Odd thing with the healthbar, i didn't got it when i played.
Could you specify when this exactly happens?

Any other (tooltip modifiing) AddOns enabled?

@crian: This is not intended, it is a bug. I'm looking for a solution right now.
Report comment to moderator  
Reply With Quote
Unread 07-10-09, 10:02 AM  
crian
A Defias Bandit
 
crian's Avatar

Forum posts: 3
File comments: 11
Uploads: 0
i got the same bug with the hp bar.

but i got another question. if pvp is disabled there is no player level and race on the tooltip. how can i change this?
Report comment to moderator  
Reply With Quote
Unread 07-10-09, 06:06 AM  
JohnCover
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
Graphical bug

I rly like the addon. It's nice and simple, and it looks great.
I've got one strange bug though, no LUA errors are generated.
The unit HP will overlap whatever the last line of text is on the tooltip. In this case it's the talent line.
Here is a screen shot:
Report comment to moderator  
Reply With Quote
Unread 07-09-09, 11:41 AM  
Lolzen
An Aku'mai Servant
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 167
Uploads: 12
Originally posted by Tohmazz
Greetings,

So far I really like Loltip. However, I've been meaning to switch to percentage-based HP values. One of the old loltip pictures shows percentages, yet I can't seem to find the config nor the code needed to get this to work.

Thanks in advance.
That was before patch 3.0.2, as since then WoW provides an exact HealthValue instead of Percentage value.
So, lolTip itself never had an option like that, sorry.

/e http://www.wowwiki.com/Talk:API_UnitHealth
Last edited by Lolzen : 07-09-09 at 11:43 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: