Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(10 Kb)
Download
Updated: 10-16-14 04:37 AM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Siege of Orgrimmar (5.4)
Updated:10-16-14 04:37 AM
Created:12-10-13 07:17 PM
Downloads:1,203
Favorites:37
MD5:
Categories:Buff, Debuff, Spell, Action Bar Mods, Miscellaneous

PhanxBind

Version: 6.0.2.31
by: Phanx [More]

Direct key bindings for your spells and macros.
Direkttastenbelegungen für Eure Zauber und Makros.
Asignaciones de teclas directas para tus hechizos y macros.
Raccourcis directs pour vos sorts et macros.
Assegnazioni di tasti diretti per i vostri incantesimi e macro.
Teclas de atalho diretas para seus feitiços e macros.
Прямые назначения клавиш для ваших заклинаний и макросов.

Unlike some similar addons, it does not provide a special, separate UI for setting bindings. All bindings are done right in your spellbook or macro UI.
  1. Open your spellbook or macro UI.
  2. Click the new button at the bottom of the window (labelled "Start Binding").
  3. Hover over the spell or macro you want to bind.
  4. Press the key (or combination of keys) you want to bind to the spell or macro.
  5. Click the button again (now labelled "Stop Binding") or just close the window.
To remove a binding, hover over the spell or macro and press the Esc key. If you bind a key to a spell or macro that already has a binding, the old binding will be removed. If you bind a key that was alreadybound to a different spell or macro, the other spell or macro will be unbound. Multiple bindings for a single spell or macro are not supported. Bindings are stored on a per-character basis. There are no options.

Inspired by the old Macaroon Spell Binder.
Language Support
  • Compatible with all languages.
  • Translated into Deutsch, Español, Français, Italiano, Português, and Русский.
  • Add or update translations on CurseForge.

Feedback
Post a comment on WoWInterface, or submit a ticket on CurseForge.

If you are reporting a problem, be specific -- tell me which version of the addon you're using (the actual version number, not "latest"), which Broker display you're using, what steps I can follow to reproduce the problem, whether it happens with other addons disabled, and the full text of any related error messages.

Version 6.0.2.31
  • Updated for WoW 6.0
  • Bindings for spells that no longer exist will be removed, with a notification in the chat frame
  • Fixed macro bindings getting lost when macros fail to load in a timely fashion

Version 5.4.8.26
  • Fixed mouse wheel bindings

Version 5.4.7.22
  • Fixed an error preventing the binding of mouse buttons

Version 5.4.2.21
  • Removed a debug print

Version 5.4.2.20
  • Bindings will now be shown on flyout buttons outside of the spellbook
  • Miscellaneous code cleanup

Version 5.4.2.19
  • Fixed an error when editing an existing macro

Version 5.4.2.18
  • Added the ability to bind the left and right mouse buttons with modifiers (but not without)
  • Added Russian localization

Version 5.4.2.15
  • First public release
Archived Files (7)
File Name
Version
Size
Author
Date
5.4.8.26
9kB
Phanx
08-30-14 09:59 PM
5.4.7.22
7kB
Phanx
03-03-14 12:20 AM
5.4.2.21
7kB
Phanx
01-29-14 10:45 AM
5.4.2.20
7kB
Phanx
01-26-14 10:53 PM
5.4.2.19
8kB
Phanx
01-07-14 06:43 PM
5.4.2.18
8kB
Phanx
12-18-13 07:00 PM
5.4.2.15
7kB
Phanx
12-10-13 07:17 PM


Post A Reply Comment Options
Unread 10-19-14, 11:25 PM  
soccerdud
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by Phanx
That shouldn't be possible since the number of spells shown per page does not change. Do you still get the error when all other addons are disabled? Also, what is printed in your chat frame when you type the following command:

/dump SPELLS_PER_PAGE

Finally, if this isn't caused by another addon interfering, then you're probably getting an error during loading; if you don't already have an error-catching addon (no, the default UI's option to show errors isn't good enough) please install Bugger and report back with any errors it catches during login.
hey phanx, thanks for the response. it wouldn't surprise me at all if it is indeed a different addon interfering. i use goldpaw's gui (which, is fairly extensive), as well as a handful of other mods.

entering your dump command returns 12, as expected.

and i absolutely believe that your code/mod are solid-- but adding those two lines will make your stuff more resilient to the whims of fate and the realities of the ecosystem you are a part of, without (i believe) sacrificing functionality-- because the only possible result in that case is failure, regardless of the root cause. there is no doubt that the issue was that the .buttons[index] accessor returned null, and that this minor change will allow you to handle that situation in a comparatively graceful manner (though i didn't look closely enough to tell if it's the best way). interesting to note that i didn't/don't get the popup when bringing up either spellbook or macro pages, but on initial load only. also worth noting is the fact that i only have macros bound using your addon, no spells... and that the addon appeared to work fine otherwise, and continues to do so after my quick patch.

as an aside, it's always a good idea to check return values when working with foreign code.
Last edited by soccerdud : 10-19-14 at 11:34 PM.
soccerdud is offline Report comment to moderator  
Reply With Quote
Unread 10-19-14, 09:15 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4738
File comments: 2135
Uploads: 43
That shouldn't be possible since the number of spells shown per page does not change. Do you still get the error when all other addons are disabled? Also, what is printed in your chat frame when you type the following command:

/dump SPELLS_PER_PAGE

Finally, if this isn't caused by another addon interfering, then you're probably getting an error during loading; if you don't already have an error-catching addon (no, the default UI's option to show errors isn't good enough) please install Bugger and report back with any errors it catches during login.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 10-18-14, 09:16 PM  
soccerdud
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
hey, i was getting an error popup everytime on login. it is due to the variable local binder being null after attempted assignment on line 150 of Spells.lua. it is easily fixed by making sure the value is not null immediately afterwards. please incorporate this into the next version.


local binder = self.buttons[i]
++ if binder then
local button = binder:GetParent()
binder.text:SetText(GetKeyText(spellToKey[GetButtonSpell(button)]))
if self.bindingMode and not IsButtonPassive(button) and not IsButtonFlyout(button) then
binder:Show()
binder.text:SetParent(binder)
else
binder:Hide()
binder.text:SetParent(button)
end
++ end
soccerdud is offline Report comment to moderator  
Reply With Quote
Unread 10-16-14, 10:43 AM  
meljen
A Fallenroot Satyr

Forum posts: 26
File comments: 299
Uploads: 0
Originally Posted by Phanx
Version 6.0.2.31
  • Updated for WoW 6.0
  • Bindings for spells that no longer exist will be removed, with a notification in the chat frame
  • Fixed macro bindings getting lost when macros fail to load in a timely fashion
YESSSS! Oh my gosh, thank you!
meljen is offline Report comment to moderator  
Reply With Quote
Unread 10-16-14, 04:38 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4738
File comments: 2135
Uploads: 43
Version 6.0.2.31
  • Updated for WoW 6.0
  • Bindings for spells that no longer exist will be removed, with a notification in the chat frame
  • Fixed macro bindings getting lost when macros fail to load in a timely fashion
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 08-31-14, 07:17 AM  
MacMystery
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Originally Posted by Phanx
Version 5.4.8.26
  • Fixed mouse wheel bindings
Works perfectly now. Thanks for the fast fix !
MacMystery is offline Report comment to moderator  
Reply With Quote
Unread 08-30-14, 09:59 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4738
File comments: 2135
Uploads: 43
Version 5.4.8.26
  • Fixed mouse wheel bindings
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 08-29-14, 04:27 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4738
File comments: 2135
Uploads: 43
Hmm, I thought that was already supported... I don't use any mouse wheel bindings, though, so it's entirely possible I broke this feature at some point and just never noticed. I'll look into it and release an update soon if needed.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 08-29-14, 01:17 PM  
MacMystery
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Love this addon, but one request.

Could you please add the ability to bind to the mousewheel ? I used bindpad and had a pull macro bound to shift+mousewheelup, would love to be able to keep using this.
MacMystery is offline Report comment to moderator  
Reply With Quote
Unread 03-30-14, 05:17 PM  
meljen
A Fallenroot Satyr

Forum posts: 26
File comments: 299
Uploads: 0
Okay, an update on my macros getting all messed up...

I followed your instructions, thanks for the help Phanx. I renamed my global macros that were being copied over, deleted a few, and then deleted the copied over ones that were in my character-specific window. Renaming them globally seemed to work.

So it seemed to be a very, very strange internal error on my end somewhere. Never seen it happen before. NO idea what caused it. But thankfully all of my addons were able to be turned back on without a hitch. ;-)

Thanks again for the help!
meljen is offline Report comment to moderator  
Reply With Quote
Unread 03-30-14, 10:19 AM  
meljen
A Fallenroot Satyr

Forum posts: 26
File comments: 299
Uploads: 0
Originally Posted by Phanx
Macro bindings are saved by the name of the macro, so if you have a global macro and a character macro with the same name (or two global macros with the same name, etc), the addon just says "bind the macro called X to this key" and the game picks which macro actually gets bound. I suspect it's always the first one in the list.

As for your macros getting duplicated, I have no idea, but unless you have some other addon managing macros, it sounds like a game problem, and would suggest moving your whole WTF folder (eg. to the desktop) and let WoW recreate it with default settings for everything, then log in without addons and copy over your macros by hand (open the old macro-cache.txt files in Notepad and copy the macro contents) making sure you don't duplciate names. Once you're sure your macro system is working correctly, enable all your addons. If they start getting duplicated again, it's an addon problem, and if you need more help figuring out which addon is causing it, post a thread in the Addon Help forum with a list of your addons. If they don't, then you can log out and copy over any important addon settings files from the old WTF folder.
Thank you very much. Will do this today. I'll let you know what happens. Hopefully it's just a WTF issue.
meljen is offline Report comment to moderator  
Reply With Quote
Unread 03-30-14, 12:48 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4738
File comments: 2135
Uploads: 43
Macro bindings are saved by the name of the macro, so if you have a global macro and a character macro with the same name (or two global macros with the same name, etc), the addon just says "bind the macro called X to this key" and the game picks which macro actually gets bound. I suspect it's always the first one in the list.

As for your macros getting duplicated, I have no idea, but unless you have some other addon managing macros, it sounds like a game problem, and would suggest moving your whole WTF folder (eg. to the desktop) and let WoW recreate it with default settings for everything, then log in without addons and copy over your macros by hand (open the old macro-cache.txt files in Notepad and copy the macro contents) making sure you don't duplciate names. Once you're sure your macro system is working correctly, enable all your addons. If they start getting duplicated again, it's an addon problem, and if you need more help figuring out which addon is causing it, post a thread in the Addon Help forum with a list of your addons. If they don't, then you can log out and copy over any important addon settings files from the old WTF folder.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Last edited by Phanx : 03-30-14 at 12:49 AM.
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 03-29-14, 12:59 PM  
meljen
A Fallenroot Satyr

Forum posts: 26
File comments: 299
Uploads: 0
I have your latest version downloaded... my global macros and spellbook remember their binds, but when I log out and back in, my character-specific binds in my macro window are forgotten every single time. Not sure what's going on?

*edit* I also use Clique, would that conflict? I make sure to not have binds on the same abilities across the two addons. The only reason I still have clique on is that I have't moved the bindings over, and I'd need to save a few of my custom macros out of it into my macro book.

Are there any known addon conflicts with your addon? I really love PhanxBind, it's so slick and easy to use!

*edit #2* CRAP - I just now realized that for some reason, some of my global macros are showing up in my character specific window on my druid. She shares the same name as a shaman I had on another server, and that shaman's global macros are showing. When I deleted those on my druid in the character-specific window, it also deleted them from the global window. And some of my paladin macros are showing up for her too (in the character specific window) which is odd since my paladin has a different name. But anyway, whatever is making those macros duplicate themselves from my global window must be why my character specific macros are bugging out? Do you know what might be causing this duplication? I've never had it happen before...
Last edited by meljen : 03-29-14 at 01:13 PM.
meljen is offline Report comment to moderator  
Reply With Quote
Unread 03-25-14, 03:53 PM  
meljen
A Fallenroot Satyr

Forum posts: 26
File comments: 299
Uploads: 0
Originally Posted by Phanx
Originally Posted by meljen
if I drag the spell / macro onto my action bar, is the binding supposed to show?
No. The whole point of this addon is to bind keys to spells and macros without using up action buttons. If you want to use your spells and macros from action buttons, you'll need to click the buttons or assign bindings to those buttons through your action bar addon, and there's not really any point in assigning bindings to those spells or macros using PhanxBind if that's what you want to do.
Makes 100% sense. I just wanted to make sure that my UI wasn't interfering with your addon. Thank you!
meljen is offline Report comment to moderator  
Reply With Quote
Unread 03-25-14, 03:45 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4738
File comments: 2135
Uploads: 43
Originally Posted by meljen
if I drag the spell / macro onto my action bar, is the binding supposed to show?
No. The whole point of this addon is to bind keys to spells and macros without using up action buttons. If you want to use your spells and macros from action buttons, you'll need to click the buttons or assign bindings to those buttons through your action bar addon, and there's not really any point in assigning bindings to those spells or macros using PhanxBind if that's what you want to do.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: