Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(9 Kb)
Download
Updated: 11-28-10 05:23 AM
Pictures
File Info
Updated:11-28-10 05:23 AM
Created:unknown
Downloads:24,737
Favorites:97
MD5:

Gymnast Tooltips  Popular! (More than 5000 hits)

Version: 4.0.40000
by: AnduinLothar, Kharthus

Bending over backwards to please. Make your Tooltip as flexible as you are.

Slash Commands:

  • "/gtshow" - Makes the Game Tooltip visible for you to drag to your preferred position.
  • "/gtreset" - Moves the Game Tooltip back to its original position.
  • "/gttopcenter" - Moves the Game Tooltip to the alternate top center position.

Usage:
  1. Type /gtshow into chat.
  2. Drag the tooltip to where you want it to be anchored.
  3. Put your mouse over the tooltip to show the anchor checkboxes.
  4. Check one of the anchor checkboxes to select which side/corner to anchor in place. ("TOPLEFT", "TOPRIGHT", "BOTTOMLEFT", "BOTTOMRIGHT", "LEFT", "TOP", "RIGHT", "BOTTOM")
  5. Check the UBER checkbox to position "Enhanced Tooltips" near their parent frame.
  6. Check the OWNER checkbox to position normal tooltips near their parent frame.
  7. Click "Here" to set GameTooltip to show where the tooltip currently is. Or click "Mouse" to show the GameTooltip where ever the mouse is.

v4.0
-Enhanced GUI
-Checkboxes for anchor selection
-Checkboxes for Uber and Owner togglable options
-Buttons to select Here or Mouse anchoring
-Draggable tooltip no longer hides when you stop dragging it. Click Here or Mouse.
-Removed /gtanchor (use gui)

v3.3
-Converted to use hooksecurefunc instead of manual hooks to fix taint issues
-Removed unused SmartSetOwner hook
-Removed obsolete Cosmos and Khaos code

v3.2
-Changed VARIABLES_LOADED to ADDON_LOADED
-Fixed last instances of 'this'

v3.1
-Updated for WoW 4.0.1

v3.0
- Updated for lua 5.1
- Updated TOC to 20000
- Anchor to MOUSE mode now correctly dissables if you set another mode.
- OO'd the code
- Removed Chronos Dep

v2.7
- Added an option to relocate normal tooltips to be by their parent, like Uber Tooltips were. Using this option will fix things such as Buff tooltips showing up off screen when you move the buffs to the left of the screen.
- Fixed bug with the position by owner option, needed GetEffectiveScale
- Updated to not use RegisterForSave
- Updated TOC to 11000

v2.6
- Updated TOC to 1700
- Fixed issues not accounting for Screen Scaling
- Fixed compatibility with CosmosLegacy.

v2.5
- Updated TOC to 1600
- Added Khaos Options.
- Fixed the Smart Anchor option to be under advanced options.
- Raised advanced options to Master difficulty.
- Made feedback localizable.
- Clarified Uber tooltip relocation in the mouse-over info.

v2.42
- Extra options now save correctly when not using cosmos.

v2.41
- Updated TOC to 1300
- Fixed a Cosmos dependency to be truely optional

v2.4
- French localization updated by Sasmira

v2.3
- Added smart anchoring and center anchoring
- Added a button to move to the old cosmos position top center.

v2.2
- Added Mouse and Uber tooltip relocations

v2.1
- Added Anchoring
- Modified instructions in the tooltip.

v2.0
- Completely redesigned... now it plays nicely with TooltipsBase.

v1.0
- Replaced tooltips with mobile ones.
- Included instructions in the tooltip.
Archived Files (4)
File Name
Version
Size
Author
Date
3.3.40000
9kB
AnduinLothar
11-27-10 08:00 PM
3.2.40000
9kB
AnduinLothar
10-29-10 12:09 AM
3.1.40000
9kB
AnduinLothar
10-27-10 09:42 PM
3.0
9kB
AnduinLothar
10-13-06 04:50 PM


Post A Reply Comment Options
Unread 11-28-10, 05:27 AM  
AnduinLothar
Nobody of Importance
 
AnduinLothar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 95
File comments: 208
Uploads: 49
There we go. With its own GUI options it's slightly less sad.

NOTE: The non-english localizations need updating. Send them in if you can translate the new strings.
Last edited by AnduinLothar : 11-28-10 at 05:28 AM.
AnduinLothar is offline Report comment to moderator  
Reply With Quote
Unread 11-27-10, 08:03 PM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2395
Uploads: 6
Originally posted by AnduinLothar
Damn this addon is crusty... still has Cosmos and Khaos configs and manual replacement hooks? Sad.
Why sad? It worked (one way or another) all the way up to the point. How well?... Well, that's a different discussion

EDIT: Oh, and thanks for quick update!
Last edited by AnrDaemon : 11-27-10 at 08:03 PM.
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 11-27-10, 06:44 PM  
AnduinLothar
Nobody of Importance
 
AnduinLothar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 95
File comments: 208
Uploads: 49
Damn this addon is crusty... still has Cosmos and Khaos configs and manual replacement hooks? Sad.

Thanks for the tips Farmbuyer. I'll see what I can do.
AnduinLothar is offline Report comment to moderator  
Reply With Quote
Unread 11-26-10, 10:02 PM  
Kharthus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 244
Uploads: 6
Well I've tried to fix the taint and so far been unsuccessful. Based on what I've read, it looks like a Blizz bug and I haven't found any code yet that keeps Gymnast from exposing the bug. Any help finding working code would be most appreciated.
Kharthus is offline Report comment to moderator  
Reply With Quote
Unread 11-19-10, 12:02 AM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2395
Uploads: 6
Originally posted by Farmbuyer
You realize I didn't write any of those addons?
You realize I don't care? If you want constructive discussion, stop pointing fingers in random directions and get straight to business.

Here's the fix, if you're not too proud to take advice:
I' not "proud", i simply don't care.
As I said earlier, if you can provide a fix, I'll be very-very appreciative.
I barely know Lua, and don't know anything of the secure template handling. All I was able to do is to make a fast patch for this addon to function in 4.0. Knowing that there's considerable amount of taints in Blizzard own code, the one single case you and a number of other people reported was easy considered as one of them, especially given that me, personally, only enxountered it once on all of my characters (there I've been glyphing all six of them, and re-glyphing two after some tests and sequential respecs to make it all work... on a bigger scale).
If you insist this knowledge is required, and you know how it works, patch is appreciated.
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 11-18-10, 04:05 PM  
Farmbuyer
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 43
File comments: 36
Uploads: 1
Originally posted by AnrDaemon
It was bragging. Useless one. If you could provide a fix, why didn't you? You was busy shaking your handful of addons.
You realize I didn't write any of those addons? Why would I "brag" about downloading other people's working code? Are you certain you know what that word means? Some polite advice: stop. Whatever insult you're trying to make, it isn't translating into English well.

It's simple math. 187 other addons work. 187+Gymnast don't work. Fixing Gymnast makes all 188 addons work. If you think of that as "bragging", then you need to get a better thesaurus.

Here's the fix, if you're not too proud to take advice: use hooksecurefunc instead of replace the function pointers in Gymnast.OnLoad. Use securecall around the saved setowner calls. *Don't* call the saved functions directly in setowner/setdefaultanchor because secure hooks have already done that.

At the same time, you can delete the massive blocks of code checking for Cosmos and Khaos, because those stopped working a long time ago.

Turn on taint logging to "2", start up the game client, and fix any places that you skipped. Don't forget to turn off taint logging when you're done, else the file gets gigantic.
Farmbuyer is offline Report comment to moderator  
Reply With Quote
Unread 11-18-10, 08:19 AM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2395
Uploads: 6
Originally posted by Farmbuyer
It's not bragging, it's pointing out that 187 other addons don't cause this problem. If you're not in the mood for bug reports, then never mind, I'll fix the code locally and won't waste your time or mine trying to convince you. Have a good day.
It was bragging. Useless one. If you could provide a fix, why didn't you? You was busy shaking your handful of addons.
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 11-17-10, 01:07 PM  
Farmbuyer
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 43
File comments: 36
Uploads: 1
Originally posted by AnrDaemon
Don't trust me? Ask someone you trust, then, but don't brag with amount of your addons, it makes no sense whatsoever.
It's not bragging, it's pointing out that 187 other addons don't cause this problem. If you're not in the mood for bug reports, then never mind, I'll fix the code locally and won't waste your time or mine trying to convince you. Have a good day.
Last edited by Farmbuyer : 11-17-10 at 01:08 PM.
Farmbuyer is offline Report comment to moderator  
Reply With Quote
Unread 11-17-10, 01:28 AM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2395
Uploads: 6
Originally posted by Farmbuyer
Exaggerate much?
Don't trust me? Ask someone you trust, then, but don't brag with amount of your addons, it makes no sense whatsoever.
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 11-16-10, 09:49 PM  
Farmbuyer
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 43
File comments: 36
Uploads: 1
Originally posted by AnrDaemon
Yet another fine example of "read before post" case.
thei is Blizzard's own fault, nothing addon authors can do, besides a complete duplication of Blizzard UI code in every addon.
Go back and complain to blizzard bug tracker. What? Blizzard don't have a bug tracker? Then you're out of luck.
Exaggerate much?

I have 188 addons in my addons folder, I've never had this error except with Gymnast. Disabling Gymnast lets glyphs work fine, but it errors every time until the disable.

Duplicating Blizzard's code doesn't magically avoid taint errors on execution.
Farmbuyer is offline Report comment to moderator  
Reply With Quote
Unread 11-15-10, 06:05 PM  
Kharthus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 244
Uploads: 6
Originally posted by Canuck
Currently this addon is glitching whenever I try and change my glyphs.. it says it is atempting to do what only blizzard can do pretty much.. I must disable this addon to be able to change out my glyphs
I've been able to just attempt the glyph change again after the initial error without issue.
Kharthus is offline Report comment to moderator  
Reply With Quote
Unread 11-11-10, 12:52 PM  
Twidget
An Aku'mai Servant
 
Twidget's Avatar

Forum posts: 33
File comments: 407
Uploads: 0
Originally posted by AnrDaemon
Read my answer just below your post.
I saw that originally. Just thought you would like to see the actual error message. No matter. Found another tip mover that does the job with no error. Thanks...
Twidget is offline Report comment to moderator  
Reply With Quote
Unread 11-11-10, 12:29 PM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2395
Uploads: 6
Originally posted by Twidget
Got the following error when changing glyphs:

Date: 2010-11-11 07:14:40
ID: 1
Error occured in: AddOn: Gymnast
Count: 1
Message: Error: AddOn Gymnast attempted to call a forbidden function (PlaceGlyphInSocket()) from a tainted execution path.
Debug:
[C]: PlaceGlyphInSocket()
..\FrameXML\StaticPopup.lua:76: OnAccept()
..\FrameXML\StaticPopup.lua:3489: StaticPopup_OnClick()
[string "*:OnClick"]:1:
[string "*:OnClick"]:1
AddOns:

I see someone below already mentioned this but I though you might like to see the error.

Edit:
Oh, and I forgot to mention. Not only did I get the error but it would not let me change a glyph until I disabled Gymnast so it you can't fix this because of something Bliz is doing I guess I will have to leave it disabled. Can't have it causing internal errors and disabling parts of the game.

Thanks
Read my answer just below your post.
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 11-11-10, 06:16 AM  
Twidget
An Aku'mai Servant
 
Twidget's Avatar

Forum posts: 33
File comments: 407
Uploads: 0
Got the following error when changing glyphs:

Date: 2010-11-11 07:14:40
ID: 1
Error occured in: AddOn: Gymnast
Count: 1
Message: Error: AddOn Gymnast attempted to call a forbidden function (PlaceGlyphInSocket()) from a tainted execution path.
Debug:
[C]: PlaceGlyphInSocket()
..\FrameXML\StaticPopup.lua:76: OnAccept()
..\FrameXML\StaticPopup.lua:3489: StaticPopup_OnClick()
[string "*:OnClick"]:1:
[string "*:OnClick"]:1
AddOns:

I see someone below already mentioned this but I though you might like to see the error.

Edit:
Oh, and I forgot to mention. Not only did I get the error but it would not let me change a glyph until I disabled Gymnast so it you can't fix this because of something Bliz is doing I guess I will have to leave it disabled. Can't have it causing internal errors and disabling parts of the game.

Thanks
Last edited by Twidget : 11-11-10 at 06:20 AM.
Twidget is offline Report comment to moderator  
Reply With Quote
Unread 11-10-10, 05:48 PM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2395
Uploads: 6
Originally posted by Canuck
Currently this addon is glitching whenever I try and change my glyphs.. it says it is atempting to do what only blizzard can do pretty much.. I must disable this addon to be able to change out my glyphs
Yet another fine example of "read before post" case.
thei is Blizzard's own fault, nothing addon authors can do, besides a complete duplication of Blizzard UI code in every addon.
Go back and complain to blizzard bug tracker. What? Blizzard don't have a bug tracker? Then you're out of luck.
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: