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 was hoping someone else will pick up this project for me, as it's public domain, or make a sensible replacement that's non-borg (100000 options or just bad code).

Alas, that hasn't happened. And so many things have changed that I'll have to strip TinyTip down to its TinyBits and re-code it. Not all of it, mostly just the architecture, removing the god-awful hacks people put in.

My time grows short as of late so we'll see how it goes.

yeah i will donate 1 bazillion dollars if you update this.

leatrix went with a full package addon and now the tooltips dont even anchor on mouse which kill any tooltip in game because u gotta watch the mouse and also then look down to see if that's what you are targeting, in pve is a mess because if the add you trying to cc or debuff move 1 inch u lose focus on it.

i hate tooltips on bottom right, if i want to see them there i wouldn't get a tooltip addon the 1st place i will just use default.

this was the best addon i ever saw for tooltips. bring it back. for the love of all is sacred

I was hoping someone else will pick up this project for me, as it's public domain, or make a sensible replacement that's non-borg (100000 options or just bad code).

Alas, that hasn't happened. And so many things have changed that I'll have to strip TinyTip down to its TinyBits and re-code it. Not all of it, mostly just the architecture, removing the god-awful hacks people put in.

Had some time, did some more resource usage testing on a few mods recently. Found a regression with TinyTip.

The r30100 version here on WowInterface contains a unique, updated version of TinyTipTargets. A version which unfortunately uses a massive ton more CPU time than the older version on WoWAce (r25/33) does.

So the "color" & "mouseover hack" LUA updates to TinyTipTargets r30100 may not have been worth it. r33 seems to show targeters properly in the tooltip while using far less CPU.

Mousing-over-target CPU usage seems to be an issue with several tooltip mods that show targets in the tooltip (TipTop, for example, spikes to 4-5 CPU/second mousing over targets). Hopefully the next release version of TinyTip (if there is one, crossing fingers ) reverts TinyTipTargets back to its formerly efficient nature.

Originally posted by Grilor can i assk 1 thing be added? to show tallents, thanks. Other then that i love this simple yet easy mod ...

No, please do not. As Thrae very likely knows, mouseover talent scanning can cause all sorts of problems.

If you really have some valid reason to see a person's chosen talents in your tooltip (why not just inspect them?), there is TipTacTalents which can work with any tooltip addon. But look out for problems.

Hi, is there any option, how can I add titles in names? I'd like to see 'Gladiator' before name for example in the tooltip. There is option to do this in CowTip putting
[(if [IsPlayer or [IsEnemy and not IsPet]] then ClassColor end) NameRealmvprank]
instead of normal name, but I'd like to use rather TinyTip.
Can you help me how to edit .lua to reflect this? Thanks.

1) Allow changes in StandAloneConfig.lua to overwrite TinyTipDB if they have a value. That way you can easily just change the values in StandAloneConfig.lua. I bet you noticed this file in the TinyTipBasic, etc. directories.

2) Very simple slash command interface. /ttip <option> <value>

Hopefully someone will pick up TinyTipOptions before I get to it, which will not be anytime soon. There's a lot of bugs I need to sort through with TinyTip itself and optimizations to be done.

Note that in TinyTip 2.0, modules will no longer be integrated into TinyTip. This confused people and eventually went against the ideals of TinyTip. They will be separate, independent, simple addons. Above all else, TinyTip is supposed to be a SIMPLE addon hierarchy.

Originally posted by dracula But how do you change any of the options / appearance of the tooltips then? What happened to the good old popup menu with all available options in it?