Download
(26 Kb)
Download
Updated: 04-30-10 08:20 PM
Pictures
File Info
Updated:04-30-10 08:20 PM
Created:09-11-09 08:58 PM
Downloads:7,420
Favorites:22
MD5:
MagnetButtons  Popular! (More than 5000 hits)
Version: 0.7.2
by: Nightness [More]

Program Description
MagnetButtons is addon that can create any number of action buttons. Any MagnetButton can be individually moved around (anywhere) on the screen, and will also "magnetically-lock" to any side of another MagnetButton. MagnetButtons makes use of "pages". A page is a group of buttons displayed at the same time. Only one page is displayed at any one time.

Manipulating Buttons and Keyboard Bindings
There is a key binding called "Create Button", for making empty buttons. Assign a key to the key binding. To create a new empty button, press the key you assigned to the key binding.

Press Shift+RightClick (over the button) to display a button's properties frame; allowing you to change the scale, change the page, or delete the button.

Press Control+RightClick (over the button) to drag buttons around. Buttons can be changed at anytime by using them as a drop target. There is no pickup of the old item though; move the old button instead and create a new empty button for your new button.

Pressing the "Alt" key over a button will show you it's tooltip.

Pages
MagnetButtons supports up to 5 pages per character. By default all buttons are created on the current page. Any buttons from earlier version will appear on page 1 initially. To switch to the next available page use the "Show Next Page" key binding.

The "Show Next Page" key binding will go to the next page (skipping unused pages). There are actually 6 pages. Pages 1-5 are for buttons. Page 6 is always blank. A "Show Next Page" will go to the next highest page, eventually wrapping back around to page 1.

Targeting
MagnetButtons supports using specific targets for a button. Targets can be set in the button's properties.
Changes Version 0.7.2
=================

* The highlighting around a button, when an aura is applied, was fixed to support buttons with specified targets. The highlighting is now specific to whatever target unit you specify.
* A rarely seen debug message was removed


Changes Version 0.7.1
=================

* Added support to "Set as current target", actually changes the player's target-frame to whatever the button's target is.


Changes Version 0.7.0
=================

* Added support for targeting specific units for a button's action


Changes Version 0.6.6
=================

* Guess what? Versions 0.6.3 through 0.6.6 were still buggy with companions and mounts. With any luck this will be the last bug related to these buttons!


Changes Version 0.6.3
=================

* Fixed a bug that waited for DK presence to cancel before mounting (since that never happens, thus the bug)
* Fixed a bug that saved mounts and companions by their index rather than name. You may need to re-drop these buttons.


Changes Version 0.6.2
=================

* Fixed a rather nasty bug with trying to drop shoot without an equipped ranged item. This fix should also repair any bad button entry's with this problem.


Changes Version 0.6.1
=================

* Added six new key bindings to show specific pages rather than just looping through the pages.


Changes Version 0.6.0
=================

* Fixed a bug in the defaults that caused the "empty page" to be displayed when using a toon with no existing MagnetButtons settings. This made it look like the "Create Button" key binding was not creating buttons, when it actually was (it just that page 1 wasn't visible at the time).


Changes Version 0.5.9
=================

* Fixed setting scale from properties dialog
* Added display pages, using the key binding that was adding in 0.5.8, see main page for more details.


Changes Version 0.5.8
=================

* Added a secure key binding that can toggle the visibility of all the magnet button, even when in combat.


Changes Version 0.5.7
=================

* Added macro names to the button text (of macro buttons).
* Fixed gray-out (usability indication) for consumable items while on a taxi.


Changes Version 0.5.6
=================

* Added reagent counts for consumable spells
* Fixed key binding description text


Changes Version 0.5.5
=================

* By default, the MainMenuBar frame is no longer hidden. There is now a key binding for toggling the display of the MainMenuBarFrame. The toggled state is preserved on a per-character basis across sessions.


Changes Version 0.5.4
=================

* Fixed canceling of shapeshifted forms when clicking a mount (instead of the error message)


Changes Version 0.5.3
=================

* Fixed Item counts, will show item charges now
* Gray-out of mount buttons while unusable (indoors)
* Fixed tooltips (remember these only show when you press the "Alt" key)


Changes Version 0.5.2
=================

* Added support for mounts and critters (companion buttons).


Changes Version 0.5.1
=================

* Buttons used to be disabled while on a vehicle, then reenabled when leaving the vehicle. This is a problem when leaving the vehicle during combat. This feature was removed.


Changes Version 0.5.0
=================

* Significant changes!! Your old buttons will not transfer to this new version!!!
* Macro buttons are supported now!
* Pet-Action buttons and companion/mount buttons are (for the time being) not supported!
* Fixed a major bug causing the clients to lock-up when a large number of combat log events was received in a short period of time.
* Several other minor glitches were fixed.
* The MainMenuBar frame is now AUTOMATICALLY hidden, with the exception of the bags and MicroMenuBar buttons which remain where they would normally be. This will be adjustable in future version, but is always-on in this version. Whatever program you were using before to hide the main menu bar (assuming you did so), should no longer try to hide these frames.
* Tooltips are only visible if the ALT key is being held down before moving the mouse over the buttons. This is likely to change, or be configurable in future versions.


Changes Version 0.4.5
=================

* Fixed another bug with item counts and item button usability. Item buttons should be working properly now.


Changes Version 0.4.4
=================

* Added steps to prevent button creation during combat (forbidden by Blizzard)

* Removed some protected code issues associated with button creation and movement (these actions are not permitted during combat).

* If pet "comes in to existence", in combat... Pet buttons can not be created, Blizzard will not allow it. So buttons are now being displayed properly after combat is over. I believe that there is a better fix... An expert on the Blizzard forums had a good suggestion, but it will require a bit of a rewrite so this is a short-term fix.

* Fixed item counts and item button usability shading


Changes Version 0.4.3
=================

* Performance improvements

* Fixed flashing for Attack / Auto Shot (auto repeat spells)

* Removed some taint issues

* Fixed a problem where new frames were not reusing old unused frame indices


Changes Version 0.4.2
=================

* Fixed the high resolution bug, all resolutions should now supported.


Changes Version 0.4.1
=================

* Fixed companion checked state. There is still a half second period between casting and having the aura, where the companion button is unchecked. This is listed my bug list.

* Can move unassigned buttons now

* Broke up code in to more files for readability and debugging purposes. I also did this to encourage user supported patches. Please post any patches you code, I will credit your work. Thanks.

* Description correction: Pet buttons are not created with the key bindings, use slash command instead.
Optional Files (0)


Archived Files (22)
File Name
Version
Size
Author
Date
0.7.1
26kB
Nightness
04-25-10 10:17 PM
0.7.0
25kB
Nightness
04-25-10 02:25 PM
0.6.6
21kB
Nightness
01-10-10 04:04 AM
0.6.2
21kB
Nightness
01-05-10 10:31 PM
0.6.1
20kB
Nightness
01-04-10 05:01 PM
0.6.0
19kB
Nightness
01-04-10 02:09 AM
0.5.9
19kB
Nightness
01-03-10 10:54 PM
0.5.8
18kB
Nightness
01-02-10 04:35 PM
0.5.7
18kB
Nightness
01-02-10 07:55 AM
0.5.6
17kB
Nightness
01-01-10 06:47 PM
0.5.5
16kB
Nightness
12-31-09 05:05 AM
0.5.4
15kB
Nightness
12-31-09 04:27 AM
0.5.3
15kB
Nightness
12-30-09 06:51 PM
0.5.2
15kB
Nightness
12-30-09 01:31 PM
0.5.1
227kB
Nightness
12-29-09 02:28 AM
0.5.0
37kB
Nightness
12-27-09 04:36 AM
0.4.5
22kB
Nightness
09-15-09 02:09 AM
0.4.4
22kB
Nightness
09-14-09 03:19 AM
0.4.3
24kB
Nightness
09-13-09 06:29 AM
0.4.2
21kB
Nightness
09-13-09 12:35 AM
0.4.1
21kB
Nightness
09-12-09 08:05 PM
0.4
17kB
Nightness
09-11-09 08:58 PM


Post A Reply Comment Options
Unread 01-16-11, 05:45 PM  
Nightness
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 71
Uploads: 10
On Hold

Originally posted by Slaxi81
Is this still alive?
The project is on-hold at the moment, the addon caused considerable lag in the later WotLK patches. I've started a yet unpublished version currently called FreeButton, but I haven't tested it in cata yet. I've been a little spoiled from Healbot (the reason I used magnet buttons)...

When the next incarnation returns, it will likely have a different interface. I will try to preserve the "magnetic locking" if possible. I wouldn't expect anything new until at least summer.
Last edited by Nightness : 01-16-11 at 05:48 PM.
Nightness is offline Report comment to moderator  
Reply With Quote
Unread 11-07-10, 12:00 PM  
Slaxi81
A Murloc Raider
 
Slaxi81's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 179
Uploads: 2
Is this still alive?
__________________
Slaxi81 is offline Report comment to moderator  
Reply With Quote
Unread 05-24-10, 12:49 PM  
Nightness
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 71
Uploads: 10
Please Help

I love working on this addon, and have far more planned. There are more options that Blizzard's secure buttons can modify, targeting was just the start. Here are just a few of the things I have planned...
  • Creating buttons by dropping buttons right onto the UIParent window (the background), creating the button automatically rather than having to use the key-binding.
  • Changing button appearance based on the availability of a target.
  • Custom tooltips for buttons
  • Key-Bindings
  • Magnet-HP Bars

In these economic bad times, I've found myself unemployed. I've recently completed work on a piece of commercial software that I'm hoping will help pay the bills. It was a long time in development, but it's finally released.

Many of you will probably find my commercial program as useful as MagnetButtons. I invite anyone who enjoys MagnetButtons to purchase a license for my software, for $9.99. Supporting my commercial work, will allow me more time to develop MagnetButtons. Your support will be greatly appreciated!

Read all about my program at my web site: http://www.viipe.com

Thanks,
Nightness
Last edited by Nightness : 05-25-10 at 06:34 AM.
Nightness is offline Report comment to moderator  
Reply With Quote
Unread 04-25-10, 10:30 PM  
Nightness
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 71
Uploads: 10
Targeting Ideas

Here are some ideas to get you started using button targeting...

Button to specifically heal your pet with first aid
Select: "Target Self"
Check: "Pet of Target"

Cast/Use attack spells or items on the target that your selected target is targeting (example: always have the tank selected, but attack the tank's target)
Select: "Target Selected"
Check: "Target of Target"

Please post more uses if you think of some.

Nightness
Nightness is offline Report comment to moderator  
Reply With Quote
Unread 04-25-10, 10:19 PM  
Nightness
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 71
Uploads: 10
Version 0.7.1 Released

I've added support for item and spell buttons to change the player's target-frame to the button's target.

Nightness
Last edited by Nightness : 04-25-10 at 10:20 PM.
Nightness is offline Report comment to moderator  
Reply With Quote
Unread 04-25-10, 02:27 PM  
Nightness
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 71
Uploads: 10
Thumbs up Version 0.7.0 Released

The new version (0.7.0) supports specific targeting for a button.

Nightness
Nightness is offline Report comment to moderator  
Reply With Quote
Unread 04-08-10, 07:14 PM  
Nightness
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 71
Uploads: 10
Re: UGHH

Originally posted by Rockman56
Ok, i downloaded it, installed it, enabled it, made a key bindingto it...BUT evry time i press creat button nothing happens! i want buttons plz help!
Sorry I didn't see your message sooner. Please make sure your key-binding is actually what you think it is, and realize that the button you create will appear empty and partially transparent, in the center of the screen. Also note that "empty buttons" are not saved, so after your UI reloads, these empty button will disappear.

Hope that helps!

Nightness
Last edited by Nightness : 04-08-10 at 07:17 PM.
Nightness is offline Report comment to moderator  
Reply With Quote
Unread 02-15-10, 04:05 PM  
Rockman56
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
UGHH

Ok, i downloaded it, installed it, enabled it, made a key bindingto it...BUT evry time i press creat button nothing happens! i want buttons plz help!
Rockman56 is offline Report comment to moderator  
Reply With Quote
Unread 01-07-10, 10:18 AM  
Nightness
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 71
Uploads: 10
Buttons not reappearing

Edit (April 8, 2010):

Been playing around with warlock minion spell buttons... Seems buttons disappear when minion is gone (good), but don't reappear (as soon as they are suppose to) after summons. Reloading the UI "/reload" or going into combat will make the buttons appear again.

This is Blizzard bug. Blizzard is the one that controls when a buttons is shown based on what is available for you to "do".

Nightness
Last edited by Nightness : 04-08-10 at 09:24 PM.
Nightness is offline Report comment to moderator  
Reply With Quote
Unread 01-05-10, 09:21 PM  
Nightness
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 71
Uploads: 10
Reset Variables

If you ever want to reset a toons MagnetButton variables, goto your WoW install folder, and clear this lua file and it's backup: WTF\Account\{LOGIN_NAME}\{Realm}\{ToonName}\SavedVariables\MagnetButtons.lua. If you tried an older version, had problems with it, and decide now to try it again, your problems may still exist if you don't delete each toon's MagnetButtons config file when installing the new version.

Nightness
Last edited by Nightness : 01-05-10 at 09:22 PM.
Nightness is offline Report comment to moderator  
Reply With Quote
Unread 01-03-10, 11:06 PM  
Nightness
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 71
Uploads: 10
Originally posted by dusknoir
Yes! thank you very much.
No problem.

Finding such a cool feature I couldn't just leave it how version 0.5.8 was! I've added "pages" now. From your initial prospective, 0.5.8 and 0.5.9 act the same (except I changed the description text on the key binding).

If you pull up a button's properties dialog, you can change what page a button is to be displayed on.

So initially, you have only "page 1" and the "empty page"... Once you assign a button to a previously unused page, that page is inserted into "the loop". So, if I take a button on "page 1" and move it to "page 2". The new order for pages (when using the "Show Next Page" key binding) would be "page 1", "page 2", "empty page", "back to page 1", etc... For up to 5 pages!

Nightness
Last edited by Nightness : 01-03-10 at 11:07 PM.
Nightness is offline Report comment to moderator  
Reply With Quote
Unread 01-02-10, 05:41 PM  
dusknoir
A Defias Bandit

Forum posts: 3
File comments: 37
Uploads: 2
Originally posted by Nightness
So something like version 0.5.8 (that I just released)?
Yes! thank you very much.
Last edited by dusknoir : 01-02-10 at 05:42 PM.
dusknoir is offline Report comment to moderator  
Reply With Quote
Unread 01-02-10, 04:38 PM  
Nightness
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 71
Uploads: 10
Originally posted by dusknoir
Rather, I mean have a MagnetButton only appear when shift is held, for example. My apologies for the ambiguous-ness of my first message.
So something like version 0.5.8 (that I just released)?

Originally posted by ShetiPhian
Not sure if this will help, but both Geist & Opie can show/hide while in combat. Sifting through the code might give you the workaround.
Geist helped... That's a very interesting way around this otherwise annoying restriction.

Nightness
Last edited by Nightness : 01-02-10 at 04:39 PM.
Nightness is offline Report comment to moderator  
Reply With Quote
Unread 01-02-10, 11:09 AM  
ShetiPhian
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 31
Uploads: 1
Not sure if this will help, but both Geist & Opie can show/hide while in combat. Sifting through the code might give you the workaround.
ShetiPhian is offline Report comment to moderator  
Reply With Quote
Unread 01-02-10, 07:45 AM  
Nightness
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 71
Uploads: 10
Originally posted by dusknoir
Rather, I mean have a MagnetButton only appear when shift is held, for example. My apologies for the ambiguous-ness of my first message.
There would be one problem with that. The visibility of a button can't be changed while in combat (neither made visible or made invisible), Blizzard imposes this restriction. If fact I was just thinking how in a previous message I was talking about implementing some show/hide abilities... This is probably not going to be possible.

There is one possible way to do this, although it's not a technique that I have much confidence in. With the proper hooks, it might be possible to pre-detect a transition to in-combat, at which point buttons could be forced visible while in-combat. If this is at all possible, I will do it. I love getting things off the screen that aren't being used.

Nightness
Last edited by Nightness : 01-02-10 at 07:52 AM.
Nightness is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: