Category: Rogue
Addon Information
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Author:
Version:
r20090827
Date:
08-27-2009 09:36 PM
Size:
2.39 Kb
Downloads:
2,067
Favorites:
41
MD5:
Pictures
Click to enlarge
Trix - Tricks of the Trade Manager
Trix is a simple addon to help rogues manage Tricks of the Trade usage. Trix will create 3 macros if they don't exist: Trix1, Trix2, and TrixAIO.

Trix1 and Trix2 will cast Tricks of the Trade on any unit by ID or by name. I personally use #1 to cast on a tank by name, and #2 to cast on a DPS by name. These can be used in any way you like, including casting on a unitid.

TrixAIO is an all-in-one macro:

Quote:
#showtooltip Tricks of the Trade
/cast [help] [target=focus, help] [target=targettarget, help] Tricks of the Trade

This will prioritize the following: Cast Tricks on your target if it is friendly > cast Tricks on your focus if it is friendly > cast Tricks on your target's target if it is friendly.


In addition to creating these macros, Trix adds the /trix slash command.

"/trix # unit" will edit Trix1 or Trix2 (depending on the #), so that it casts on the specified unit. This allows for maintaining control over casting on a specific target without having to manually edit the macros.

For example: "/trix 1 Tank" will edit the Trix1 macro to cast on a target named "Tank".

New in r20090827: You can edit the announce in the /trix options menu. %s in the edit box will be replaced with the name of the unit receiving tricks of the trade.

New in 2.0: Not much. v2.0 is almost a complete rewrite to clean it up. /trix will now open the interface options panel when given no arguments, or when given improper argument. Trix will now yell at your chat window if you attempt to edit the macro in combat. Also, if you don't have enough free local macro slots to create the macro the first time running it, it will now attempt to create them in the global macros section instead.

New in 1.3: You can now choose to announce successful tricks of the trade casts. This option is disabled by default and can be enabled in the interface options addons tab. You can choose to display the announcements to Party, Raid, Whisper, or Smart. Whisper will automatically announce to the unit receiving tricks. Smart will announce to raid if you're in a raid, party if you're in a party, otherwise it will not announce.

New in 1.1: "t" is now a valid argument for unit. "/trix 1 t" will now set the macro to the name of your target if it exists. Useful for players with non-standard characters or long names.
  Change Log - Trix - Tricks of the Trade Manager
r20090827
* The class color naming will now work regardless of letter case.
* !ClassColors support.
* You can now change the announce message in game.
r20090808
* The spew you get back when editing a macro will now color the unit's name by class. Useless but pretty! Small update.
* Changed versioning system to be a little less completely made up on the spot. (i.e. stole Shadowed's)
v2.0
* Almost a complete rewrite to clean it up. There are a few changes, so for the most part if you're already happy with the addon, there is very little reason to update.
* /trix will now open the interface options panel when given no arguments, or when given improper argument.
* If you don't have enough free local macro slots to create the macro the first time running it, it will now attempt to create them in the global macros section instead.
v1.2
*Fixed an error.
v1.1
*Added a shortcut for target name. Check the description for usage.
  Optional Files - Trix - Tricks of the Trade Manager
Sorry, there are currently no optional files available.
  Archived Versions - Trix - Tricks of the Trade Manager
File Name
Version
Size
Author
Date
r20090827
2kB
Waverian
08-27-2009 10:59 AM
r20090808
2kB
Waverian
08-08-2009 04:14 PM
  Comments - Trix - Tricks of the Trade Manager
Post A Reply Comment Options
Old 11-01-2009, 08:38 PM  
ahri
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I edited the addon slightly for my purposes and I think it's better that way.
Basically, only thing I changed was the look of your "Trix 1" and "Trix 2" macros to:
#showtooltip Tricks of the Trade
/cast [target=%s,exists][help] Tricks of the Trade

first line is needed if %s goes out of range. It basically does the same, just if the target does not exist, it casts it on your current target. Useful for when you have some target saved from doing pvp and you want to cast it somewhere randomly thereafter.
ahri is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-27-2009, 10:05 PM  
Tomacco_Boy
A Kobold Labourer

Forum posts: 0
File comments: 71
Uploads: 0
Quote:
Originally posted by Waverian
I can't duplicate that error with a fresh install. You can try deleting Trix's SavedVariables file located at:



Keeping in mind that you'll lose the addon's settings, but there aren't very many of them to reconfigure.


Alternatively, I've pushed a release that might fix this. I can't test it though for the aforementioned reason.
Updated to the fixed release and the error didn't come up, good job.
__________________
YOU DONT TELL ME TO BUR
Tomacco_Boy is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-27-2009, 09:39 PM  
Waverian
A Flamescale Wyrmkin
Interface Author - Click to view interfaces

Forum posts: 122
File comments: 32
Uploads: 6
I can't duplicate that error with a fresh install. You can try deleting Trix's SavedVariables file located at:

Quote:
C:\Program Files\World of Warcraft\WTF\Account\ACCOUNTNAME\SavedVariables\Trix.lua
Keeping in mind that you'll lose the addon's settings, but there aren't very many of them to reconfigure.


Alternatively, I've pushed a release that might fix this. I can't test it though for the aforementioned reason.
Waverian is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-27-2009, 09:29 PM  
Tomacco_Boy
A Kobold Labourer

Forum posts: 0
File comments: 71
Uploads: 0
Bugsack Error report

Error with r20090827

Code:
[2009/08/28 12:22:24-16273-x1]: Trix\trix.lua:69: attempt to index global 'TrixDB' (a nil value)
Trix\trix.lua:57: in function <Interface\AddOns\Trix\trix.lua:56>

  ---
__________________
YOU DONT TELL ME TO BUR
Tomacco_Boy is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-14-2009, 10:41 AM  
And
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
Target

Hiya,
and thanks alot for this useful addon!
It would be possible to add a couple of new command like "/trix 1 tg" and "/trix 2 tg" so that can set my target to tix1 and trix2 macro? I ask for this because it happens quite often to play with people who name their PC with really weird ASCII characters....
Thanks in advance!

Edit: Oops, this is already implemented, as Waverian pointed out. I apologize for my fault.

And

Last edited by And : 09-03-2009 at 09:41 AM.
And is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-11-2009, 10:07 AM  
fastlane
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
"TrixAIO is an all-in-one macro"

The "TrixAIO is an all-in-one macro" part of this addon doesn't seem to work for me. I try it with and without a focus target, and still nothing happens when I use that macro. No error messages either, or I would post the info, sry.
fastlane is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-01-2009, 05:38 AM  
Tomacco_Boy
A Kobold Labourer

Forum posts: 0
File comments: 71
Uploads: 0
I don't know if this is a bug or not, but recently trix has been making two sets of macro's.

One in the character specific slots and in the general macro's, Ive deleted them all to only have it happen again.

There's no errors, it just happens again when you delete the macro's.
__________________
YOU DONT TELL ME TO BUR
Tomacco_Boy is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-02-2009, 04:32 PM  
Waverian
A Flamescale Wyrmkin
Interface Author - Click to view interfaces

Forum posts: 122
File comments: 32
Uploads: 6
Easy enough to implement. I've got most of it done just fiddling with an options screen. I should have a push out in the next couple of days with an announce.
Waverian is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-01-2009, 06:26 PM  
loctrinh01
A Kobold Labourer

Forum posts: 0
File comments: 27
Uploads: 0
Announce feature?

Will there be a feature to whisper the target we are casting Tricks on, later?
loctrinh01 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-29-2009, 04:24 PM  
loctrinh01
A Kobold Labourer

Forum posts: 0
File comments: 27
Uploads: 0
Re: Re: First time running it.

Quote:
Originally posted by Waverian
The first error is because you had less than 3 available macro slots. I expected that would be a problem but didn't think to test for it. I also can't think of an elegant solution, but I'll look around. In the mean time maybe clean up those macros, or move some to the general tab instead of the character specific tab.

The second error is because of me being foolish. Sorry about that, uploading a fix now.
Thank you. Working perfectly now.
loctrinh01 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-29-2009, 03:14 PM  
Waverian
A Flamescale Wyrmkin
Interface Author - Click to view interfaces

Forum posts: 122
File comments: 32
Uploads: 6
Re: First time running it.

Quote:
Originally posted by loctrinh01
Got this error first time running the addon:

Error occured in: Global
Count: 1
Message: ..\AddOns\Trix\core.lua line 23:
CreateMacro() failed, already have 36 macros
Debug:
[C]: ?
[C]: CreateMacro()
Trix\core.lua:23:
Trix\core.lua:12
Trix\core.lua:36:
Trix\core.lua:35

Got this error after reloading the game and after the creation of Trix1:

Message: ..\AddOns\Trix\core.lua line 24:
bad argument #2 to 'format' (string expected, got no value)
Debug:
[C]: ?
[C]: format()
Trix\core.lua:24:
Trix\core.lua:12
Trix\core.lua:36:
Trix\core.lua:35
The first error is because you had less than 3 available macro slots. I expected that would be a problem but didn't think to test for it. I also can't think of an elegant solution, but I'll look around. In the mean time maybe clean up those macros, or move some to the general tab instead of the character specific tab.

The second error is because of me being foolish. Sorry about that, uploading a fix now.
Waverian is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-29-2009, 02:09 PM  
loctrinh01
A Kobold Labourer

Forum posts: 0
File comments: 27
Uploads: 0
First time running it.

Got this error first time running the addon:

Error occured in: Global
Count: 1
Message: ..\AddOns\Trix\core.lua line 23:
CreateMacro() failed, already have 36 macros
Debug:
[C]: ?
[C]: CreateMacro()
Trix\core.lua:23:
Trix\core.lua:12
Trix\core.lua:36:
Trix\core.lua:35

Got this error after reloading the game and after the creation of Trix1:

Message: ..\AddOns\Trix\core.lua line 24:
bad argument #2 to 'format' (string expected, got no value)
Debug:
[C]: ?
[C]: format()
Trix\core.lua:24:
Trix\core.lua:12
Trix\core.lua:36:
Trix\core.lua:35

Last edited by loctrinh01 : 04-29-2009 at 02:17 PM.
loctrinh01 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-29-2009, 10:12 AM  
Waverian
A Flamescale Wyrmkin
Interface Author - Click to view interfaces

Forum posts: 122
File comments: 32
Uploads: 6
Quote:
Originally posted by Mock
Finally! Much <3 for this one, thanks.

If you're taking request i would like an easier way to assign names, like if you rightclick the macro it will add the current target in it. Dont know if this is possible but
I'm not much of a fan of the click options since I don't have the macros shown on a visible bar. I've added a shortcut to set the macro to your current target though.

v1.1 enables you to do "/trix # t" and it will set the macro to your target's name. It's been uploaded and will be available when it's approved.

Last edited by Waverian : 04-29-2009 at 10:13 AM.
Waverian is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-28-2009, 10:59 AM  
Mock
A Cyclonian

Forum posts: 49
File comments: 33
Uploads: 0
Finally! Much <3 for this one, thanks.

If you're taking request i would like an easier way to assign names, like if you rightclick the macro it will add the current target in it. Dont know if this is possible but

Last edited by Mock : 04-28-2009 at 11:04 AM.
Mock is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.