Download
(10Kb)
Download
Updated: 02-12-10 03:48 PM
Pictures
File Info
Updated:02-12-10 03:48 PM
Created:11-08-09 12:33 PM
Downloads:677,876
Favorites:451
MD5:

SnowfallKeyPress  Popular! (More than 5000 hits)

Version: 1.4
by: Dayn [More]

*** Version 1.6.1 is temporarily unavailable while I work on a new version. In the interim, you can still download version 1.4. ***

This addon accelerates key bindings so that they are activated by key press rather than key release. This allows you to activate your abilities faster than you could otherwise. This can really make a difference for situations where you need to react quickly, like when casting heals, when dispelling, when interrupting spells, or in PvP. In these situations, the addon can have an effect similar to reducing your network latency by 100ms. Of course, the exact impact depends entirely upon how much time you personally spend between key press and release.

"Dude, this addon is going to increase my DPS by so much!" No, it's not. DPS rotations (or even priority systems) are not to any great extent affected by latency. Because they're predictable, good players can anticipate what's coming next and compensate for latency. In fact, if you're a good player who is already compensating for the press-to-release latency, you may actually find that your DPS goes down when you first use this addon until you learn to readjust to the reduced latency. Find a target dummy and practice your rotation until you're comfortable with the changed timing.


Configuration

There is an in-game configuration GUI accessible through the usual Options->Interface->Addons menu. From this panel, you can add or remove keys and mouse buttons to be accelerated. You can also globally enable or disable all key acceleration.

The GUI provides exceptionally fast entry--you can enter your whole keyboard in seconds and all your mouse buttons in a few more seconds. The easiest way to understand this GUI is to start by hitting the "Clear All" button and then adding and removing some keys. In order to add just one key or mouse button, hover over the "+" button and type the key or press the mouse button (including whatever modifiers you desire). In order to remove that key, hover over the "-" button and type that same key with its modifiers. In order to enter all 8 of a key's modified and unmodified combinations with just one key press, hover over the "+ (Modifiers: All)" button and type the key.

If you want to do mass entry of modified and unmodified keys and mouse buttons, hit the "Clear All" button. Then hover over the "+ (Modifiers: All)" button and face-roll your way across keyboard and mouse buttons. You're done.

The default configuration accelerates all the modified and unmodified keys on a standard 104-key US keyboard (except PRINTSCREEN) plus mouse buttons 3-5. If you'd like to get back to this configuration at any time, simply hit the "Reset To Defaults" button.


Mouse Buttons

SnowfallKeyPress accelerates key bindings of mouse buttons, but it doesn't accelerate mouse button clicks that interact directly with frames without any associated key binding. This means that although SnowfallKeyPress is compatible with click-casting addons like Clique and Vuhdo, it won't accelerate their mouse clicks. Vuhdo already provides its own mouse click acceleration, though, and perhaps Clique will at some point, as well. Until then, you can add support yourself by navigating to Interface\Addons\Clique, editing Clique.lua and CliqueOptions.lua, searching for instances of "AnyUp", and replacing them with "AnyDown".

Mouse scroll-wheel bindings do not need any acceleration, so don't be concerned that SnowfallKeyPress offers no way to accelerate them. Each "tick" of the mouse scroll wheel is, in effect, already a simultaneous press and release.

================================================================================
1.6.1 - 1/2/2010

Fixed a bug that may have affected compatibility with override bindings that some addons were applying.



================================================================================
1.6 - 12/20/2009

Reduced the size of the default button animation by 25%, which should help keep it from obscuring other indicators on buttons.

Added the ability for other addons to customize the SnowfallKeyPress button animations. An example is included.

Removed the deprecated Lua configuration capability (the SnowfallKeyPressSettings folder). This functionality was superseded by the in-game GUI in version 1.2, so it's not needed any longer.



================================================================================
1.5.1 - 12/14/2009

Fixed a bug introduced in 1.5 that was throwing a lua error with OPie.



================================================================================
1.5 - 12/12/2009

Added button press animations (enable or disable through the configuration panel).

Made some infrastructure changes that should be invisible to the user, but which should improve compatibility with addons written in the future that may have more complex behaviors than we generally see in addons today.

Reduced the memory footprint of the code.



================================================================================
1.4 - 12/8/2009

Updated the interface version to 30300 (patch 3.3).

No functional changes.



================================================================================
1.3 - 12/4/2009

Fixed a minor error introduced in 1.2 that was causing some people problems with Bartender4.



================================================================================
1.2 - 11/28/2009

Added an in-game configuration GUI accessible through the usual Options->Interface->Addons menu.



================================================================================
1.1 - 11/25/2009

Added complete support for Dominos and Bindpad. At this time, there are no known incompatibilites with any addons.

Added a user configuration file to control which keys are accelerated.



================================================================================
1.0 - 11/15/2009

First full release version.
Post A Reply Comment Options
Unread 01-06-10, 01:01 PM  
Dayn
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 69
Uploads: 6
Radighoul and I had a PM conversation and he believes that the problem he was seeing is actually solved in 1.6.1. I'm marking this issue as closed. Of course, if anyone finds something else, just let me know.
Last edited by Dayn : 01-07-10 at 08:18 AM.
Report comment to moderator  
Reply With Quote
Unread 01-06-10, 12:49 PM  
radighoul
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 19
Uploads: 1
It seems to have improved the problem but not gotten rid of it altogether. Last night on Festergut after vanishing and attempting to immediately Ambush it once again tried to apply Kidney Punch (same bind SHIFT+Q just on different bars paged by stealth status, Ambush being on the stealth bar).

Is it possible this is just a Bartender problem? I suppose I should test it out without SFKP running and see if I can reproduce the issue. That would significantly point to the problem lying within Bartender's code.
Report comment to moderator  
Reply With Quote
Unread 01-02-10, 05:06 PM  
Dayn
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 69
Uploads: 6
Radighoul and Ymoon, please try version 1.6.1 and see if that fixes your problem.

Sjiulk, I've been using SnowfallKeyPress with OPie without any issue. Would you please indicate the versions of both addons you're using?
Report comment to moderator  
Reply With Quote
Unread 12-30-09, 07:18 AM  
Raphael_M
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Bug with Bartender

I'm experiencing strange problems in combination with Bartender - initially (after a login / ReloadUI() ) the buttons are not accelerated.

Anyway, in the configuration menu of SFKP all hotkeys seem to be listed.

Now comes the strange thing: After pressing "Reset to Defaults" (which changes absolutely nothing) also the Bartender4 Buttons are working in highspeed mode.

If i relog (or even ReloadUI() ) now they stop working again until i press "Reset to Default"...
Report comment to moderator  
Reply With Quote
Unread 12-28-09, 06:18 PM  
radighoul
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 19
Uploads: 1
Dayn,

There might be some issue with SnowfallKeyPress and Bartender.

When using action bar paging in Bartender to swap out bars based on some conditional (in this example, stealth) it appears that the bar visually changes properly but pressing a keybind is defaulting to the previous (now invisible) action bar.

In case that wasn't clear here's a working example. I have shift + Q bound to Ambush when I'm stealthed and Kidney Shot when I'm unstealthed. I've noticed odd behavior where sometimes after I use Vanish and try to ambush it instead uses Kidney Shot despite the bar changing visually as expected.

I assumed this was an issue with Bartender perhaps not paging quickly enough and went to go see if there was an update, instead stumbling upon these comments on the Bartender page where people report this issue with SnowfallKeyPress and Bartender. Some users have reported that installing your latest version 1.6 corrects the issue but I'm running 1.6 and I still have this problem.

Also, it may be unrelated and it may be something entirely with Bartender as well but animations from SFKP never play on the stealth paged action bar, only on the normal state action bar. It's not the biggest deal but perhaps it has something to do with the previously stated problem.

Any chance you could take a look?
Report comment to moderator  
Reply With Quote
Unread 12-28-09, 03:35 PM  
Sjiulk
A Kobold Labourer

Forum posts: 0
File comments: 35
Uploads: 0
Love the addon, but when it's turned on it doesn't let me use OPie. =/ I use OPie for raiding so until they are compatible I won't be able to use Snowfall.
Report comment to moderator  
Reply With Quote
Unread 12-28-09, 11:52 AM  
Ymoon
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: Default Blizzard Animation

Hey, first of all great addon, I have a problem though.

Every time I log the settings kind of reset. The list shows all the keys I saved being under effect, but actually only 1-9 stay that way, and I have to change settings again for the rest to start working (shift+1-9, R, G, B).

Any suggestions how to solve this? At the moment I'm having to tick and untick "enabled" under options to make it work each time I log on.
Report comment to moderator  
Reply With Quote
Unread 12-23-09, 12:29 PM  
Mygly
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Default Blizzard Animation

For those of you wanting the default blizzard animation, follow the instructions to make a new animation at the top of the SnowfallKeyPressAnimation.lua file, then in the new file, under the comment "-- Create an animation texture" change the path in SetTexture to Interface\Buttons\UI-Quickslot-Depress. Now go to the variable scale1, change SetScale on both scale1 and scale2 to 0.925 or somewhere around there (experiment with it) and change the duration on scale2 to 0.1 instead of 0.2. Now the last thing you need to do is comment out the rotation bit, just add -- before all of the rotation stuff. This won't be exactly the same as the default animation texture remains over the button until the key is no longer down. Hope this helps.
Report comment to moderator  
Reply With Quote
Unread 12-22-09, 08:45 PM  
Dayn
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 69
Uploads: 6
Re: Bartender

SnowfallKeyPress works with everything, as far as I am aware, including Bartender, yes.

It's fairly easy to convince yourself that there is a difference. Try going into the configuration panel and un-check the Enable checkbox. Now hold down a key bound to a spell for several seconds. You'll see that the spell is not cast until you release the key. Now check the Enable checkbox. Hold down that same key for several seconds. You'll see that the spell is cast on key press, now.
Report comment to moderator  
Reply With Quote
Unread 12-22-09, 06:17 PM  
rain321cz
A Murloc Raider

Forum posts: 4
File comments: 4
Uploads: 0
Bartender

Does this work with Bartender? I don't feel any difference.
Report comment to moderator  
Reply With Quote
Unread 12-22-09, 10:58 AM  
Dayn
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 69
Uploads: 6
I'm glad you like the custom animation feature. The easiest place to view textures is probably

http://wowprogramming.com/utils/artbrowser
Report comment to moderator  
Reply With Quote
Unread 12-22-09, 03:44 AM  
Æxò
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 73
Uploads: 1
I warmly welcome the new additions, especially the custom animations.

Have I made one myself, but I had a hard time finding where were Blizzard's textures. I finally unpacked an MPQ and copied some interesting textures in a folder inside AddOns.

May I ask where you found the path for the texture you use? Namely Interface\Cooldown\star4
Report comment to moderator  
Reply With Quote
Unread 12-20-09, 02:43 PM  
Dayn
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 69
Uploads: 6
Originally posted by senryo
Hi Dayn, thanks for great addon. Recently i updated your addon and noticed that it consume much more memory than before. Now it's about 530 KB. I can't remember clearfully but i think that later it was something about 30 KB. Does it normal?
Versions 1.5 and later do maintain significantly more information on key bindings than the prior versions did. Doing so improves future-proofing for complex-behavior addons as well as improving CPU efficiency, so I think this is a reasonable trade-off.

Thanks for bringing this up, and please do continue to question if you see anything odd.
Report comment to moderator  
Reply With Quote
Unread 12-20-09, 01:22 PM  
senryo
A Kobold Labourer

Forum posts: 0
File comments: 25
Uploads: 0
Hi Dayn, thanks for great addon. Recently i updated your addon and noticed that it consume much more memory than before. Now it's about 530 KB. I can't remember clearfully but i think that later it was something about 30 KB. Does it normal?
__________________
Sorry for my english. It's not my native language.
Report comment to moderator  
Reply With Quote
Unread 12-19-09, 08:59 AM  
Dayn
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 69
Uploads: 6
Regarding button animation, I realized based upon feedback here and by PM that folks are going to want to customize their animation in a lot of different ways. So, I'm thinking to provide an interface that allows any type of customization. Then lua-savvy folks can write their own animations and share them with others. Someone could even write an animation pack with lots of choices if they desired.

It would probably look something like this:

SnowfallKeyPress:SetButtonAnimation(AnimationFunction)
AnimationFunction = SnowfallKeyPress:GetButtonAnimation()

The AnimationFunction itself would be called each time the button was clicked with the button as a parameter.

As an alternative, for even more flexibility, I could make the animation function be button specific, and different addons could handle the animations for different buttons. I could provide a table indexed by button that addons can populate with function references. Then SnowfallKeyPress would call the appropriate animating function for the appropriate button. The __index metamethod, settable to whatever desired function, could provide a default animation handling.

Please provide me whatever feedback you have, and I'll plan to have this implemented in the next few days.
Last edited by Dayn : 12-19-09 at 04:07 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.