Download
(8Kb)
Download
Updated: 08-05-09 02:02 PM
Pictures
File Info
Updated:08-05-09 02:02 PM
Created:unknown
Downloads:16,997
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-09-09, 11:23 AM  
Tohmazz
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
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.
Report comment to moderator  
Reply With Quote
Unread 07-09-09, 03:32 AM  
leizeQ
A Murloc Raider
 
leizeQ's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 8
File comments: 44
Uploads: 1
seems that everything is working without errors. i've been trying without addons on my 80 druid and with all addons enabled on 62 priest, for about an hour

thanks for the quick fix

Originally posted by Lolzen

@ Voy/leizeQ: Aah.. because i've used oUF i didn't had this, odd^^
Anyway, i changed the code from the GameTooltipStatusBar a bit and hope this will eliminate all this, at least u don't get an error at the login anymore. Also the Addon now checks if a unit and the text for the healthbar is available before doing something with these, so the "..text..thingy..(nil error)" should not popup anymore.
You will not see the UnitHealth right on your first target after login, but well, at least (i hope) this is a solutuon for now. [/b]
Report comment to moderator  
Reply With Quote
Unread 07-08-09, 04:46 PM  
Cala
A Fallenroot Satyr
 
Cala's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 22
File comments: 48
Uploads: 1
Just a small bug, but an annoying one for me - on a character that's 'gray' to me (like a level 3), the guild tag shows up no problem. However, if they're same level or higher, the guild tag does not show up at all. Happens if no addons are running as well.

Any clue what can be causing this?
Report comment to moderator  
Reply With Quote
Unread 07-08-09, 01:16 PM  
Lolzen
An Aku'mai Servant
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 167
Uploads: 12
Thanks for all the Reports ^_^

@ janangler: Hehe, i've seen that and forgot to change it, thanks for reminding Works correct now.

@ Voy/leizeQ: Aah.. because i've used oUF i didn't had this, odd^^
Anyway, i changed the code from the GameTooltipStatusBar a bit and hope this will eliminate all this, at least u don't get an error at the login anymore. Also the Addon now checks if a unit and the text for the healthbar is available before doing something with these, so the "..text..thingy..(nil error)" should not popup anymore.
You will not see the UnitHealth right on your first target after login, but well, at least (i hope) this is a solutuon for now.
Report comment to moderator  
Reply With Quote
Unread 07-08-09, 06:44 AM  
leizeQ
A Murloc Raider
 
leizeQ's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 8
File comments: 44
Uploads: 1
hi, thanks for answer. sure, dont push it, RL is more important.

but, when you have time; i've been trying lolTip 2.0 without any other addon (except tekErr) enabled and with Wtf folder deleted and been getting these errors:

Code:
[14:23:10] Interface\AddOns\lolTip\tip.lua:209: attempt to call method 'GetUnit' (a nil value)
[C]: in function `GetUnit'
Interface\AddOns\lolTip\tip.lua:209: in function `HealthBar_OnValueChanged'
Interface\FrameXML\UnitFrame.lua:295: in function <Interface\FrameXML\UnitFrame.lua:293>
[C]: in function `SetValue'
Interface\FrameXML\UnitFrame.lua:286: in function `UnitFrameHealthBar_Update'
Interface\FrameXML\UnitFrame.lua:90: in function <Interface\FrameXML\UnitFrame.lua:82>
[C]: in function `securecall'
Interface\FrameXML\UnitFrame.lua:79: in function `UnitFrame_SetUnit'
Interface\FrameXML\PlayerFrame.lua:314: in function `PlayerFrame_ToPlayerArt'
Interface\FrameXML\PlayerFrame.lua:129: in function `OnEvent'
Interface\FrameXML\UnitFrame.lua:417: in function <Interface\FrameXML\UnitFrame.lua:415>


[14:23:32] Interface\AddOns\lolTip\tip.lua:214: attempt to index field 'Text' (a nil value)
[C]: ?
Interface\AddOns\lolTip\tip.lua:214: in function `HealthBar_OnValueChanged'
[string "*:OnValueChanged"]:1: in function <[string "*:OnValueChanged"]:1>


[14:24:25] Interface\AddOns\lolTip\tip.lua:209: attempt to call method 'GetUnit' (a nil value)
[C]: in function `GetUnit'
Interface\AddOns\lolTip\tip.lua:209: in function `HealthBar_OnValueChanged'
Interface\FrameXML\UnitFrame.lua:295: in function `UnitFrameHealthBar_OnValueChanged'
[string "*:OnValueChanged"]:1: in function <[string "*:OnValueChanged"]:1>
[C]: in function `SetValue'
Interface\FrameXML\UnitFrame.lua:286: in function `UnitFrameHealthBar_Update'
Interface\FrameXML\VehicleMenuBar.lua:812: in function <Interface\FrameXML\VehicleMenuBar.lua:810>


[14:24:24] Interface\AddOns\lolTip\tip.lua:209: attempt to call method 'GetUnit' (a nil value)
[C]: in function `GetUnit'
Interface\AddOns\lolTip\tip.lua:209: in function `HealthBar_OnValueChanged'
Interface\FrameXML\UnitFrame.lua:295: in function `UnitFrameHealthBar_OnValueChanged'
[string "*:OnValueChanged"]:1: in function <[string "*:OnValueChanged"]:1>
[C]: in function `SetValue'
Interface\FrameXML\UnitFrame.lua:286: in function `UnitFrameHealthBar_Update'
Interface\FrameXML\UnitFrame.lua:90: in function `UnitFrame_Update'
Interface\FrameXML\TargetFrame.lua:60: in function `TargetFrame_Update'
Interface\FrameXML\TargetFrame.lua:83: in function `OnEvent'
Interface\FrameXML\UnitFrame.lua:417: in function <Interface\FrameXML\UnitFrame.lua:415>
[C]: in function `TurnOrActionStop'
[string "TURNORACTION"]:4: in function <[string "TURNORACTION"]:1>
maybe others, but there have been many and are very similar.

some of them appeared when getting mounted, some of them when hovering over other players or NPCs

maybe a hint could be this picture:

this was without addons and wtf folder with only loltip and tekerr enabled


and this one occured with addons enabled and when i was in strand of the ancients BG with raid groups pulled out from the RAID UI:

Code:
[14:06:14] Interface\AddOns\lolTip\tip.lua:209: attempt to call method 'GetUnit' (a nil value)
[C]: in function `GetUnit'
Interface\AddOns\lolTip\tip.lua:209: in function `HealthBar_OnValueChanged'
Interface\FrameXML\UnitFrame.lua:295: in function `UnitFrameHealthBar_OnValueChanged'
[string "*:OnValueChanged"]:2: in function <[string "*:OnValueChanged"]:1>
[C]: in function `SetValue'
Interface\FrameXML\UnitFrame.lua:286: in function <Interface\FrameXML\UnitFrame.lua:257>
[C]: in function `securecall'
Interface\AddOns\Blizzard_RaidUI\Blizzard_RaidUI.lua:1091: in function `RaidPulloutButton_UpdateSwapFrames'
Interface\AddOns\Blizzard_RaidUI\Blizzard_RaidUI.lua:930: in function `RaidPullout_Update'
Interface\AddOns\Blizzard_RaidUI\Blizzard_RaidUI.lua:724: in function `RaidPullout_GeneratePulloutFrame'
Interface\AddOns\Blizzard_RaidUI\Blizzard_RaidUI.lua:1235: in function `RaidPullout_RenewFrames'
Interface\FrameXML\RaidFrame.lua:38: in function <Interface\FrameXML\RaidFrame.lua:27>
hope you could resolve these issues, but as said, take your time

thanks
Report comment to moderator  
Reply With Quote
Unread 07-08-09, 05:17 AM  
Voy
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Re: Re: 2.0 Question

Originally posted by Lolzen
@Voy: core.lua is from version 1.5.2 and under. You should delete old Addons before dragging new ones into your AddOns-folder, to prevent exactly that kind of situation =)

That explained and resolved that issue. Second issue I've discovered seems to be in regards to the Health-bar. Most likely same issue as leizeQ posted. I've changed where the Health-bar should be placed and it would seem that I have to /console reloadui each time I login to a character to get it back to how I want it.
Last edited by Voy : 07-08-09 at 05:17 AM.
Report comment to moderator  
Reply With Quote
Unread 07-07-09, 12:57 PM  
janangler
A Kobold Labourer

Forum posts: 0
File comments: 33
Uploads: 0
Looks very decent

I just had one problem besides the one described by leizeQ. For bosses the tooltip showed -1Boss. After changing line 314 from

if not level or level == "-1" then

to

if not level or level == -1 then

it worked fine and showed ??Boss.
Report comment to moderator  
Reply With Quote
Unread 07-07-09, 11:28 AM  
Lolzen
An Aku'mai Servant
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 167
Uploads: 12
Re: 2.0 Question

@Voy: core.lua is from version 1.5.2 and under. You should delete old Addons before dragging new ones into your AddOns-folder, to prevent exactly that kind of situation =)

The config is stored in tip.lua now, and i've modified it so that teh standart "PvP"-text will be overwritten by the talents (if activated) .. seems like i had forgotten to deactivate it also f the talents module isn't loaded, thanks for reminding^^
If you're talking about the (PvP) UnitName, then i've got to say that i haven't built in an option to hide that. At least for now.
I'll look for a solution in the next release.

@leizeQ: Thanks for the Report, once again! =)
for the first bug it seems a bit weird, because i have uilt in a securitycheck if unit is avalaible, but i can't test it myself because i'm just 72, and haven't seen any real WotlK content so far, besides a few 5-man's
I hope i'll hit 80 soon so i can test it myself and come up ith an solution but it might have to do something with Vehicles.. Maybe wintergrasp testing^^

The second.. hmm someone mentioned pets are the cause of this.. i wanted to look at it but forgot.

As of now the process will go on slowly, because I've really got much to do on RL, but i'll see if i can get some time to spend on coding , stay tuned xP

And thanks for the comliment =)
Report comment to moderator  
Reply With Quote
Unread 07-07-09, 03:18 AM  
Voy
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
2.0 Question

Does core.lua do anything in regards to configuration since the update? Even thou I've made PvP as false it appears and it would seem that tip.lua is the one controlling whatever or not we can change anything.
Report comment to moderator  
Reply With Quote
Unread 07-07-09, 02:46 AM  
leizeQ
A Murloc Raider
 
leizeQ's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 8
File comments: 44
Uploads: 1
2.0 errors

hi, with your latest version im still getting these 2 errors:

1. when i mount for example Kartak (the big ape in scholazar for Frenzyheart daily) or the mount for Battle before the Citadel (icecrown)

[10:43:52] Interface\AddOns\lolTip\tip.lua:209: attempt to call method 'GetUnit' (a nil value)
[C]: in function `GetUnit'
Interface\AddOns\lolTip\tip.lua:209: in function `HealthBar_OnValueChanged'
Interface\FrameXML\UnitFrame.lua:295: in function `UnitFrameHealthBar_OnValueChanged'
[string "*:OnValueChanged"]:1: in function <[string "*:OnValueChanged"]:1>
[C]: in function `SetMinMaxValues'
Interface\FrameXML\UnitFrame.lua:272: in function `UnitFrameHealthBar_Update'
Interface\FrameXML\VehicleMenuBar.lua:812: in function <Interface\FrameXML\VehicleMenuBar.lua:810>


2. not certain yet

[09:20:48] Interface\AddOns\lolTip\tip.lua:146: attempt to index local 'color' (a nil value)
[C]: ?
Interface\AddOns\lolTip\tip.lua:146: in function `GameTooltip_UnitColor'
Interface\FrameXML\UnitFrame.lua:151: in function `UnitFrame_UpdateTooltip'
Interface\FrameXML\UnitFrame.lua:133: in function <Interface\FrameXML\UnitFrame.lua:120>


thanks

btw, great layout (;
Report comment to moderator  
Reply With Quote
Unread 07-05-09, 05:17 AM  
Voy
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Looks very well done once again, I can't wait until it's out so we can try it.
Report comment to moderator  
Reply With Quote
Unread 07-04-09, 03:30 AM  
Shadow Ascendent
A Kobold Labourer
 
Shadow Ascendent's Avatar

Forum posts: 0
File comments: 7
Uploads: 0
2.0?

give it! now! give update now, i test.
Report comment to moderator  
Reply With Quote
Unread 07-03-09, 04:18 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 finished rewriting lolTip completely.
I hope the bugs will be not present in 2.0, but like i said, i just finished it today and couldn't test it at any real situation.
Also it's Style is once again changed a bit, and i think it turned out very well, i like it.
Last edited by Lolzen : 07-03-09 at 04:40 PM.
Report comment to moderator  
Reply With Quote
Unread 07-03-09, 06:01 AM  
Voy
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Is it only me getting the health bar to overlap with the name text on walls and other buildings? NPCs and hostile targets seems to be working fine but Wintergrasp Walls for example have their text overlapped by the health bar.
Report comment to moderator  
Reply With Quote
Unread 05-17-09, 08:09 AM  
leizeQ
A Murloc Raider
 
leizeQ's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 8
File comments: 44
Uploads: 1
i am getting 2 errors:

[15:58:54] Interface\AddOns\lolTip\core.lua:414: attempt to concatenate a nil value
[C]: ?
Interface\AddOns\lolTip\core.lua:414: in function <Interface\AddOns\lolTip\core.lua:349>
[C]: ?
Interface\AddOns\Clique\Clique.lua:104: in function <Interface\AddOns\Clique\Clique.lua:102>
[C]: in function `SetUnit'
Interface\FrameXML\UnitFrame.lua:146: in function `UnitFrame_UpdateTooltip'
Interface\FrameXML\UnitFrame.lua:133: in function <Interface\FrameXML\UnitFrame.lua:120>

and

[15:58:54] Interface\AddOns\lolTip\core.lua:174: attempt to index local 'color' (a nil value)
[C]: ?
Interface\AddOns\lolTip\core.lua:174: in function `GameTooltip_UnitColor'
Interface\FrameXML\UnitFrame.lua:151: in function `UnitFrame_UpdateTooltip'
Interface\FrameXML\UnitFrame.lua:133: in function <Interface\FrameXML\UnitFrame.lua:120>

both when a party member is too far away and im hovering over his pet. seems like you are not checking for valid values in UnitCreatureType(unit) and UnitReactionColor[UnitReaction(unit, "player")] in line 174 and 414.

also i removed the whole healthbar part because i was getting errors sometimes (not really sure what was the reason). a weird thing is, after removing the part from 422 to 501 i'm still having the healthbar on the bottom of the tooltip

thanks
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: