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:3,812
Favorites:23
MD5:
XMacros
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 01-19-14, 11:59 PM  
Angmar

Forum posts: 0
File comments: 7
Uploads: 0
Re: Re: Re: Re: Re: v1.2.1

Quote:
Originally Posted by Xenyr
Quote:
Originally Posted by Angmar
Hi Xenyr,

Could u please take a look at this error in Rift 2.5 :

Error: XMacros/XMacrosAbilityManager.lua:133: attempt to index local 'details' (a nil value)
In XMacros / XMacrosTimer, event Event.System.Update.Begin
stack traceback:
XMacros/XMacrosAbilityManager.lua:133: in function 'GetCooldown'
XMacros/XMacrosButton.lua:127: in function 'SetAbilityName'
XMacros/XMacrosButtonBar.lua:142: in function 'SetAbilityName'
XMacros/XMacrosButtonBar.lua:93: in function 'CreateButtons'
XMacros/XMacrosButtonBar.lua:38: in function 'Create'
XMacros/XMacrosButtonSets.lua:274: in function 'EnableSets'
XMacros/XMacros.lua:103: in function 'Current'
XMacros/XMacros.lua:288: in function 'SetRole'
XMacros/XMacros.lua:293: in function 'callback'
XMacros/XMacrosTimer.lua:158: in function <XMacros/XMacrosTimer.lua:140>

Could u fix it please, thanks
Sorry never noticed this post. I'll release a fix shortly.
Download update and its fixed, thanks Xenyr.
Angmar is offline Report comment to moderator  
Reply With Quote
Unread 01-15-14, 01:48 PM  
Xenyr
Zombie
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 66
Uploads: 0
Re: Re: Re: Re: v1.2.1

Quote:
Originally Posted by Angmar
Hi Xenyr,

Could u please take a look at this error in Rift 2.5 :

Error: XMacros/XMacrosAbilityManager.lua:133: attempt to index local 'details' (a nil value)
In XMacros / XMacrosTimer, event Event.System.Update.Begin
stack traceback:
XMacros/XMacrosAbilityManager.lua:133: in function 'GetCooldown'
XMacros/XMacrosButton.lua:127: in function 'SetAbilityName'
XMacros/XMacrosButtonBar.lua:142: in function 'SetAbilityName'
XMacros/XMacrosButtonBar.lua:93: in function 'CreateButtons'
XMacros/XMacrosButtonBar.lua:38: in function 'Create'
XMacros/XMacrosButtonSets.lua:274: in function 'EnableSets'
XMacros/XMacros.lua:103: in function 'Current'
XMacros/XMacros.lua:288: in function 'SetRole'
XMacros/XMacros.lua:293: in function 'callback'
XMacros/XMacrosTimer.lua:158: in function <XMacros/XMacrosTimer.lua:140>

Could u fix it please, thanks
Sorry never noticed this post. I'll release a fix shortly.
Xenyr is offline Report comment to moderator  
Reply With Quote
Unread 11-18-13, 07:46 AM  
Angmar

Forum posts: 0
File comments: 7
Uploads: 0
Re: Re: Re: v1.2.1

Hi Xenyr,

Could u please take a look at this error in Rift 2.5 :

Error: XMacros/XMacrosAbilityManager.lua:133: attempt to index local 'details' (a nil value)
In XMacros / XMacrosTimer, event Event.System.Update.Begin
stack traceback:
XMacros/XMacrosAbilityManager.lua:133: in function 'GetCooldown'
XMacros/XMacrosButton.lua:127: in function 'SetAbilityName'
XMacros/XMacrosButtonBar.lua:142: in function 'SetAbilityName'
XMacros/XMacrosButtonBar.lua:93: in function 'CreateButtons'
XMacros/XMacrosButtonBar.lua:38: in function 'Create'
XMacros/XMacrosButtonSets.lua:274: in function 'EnableSets'
XMacros/XMacros.lua:103: in function 'Current'
XMacros/XMacros.lua:288: in function 'SetRole'
XMacros/XMacros.lua:293: in function 'callback'
XMacros/XMacrosTimer.lua:158: in function <XMacros/XMacrosTimer.lua:140>

Could u fix it please, thanks
Angmar is offline Report comment to moderator  
Reply With Quote
Unread 07-26-13, 03:47 PM  
Xenyr
Zombie
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 66
Uploads: 0
Re: Re: v1.2.1

Quote:
Originally Posted by Angmar
Quote:
Originally Posted by Xenyr
Support for 20 roles
Wow....thank you very much Xenyr
You are welcome
Xenyr is offline Report comment to moderator  
Reply With Quote
Unread 07-26-13, 01:11 AM  
Angmar

Forum posts: 0
File comments: 7
Uploads: 0
Re: v1.2.1

Quote:
Originally Posted by Xenyr
Support for 20 roles
Wow....thank you very much Xenyr
Angmar is offline Report comment to moderator  
Reply With Quote
Unread 07-25-13, 02:16 PM  
Xenyr
Zombie
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 66
Uploads: 0
v1.2.1

Support for 20 roles
Xenyr is offline Report comment to moderator  
Reply With Quote
Unread 07-04-13, 11:52 PM  
Angmar

Forum posts: 0
File comments: 7
Uploads: 0
Re: Re: Re: How to fix for 2.2

Quote:
Originally Posted by Xenyr
I still don't play Rift, but I have released a fix for this issue. Hope the new version works for you all.
Hi Xenyr, its working fine now, thanks to you.
Btw, could you please make this addons supporting for more than 6 role as Rift now can support to 20 role.
Angmar is offline Report comment to moderator  
Reply With Quote
Unread 06-30-13, 09:21 PM  
wowheadizzmydaddy

Forum posts: 0
File comments: 12
Uploads: 0
Thanks for the effort, Xenyr.
wowheadizzmydaddy is offline Report comment to moderator  
Reply With Quote
Unread 06-28-13, 04:24 PM  
Xenyr
Zombie
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 66
Uploads: 0
Re: Re: How to fix for 2.2

Quote:
Originally Posted by Angmar
Quote:
Originally Posted by troublemagnet
I've been able to fix this by using LibString http://www.riftui.com/downloads/info215-LibString.html to replace the removed function. Download it and place in it the XMacros folder.

XMacrosUtils.lua: replace the function Split with:

function XMacrosUtils.Split(str, delim)
return string.split(str, delim)
end

Riftaddon.toc: add Libstring to the dependancies list

Embed = {
LibSimpleWidgets = true,
LibSimpleWidgetsExt = true,
LibString = true,
}

Dependencies = {
LibSimpleWidgets = {"required", "before"},
LibSimpleWidgetsExt = {"required", "before"},
LibString = {"required", "before"},
}
Tyvm, now I am able to use this great addons again
I still don't play Rift, but I have released a fix for this issue. Hope the new version works for you all.
Xenyr is offline Report comment to moderator  
Reply With Quote
Unread 03-04-13, 10:26 PM  
Angmar

Forum posts: 0
File comments: 7
Uploads: 0
Thumbs up Re: How to fix for 2.2

Quote:
Originally Posted by troublemagnet
I've been able to fix this by using LibString http://www.riftui.com/downloads/info215-LibString.html to replace the removed function. Download it and place in it the XMacros folder.

XMacrosUtils.lua: replace the function Split with:

function XMacrosUtils.Split(str, delim)
return string.split(str, delim)
end

Riftaddon.toc: add Libstring to the dependancies list

Embed = {
LibSimpleWidgets = true,
LibSimpleWidgetsExt = true,
LibString = true,
}

Dependencies = {
LibSimpleWidgets = {"required", "before"},
LibSimpleWidgetsExt = {"required", "before"},
LibString = {"required", "before"},
}
Tyvm, now I am able to use this great addons again
Angmar is offline Report comment to moderator  
Reply With Quote
Unread 03-01-13, 12:35 AM  
troublemagnet
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 2
Uploads: 1
Re: Re: How to fix for 2.2

Quote:
Originally Posted by Azoran
Quote:
Originally Posted by troublemagnet
I've been able to fix this by using LibString http://www.riftui.com/downloads/info215-LibString.html to replace the removed function. Download it and place in it the XMacros folder.

XMacrosUtils.lua: replace the function Split with:

function XMacrosUtils.Split(str, delim)
return string.split(str, delim)
end

Riftaddon.toc: add Libstring to the dependancies list

Embed = {
LibSimpleWidgets = true,
LibSimpleWidgetsExt = true,
LibString = true,
}

Dependencies = {
LibSimpleWidgets = {"required", "before"},
LibSimpleWidgetsExt = {"required", "before"},
LibString = {"required", "before"},
}
After doing all this, I'm receiving the following error when I log in

Error: XMacros/XMacrosTimer.lua:59: attempt to index global 'XMacrosUtils' (a nil value)
In XMacros / RoleChanged, event Event.TEMPORARY.Role
stack traceback:
XMacros/XMacrosTimer.lua:59: in function 'AddCallback'
XMacros/XMacros.lua:292: in function <XMacros/XMacros.lua:291>


When I try to change the category, I receive the follow error:

Error: XMacros/XMacrosTextPicker.lua:163: attempt to index global 'XMacrosUtils' (a nil value)
In XMacros / XMacros.OKButton:LeftPress
stack traceback:
XMacros/XMacrosTextPicker.lua:163: in function 'WindowClose'
XMacros/XMacrosTextPicker.lua:53: in function <XMacros/XMacrosTextPicker.lua:53>

When I close out of XMacro I receive this error:

Error: XMacros/XMacrosButtonBar.lua:403: attempt to index global 'XMacrosUtils' (a nil value)
In XMacros / SlashHandler, event Slash.xm
stack traceback:
XMacros/XMacrosButtonBar.lua:403: in function 'GetButtonPosition'
XMacros/XMacrosButtonBar.lua:84: in function 'CreateButtons'
XMacros/XMacrosButtonBar.lua:38: in function 'Create'
XMacros/XMacrosButtonSets.lua:274: in function 'EnableSets'
XMacros/XMacros.lua:199: in function 'RefreshEditBars'
XMacros/XMacros.lua:211: in function 'EditBars'
XMacros/XMacros.lua:340: in function <XMacros/XMacros.lua:327>

Any ideas?
Looks like something isn't getting loaded. I'd suggest looking for a typo or illegal character (from copy/paste most likely) in your XMacrosUtil.lua file.
troublemagnet is offline Report comment to moderator  
Reply With Quote
Unread 02-28-13, 08:08 PM  
Azoran

Forum posts: 0
File comments: 1
Uploads: 0
Re: How to fix for 2.2

Quote:
Originally Posted by troublemagnet
I've been able to fix this by using LibString http://www.riftui.com/downloads/info215-LibString.html to replace the removed function. Download it and place in it the XMacros folder.

XMacrosUtils.lua: replace the function Split with:

function XMacrosUtils.Split(str, delim)
return string.split(str, delim)
end

Riftaddon.toc: add Libstring to the dependancies list

Embed = {
LibSimpleWidgets = true,
LibSimpleWidgetsExt = true,
LibString = true,
}

Dependencies = {
LibSimpleWidgets = {"required", "before"},
LibSimpleWidgetsExt = {"required", "before"},
LibString = {"required", "before"},
}
After doing all this, I'm receiving the following error when I log in

Error: XMacros/XMacrosTimer.lua:59: attempt to index global 'XMacrosUtils' (a nil value)
In XMacros / RoleChanged, event Event.TEMPORARY.Role
stack traceback:
XMacros/XMacrosTimer.lua:59: in function 'AddCallback'
XMacros/XMacros.lua:292: in function <XMacros/XMacros.lua:291>


When I try to change the category, I receive the follow error:

Error: XMacros/XMacrosTextPicker.lua:163: attempt to index global 'XMacrosUtils' (a nil value)
In XMacros / XMacros.OKButton:LeftPress
stack traceback:
XMacros/XMacrosTextPicker.lua:163: in function 'WindowClose'
XMacros/XMacrosTextPicker.lua:53: in function <XMacros/XMacrosTextPicker.lua:53>

When I close out of XMacro I receive this error:

Error: XMacros/XMacrosButtonBar.lua:403: attempt to index global 'XMacrosUtils' (a nil value)
In XMacros / SlashHandler, event Slash.xm
stack traceback:
XMacros/XMacrosButtonBar.lua:403: in function 'GetButtonPosition'
XMacros/XMacrosButtonBar.lua:84: in function 'CreateButtons'
XMacros/XMacrosButtonBar.lua:38: in function 'Create'
XMacros/XMacrosButtonSets.lua:274: in function 'EnableSets'
XMacros/XMacros.lua:199: in function 'RefreshEditBars'
XMacros/XMacros.lua:211: in function 'EditBars'
XMacros/XMacros.lua:340: in function <XMacros/XMacros.lua:327>

Any ideas?
Azoran is offline Report comment to moderator  
Reply With Quote
Unread 02-28-13, 01:03 PM  
DohNotAgain

Forum posts: 0
File comments: 19
Uploads: 0
That was a game bug caused by Reloadui.
When you hit disable addon from the error alert it reloads your UI automatically.
Hitting disable for any addon would have dumped your action buttons.

Trion has fixed that bug - hopefully.


Quote:
Originally Posted by wowheadizzmydaddy
Unfortunately, using X Macros in v2.2 is now impossible as well as a liability. The error will wipe most of the action button bars clean (default bars) of spells and whatnot.

So I suggest removing the XMacros folder from your Addons folder, as it causes big problems and does not work.

Would be great if Xenyr would come back to RIFT, but that boat may have already sailed. A great addon has died.
DohNotAgain is offline Report comment to moderator  
Reply With Quote
Unread 02-28-13, 12:45 PM  
troublemagnet
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 2
Uploads: 1
How to fix for 2.2

I've been able to fix this by using LibString http://www.riftui.com/downloads/info215-LibString.html to replace the removed function. Download it and place in it the XMacros folder.

XMacrosUtils.lua: replace the function Split with:

function XMacrosUtils.Split(str, delim)
return string.split(str, delim)
end

Riftaddon.toc: add Libstring to the dependancies list

Embed = {
LibSimpleWidgets = true,
LibSimpleWidgetsExt = true,
LibString = true,
}

Dependencies = {
LibSimpleWidgets = {"required", "before"},
LibSimpleWidgetsExt = {"required", "before"},
LibString = {"required", "before"},
}
troublemagnet is offline Report comment to moderator  
Reply With Quote
Unread 02-27-13, 04:03 PM  
wowheadizzmydaddy

Forum posts: 0
File comments: 12
Uploads: 0
Unfortunately, using X Macros in v2.2 is now impossible as well as a liability. The error will wipe most of the action button bars clean (default bars) of spells and whatnot.

So I suggest removing the XMacros folder from your Addons folder, as it causes big problems and does not work.

Would be great if Xenyr would come back to RIFT, but that boat may have already sailed. A great addon has died.
wowheadizzmydaddy is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: