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 11-09-12, 02:48 PM  
Lolzen
An Aku'mai Servant
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 167
Uploads: 12
successor

For those still interested in this, i'm sorry to tell you i have started to write a successor a long time ago, which never got uploaded here, because of a nasty bug.
That bug occours after some while inGame and is caused by something from the targetline, i still don't know what it is, but if i ever fix it, it'll get uploaded for everyone interested - if i'll finish this, very casual player right now, because the lack of time.

So, here's the link, klick on the zip button to download: https://github.com/Lolzen/ProTip

I encourage you to fork, modify and do pull requests for feature requests for example, as my time is very limited.

Sorry to kept you all waiting..
Report comment to moderator  
Reply With Quote
Unread 04-12-12, 08:20 AM  
cbcddzhsq
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Well, for those who still use this.

1. Turn off the talent module before anyone works out how the cache should work. From my experience, this is the only thing that causes the fps lag.
2. Search for 'GetDifficultyColor' in tip.lua, substitute it with 'GetQuestDifficultyColor'. This should get rid of most LUA errors.
3. If you are having problem with GS on PVP players (the GS and the HP bar is on the same line and covers each other), comment this part:
if not lolTipModules["Talents"] and UnitIsPlayer(unit) and UnitIsPVP(unit) then
for i=2, numLines do
if getLine(i):GetText():find(PVP_ENABLED) then
getLine(i):Hide()
GameTooltip:AppendText("")
end
end
end
Because GS (GSlite) uses 'addline' to display, and loltip hides the default PVP tag, making one line missing.
Last edited by cbcddzhsq : 04-12-12 at 08:21 AM.
Report comment to moderator  
Reply With Quote
Unread 05-02-11, 11:28 PM  
cbcddzhsq
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Any one still here? I so love this addon...

After looking at Tiptac's code I managed to solve the problem of displaying talents info instead of title, just change the first part of the talents module as:
Code:
local function GatherTalents(inspect)
	local group = GetActiveTalentGroup(inspect)
	for i = 1, 3 do
		local _, _, _, _, pointsSpent = GetTalentTabInfo(i,inspect,nil,group);
		points[i] = pointsSpent
		if (i == 1) or (points[i] > points[val]) then
			val = i
		end
	end
	local _, tabName = GetTalentTabInfo(val,inspect,nil,group);
	if (points[val] == 0) then
		val = "None"
	else
		val = tabName.." ("..points[1].."/"..points[2].."/"..points[3]..")"
	end
	
	for i = 2, GameTooltip:NumLines() do
		if (getLine(i):GetText() or ""):find("^"..TALENTS_PREFIX) then
				getLine(i):SetText(TALENTS_PREFIX..val)
				GameTooltip:AppendText("")
			break
		end
	end
end
but here's still the problem of serious FPS drop after several hour. maybe I'll read the code thoroughly some time later to deal with it...
Report comment to moderator  
Reply With Quote
Unread 11-18-10, 02:28 PM  
MoonWitch
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 455
File comments: 162
Uploads: 9
Am I the only one who gets a weird line when talents are enabled? (Only when I hover over myself though.)

http://i53.tinypic.com/2r4sd1s.jpg

I've been trying to track it down, but failed.
Report comment to moderator  
Reply With Quote
Unread 03-27-10, 08:11 PM  
JackOnTheMap
A Murloc Raider

Forum posts: 8
File comments: 147
Uploads: 0
Is there an option to get rid of the value on the healthbar? I like my tips with just the a bar.
Report comment to moderator  
Reply With Quote
Unread 01-26-10, 09:52 AM  
Cala
A Fallenroot Satyr
 
Cala's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 22
File comments: 48
Uploads: 1
Quick feature request: With the advent of multi-realm dungeons, would it be possible to get an option to display the realm name or at least a (*) next to or below their name? I've run into both good and bad players, but until they speak in party chat, I have no idea if they're from my realm or not.
__________________
Insert Witty Message Here.


Report comment to moderator  
Reply With Quote
Unread 12-22-09, 07:03 AM  
Lolzen
An Aku'mai Servant
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 167
Uploads: 12
Yes, the problem is simple. lolTip have problems with these questAddons that add a line to the tooltip.

But i will recode the whole Addon again, also because of that annoying fpslag-bug.

But however i'm not sure when i will start that, i hope sooner than later ;O
Report comment to moderator  
Reply With Quote
Unread 12-21-09, 02:15 PM  
pesto126
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 1
Uploads: 2
Re: Bug on mouse-over.

I have the same problem... occurs whenever I first mouseover a quest mob/item - annoying as all blazes! using latest version as well.. thx.

Any ideas?

Originally posted by Sec
Recorded with Blizz's in-game Lua Error catcher.

Code:
Message: Interface\AddOns\lolTip\tip.lua:430: attempt to index a nil value
Time: 11/11/09 13:52:25
Count: 1
Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
Interface\AddOns\lolTip\tip.lua:430: in function <Interface\AddOns\lolTip\tip.lua:355>
[C]: ?
Interface\AddOns\QueTip\QueTip.lua:247: in function <Interface\AddOns\QueTip\QueTip.lua:244>

Locals: self = GameTooltip {
 0 = <userdata>
 default = 1
 numMoneyFrames = 1
 SetInboxItem = <function> defined =[C]:-1
 shoppingTooltips = <table> {
 }
 updateFunction = <function> defined @Interface\AddOns\cargoHonor\cargoHonor.lua:115
 SetMerchantItem = <function> defined =[C]:-1
 SetHyperlink = <function> defined =[C]:-1
 SetGuildBankItem = <function> defined =[C]:-1
 hasMoney = 1
 SetQuestLogItem = <function> defined =[C]:-1
 SetTradePlayerItem = <function> defined =[C]:-1
 SetShapeshift = <function> defined =[C]:-1
 SetSendMailItem = <function> defined =[C]:-1
 SetTradeTargetItem = <function> defined =[C]:-1
 updateTooltip = 0.06599999293685
 SetInventoryItem = <function> defined =[C]:-1
 SetTradeSkillItem = <function> defined =[C]:-1
 comparing = false
 SetLootRollItem = <function> defined =[C]:-1
 SetUnit = <function> defined @Interface\AddOns\Cromulent\Libs\AceHook-3.0\AceHook-3.0.lua:84
 SetPetAction = <function> defined =[C]:-1
 SetAuctionSellItem = <function> defined =[C]:-1
 SetBagItem = <function> defined =[C]:-1
 AppendText = <function> defined =[C]:-1
 SetAction = <function> defined =[C]:-1
 SetLootItem = <function> defined =[C]:-1
 SetQuestItem = <function> defined =[C]:-1
 SetAuctionItem = <function> defined =[C]:-1
}
_ = "Hederine Slayer"
unit = "mouseover"
name = "Hederine Slayer"
realm = nil
reaction = 2
class = nil
race = nil
creatureType = "Demon"
level = "60"
classif = "+"
text = "60+ Demon"
PvPColor = nil
raidIndex = nil
numLines = 4
linesNeeded = nil
(for index) = 4
(for limit) = 4
(for step) = 1
i = 4
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = GameTooltipTextLeft4 {
 0 = <userdata>
}
(*temporary) = "GameTooltipTextLeft4"
(*temporary) = "Left"
(*temporary) = "4"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index 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 = ""
I do see a few of the other addons I am using being listed, but the error only occurs when a tooltip pops up. In particular, this error came up when the tooltip was for a quest mob.
Report comment to moderator  
Reply With Quote
Unread 11-11-09, 12:54 PM  
Sec
A Cyclonian
 
Sec's Avatar

Forum posts: 48
File comments: 177
Uploads: 0
Bug on mouse-over.

Recorded with Blizz's in-game Lua Error catcher.

Code:
Message: Interface\AddOns\lolTip\tip.lua:430: attempt to index a nil value
Time: 11/11/09 13:52:25
Count: 1
Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
Interface\AddOns\lolTip\tip.lua:430: in function <Interface\AddOns\lolTip\tip.lua:355>
[C]: ?
Interface\AddOns\QueTip\QueTip.lua:247: in function <Interface\AddOns\QueTip\QueTip.lua:244>

Locals: self = GameTooltip {
 0 = <userdata>
 default = 1
 numMoneyFrames = 1
 SetInboxItem = <function> defined =[C]:-1
 shoppingTooltips = <table> {
 }
 updateFunction = <function> defined @Interface\AddOns\cargoHonor\cargoHonor.lua:115
 SetMerchantItem = <function> defined =[C]:-1
 SetHyperlink = <function> defined =[C]:-1
 SetGuildBankItem = <function> defined =[C]:-1
 hasMoney = 1
 SetQuestLogItem = <function> defined =[C]:-1
 SetTradePlayerItem = <function> defined =[C]:-1
 SetShapeshift = <function> defined =[C]:-1
 SetSendMailItem = <function> defined =[C]:-1
 SetTradeTargetItem = <function> defined =[C]:-1
 updateTooltip = 0.06599999293685
 SetInventoryItem = <function> defined =[C]:-1
 SetTradeSkillItem = <function> defined =[C]:-1
 comparing = false
 SetLootRollItem = <function> defined =[C]:-1
 SetUnit = <function> defined @Interface\AddOns\Cromulent\Libs\AceHook-3.0\AceHook-3.0.lua:84
 SetPetAction = <function> defined =[C]:-1
 SetAuctionSellItem = <function> defined =[C]:-1
 SetBagItem = <function> defined =[C]:-1
 AppendText = <function> defined =[C]:-1
 SetAction = <function> defined =[C]:-1
 SetLootItem = <function> defined =[C]:-1
 SetQuestItem = <function> defined =[C]:-1
 SetAuctionItem = <function> defined =[C]:-1
}
_ = "Hederine Slayer"
unit = "mouseover"
name = "Hederine Slayer"
realm = nil
reaction = 2
class = nil
race = nil
creatureType = "Demon"
level = "60"
classif = "+"
text = "60+ Demon"
PvPColor = nil
raidIndex = nil
numLines = 4
linesNeeded = nil
(for index) = 4
(for limit) = 4
(for step) = 1
i = 4
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = GameTooltipTextLeft4 {
 0 = <userdata>
}
(*temporary) = "GameTooltipTextLeft4"
(*temporary) = "Left"
(*temporary) = "4"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index 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 = ""
I do see a few of the other addons I am using being listed, but the error only occurs when a tooltip pops up. In particular, this error came up when the tooltip was for a quest mob.
Report comment to moderator  
Reply With Quote
Unread 11-07-09, 08:53 AM  
KleinerMink
A Deviate Faerie Dragon

Forum posts: 11
File comments: 70
Uploads: 0
Hi,

i have the problem that everytime i minimize my game window and come back the tooltip border changes and also the border of neonchat addon. It seems tha loltip also changes the border of neonchat.

Can someone help me please?
Report comment to moderator  
Reply With Quote
Unread 11-06-09, 03:06 PM  
Sec
A Cyclonian
 
Sec's Avatar

Forum posts: 48
File comments: 177
Uploads: 0
Hello Lolzen, thank you for adding so many comments to the lua file for explaining things. I've been able to change the font for the health bar, but cannot figure out how to change the font face for the rest of the tooltip. Is there a bit of code that I need to insert? I have searched for "font" within all of the lua files and the only times the search turned up a result, it pertained to the health bar.
Last edited by Sec : 11-06-09 at 03:08 PM.
Report comment to moderator  
Reply With Quote
Unread 10-08-09, 06:43 PM  
Akirium
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
how do i turn off the item quality coloring?
Report comment to moderator  
Reply With Quote
Unread 08-18-09, 11:35 AM  
shiodas1
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Was just wondering. How do i edit the lua to show the healthbar as numbers AND a percentage next to it.
Report comment to moderator  
Reply With Quote
Unread 08-17-09, 04:41 PM  
Lolzen
An Aku'mai Servant
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 167
Uploads: 12
Thank you all

Today i have finally gotten back into mood to do a bit of coding.

I played a bit with tekkonfig for the GUI coming with the next version.
It seems pretty easy to manage, as far as i tested and i hope this will ease configurating up a bit.
Among the GUI, there will be of course bugfixes and features, but as the ToDo list seems large enough, the next update will take a fair amount of time.

If you want more information and keep updated with the progress check out my blog. I'll post changes, additions and possible problems, everytime something important happens =)
Report comment to moderator  
Reply With Quote
Unread 08-15-09, 09:42 AM  
Monolit
A Black Drake
AddOn Author - Click to view AddOns

Forum posts: 81
File comments: 428
Uploads: 7
First of all let me say, you've done excellent work on that addon, thank you.
There are some features I personally miss though:
1) the option to show player's titles would be great
2) ability to disable "PVP" tag display
3) further improvements to mouse anchor behavior:
a)auto anchor to default(set) position when mouse-overing action bars and unit frames.
b) propper tooltip adjustment when mouse-overing a broker plug-in (tooltip should be anchored directly under/on top of the plug-in). Though this could be done by simple enabling mouse anchor only for world objects, since with static anchor LDB tooltips act normally.

So I'd like to request mainly the third feature since it's a pain to heal via minimalistic grid-like raid frames when your tooltip is covering half of the group members.

EDIT:
Also after using this addon for a while, I found really annoying thing (not really a bug, but a missing feature):
if you have talent inspect feature on - it keeps scanning whenever you mouseover something (even yourself) This cause small fps lags, but if you make some caching system like one in TipTacTalents (basically it just stores specs of up to 25 mouseover'ed units which prevent those little (and really annoying) delays from happening.
Last edited by Monolit : 08-17-09 at 11:58 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: