Download
(140Kb)
Download
Updated: 06-13-09 04:54 PM
Pictures
File Info
Updated:06-13-09 04:54 PM
Created:unknown
Downloads:62,677
Favorites:566
MD5:

TinyTip  Popular! (More than 5000 hits)

Version: 30100
by: Thrae [More]

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:

--------------------------------------------------------------------------------------
TinyTip
--------------------------------------------------------------------------------------

- Required only for interoperability between TinyTip addons.
- Required by TinyTipOptions and nothing else so far.

--------------------------------------------------------------------------------------
TinyTipBasic (core formating)
--------------------------------------------------------------------------------------
- Name, backdrop, and border (optional) colouring by reaction (Hostile, Friendly, etc.)
- Class coloured with raid colours.
- Level coloured by difficulty.
- Creature Type (Imp, Cat) given for Pets.
- UnitClassification (Humanoid, Undead, etc.) given for NPCs.
- Elite Status (Elite, Rare, WorldBoss, Rare Elite) added when applicable.
- (Tapped) for Tapped, (Corpse) for Corpse
- Optional Guild Names displayed. (on by default)
- Optional backdrop coloring for friends and guildies. (on by default)
- Optional Honor Rank Name or Number. (on by default)
- Optional "Hostile", "Friendly", etc. reaction text for the colour-blind. (off by default)
- Optional Compact Tooltip mode.
- English, German, French, and Chinese localization, and partial support for other clients.

--------------------------------------------------------------------------------------
TinyTipPositioning
-----------------------------------------------------------------
- Positioning Options (Anchoring, Offsets)

--------------------------------------------------------------------------------------
TinyTipTargets
-----------------------------------------------------------------
- Who's targetting your tooltip mob?


-----------------------------------------------------------------------
In LoadOnDemand Addon TinyTipOptions

GUI Options, use /tinytip or /ttip to bring up the menu.
Only loaded if you use that slash command.
-----------------------------------------------------------------------


-----------------------------------------------------------------------
Troubleshooting
-----------------------------------------------------------------------

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.

Q: Where's the secret cow option?
A: There is no secret cow option.


------------------------------------------------------------------------
Changelog (Release)
------------------------------------------------------------------------

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.8
- Scaling for extra features won't reset themselves anymore.

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.6
- Raid Target Icon is now 70% smaller.
- Fixed error when setting Extra Tooltip offsets.

Changes in v1.4.5
- Really,really,REALLY fixed Raid Target Icon. Really.

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.2
- Fixed "attempt to compare string with number" error

Changes in v1.4.1
- Typo in TinyTipExtras

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.
Optional Files (0)


Post A Reply Comment Options
Unread 06-26-06, 03:34 AM  
GreatStalin
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 31
Uploads: 3
Originally posted by Thrae
Enter this into your chat frame:

/script DEFAULT_CHAT_FRAME:AddMessage( getglobal("LEVEL") )

That should say "Level" in your language. Tell me if it doesn't.
I'm getting the same error, I entered that and I got level in my language, so, what do I do now to stop the error?
Report comment to moderator  
Reply With Quote
Unread 06-25-06, 06:21 PM  
Devla
A Cobalt Mageweaver
 
Devla's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 206
File comments: 45
Uploads: 13
Really nice so far, thanks. A couple feature requests:

MobInfo2 compatibility

When mouse-over of unitframe, I get a different tooltip than mousing over an actual player

Disabling Raidframe tooltips (and possibly check for some popular raidframe mods, like EasyRaid, Xraid, CTRaid, Blizzard default, Perfectraid)

Anchoring non-unit tips to a specified location (possibly options for where)
__________________
RETIRED Author
Report comment to moderator  
Reply With Quote
Unread 06-25-06, 05:34 PM  
Thrae
A Cyclonian
 
Thrae's Avatar
AddOn Author - Click to view AddOns

Forum posts: 42
File comments: 39
Uploads: 4
Originally posted by Golonator
TinyTip.lua:129: bad argument #1 to 'find' (string expected, got nil)

everytime i mouseover a friendly player. NPC work fine. hostile target not tested.

german client here.
Enter this into your chat frame:

/script DEFAULT_CHAT_FRAME:AddMessage( getglobal("LEVEL") )

That should say "Level" in your language. Tell me if it doesn't.

I have a quick question...how do I get the triangular brackets around the guild name? I found the right line but I can't figure out what to put in the GameTooltip:AddLine(). Thanks.
Triangular? You mean like this? { } ?

Also, when I mouseover the unit frame of someone in my party, the tooltip still appears at the bottom right instead of at my cursor.
This is by design, since the tooltip will almost always covers the entire party frame if you anchor it to the mouse and then mouse over a party member.
Last edited by Thrae : 06-25-06 at 05:39 PM.
Report comment to moderator  
Reply With Quote
Unread 06-25-06, 05:11 PM  
Y3KPanic
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
I have a quick question...how do I get the triangular brackets around the guild name? I found the right line but I can't figure out what to put in the GameTooltip:AddLine(). Thanks.

Also, when I mouseover the unit frame of someone in my party, the tooltip still appears at the bottom right instead of at my cursor.
Last edited by Y3KPanic : 06-25-06 at 05:15 PM.
Report comment to moderator  
Reply With Quote
Unread 06-25-06, 03:36 PM  
Jayblah
A Kobold Labourer

Forum posts: 0
File comments: 27
Uploads: 0
Another problem: I've been editing the LUA for positioning and can't get the position to change.

Here's what I'm editing:

-- These values change where the tooltip is placed when not stuck to your mouse.
-- The game's default is "ANCHOR_NONE".
local uDefaultAnchor = "BOTTOMRIGHT"
local uPointAnchor = "BOTTOMRIGHT"

I've tried ANCHOR_CURSOR, BOTTOM, etc. and it always, always appears on BOTTOMRIGHT. yes, I am saving after the edits and reloading.
Report comment to moderator  
Reply With Quote
Unread 06-25-06, 03:27 PM  
Golonator
A Kobold Labourer

Forum posts: 1
File comments: 13
Uploads: 0
TinyTip.lua:129: bad argument #1 to 'find' (string expected, got nil)

everytime i mouseover a friendly player. NPC work fine. hostile target not tested.

german client here.
Report comment to moderator  
Reply With Quote
Unread 06-25-06, 03:22 PM  
Jayblah
A Kobold Labourer

Forum posts: 0
File comments: 27
Uploads: 0
I've got a bug/error on a tooltip.

When I mousedover one of Warriors in a raid, the tooltip had the normal stuff, but also contained this:

Targeted by: (|cFFFFFF2) Raid
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: