Download
(235 Kb)
Download
Updated: 01-15-14 03:52 PM
Pictures
File Info
Updated:01-15-14 03:52 PM
Created:11-18-11 02:48 PM
Downloads:5,354
Favorites:25
MD5:
XMacros  Popular! (More than 5000 hits)
Version: 1.3
by: Xenyr [More]
XMacros - eXtra Macros from Xenyr of Steampike.

If you are like me then 25 macros weren't enough and even the 50 macros you get now aren't enough. XMacros is an addon to provide an unlimited number of macros and an unlimited number of bars to fire these macros. XMacros provides its own button bars that can be vertical, horizonal or even grouped as a rectangle. Each button on a bar can have a macro for every mouse button. This allows you to limit the number of buttons on screen by using one button for many actions. For example I have a button setup where each mouse button will make my character use a different mount. 5 mounts on a single button.

XMacros now supports ability timers on its buttons. If you set an ability name on a button then the addon will automatically show the remaining cooldown on that ability. See the images for an example.

XMacros buttons can only be pressed by a mouse click. This is a limitation of the Rift addon api. You cannot use XMacros for you main key bound macros and also you cannot use mouseover macros, as they require a key press to cast. All you other macro buttons (or just normal buttons) can use XMacros.

Commands:

xm [ current [ setnames ] | off | bars | macros ]

/xm off - turn off xmacros (in case it is causing problems)
/xm macros - open the macro editor
/xm bars - open the button bar editor
/xm current [ setname1,setname2,... ] - make button bar sets setname1,setname2 visible

Getting started:

First lets create a couple of macros. Macros are shared across all characters on the shard. Each macro belongs to a category and you can create as many categories as you need. This will allow you group similar macros and make them easier to find. So lets create a few macros. Start by typing "/xm macros" in the Rift chat box. This will bring up the macro editor. The macro category will be set to Default, which is fine for this example. Enter the name "Mount" in the Name field and then enter "use ash strider" in the text box below the name (change ash strider to a valid mount for your character) and press "Save". Now enter "Mount2" in the Name field and then enter "use crocnard" in the text box below the name (change crocnard to a valid mount for your character, but different from the one used in the Mount macro). Now press the "OK" button.

OK now we need to create a button bar to use these macros. So type "/xm bars" in the Rift chat box to open the bar editor. Enter "Set1" in the set textfield and press the "Add Set" button (it wont seem to do anything but the set has been added). Now press the "Add Bar" button. This brings up the Add Bar window. Set the rows to be 2, the columns to be 2 and the button size to be 52 (which seems to be the default button size in Rift) and press "OK". This will show an empty bar at the top left of the screen. You can drag it to the desired location by using the right mouse button. Now left click on the top button in the bar. This will open the button editor. Click the "Browse Icons" button and select an icon for your new Mount button. Press the "Choose" button beside the Left Macro text and select the Mount macro. Press the "Choose" button beside the Right Macro text and select the Mount2 macro. Press "OK". Now left click the second button on the bar. Type bull rush in the Ability Name text field and press the "Find Icon" button. This will set the icon to the warrior Bull Rush ability icon. Now press the "Choose" button beside the Left Macro text and select the Mount2 macro. Press "OK" on the button editor. Press "OK" on the Set Editor.

Now your bar will be usable. Left click on the top button and you will get one mount (ash strider in my case). Left click on the second button and you will get another mount (crocnard for me). Finally right click on the first button and you will get the same mount as the second button. This is a contrived example, but its just to show how you can have many actions on a single button.

Lots more to come for this addon. Tooltips soon and I am also thinking of addon ability cooldown tracking.
Release 1.3
Rift 2.5 support

Release 1.2.1
Support 20 roles

Release 1.2.0
Rift 2.3 support

Release 1.1.9
Rift 2.1 support

Release 1.1.8
Rift 2.0 support

Release 1.1.7

Another attempt to fix performance error on refresh abilities

Release 1.1.6

Attempt to fix performance error on refresh abilities

Release 1.1.5

Allows editing the ability name on a button

Release 1.1.4

Fix issue with nkGenie and Quiet error

Release 1.1.3

Remove attempted fix from version 1.1.1. Back to the drawing board.

Release 1.1.2

Fix bug in delete row code

Release 1.1.1

Fix error when changing role and get into combat before change completes

Release 1.1

Disable performance watchdog while addon is starting

Release 1.0.1

Fixed issue where bars were not being saved

Release 1.0

Compatible with Rift patch 1.9

Release 0.8

Added arrow icons

Release 0.7

Fixed the role specific bar sets to be character specific!

Release 0.6

Add support for user supplied textures
Added ability to edit already existing bars

Release 0.5

Rift 1.7 support
Bars now automatically change when you switch roles

Release 0.4

Added bars that show/hide in combat
Added bars that show/hide on mouseover

Release 0.3

Added tooltip window
Added ability buttons that do not require macros
Ability buttons show their cooldown if it is above 3s

Release 0.2

Fixed unintented reliance on the WarnMe addon
Archived Files (4)
File Name
Version
Size
Author
Date
1.2.1
234kB
Xenyr
07-25-13 02:12 PM
1.2.0
234kB
Xenyr
06-28-13 02:40 PM
1.1.9
234kB
Xenyr
12-14-12 04:25 PM
1.1.8
230kB
Xenyr
11-24-12 04:40 AM


Post A Reply Comment Options
Unread 03-12-12, 08:43 AM  
olegus

Forum posts: 0
File comments: 1
Uploads: 0
Nice idea, interesting. But can you think about idea: timers of abilities attached to a buttons, not separate debuff boxes or debuff bars under target frame, but debuff timers on the buttons of the action bar. Same i saw long time ago on the wow addon, Buttontimers, i believe it called like that. Thank you.
olegus is offline Report comment to moderator  
Reply With Quote
Unread 03-15-12, 07:28 PM  
Specop

Forum posts: 0
File comments: 1
Uploads: 0
Loving this

I am loving this addon so far. Is there a way to bind the macros to keys on my keyboard rather than the buttons on my mouse?

Thanks! Keep up the great work!
Specop is offline Report comment to moderator  
Reply With Quote
Unread 03-16-12, 02:33 PM  
Xenyr
Zombie
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 68
Uploads: 1
Re: Loving this

Quote:
Originally Posted by Specop
I am loving this addon so far. Is there a way to bind the macros to keys on my keyboard rather than the buttons on my mouse?

Thanks! Keep up the great work!
Unfortunately the addon api wont allow key binds at the moment. I'll add them as soon as it does.
Xenyr is offline Report comment to moderator  
Reply With Quote
Unread 04-16-12, 12:59 AM  
SookieSookie

Forum posts: 0
File comments: 2
Uploads: 0
What am I missing?

I set up the macros and the bar but when I close the xmacro bar config my bar disappears. I have gone over the instructions 4 times and cant figure out what I am missing. I have tried turning off and on as well-- nothing worked.
SookieSookie is offline Report comment to moderator  
Reply With Quote
Unread 04-17-12, 12:50 PM  
Xenyr
Zombie
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 68
Uploads: 1
Re: What am I missing?

Quote:
Originally Posted by SookieSookie
I set up the macros and the bar but when I close the xmacro bar config my bar disappears. I have gone over the instructions 4 times and cant figure out what I am missing. I have tried turning off and on as well-- nothing worked.
Each bar is added to a Bar Set. Each Bar Set must be enabled for the roles that you want to show its bars. Please make sure the bar set is selected for your current role.
Xenyr is offline Report comment to moderator  
Reply With Quote
Unread 06-24-12, 05:47 AM  
UnknownUser

Forum posts: 0
File comments: 30
Uploads: 0
Re: Re: What am I missing?

Quote:
Originally Posted by Xenyr
Quote:
Originally Posted by SookieSookie
I set up the macros and the bar but when I close the xmacro bar config my bar disappears. I have gone over the instructions 4 times and cant figure out what I am missing. I have tried turning off and on as well-- nothing worked.
Each bar is added to a Bar Set. Each Bar Set must be enabled for the roles that you want to show its bars. Please make sure the bar set is selected for your current role.
Hello,

everything was fine before version 1.0 after installing it, all my bars were destroyed (unrecoverable) remained my macros, so I redo my bars and after a / reloadui, they disappeared again, the file xmacros.lua (in SavedVariables) seems to back up only those macros :-(
I went back to 0.7 and 0.8, everything works fine.
Obviously the backup bars does not, while the macro works perfectly?

Thank you for this addon very useful, even essential.
UnknownUser is offline Report comment to moderator  
Reply With Quote
Unread 06-24-12, 06:48 AM  
Dogwood

Forum posts: 0
File comments: 2
Uploads: 0
Ok so I'm adding a set and creating a bar. Works great. So i'm adding that set to every role as I like having things uniform. At this point it works "perfectly". But I log out and back in and my bar is gone. I open xm bars to re-add it and it shows my set name where the under the role but when I go to change sets, it's not listed there and when I go to check bar sets, it's not there either. It's like it wasn't saved. my macros are still there, but the bar itself has vanished.

I'm sure I'm missing something, but I can't figure it out.

EDIT: The new version seems to be bugged. I went to the last archived version and it's working like a champ. I do love the functionality of this app btw and I hope I've been helpful. You freed up some precious keybind macro slots!
Last edited by Dogwood : 06-24-12 at 07:00 AM.
Dogwood is offline Report comment to moderator  
Reply With Quote
Unread 06-25-12, 03:21 PM  
Xenyr
Zombie
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 68
Uploads: 1
Sorry about your bars, I had to rework the save logic for 1.9 and didn't test it well enough Version 1.0.1 should fix the issue.
Xenyr is offline Report comment to moderator  
Reply With Quote
Unread 07-01-12, 10:26 PM  
Grixal

Forum posts: 0
File comments: 31
Uploads: 0
Ran into this today... not an error... its a performance warning:

Code:
Error: performance warning

	In XMacros / XMacros.XMacrosButton:MouseIn
	
stack traceback:

		XMacros/XMacrosButton.lua:345:
			in function 'SetHighlightVisible'


		XMacros/XMacrosButton.lua:290:
			in function <XMacros/XMacrosButton.lua:290>
Grixal is offline Report comment to moderator  
Reply With Quote
Unread 07-03-12, 12:35 PM  
Xenyr
Zombie
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 68
Uploads: 1
Quote:
Originally Posted by Grixal
Ran into this today... not an error... its a performance warning:

Code:
Error: performance warning

	In XMacros / XMacros.XMacrosButton:MouseIn
	
stack traceback:

		XMacros/XMacrosButton.lua:345:
			in function 'SetHighlightVisible'


		XMacros/XMacrosButton.lua:290:
			in function <XMacros/XMacrosButton.lua:290>
Had you just loaded to addons or was it in normal gameplay?
Xenyr is offline Report comment to moderator  
Reply With Quote
Unread 07-03-12, 04:36 PM  
Grixal

Forum posts: 0
File comments: 31
Uploads: 0
Quote:
Originally Posted by Xenyr
Quote:
Originally Posted by Grixal
Ran into this today... not an error... its a performance warning:

Code:
Error: performance warning

	In XMacros / XMacros.XMacrosButton:MouseIn
	
stack traceback:

		XMacros/XMacrosButton.lua:345:
			in function 'SetHighlightVisible'


		XMacros/XMacrosButton.lua:290:
			in function <XMacros/XMacrosButton.lua:290>
Had you just loaded to addons or was it in normal gameplay?
Normal game play
Grixal is offline Report comment to moderator  
Reply With Quote
Unread 07-04-12, 12:59 PM  
Xenyr
Zombie
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 68
Uploads: 1
[quote=Grixal]
Quote:
Originally Posted by Xenyr
Quote:
Originally Posted by Grixal
Ran into this today... not an error... its a performance warning:

Had you just loaded to addons or was it in normal gameplay?
Normal game play
Can you tell me how big the bar was (rows x cols) and the max number of abilities you have on a button in this bar?
Xenyr is offline Report comment to moderator  
Reply With Quote
Unread 07-04-12, 02:04 PM  
Dogwood

Forum posts: 0
File comments: 2
Uploads: 0
Thanks

Just wanted to say thanks for this. This addon is great. Trion should allow for at least double the macros it allows for currently, but in the mean time, you're giving us a good quality of life improvement.
Dogwood is offline Report comment to moderator  
Reply With Quote
Unread 07-07-12, 08:05 PM  
Heeelp

Forum posts: 0
File comments: 8
Uploads: 0
Exclamation What happens if you break it and don't know how to fix it?

Hello! I really want to say thank you for making this addon! This addon was made with people like me in mind. Well, actually that isn't exactly true -- because you see I think I broke it and I can't seem to find the magic fix to resolve this issue:

Quote:
Error: XMacros/XMacrosButton.lua:260: attempt to index local 'buttonFrame' (a nil value)
In XMacros / Startup, event Event.System.Update.Begin
stack traceback:
XMacros/XMacrosButton.lua:260: in function 'SetTexture'
XMacros/XMacrosButtonBar.lua:123: in function 'SetTexture'
XMacros/XMacrosButtonBar.lua:86: in function 'CreateButtons'
XMacros/XMacrosButtonBar.lua:38: in function 'Create'
XMacros/XMacrosButtonSets.lua:271: in function 'EnableSets'
XMacros/XMacros.lua:76: in function 'PostCreate'
XMacros/XMacros.lua:313: in function <XMacros/XMacros.lua:302>
Of course, most of the issue might in fact be between the keyboard and the human operating it ... but ... well ... I'm hoping that you can help me with this in spite of my lack of understanding!

Just a little background of what I did before everything blew up in my face: I created a macro bar that was 2 rows high by four columns wide, and once I set the top four macros to the bar I realized that I didn't need the second row so I clicked the delete tab on the second row. Then the bad things happened. I got an error message (it may or may not be the same one as quoted above -- I'm neither techno-savvy, nor will I pretend to be, so most of the error messages are too Geek ... err Greek ... for me :P), and then I got a succession of error messages that made me think that either Rift or the addon were very unhappy with what I had done. I attempted to uninstall the addon, and then reinstall it; however, that did nothing more than put me back to square one. Actually, a little past that since square one was awesome and the addon worked then.

Sorry, I'm digressing. So, as I've said, I've uninstalled the addon, reinstalled it, and yet the addon will not function. When I type in the commands to access the addon Rift advises that "/xm" (whether macros, bars, off) is an unknown command, not to mention that I get the above quoted error message whenever I load the addon. Please say that you can help me! And please provide a solution for this terrible, horrible, and probably completely my fault problem!

Kay, thanks! <3 Heelp
Heeelp is offline Report comment to moderator  
Reply With Quote
Unread 07-08-12, 01:47 AM  
Xenyr
Zombie
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 68
Uploads: 1
Re: What happens if you break it and don't know how to fix it?

Quote:
Originally Posted by Heeelp
Hello! I really want to say thank you for making this addon! This addon was made with people like me in mind. Well, actually that isn't exactly true -- because you see I think I broke it and I can't seem to find the magic fix to resolve this issue:



Of course, most of the issue might in fact be between the keyboard and the human operating it ... but ... well ... I'm hoping that you can help me with this in spite of my lack of understanding!

Just a little background of what I did before everything blew up in my face: I created a macro bar that was 2 rows high by four columns wide, and once I set the top four macros to the bar I realized that I didn't need the second row so I clicked the delete tab on the second row. Then the bad things happened. I got an error message (it may or may not be the same one as quoted above -- I'm neither techno-savvy, nor will I pretend to be, so most of the error messages are too Geek ... err Greek ... for me :P), and then I got a succession of error messages that made me think that either Rift or the addon were very unhappy with what I had done. I attempted to uninstall the addon, and then reinstall it; however, that did nothing more than put me back to square one. Actually, a little past that since square one was awesome and the addon worked then.

Sorry, I'm digressing. So, as I've said, I've uninstalled the addon, reinstalled it, and yet the addon will not function. When I type in the commands to access the addon Rift advises that "/xm" (whether macros, bars, off) is an unknown command, not to mention that I get the above quoted error message whenever I load the addon. Please say that you can help me! And please provide a solution for this terrible, horrible, and probably completely my fault problem!

Kay, thanks! <3 Heelp
Looks like a bug in the delete code. I'd be grateful if you could pm me the contents of your saved variables file. If you go to the addons directory, go up a level to Interface and you should see a directory called Saved. The file I want is username/shardname/SavedVariables/XMacros.lua inside the Saved directory. Please send this to me before doing the below actions.

Now download version 1.1.2 of XMacros, as it should have a fix for this issue.

If this new version doesn't work then you will need to delete your saved variables file (mentioned above). You will lose all you bars, but this is the way to do a clean uninstall.
Xenyr is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: