Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(3 Kb)
Download
Updated: 03-06-11 07:42 PM
Pictures
File Info
Updated:03-06-11 07:42 PM
Created:04-27-09 02:41 PM
Downloads:4,516
Favorites:33
MD5:

Trix - Tricks of the Trade Manager

Version: r20110603
by: Waverian [More]

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:

#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".

Due to addon limitations you cannot change the recipient name while in combat. If you attempt to edit it while it combat however, it will auto-update to the intended target after you leave combat.

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.

r20110603
* Fixed an ancient bug with changing announce options that affected some users.
r20100712
* Should have fixed some errors with accented letters in recipient names.
* Added auto post-combat updating if you attempt to change recipient name while in combat.
* Added custom channels to the announce options.
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 (0)


Archived Files (4)
File Name
Version
Size
Author
Date
r20100712
3kB
Waverian
07-12-10 03:37 PM
r20090827
2kB
Waverian
08-27-09 08:36 PM
r20090827
2kB
Waverian
08-27-09 09:59 AM
r20090808
2kB
Waverian
08-08-09 03:14 PM


Post A Reply Comment Options
Unread 05-12-11, 08:05 AM  
rassa
A Deviate Faerie Dragon
 
rassa's Avatar

Forum posts: 15
File comments: 130
Uploads: 0
well its working so far with 4.1 but not whispering or posting anything when i tricks a target, anyone know what do i have to edit or modify in order to get the tricks messages work again. thanks.
rassa is offline Report comment to moderator  
Reply With Quote
Unread 04-27-11, 08:00 AM  
rassa
A Deviate Faerie Dragon
 
rassa's Avatar

Forum posts: 15
File comments: 130
Uploads: 0
anyone know if there is a fan update for this one? its not working for me with 4.1
rassa is offline Report comment to moderator  
Reply With Quote
Unread 11-01-09, 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  
Reply With Quote
Unread 08-27-09, 09:05 PM  
Tomacco_Boy
A Kobold Labourer

Forum posts: 0
File comments: 111
Uploads: 0
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  
Reply With Quote
Unread 08-27-09, 08:39 PM  
Waverian
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

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

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  
Reply With Quote
Unread 08-27-09, 08:29 PM  
Tomacco_Boy
A Kobold Labourer

Forum posts: 0
File comments: 111
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  
Reply With Quote
Unread 08-14-09, 09:41 AM  
And
A Kobold Labourer

Forum posts: 0
File comments: 52
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-09 at 08:41 AM.
And is offline Report comment to moderator  
Reply With Quote
Unread 08-11-09, 09:07 AM  
fastlane
A Defias Bandit

Forum posts: 3
File comments: 16
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  
Reply With Quote
Unread 07-01-09, 04:38 AM  
Tomacco_Boy
A Kobold Labourer

Forum posts: 0
File comments: 111
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  
Reply With Quote
Unread 05-02-09, 03:32 PM  
Waverian
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 188
File comments: 33
Uploads: 8
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  
Reply With Quote
Unread 05-01-09, 05:26 PM  
loctrinh01
A Kobold Labourer

Forum posts: 0
File comments: 39
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  
Reply With Quote
Unread 04-29-09, 03:24 PM  
loctrinh01
A Kobold Labourer

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

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  
Reply With Quote
Unread 04-29-09, 02:14 PM  
Waverian
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 188
File comments: 33
Uploads: 8
Re: First time running it.

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  
Reply With Quote
Unread 04-29-09, 01:09 PM  
loctrinh01
A Kobold Labourer

Forum posts: 0
File comments: 39
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-09 at 01:17 PM.
loctrinh01 is offline Report comment to moderator  
Reply With Quote
Unread 04-29-09, 09:12 AM  
Waverian
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 188
File comments: 33
Uploads: 8
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-09 at 09:13 AM.
Waverian is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: