My account is no longer active and it was deleted by request.
I thank everyone for downloading my addons, I stopped playing WoW a year ago, regardless I kept on updating my addons just to keep them up to date.
Best Regards, Lonny.
LonnyTooltip is designed to be a lightweight modular tooltip.
Modules
Cursor - Anchors the tooltip to the cursor. (Working only on units or any other world objects.)
Enhanced - Formats the tooltip to be much more detailed and colorful.
Features - Adds some features to the tooltip, such as scaling, fading, anchoring, etc..
HealthBar - Tweaks the original healthbar visual.
HideInCombat - Hides the tooltip in combat.
HideTitles - Hides the players title. (e.g. <name> of the Shattered Sun)
ItemsQuality - Color the border with the appropriate item quality.
Layout - A basic layout skin for the tooltip.
Mobility - Allow the tooltip to anchor itself to a certain point.
Raid Icons - Show the raid icons in the tooltip.
TargetedBy - Display the names of the players in your party that are targeting your target.
TTDisplay - Display the target's target name when hovering over players.
FAQ
Q. Is there a GUI available ?
A. No, but you can still modify some of the addon default configuration through the constants file found inside the 'LonnyTooltip\Constants.lua'.
Q. How can I move the tooltip ?
A. Check if the Mobility module is enabled first, and use the command '/ltt' to drag its anchor around.
Thanks both Lombra and Ziraly (Wimpface) for testing this and some of the ideas!
510 (30-10-10)
+ Bits of redundant code was removed.
LonnyTooltip_Cursor
+ The direction function was fixed.
------------------------------------------------------------------------
500 (23-10-10)
+ Adapting to Cataclysm changes.
+ Minor bug fixes.
------------------------------------------------------------------------
476 (30-05-10)
+ It's now registered with WTFPL license so ... Do What The **** You Want!
------------------------------------------------------------------------
475 (18-05-10)
+ Added a new module 'TargetedBy'.
+ Renamed the 'ShowTargets' module to 'TTDisplay'.
+ Added a new constants file 'Constants.lua' to the core which allow you to modify the addon to some extent.
+ Removed some redundant code.
------------------------------------------------------------------------
471 (22-04-10)
+ I used to look up all the game tooltips dynamically and modify the appearance, sometimes it messed up some of the UI elements such as the socket frame, it's no longer the case, and everything should work correctly.
------------------------------------------------------------------------
470 (21-04-10)
+ Modified some of the API to make them feel more consistent.
+ Previously I used the Blizzard statusbar, and since the recent patch (3.3.3) it was acting weird, I worked around it by creating a custom statusbar, and it's seems to work fine.
------------------------------------------------------------------------
460 (12-04-10)
+ Fixed few minor issues in the core.
+ The "OnUpdate", "TooltipStatusBarValueChanged" events arguments were changed slightly.
+ It's now possible to prioritize modules through the .toc file, by adding this flag "## X-LonnyTooltip" and a priority number. e.g. ## X-LonnyTooltip: 1
+ [LonnyTooltip_Cursor] The last patch seems to have some UI issues (which are not related to the addon but is Blizzard problem) and so sometimes the statusbar may act weird, I managed to workaround and it seems to work perfectly except to WG walls.
------------------------------------------------------------------------
450 (16-03-10)
+ Most of the core implementation was replaced with MagicLib to make it overall more efficient.
+ All modules were modified to accommodate the core changes.
------------------------------------------------------------------------
430 (12-01-10)
+ All modules are LoD and are being loaded by the core manually to guarantee they are loaded before any other end-user module.
+ The update function was optimized and is idle to 1 sec whenever the cursor is not moving.
+ The layout ripped out of the core to its own module, as it didn't really make sense to have it there, some people don't even want it, and having a module just to get the default tooltip layout is a mistake. :)
+ Removed some unnecessary variables.
+ Fixed some bugs and calculations.
LonnyTooltip_Layout (previously LonnyTooltip_Classic):
+ The classic module was removed.
+ This module is used now to reskin the default tooltip.
+ The LonnyTooltip_ClassColors module was removed and it's part of this module now.
API.
+ (NEW) module:OnTooltipPostShow(tooltip, isGameTooltip) - Fires everytime the GameTooltip:Show() method is executed as well as always after module:OnTooltipsShow(...)
Events.
+ (UPDATED) module:OnUpdate(tooltip, frame, isObj, name, unit, x, y) - Fires every 1 sec, or whenever the mouse position is changed.
------------------------------------------------------------------------
420 (10-01-10)
+ There was a bug that broke the tooltip whenever you tried to use a custom backdrop, apparently setting the backdrop OnShow is a bad idea. :p
+ Fixed some stealthing bugs. :)
LonnyTooltip_HealthBar:
+ I forgot to remove the code that changes the texture and apply it in the core.
Events.
+ (UPDATED) module:OnInit(tooltip, statusbar, isGameTooltip, isPlayerLogin) - Fires on PLAYER_LOGIN and PLAYER_ENTERING_WORLD. (this fires for every tooltip now, not just the GameTooltip.)
------------------------------------------------------------------------
410 (10-01-10)
+ The core is a special kind of module now.
+ The core contains a default layout now, so you don't really need the layout module, unless you want to have its features, and thus renamed to LonnyTooltip_Features.
+ The API library was revamped for a better design, the old one felt akward, and inconsistent.
+ Some locals felt lonely and decided to try their luck in the global scope! but big ogre smash them!
LonnyTooltip_HideInCombat:
+ I managed to break it the last version, it's working again!
LonnyTooltip_Features (previously LonnyTooltip_Layout):
+ I've removed the 'Persist Tooltip In Combat' option as I don't use it personally, and it just seems useless to me.
+ The default appearence of the tooltip ripped from the layout and is now part of the core.
LonnyTooltip_HealthBar:
+ The statusbar texture was changed.
API.
module:IterateModules() - An iterator to iterate over all external modules.
Events.
+ (UPDATED) module:OnInit(tooltip, statusbar, isPlayerLogin) - Fires on PLAYER_LOGIN and PLAYER_ENTERING_WORLD, use 'isPlayerLogin' to determine whether PLAYER_LOGIN was fired.
+ (UPDATED) module:OnUpdate(tooltip, frame, isObj, name, unit) - Fires every 2 sec.
+ (NEW) module:OnTooltipShow(tooltip, frame, unit) - Fires everytime the GameTooltip:Show() method is executed.
+ (NEW) module:OnTooltipHide(tooltip, frame) - Fires everytime the GameTooltip:Hide() method is executed.
+ (NEW) module:OnTooltipsShow(tooltip, isGameTooltip) - Similar to module:OnTooltipShow(...) but this is done on all tooltips whenever one is shown.
+ (NEW) module:OnTooltipsHide(tooltip, isGameTooltip) - Similar to module:OnTooltipHide(...) but this is done on all tooltips whenever one is hidden.
+ (NEW) module:OnTooltipSetAnchor(tooltip, parent, frame) - Fires everytime the GameTooltip anchor changes.
+ (NEW) module:OnTooltipSetUnit(tooltip, name, unit) - Fires everytime the GameTooltip is set on a unit.
+ (NEW) module:OnTooltipStatusBarValueChanged(tooltip, statusbar, value, unit) - Fires everytime the GameTooltipStatusBar values are changed.
------------------------------------------------------------------------
403 (22-12-09)
+ LonnyTooltip_HealthBar: Corpses health no longer shows in percentage and instead it gets hidden.
+ Fixed a bug in the 'NewModule' API which couldn't handle more than one game event per module.
------------------------------------------------------------------------
402 (21-12-09)
+ Fixed an issue that can arise when you don't have the LonnyTooltip_ItemsQuality module enabled, some of the tooltips may appear as white.
+ Changed the default tooltips color to black rather than this horrible bluish color Blizzard uses.
+ Removed some redundant code.
+ Modules are no longer a simple table but a frame, so it's possible to use them as such.
+ You can now register game events as follow:
module:RegisterEvent(eventName, function(self, tooltip, ...)
-- Do something
end)
------------------------------------------------------------------------
401 (18-12-09)
+ Fixed a minor bug in the API, and things should run smoothly now with no errors.
------------------------------------------------------------------------
400 (17-12-09)
+ A complete rewrite of the tooltip, to facilitate a modular design.
+ The layout files were removed completely! every module may have a config instead to define default values, which in essence is like the layout, but defined atop of each module.
+ Most modules changed to accommodate the new design, and are now being registered with the new API method ':NewModule(name[, config])'
API.
+ module, config = LonnyTooltip:NewModule(name[, config]) - To register a new module.
+ module, config = LonnyTooltip:GetModule(name) - To get the registered module.
Events.
+ module:OnInit(tooltip, statusbar) - Fires on PLAYER_LOGIN, and is used to initialize anything before it may used.
+ module:OnUpdate(tooltip, statusbar, frame, isDoodad, unit) - Fires every 2 sec.
+ module:OnAnchorSet(tooltip, parent, frame) - Fires everytime the GameTooltip anchor changes.
+ module:OnShow(tooltip, frame, unit) - Fires everytime the GameTooltip:Show() method is executed.
+ module:OnUnitSet(tooltip, name, unit) - Fires everytime the GameTooltip is set on a unit.
+ module:OnStatusBarValueChanged(tooltip, statusbar, value, unit) - Fires everytime the GameTooltipStatusBar values are changed.
+ module:OnLayoutInit(tooltip, tooltipText, tooltipHeaderText, statusbar, tooltips) - Fires on PLAYER_ENTERING_WORLD, and is used to perform reinitialization of things between load times.
Some API aren't documented as I still want to make design changes.
------------------------------------------------------------------------
314 (09-12-09)
+ In the previous release I'v made some changes to the LonnyTooltip_HealthBar module and structures health was hidden, it's now visible again, and show an accurate health in percentage.
+ The addon provides a modular way for enhancements now through the advantage of special methods 'Initialize' and on 'Update', more extension points for modules are coming soon.
------------------------------------------------------------------------
313 (08-12-09)
+ Fixed an issue with the LonnyTooltip_HealthBar module which caused the bar to show inappropriately on structures.
+ TOC update to 30300. (Patch 3.3)
------------------------------------------------------------------------
312 (07-12-09)
+ Changed the LonnyTooltip_HideInCombat module so when it's enabled the tooltip won't hide unless the target is attacking you!
------------------------------------------------------------------------
311b (15-11-09)
+ Fixed a license typo.
------------------------------------------------------------------------
310b (14-11-09)
+ Fixed the mobility bug and it's should work correctly now.
+ The LonnyTooltip_Enhanced module has no layout now, the classification is hardcoded as I don't think it should be that important for localization and I much rather save the hassle here.
+ Previously modules were only addons, and one table used by all modules which can create some serious name conflicts, I changed it and now modules can be registered through the 'NewModule(name, layout, initializer)' function.
+ Added a NetBSD license.
*** Due to the changes I made PLEASE report any bugs that may arise! ***
------------------------------------------------------------------------
305 (11-11-2009)
+ The LonnyTooltip_ShowTargets module has changed and it's now showing the class colors for players rather the reaction.
------------------------------------------------------------------------
304 (06-11-2009)
+ Removed the diablo font from the addon directory.
+ Slightly redesign ... yes a UI is on the way, no ETA though but it's on the list! :)
+ To reduce complexity the 'Backdrop' option is now a constant in the core file.
+ To reduce complexity the 'color' and the 'gradient' options are gone from the LonnyTooltip_HealthBar module and 'gradient' is the default behaviour now.
+ Some of the options are now commented as they are used as the default values.
+ The following modules LonnyTooltip_HideInCombat, LonnyTooltip_HideTitles and LonnyTooltip_Mobility are disabled by default now, to enable it again just select it from the addon list on the character selection screen.
------------------------------------------------------------------------
303 (02-11-2009)
+ In the previous release I've deleted the 'HideInCombat' module accidentally, so I've just added it back.
------------------------------------------------------------------------
302 (10-08-2009)
+ You don't have to delete the anchors group from the layout frame now for the mobility frame to work, disable it to get the old behaviour.
+ Changed some of the layout values so things will have a proper meaning.
+ The text files updated and it should clarify more on the values for each option available in the layout.
------------------------------------------------------------------------
301 (10-08-2009)
+ Replaced 'GetDifficultyColor' with the new 'GetQuestDifficultyColor' API.
+ TOC update to 30200. (Patch 3.2)
------------------------------------------------------------------------
300 (25-06-2009)
+ Tagged as 300
+ Every module is a self contained addon now!
+ Due to the way the addon is structure now, the core should take about 11k to 13k of memory.
+ Modules that were relying on the layout file, now has their own layout setting, so the main layout file has been drastically compacted.
+ Some minor bug fixes.
------------------------------------------------------------------------
219 (09-06-2009)
+ Fixed a bug that caused the tooltip to flicker when hovering the actionbars.
------------------------------------------------------------------------
218 (20-05-2009)
+ Forgot to set the 'Enhanced Tooltip' option back to its default value (true).
------------------------------------------------------------------------
217 (19-05-2009)
+ Added a default value "<You>" for the 'You' option in the layout.
+ A bug fix to the 'Show Targets' option which sometimes causes the tooltip to grow! - Caught and fixed by Lombra!
------------------------------------------------------------------------
216 (01-05-2009)
+ TOC update to 30100. (Patch 3.1)
------------------------------------------------------------------------
215 (29-12-2008)
+ Fixed a bug where the target's target name was getting out of the tooltip's border.
+ Added an option to show/hide the players title. (hides it by default.)
+ Added an option to format the display of the tooltip whenever a player is targeting you.
------------------------------------------------------------------------
214 (19-12-2008)
+ The instant fading option will no longer instantly fades the tooltip over doodads (herbs, mailbox, etc...), regardless to units and frames.
* This change was made due to some technical limitation and lack of API to handle the behaviour correctly over doodads, so it's better off this way.
+ Removing the 'Backdrop Color' completely out of the layout file caused some weird recoloring issues, this is fixed now.
------------------------------------------------------------------------
213 (12-12-2008)
+ A minor fix to items quality! yup, yup, rushing is worthless, but at least it's working now. :P
------------------------------------------------------------------------
212 (12-12-2008)
+ Fixed an issue with items quality which sometimes behaved weird due to some extra loop I added by mistake. :)
+ The scale option should now apply to all Blizzard tooltips, not just the GameTooltip.
+ The backdrop settings should now apply itself correctly to all Blizzard tooltips.
------------------------------------------------------------------------
211 (05-12-2008)
+ The 'Class Colors' option is now available as a separated module.
+ The 'UnitReactionColor' table replaced with 'FACTION_BAR_COLORS' table used by Blizzard.
* You gonna see some slight color changes, so don't panic. :)
+ Targets are now being colored with a reaction color relative to the player instead of the target's class color. (All credits for this goes to Lombra!)
+ Parts of the code was generating noticeable amount of garbage when hovering players, should be pretty steady now.
+ The tooltip backdrop border changed to use the default tooltip border file.
------------------------------------------------------------------------
210 (03-12-2008)
+ Major redesign to improve performance.
+ Some of the options were isolated into different files, so whenever the option is disabled (commented), the code won't be even read by the environment.
+ Due to the changes I made you can now delete any module from the .\Modules folder, or delete it all together.
------------------------------------------------------------------------
209 (28-11-2008)
+ Added an option to apply items quality to the tooltips border.
+ Fixed a bug that raised an error whenever hovering a target's target unit through frames.
------------------------------------------------------------------------
208 (28-11-2008)
+ Fixed a major bug when the 'Instant Fading' option was enabled, hovering a world object (doodad) caused the tooltip to hide.
*** HOPEFULLY ALL BUGS ARE JUST NOTHING BUT FLIES NOW ***
------------------------------------------------------------------------
207 (27-11-2008)
+ The option 'Instant UI Frames Fading' now renamed to 'Instant Fading' and it also working on units now.
* It's the default option now, you can turn it off by commenting, deleting the line out of the layout file.
* you no longer need to use the 'Cursor' option to get the effect over unit, it now works regardless to the anchor option you use.
------------------------------------------------------------------------
206 (26-11-2008)
+ Fixed a bug that caused the tooltip to persist in combat.
+ Added an option to have a persistence tooltip in combat. (the bug wasn't intended as it was a result of another feature, this regardless is intended.)
+ Added an option to instant fading the tooltip whenever you leave a UI frame.
* if you want the tooltip to instant fade off units use the 'Cursor' option.
------------------------------------------------------------------------
205 (25-11-2008)
+ Fixed the health bar text on dead units, it's now correctly being hidden when the enhanced tooltip is off.
+ The 'Skinnable' line is no longer grayed out for herbalism, engineering and mining.
------------------------------------------------------------------------
204 (24-11-2008)
+ Added an option to anchor the tooltip to the cursor when hovering UI frames.
+ 'Enhanced Tooltip': The 'Tooltip Colors' removed, it's now hardcoded and dynamically change based on the unit status relatively to the player.
+ 'Enhanced Tooltip': The player's guild color appears in deep pink and soft pink for other guilds.
+ 'Enhanced Tooltip': The PvP flag (PvP line on the tooltip) can be one of the following colors:
* Green - The unit is friendly with the player.
* Red - Both players can attack each other (e.g. Contested area), or only the player can attack the unit. (e.g. Player territory)
* Yellow - The unit can attack the player, but the player cannot. (e.g. Enemy territory)
* Blue - Both units can't attack each other. (e.g. Sanctuary - PvP disabled for both factions)
+ 'Enhanced Tooltip': The mobs guild line, e.g "Banker", "Auctioneer" are now being colored based on your reaction to them.
+ Fixed the 'Skinnable' line which grayed out whereas it should be red.
------------------------------------------------------------------------
203 (23-11-2008)
+ Major performance increase when the 'Enhanced Tooltip' option isn't set.
+ The 'Mobs Level Pattern' and 'Players Level Pattern' options were removed!
+ The 'Use Formatted Tooltip' option renamed to 'Enhanced Tooltip'
+ 'Enhanced Tooltip' now specifies a player AFK, DND modes.
------------------------------------------------------------------------
202 (23-11-2008)
+ Fixed the tooltip direction anchors when set to cursor. :P
+ Changed the tooltip anchoring logic to have the possibility to prereserve the default anchor position.
+ Added visible axis to the mobility frame, so you would know the position of the frame, it's handy whenever you want to anchor the tooltip to the same position on multiple chars.
+ It should now be possible to delete the 'Mobility.xml' file completely if you don't use the 'Mobility' option.
+ The function LonnyTooltip:ApplyLayout() is now available for whenever you don't want to set the layout table directly and you want to override it in your own addon / UI compilation.
------------------------------------------------------------------------
201 (22-11-2008)
+ Added option to hide / show the tooltip in combat.
+ Added some anchoring options.
+ Added dead, disconnected colors options.
+ Minor bug fixes.
------------------------------------------------------------------------
200 (22-11-2008)
+ Due to the major code improvements and changes I made I'm tagging it as 200
Hey, im bit of a lua noob and cant get it to work...
What i want is to make the tooltip appear bottom left from my cursor, by default its top right. Was trying to change in constants.lua and in cursor module, but always did something wrong.
Originally posted by Lonny @markhr what version did you use ? what were you doing when it's happened ? what modules are/were you using ? when the error occurred.
Did you try to disable your addons, but the tooltip ? I can't track, or fix anything without any details.
Ignore it then as I cannot remember (it may have been on login but I really have no idea) and have switched to using tiptac/reforged for the moment anyway.
You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.
*Clicking the donate button above will take you to PayPal.com
*Clicking the donate button above will take you to Pledgie.com