Download
(97Kb)
Download
Updated: 02-07-07 08:48 AM
Pictures
File Info
Updated:02-07-07 08:48 AM
Created:unknown
Downloads:2,803
Favorites:22
MD5:

TipOnDemand

Version: 05.00.03.R
by: Garland [More]

.: Tip on Demand - Fifth Milestone :.

I created this Addon because I like having tooltips following my cursor but I was tired of not being able to control how and when they were actually shown, so I created this suite of tooltip handling functionality to deal with that problem.

For more information see the manual at Google Docs. The manual is also included in the zip (in the Other folder).

.: Changelog :.

05.00.03.R: Whilst working on another project, I noticed a bit of an oddity regarding FuBar module naming conventions, something that might cause problems and conflicts. I don't know if any of you will ever see problems from this could be bug but it's worth getting this version anyway, just in case. You will lose a few minor settings (such as FuBar position, left/center/right, showing/hiding text/icon and so on) purely related ot FuBar but it might be worth it for peace of mind. I'm not even sure if this is a real issue to be honest but... better safe than sorry.

05.00.02.R: Another small error I've caught in the Elements, if someone out there actually isn't using FuBar, an error would throw. I've got this fixed. If you have FuBar then you probably don't need this version. If you don't, I apologise for that silly goofup.

05.00.01.R: Oops, tiny prob in the Catch Frame module that could cause a cosmetic error for people not using SetKey (since that's now all optional). No rest for the wicked/sloppy!

05.00.00.R: So, fifth milestone release! Since this latest version seems to be stable, I'm bumping it up to the next milestone. I've also included a manual with the zip as you've no doubt read, just for that little extra bit of polish. Seems like ToD is really shaping up! As always, bug reports and feedback are most welcome.

(See the RelCodes.txt file included with this mod for an explanation of my version release codes.)

Optional Files (0)


Post A Reply Comment Options
Unread 02-05-07, 09:20 AM  
SkOODaT
A Wyrmkin Dreamwalker
 
SkOODaT's Avatar
AddOn Author - Click to view AddOns

Forum posts: 57
File comments: 63
Uploads: 6
cool cool ill add it in and test for ya ... but not today lol i wanna actually play today gata make 20 with shawman ... ghostwolf ......i allreaddy knew about the jump hook i based the addon from jump counter to get the roar count and that hook cause the roar animation only happens when your on a mount and your standing still and you jump but blizzard has no sound for it lol? thus the point to mountsounds! lol........ you say an aural addon hehe....... its a shame tho blizzard blocks music streaming to the client from web addys tho i was the original creator of DIFM! or ShoutCast! and i was going to modularize/ace2/fubar them but..... i should of never released the addon the methoid in it got too popular lol so they blocked it it was a security risk to the client * pifffff !

any who ill let ya know what happens with tipondemand

SkOO~
Report comment to moderator  
Reply With Quote
Unread 02-05-07, 09:31 AM  
SirCasey
A Murloc Raider

Forum posts: 6
File comments: 5
Uploads: 0
Sweet! Can't wait to try it tonight! Thanks for adding the feature
Report comment to moderator  
Reply With Quote
Unread 02-05-07, 02:36 PM  
Garland
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 91
Uploads: 6
Hokay, just did a lot of work on TipOnDemand and I found out a few things, some of those things are good and some of those things are ... well, not quite so good.

First of all, the good. Skoo, take a look at the fourth milestone and tell me what you think, I think this new method is much more graceful than the clunky old self.status method and it won't cause modules to interfere with each other in unexpected ways, either. There shouldn't be any bugs here regardless since no variables are used, just returns.

Wraith, I'm sorry to say but after spending about two hours trying (egad) I just cannot find a way to make tooltips delay. Try it for yourself in game and see, hover over something which creates a tooltip (GameTooltip, not Tablet) and then type the following:

/script GameTooltip:Hide() GameTooltip:Show()

I don't know why it behaves like that that you can't make the tooltip show in the same instance as hiding it but that's how it is and it's bothering me because I know there has to be a way around that, I'll keep thinking about it but for the time being, the inclusion of tooltip delays does seem glum. If you know of another mod that does it then let me know, I'll take a look and see if I can get an idea about how to make this module work. I just don't want to create too much overhead though, since I've been going out of my way to keep TipOnDemand small and sensible but if you can supply a source and it can be implemented sanely, I'll do it. Otherwise... lots of thinking and experimentation for me.

For now though, I'm just glad to have m4 out there, I really am quite pleased with this one. I know there'll likely be bugs but I'm confident enough to call it R(elease) status so it's probably okay. If you do find bugs though, let me know and I'll get 'em fixed up.

Mostly I'm just happy that I won't have to be driven crazy by incorrect logic in my own work anymore...
Report comment to moderator  
Reply With Quote
Unread 02-05-07, 03:15 PM  
wraithpc
A Defias Bandit

Forum posts: 2
File comments: 20
Uploads: 0
Finally, if you're actually reading down here wraith, sure I can do that! That'd be an easy thing to include. It'll be a fun little challenge in fact, there's only one thing I wonder about though and that's the minimal increments I should allow the ticker to act at. I'll likely be using an AceEvent schedule (since it's fast) to create the ticker for the tooltip but what should the minimum be? I'm thinking half a second so how does that sound?

.. edited

Now that I think of it, I have a question for you Wraith about how I should proceed. Since you're the one who desires the feature, you know what would be best for you. Do you want the module to include a list where frame's tips to be delayed can be added to and deleted from a database (similar to whitelisting/blacklisting) or do you want this feature to be global across all tooltips?
Whatever you feel like adding to it would be great, Global is fine, I would guess .5 seconds or so to be a good starting point and maybe .5 increments..

Sorry to respond a little slow, and thanks alot for looking into it, I do appreciate your work on this mod.

Thanks
Report comment to moderator  
Reply With Quote
Unread 02-05-07, 03:35 PM  
wraithpc
A Defias Bandit

Forum posts: 2
File comments: 20
Uploads: 0
Just installed this latest revision, gives me the following two errors upon initial UI load...

[2007/02/05 14:27:52-560-x1]: ...and\Elements\TipOnDemand_FuBar\TipOnDemand_FuBar.lua:15: attempt to index global 'Bartender3' (a nil value):
AceAddon-2.0-26427 (Ace2):455: in function <Interface\AddOns\Ace2\AceAddon-2.0\AceAddon-2.0.lua:432>
<in C code>: ?
AceEvent-2.0-25921 (Ace2):320: in function `TriggerEvent'
AceEvent-2.0-25921 (Ace2):962: in function <Interface\AddOns\Ace2\AceEvent-2.0\AceEvent-2.0.lua:955>
[2007/02/05 14:27:55-560-x1]: FuBarPlugin-2.0-26156:769: Usage: IsAddOnLoadOnDemand(index or "name")
<in C code>: ?
AceEvent-2.0-25921 (Ace2):251: in function `TriggerEvent'
AceEvent-2.0-25921 (Ace2):962: in function <Interface\AddOns\Ace2\AceEvent-2.0\AceEvent-2.0.lua:955>
I have alot of other add-ons installed, so this may be a conflict issue, however, these are new errors, and non-existant with the previous version, or when this version is disabled...

I've also not played at all to see if this is just upon initial load..

Thanks
Last edited by wraithpc : 02-05-07 at 03:36 PM.
Report comment to moderator  
Reply With Quote
Unread 02-05-07, 05:28 PM  
Garland
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 91
Uploads: 6
Whoops, yeah. I used Bartender to figure out how to properly modularise the FuBar element, I had issues with it missing certain options (like position) so I had to refer to that. That was one object call I didn't rename. Just head into the file and change Bartender3 to T and it'll work fine. Sorry about that.
Report comment to moderator  
Reply With Quote
Unread 02-06-07, 12:11 AM  
wraithpc
A Defias Bandit

Forum posts: 2
File comments: 20
Uploads: 0
Previous errors gone, but replaced with the following.

[2007/02/05 23:09:31-566-x1]: FuBarPlugin-2.0-26156:769: Usage: IsAddOnLoadOnDemand(index or "name")
<in C code>: ?
AceEvent-2.0-25921 (Ace2):251: in function `TriggerEvent'
AceEvent-2.0-25921 (Ace2):962: in function <Interface\AddOns\Ace2\AceEvent-2.0\AceEvent-2.0.lua:955>
Report comment to moderator  
Reply With Quote
Unread 02-06-07, 07:08 AM  
Garland
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 91
Uploads: 6
Ooh, hm. That's a strange one. Do me a favour?

In the TipOnDemand_FuBar.lua file, after line 21 add...

self.folderName = "TipOnDemand"

See if that works?
Report comment to moderator  
Reply With Quote
Unread 02-06-07, 12:57 PM  
wraithpc
A Defias Bandit

Forum posts: 2
File comments: 20
Uploads: 0
Originally posted by Garland
Ooh, hm. That's a strange one. Do me a favour?

In the TipOnDemand_FuBar.lua file, after line 21 add...

self.folderName = "TipOnDemand"

See if that works?

That fixed it, seems to be no further errors.
Report comment to moderator  
Reply With Quote
Unread 02-06-07, 02:03 PM  
Garland
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 91
Uploads: 6
Thanks wraith.

I'll start researching into possible ways of implementing delays, now. Don't get your hopes up because it might very well be impossible but that doesn't mean I won't try.
Report comment to moderator  
Reply With Quote
Unread 02-06-07, 02:24 PM  
Garland
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 91
Uploads: 6
I've just been giving this some thought and... doy.

I don't have to stop the tooltip from showing and delay it, that doesn't have to happen. I need just hide it visually, right? After all, this might not be perfect for all scenarios because of clickable tooltips (accidentally hitting those in battle is a pain) but for simple five or so second delays, I just make it not visible. Would that work? I'll knock together a quick plugin now so you can test and what's more, this won't even mess with the existing logic. Hooray!
Report comment to moderator  
Reply With Quote
Unread 02-06-07, 04:58 PM  
wraithpc
A Defias Bandit

Forum posts: 2
File comments: 20
Uploads: 0
I don't see why not, although i know very little about the tech side of things..
Last edited by wraithpc : 02-06-07 at 04:58 PM.
Report comment to moderator  
Reply With Quote
Unread 02-06-07, 05:13 PM  
Garland
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 91
Uploads: 6
There y'go wraith! Give that a go and let me know what you think once you've tried it, feedback is always appreciated.

Here are some thoughts off the top of my head...

I would've implemented a fade-in but it's a lot of code to get it in there, for the option and then for the fade itself. I'm also not sure whether I trust Blizzard's FrameXML UIFadeFrame() function set to not lag the game, so I might end up writing my own for such a feature, which'd be a lot more code. So I leave this in your hands, would you prefer a fade-in as an option to popping up or would that just be bloat?

How's the limit and steps? Should the step be 0.1 instead of 0.2, should the limit be higher? The reason I used that step and that limit was because it made it easy to set, with a low step and a high upper limit, those sliders can be a git to get on just the right setting that you want. If you don't feel the limit and step are right, do you have any suggestions?
Report comment to moderator  
Reply With Quote
Unread 02-06-07, 06:43 PM  
wraithpc
A Defias Bandit

Forum posts: 2
File comments: 20
Uploads: 0
Installing it now, Thanks a bunch, I'll post in a while
Report comment to moderator  
Reply With Quote
Unread 02-06-07, 07:24 PM  
wraithpc
A Defias Bandit

Forum posts: 2
File comments: 20
Uploads: 0
First, let me thank you again for the great job your doing on this!

Some observations...

1. Most important, It seems after the Delay is enabled i cannot display equpped item tooltips, regardless of any other modifiers, when the delay is not enabled it seems fine. I double checked and made sure they were displayed normally with ToD disabled.

2. .2 second intervals might be better, as when you aproach your ideal delay a .5 change seems to much.

3. The logic seems to somehow get confused, had to uncheck all options and recheck the ones i wanted for them to work.. Referring to the combat/delay/key/move modifiers....

4. Reloading UI seems to compound the logic confusion, probably not the best to describe as confusion, but for lack of a better descriptive.....



Nothing that really breaks functionality, just be aware if it doesn't accept changes the first time all possible modifiers may need to be changed and reapplied..

Initial install of this version had it doing all kinds of craziness, Flashing tooltips reversed logic, etc Deleting the previous saved variables cleared that up, may want to make a note, although this might be just with the delay set, i didn't try anything else initially.
Last edited by wraithpc : 02-06-07 at 07:28 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: