TinyTip

I am not currently working on TinyTip and cannot guarantee it will ever get updated for Cataclysm. I recommend Leatrix Tooltip for low resource usage and TipTac or TipTop for a more featureful option, but with more resource usage. Thank you for your patronage.

Comments Parsed 6-13-09

- Description Updated -
- Note: I do not maintain TinyTipOptions -

What is TinyTip? Well, it started out as just a simple upgrade over AF_Tooltip_Mini and exploded from there. Now it shares no code with what it used to be, becoming something more, while still staying true to its name. The core of TinyTip is basically just an upgrade over AF_Tooltip_Mini, a small file around 24KB. The more modules you allow to load, the more this value increases. The goal of TinyTip is to allow you to mix and match your modules while keeping the smallest memory footprint possible. All TinyTip addons are optional.

Anyway, as you can guess, TinyTip changes the look of your GameTooltip. Here are the features found in core:

Q: TinyTip is preventing another tooltip addon from working.
A: Go into that other addon's TOC file and add/change this line to include TinyTip.

## OptionalDeps:

Q: Help! I'm getting incredibly long / infinite load times with TinyTipExtras / TinyTipOptions!
A: There is a bug with Ace2 addons (specifically, AceLibrary) which was fixed in the latest revision. If possible, update your addons.

Q: I'm getting an error from TinyTip, or an option isn't working right.
A: 1) Disable all other addons and see if the problem still occurs.
2) Check my WoWI portal to see if it's a known issue, and for updates.
3) Maybe your files are corrupt. Delete TinyTip, TinyTipExtras, and TinyTipOptions, then re-download them and install from stratch.
4) Your Saved Variable database may have gotten corrupt somehow. Try using /tinytip default and then /tinytip confirm to reset it.
5) If resetting your options doesn't work, exit WoW, delete all your Saved Variable files for TinyTip (global and per character), then restart WoW.
6) Leave a bug report on my WoWI portal.

Changes in v30100
- Updated TOC as the basic TinyTip modules have been confirmed working.
- Fixed a small bug in guild lines.
- Removed modules from TinyTip (core) as people expressed problems with them. Use the standalone versions.

Changes in v1.4.16
- Thanks to twobits and copystring, we now not only have full 3.x compatibility, but we also have a new TinyTipOptions. It's included in the zip as a separate addon.

Changes in v1.4.12
- Thanks to many people for updating this addon on the Wowace SVN while I was away. Here's the official release. It still has a few bugs in it that I'll sort out in the next few weeks, as I work on an overhaul with new features. I'll try to keep you people up-to-date.

Changes in v1.4.11
- I suggest you delete your folders and do a fresh install of this version, as the locations of some embedded libraries have changed.
- Restructed string concat to use .. instead of string.format, should be a tiny bit faster. Now using AceHook embedded into the core instead of TinyTipExtras, this should hopefully fix stack overflow issues and increase compatibility. Cleaned up a little bit of code.
- "SmoothBorder" added, changes alpha and size of both border and background to Tem's wishes.
- modified zhCN localization for TinyTip. (hk2717)
- Proper German localization for TinyTipOptions and TinyTipExtras
- Proper Chinese localization (zhCN) for TinyTipOptions (hk2717)

Changes in v1.4.10
- Should no longer cause stack overflow errors if TinyTipExtras is disabled or none of its functions are used.
- Added UnitIsCorpse check for dead units, and switched from using AceHook by default to using TinyTip hooks by default.
- Now explicitly calls GameTooltip_ClearMoney() in its hooked OnTooltipCleared script.
- Added MobInfo2 and MonkeyQuest as LoadWith dependants. (You should not need to edit their TOC files anymore).
- Scaling issues upon reload/zoning in should now be fixed.
- TinyTipExtras - Just in case you have a tooltip that doesn't use SetDefaultAnchor and isn't GameTooltip, I've included a way to force anchoring through a static table. You will have to manually edit TinyTipExtras.lua to use this option.
- TinyTipExtras - Raid Target Icon scale now defaults to 0.1.
- TinyTipExtras - Chinese Locals Review (yzerman)

Changes in v1.4.9
- Anchors will now only use the default game offset if you have GAMEDEFAULT set.
- Added tiny hack to fix that one tiny, weeny, 1 pixel offset when mousing over PvP-Enabled characters.
- Tooltip will now properly uncompact after being compacted.
- HideRace will now also hide the Creature Type/Classification. As well, you can now use 1-2 ASCII character keys for elite, rare, and other classifications instead of printing the whole word.
- TinyTip will really not reset your scale anymore. Really.
- TinyTipExtras - Now uses AceHook-2.0, and will override TinyTip's lazy method of hooking (and therefore ALWAYS load TinyTipExtras) unless UseTinyTipHook is set to true.

Changes in v1.4.7
- Offsets will now start from the default game offset if you have GAMEDEFAULT set.
- Fixed PvP Rank Icons showing up for NPCs, and fixed problems with adding lines on dead players.
- Added the option to separately position and scale PvP Rank Icon, Raid Target Icon, Buff Icons, and Debuff Icons. Additionally, the Raid Target Icon now defaults to either taking the spot of the PvP Rank Icon, or going beneath the PvP Rank Icon. And fixed another anchoring bug.
- Fixed string.find error with PvP Rank Number.

Changes in v1.4.4
- Fixed last of the last of the RTIcon bugs
- HideInFrames will now really, really stop the tooltip from re-appearing when exiting a frame.
- You can now choose to apply TinyTip's custom anchoring to custom tooltips (which use SetDefaultAnchor).

Changes in v1.4.3
- Cleaned up last of the Raid Target Icon bugs. Sorry.

Changes in v1.4
- Total redesign. Fixes galore. Please delete your TinyTip folder before installing!
- MobInfo2, MonkeyQuest, and any other addon that alters the tooltip should now work fine.
- Split off addon into TinyTip, LoadOnDemand TinyTipOptions (GUI), LoadOnDemand TinyTipExtras (more superfluous features). Look at the Changelogs for these mods for more information. Remember, LoadOnDemand means the addon is only loaded if needed.
- Added Compact Mode.
- You can now display Rank # _after_ the name.
- Better FadeOut support.
- SMART anchoring is now STICKY.
- TinyTipTargets and TinyTipIcons are now part of TinyTipExtras.

Changes in v1.3
- SMARTCURSOR should now ignore your offsets.
- SMARTOFFSETCURSOR should now accept your offsets when not over a unit frame.

Changes in v1.29
- Addon renamed from TinyTip to !TinyTip, this will allow it to work with MobInfo2 and MonkeyQuest.
- Fixed Target of Raid members bug I introduced in the last revision.
- Added uColorBorder, which colors the border the same as the backdrop. This is turned on by default.
- Added uDisplayPvPRankIcon, which will display the PvP icon to the top-left of your tooltip. This turned off by default.
- Reworked tooltip_format AGAIN. Now it will erase your current tooltip and remake it. This has increased the initial memory size by 10KB.

Changes in v1.25
- Added [R#] for Rank Number notation. This is now the default. You can use the old
notation with Rank Name by setting uDisplayRank = 1.
- Added new option, uJustifyName, to justify the unit's name.

Changes in v1.24
- Rare Elite coloring fixed.
- Removed redundant call to tooltip_format, making it twice as fast!
- MobInfo2 support added, but not tested.

Changes in v1.23
- Added option to not display "Level" with uDisplayLevelText.
- Added option to skip NPC's information line with uDisplayInfoLine.
- Added option to not display a player's race with uDisplayRace.

Changes in v1.22
- Fixed >9 error. Now the default is also to not use this feature.
- My earlier reaction hack didn't work, changed it back to a slightly less efficient but more correct method.
This will fix coloring problems. However, it makes uAlwaysColorBackdrop unusable, so I removed it in this version.
- Fixed small error that you'll probably never see.

Changes in v1.2
- Basically rewrote tooltip_format to make it safer, tighter, and better. If you were getting any errors before, they should be gone.
- Changed the way hooks to the tooltip were done.
- Added (Tapped) for tapped NPCs.
- Added code from PerfectTooltip into TinyTip, with credit to cladhaire. This code allows a new option to make the tooltip ALWAYS stick to the mouse. This is the default setting.
- Added option to not play with anchoring at all.
- Removed positioning offset options, we really need a GUI settings window for that.
- Even with all that, only increased filesize to 18KB
- Added Todo: TinyTipOptions, a GUI settings window

Changes in v1.102
- Fix for German localization was adverted by typo. Fixed. Dunno about localization, you Deustchlanders keep me in touch!

Changes in v1.1
- New option to show the # of party members targeting the unit rather then each name. Use 2 instead of 1.
- New option to color backdrop for friends and guildies.
- Your guild name will now be a different color (if the above option isn't set).
- UPDATE_MOUSEOVER_UNIT likes to be fired more then once. Implemented evil string check even though I know I already put it there. Should fix double guild name problems.
- Tightened code, other bug fixes. Up to 16KB, ack.

i like this, because it's not "overloaded" like TipBuddy is, however i miss one simple thing: a way to have the tooltip not directly anchored below the mouse (not in the middle of the cursor), but in the lower right corner of it. i already searecher for some coordinates for anchoring in the lua file, but my coding skills suck, i couldn't find it.

the reasons for this is simply because i still want to see my target and not loosing sight because it hides behind the tolltip

i want it to be something like (C = cursor, T = Tooltip, "-" = Placeholder)

Hi everyone - sorry for the late update, I lost Internet (and earlier power) sometime last night due to a thunderstorm. I'm now at my parents' house visiting for my little brother's birthday anyway, and they have Internet. But I need to download 1.11 on this laptop, so this may take a few days...

I'm sorry, I'm confused. The version yesterday was 1.29, now it's 1.25. And your version history said it was renamed to !TinyTip to make use of MobInfo2, yet with the "newest" version now available (1.25), there is no ! in front of TinyTip in the folder. Not to mention the new settings at the top of the .lua file that were in with 1.29, are not in the newer version, 1.25. I really like this add-on, but which one should I use and how come the new changes aren't in there?

Perhaps I've missed it somewhere, but it would be lovely to be able to set the anchor and it's x/y offsets. Also the ability to keep the tip from fading in and out. Both of these are very minimal / lightweight changes. Thanks!

Note: MonkeyQuest and MobInfo2 support with v1.25 can be added if you add TinyTip as an optional dependency of these addons. To do this, go into their folder, open up their TOC file, and edit or add these lines:

## OptionalDeps:

Multiple Optional Dependencies must have a comma seperating them. Hopefully 1.3 and Ace2's event system will fix this requirement.

1) I have the option to display pvp rank icons enabled in the lua file. When i mouse over someone with a rank, then the rank icon stays there in every other tooltip of the game (Spells, items etc) after a while it vanishes but if i mouse over a player a gain it gets stuck once again.

2) I got the following error but i dont know what i did (something i mouse-overed )