Download
(8Kb)
Download
Updated: 08-05-09 02:02 PM
Pictures
File Info
Updated:08-05-09 02:02 PM
Created:unknown
Downloads:16,973
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 08-05-09, 05:29 PM  
Rufio
A Murloc Raider
 
Rufio's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 289
Uploads: 5
Thanks 4 Update!

Could you tell me were i have to paste the code for displaying itemlevels on the tooltip?
Code:
if(ItemLevels==true) then
    local AddItemlevel = function(self)
        local _, link = self:GetItem()
        local level = link and select(4, GetItemInfo(link))
        if(level and level>0) then
            self:AddLine("ilvl: "..level, ilvlR, ilvlG, ilvlB)
        end
    end

    GameTooltip:HookScript("OnTooltipSetItem", AddItemlevel)
    ItemRefTooltip:HookScript("OnTooltipSetItem", AddItemlevel)
end
i'm just a luacopycat
Report comment to moderator  
Reply With Quote
Unread 08-05-09, 10:33 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 Cala
Just found the fix for this:

GetDifficultyColor is now GetQuestDifficultyColor.

Changed it on line 382, no issues.
yup, API change. Sry i am on EU Servers, i didn't thought about yesterday much. I've got to do some work at home, and after installing the patch, a bit testing, then upload
Report comment to moderator  
Reply With Quote
Unread 08-04-09, 06:13 PM  
Cala
A Fallenroot Satyr
 
Cala's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 22
File comments: 48
Uploads: 1
Just found the fix for this:

GetDifficultyColor is now GetQuestDifficultyColor.

Changed it on line 382, no issues.
Report comment to moderator  
Reply With Quote
Unread 08-04-09, 06:11 PM  
lanacan
A Warpwood Thunder Caller
 
lanacan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 177
Uploads: 13
Yay for blizz's new error frame!!!

Message: Interface\AddOns\lolTip\tip.lua:382: attempt to call global 'GetDifficultyColor' (a nil value)
Time: 08/04/09 19:10:13
Count: 6
Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: in function `GetDifficultyColor'
Interface\AddOns\lolTip\tip.lua:382: in function <Interface\AddOns\lolTip\tip.lua:355>
[C]: ?
[C]: ?

Locals: self = GameTooltip {
default = 1
updateTooltip = 0.1389999974519
0 = <userdata>
comparing = false
AppendText = <function> defined =[C]:-1
shoppingTooltips = <table> {
}
}
_ = "Scout Manslayer"
unit = "mouseover"
name = "Scout Manslayer"
realm = nil
reaction = 5
class = nil
race = nil
creatureType = "Humanoid"
level = 80
classif = "+"
(*temporary) = nil
(*temporary) = 80
(*temporary) = "attempt to call global 'GetDifficultyColor' (a nil value)"
classification = <table> {
elite = "+"
worldboss = "Boss"
rareelite = "+ Rare"
rare = "Rare"
}
custompvp = false
CustomPvPcolor = ""
ricon = GameTooltipRaidIcon {
0 = <userdata>
}
getLine = <function> defined @Interface\AddOns\lolTip\tip.lua:85
grank = false
GuildColor = ""
__________________
Busy modifying your code for my own UI.
Report comment to moderator  
Reply With Quote
Unread 08-04-09, 05:58 PM  
Cala
A Fallenroot Satyr
 
Cala's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 22
File comments: 48
Uploads: 1
Horray for 3.2. ><

Interface\AddOns\lolTip\tip.lua:382: attempt to call global 'GetDifficultyColor' (a nil value)
Report comment to moderator  
Reply With Quote
Unread 08-01-09, 03:53 AM  
JohnCover
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
Function request

An option to disable the item rarity borders would be cool.

P.S.
The health bar overlap bug seems to have stopped for me. I'm not sure if I changed something or if you updated it just thought I'd let you know.
Report comment to moderator  
Reply With Quote
Unread 07-30-09, 06:38 PM  
lanacan
A Warpwood Thunder Caller
 
lanacan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 177
Uploads: 13
Seems you and quest helper don't get along


Code:
[19:36:48] Interface\AddOns\lolTip\tip.lua:425: attempt to index a nil value
(tail call): ?
[C]: ?
Interface\AddOns\lolTip\tip.lua:425: in function <Interface\AddOns\lolTip\tip.lua:355>
[C]: ?
[C]: in function `func'
Interface\AddOns\QuestHelper\manager_event.lua:22: in function <Interface\AddOns\QuestHelper\manager_event.lua:21>
(tail call): ?
Interface\AddOns\QuestHelper\manager_event.lua:43: in function <Interface\AddOns\QuestHelper\manager_event.lua:25>
Interface\AddOns\QuestHelper\manager_event.lua:150: in function <Interface\AddOns\QuestHelper\manager_event.lua:150>
(tail call): ?
(tail call): ?
Interface\AddOns\QuestHelper\manager_event.lua:43: in function <Interface\AddOns\QuestHelper\manager_event.lua:25>
Interface\AddOns\QuestHelper\manager_event.lua:150: in function <Interface\AddOns\QuestHelper\manager_event.lua:150>
__________________
Busy modifying your code for my own UI.
Report comment to moderator  
Reply With Quote
Unread 07-30-09, 03:26 PM  
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 374
Uploads: 18
Originally posted by Skylinee
Oh, and hovering over my actionbars only shows info like ''Aimed Shot Rank 9'', no details on the spell. I have the ''Hide actionbar tooltip in combat'' module enabled, but this happens outside of combat.
There's an ingame option for this one, under "Interface > Help > Enhanced Tooltips".
__________________
« Website | GitHub »

Oh hai!
Report comment to moderator  
Reply With Quote
Unread 07-30-09, 11:57 AM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
1 more thing, the insta-fade option doesn't work when targeting raid members for example, but it works fine when targeting enemies. Alot of reports from me now, so i'll take a break :P
Report comment to moderator  
Reply With Quote
Unread 07-30-09, 11:50 AM  
Lolzen
An Aku'mai Servant
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 167
Uploads: 12
Ah k, thanks for the hint^^
All the things i don't use must be reported i case anything fails so really thank you very much^^

I'll look into it.
Report comment to moderator  
Reply With Quote
Unread 07-30-09, 11:36 AM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
All good now, no errors. I noticed though, that the insta-fade option does work on units (players), but not when hovering over mailboxes, guildbank, dwarven braziers in IF etc.

Oh, and hovering over my actionbars only shows info like ''Aimed Shot Rank 9'', no details on the spell. I have the ''Hide actionbar tooltip in combat'' module enabled, but this happens outside of combat.
Last edited by Skylinee : 07-30-09 at 11:46 AM.
Report comment to moderator  
Reply With Quote
Unread 07-30-09, 11:07 AM  
Lolzen
An Aku'mai Servant
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 167
Uploads: 12
Sorry for this mess today..
Hope all is ok now.
Report comment to moderator  
Reply With Quote
Unread 07-30-09, 09:15 AM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
Still getting

[2009/07/30 17:14:41-2909-x5]: lolTip-2.1.1\tip.lua:441: attempt to concatenate a nil value
<in C code>: ?
<in C code>: ?

---

[2009/07/30 17:14:43-2909-x16]: lolTip-2.1.1\tip.lua:135: attempt to index global 'CUSTOM_CLASS_COLORS' (a nil value)
lolTip-2.1.1\tip.lua:339: in function <Interface\AddOns\lolTip\tip.lua:319>

---


Using 2.1.1, i'll try manually installing Class Colors for now.



Edit: First error still pops with Class Colors installed.
Last edited by Skylinee : 07-30-09 at 09:17 AM.
Report comment to moderator  
Reply With Quote
Unread 07-30-09, 08:47 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 Skylinee
I also got a request for a module (if it's not possible allready):

Show how many people are assisting me on a target. For example: ''Targeted By: Player A, Player B, Player C''

Noted. Mind it could take some time

The error should be fixed now - update pending.
Report comment to moderator  
Reply With Quote
Unread 07-30-09, 08:42 AM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
I also got a request for a module (if it's not possible allready):

Show how many people are assisting me on a target. For example: ''Targeted By: Player A, Player B, Player C''
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: