Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(29 Kb)
Download
Updated: 03-05-07 06:57 PM
Pictures
File Info
Updated:03-05-07 06:57 PM
Created:unknown
Downloads:1,689
Favorites:21
MD5:
Mecaire's Macrotexter
Version: v1.20(beta)
by: Mecaire [More]
*** Mecaire has gone overseas and will have no internet access until at least May 19, 2007. Development and support for this mod will be discontinued at least that long.

Mecaire's Macrotexter allows you to define your own categories of spells and create custom behavior for them. By default, your spells are grouped into categories for implied targeting, but you can modify this or add to it.

v1.20(beta) of Macrotexter has partial support for Bartender3 bars. Macrotexter currently only works with Bartender3 and default Blizzard UI actionbars. Support for Bongos and CogsBar is coming soon.

Macrotexter's implied targeting allows you to automatically assist beneficial and harmful targets with the opposite types of spells. (EQ2 and City of Heroes/Villains players are probably familiar with this kind of targeting. You do not need to have played those games to use this though!) Here are some examples:

A) With a tank on target, a healer or caster can cast an offensive spell on the tank's target. The healer/caster's target does not change.

B) With an enemy on target, a healer can cast a heal, buff, HoT, or cure on that enemy's target. The healer's target does not change.

C) A paladin or warrior can use Righteous Defense or Intervene on an enemy to come to the defense of the player on its target.

D) A warrior or druid can use their taunt skill with a player on target, to taunt that player's target.

Of course, if you use your spells with a proper target (such as casting Smite on an enemy target, or Heal on a friendly target) they still work exactly as expected! Your Blizzard selfcasting still works (if you use this feature), too.

Currently in WoW 2.0, without Macrotexter, you would need to make all your spell buttons into macro buttons to do these things. Macrotexter saves you the trouble by enhancing the way your normal spell buttons behave. Macrotexter gives you the normal behavior of a spell button (which macro buttons don't do on their own--such as range checking, glowing edges while casting, cooldown display, etc.), as well as the enhanced "smarter" behavior of a macro button.

There is also extended built-in selfcasting available for Blizzard default UI bars, such as for situation B) above. (Bartender3 bars use their own selfcasting.) You can still selfcast beneficial spells if your enemy target has another party member on its target. Alt-selfcasting, right-click selfcasting, and ctrl-click selfcasting can be toggled for beneficial spells.

If you use Macrotexter's implied targeting, I highly recommend using a frame that displays your target-of-target. (These are provided by the default Blizzard interface and also most unitframe mods.) This will allow you to see what you're nuking if you nuke off of a friendly target - or who you're healing if you heal with the enemy on target.

Note that v1.20(beta) is a beta version. If v1.20(beta) does not work for you, you can use v1.10 instead. Please report any problems not already noted in the ReadMe.
Optional Files (0)


Post A Reply Comment Options
Unread 03-13-07, 12:07 AM  
grokos
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Re: Blizzard Default UI Bar Problem

Originally posted by Mecaire
There is currently a problem with using Macrotexter if you're using your own macro buttons (like the ones you make in the game with /macro) containing [button:] conditionals. Only the Blizzard default actionbars are affected, not Bartender.

When Macrotexter is on, and you're using the default Blizzard actionbars, you cannot reliably activate the [button:] branches of the conditionals using the keyboard. (The mouse still works.) If you disable Macrotexter, the [button:] branches can be activated by the keyboard again.

While Macrotexter doesn't do anything to your in-game-made macro buttons, a setting seems to be bleeding over and changing the keyboard behavior of this type of macro button (on the Blizzard default UI actionbars).

If you're using the Blizzard default actionbars and this type of macro, you can do one of the following to work around this problem until it can be addressed further:
1. Disable Macrotexter
2. Modify your [button:] conditional macros so they can be activated by key presses when Macrotexter is on
3. Use Bartender instead of the Blizzard default actionbars

I probably won't have time to find out exactly what is causing the problem until the later part of the week. I'm sorry to any that are affected, it's a really strange and unanticipated problem.
Just to clarify since I was the one who reported the issue. It will happen even with macros added as part of macrotexter not just macros written in game. It will fail all button checks when you hit a keyboard short cut and skip to the next part.

You should be able to rewrite almost any macro so that it checks all the alternates by button: checks first and there is no button check required for what ever the default action is.
Last edited by grokos : 03-13-07 at 08:19 PM.
grokos is offline Report comment to moderator  
Reply With Quote
Unread 03-12-07, 10:35 AM  
Mecaire
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 8
Uploads: 1
Originally posted by Paks
Just want to confirm something, I'd test it but I'm just about to go pass out for the night.

I right now have a macro for my paladin that is as follows:

/cast Judgement
/stopcasting
/click ActionButton7

This allows me to swap out seals on the fly and not worry about the macro casting the wrong seal. Works like a charm.

That being said, if I recall correctly, you stated that changing spells out for a given action button in combat can have some strange effects. Would any of these effects impact my macro above, such as casting the old seal instead of the one I just switched over to? Or will it be fine simply because the spell in question (paladin seal) is instant cast, self-only?

Thanks for making this once more, and doubly thanks for the Bartender 3 support!
If you swap the buttons in combat, and the seals you put in ActionButton7 are affected by Macrotexter--then your macro will probably cast the old seal that had been in the button before swapping (until you get out of combat again).

However, if those seals aren't set to anything in your SpellList.lua (they are not by default), then there shouldn't be a problem.

That's a neat macro, I'm going to borrow the idea if I pick up my paladin again
Mecaire is offline Report comment to moderator  
Reply With Quote
Unread 03-08-07, 03:33 AM  
Paks
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Just want to confirm something, I'd test it but I'm just about to go pass out for the night.

I right now have a macro for my paladin that is as follows:

/cast Judgement
/stopcasting
/click ActionButton7

This allows me to swap out seals on the fly and not worry about the macro casting the wrong seal. Works like a charm.

That being said, if I recall correctly, you stated that changing spells out for a given action button in combat can have some strange effects. Would any of these effects impact my macro above, such as casting the old seal instead of the one I just switched over to? Or will it be fine simply because the spell in question (paladin seal) is instant cast, self-only?

Thanks for making this once more, and doubly thanks for the Bartender 3 support!
Paks is offline Report comment to moderator  
Reply With Quote
Unread 03-06-07, 05:18 PM  
Mecaire
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 8
Uploads: 1
Blizzard Default UI Bar Problem

There is currently a problem with using Macrotexter if you're using your own macro buttons (like the ones you make in the game with /macro) containing [button:] conditionals. Only the Blizzard default actionbars are affected, not Bartender.

When Macrotexter is on, and you're using the default Blizzard actionbars, you cannot reliably activate the [button:] branches of the conditionals using the keyboard. (The mouse still works.) If you disable Macrotexter, the [button:] branches can be activated by the keyboard again.

While Macrotexter doesn't do anything to your in-game-made macro buttons, a setting seems to be bleeding over and changing the keyboard behavior of this type of macro button (on the Blizzard default UI actionbars).

If you're using the Blizzard default actionbars and this type of macro, you can do one of the following to work around this problem until it can be addressed further:
1. Disable Macrotexter
2. Modify your [button:] conditional macros so they can be activated by key presses when Macrotexter is on
3. Use Bartender instead of the Blizzard default actionbars

I probably won't have time to find out exactly what is causing the problem until the later part of the week. I'm sorry to any that are affected, it's a really strange and unanticipated problem.
Mecaire is offline Report comment to moderator  
Reply With Quote
Unread 03-06-07, 05:12 AM  
Mecaire
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 8
Uploads: 1
Re: Wand Support for Implied Targeting

Originally posted by mzoppa
Kudos on this Addon. It instantly became one of my favorites. Any chance of adding the implied targeting for Wands? With a friendly targeted I can't shoot my wand at their hostile target. I use a wand with my priest a lot in a group so I can conserve my mana for heals. I don't know if it's even possible, but I thought I'd ask. Once again, this a great addon!

-Z
Thanks, I'm glad you like it!

Because of the way wand Shoot works, you can only get one shot off when using it on your target's target. So for me, for example, I usually have a tank on target. If I set up Shoot for implied targeting, I have to press the Shoot button each time I want to fire one shot at the tank's target. I found that kind of annoying/unintuitive when I was first putting Macrotexter together--so I didn't end up including it by default.

Now that I've been using implied targeting for a while, I know there are times I'd have found it useful to get a few wand shots off in situations where I couldn't have otherwise, even if I had to press the "Shoot" button once per shot. Because of that and because a few people have asked for it, I'll likely include Shoot for implied targeting by default next time I update the files. If you want to use it before then, you can add the following near the end of SpellList.lua, right above where it says "ALL editing must be done ABOVE this line!":

t["Shoot"] = 3;
Mecaire is offline Report comment to moderator  
Reply With Quote
Unread 03-05-07, 09:51 PM  
mzoppa
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Wand Support for Implied Targeting

Kudos on this Addon. It instantly became one of my favorites. Any chance of adding the implied targeting for Wands? With a friendly targeted I can't shoot my wand at their hostile target. I use a wand with my priest a lot in a group so I can conserve my mana for heals. I don't know if it's even possible, but I thought I'd ask. Once again, this a great addon!

-Z
mzoppa is offline Report comment to moderator  
Reply With Quote
Unread 03-05-07, 09:42 PM  
OverloadUT
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 5
Uploads: 2
Looks great so far! I have been checking this mod every day since I heard about it, waiting for Bongos support to be added. I can't wait to try it out!
OverloadUT is offline Report comment to moderator  
Reply With Quote
Unread 03-05-07, 07:08 PM  
Mecaire
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 8
Uploads: 1
v1.20(beta)

I just made a Bartender3 version available. The following important notes are in the ReadMe as well:

-If you are updating Macrotexter and you previously customized SpellList.lua or SpellCategory.lua, you should move or rename your customized files before you extract Macrotexter's zip file. Then you can apply your updates to the new .lua files, using your old ones for reference. Note that if you're just going from v1.10 to v1.20(beta), only the examples and comments in those files have changed--so you can skip extracting those two if you like.

-If you change the structure of a Bartender3 bar, currently you must /reloadui (or restart WoW) for Macrotexter to update itself properly. This includes changing whether a bar is paged, the number of buttons on the bar, or changing the behavior of a bar (such as adjusting a button modifier, or whether that bar is for a particular stance). If you change the structure of a bar and do not /reloadui, you can expect some weird button behavior! I am still working on a way to avoid having to do this.

-Selfcasting settings in Macrotexter are ignored by Bartender3 bars. Set up selfcasting in Bartender3 instead.

-v1.20(beta) is labelled "beta" for a reason - please let me know if you run into problems.
Mecaire is offline Report comment to moderator  
Reply With Quote
Unread 03-02-07, 02:39 PM  
Mecaire
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 8
Uploads: 1
Re: :D

Originally posted by hypehuman
I added a token "SPELLN1" that casts Rank 1 of a spell if it has ranks.

What I'm really looking forward to is support for Pet bars, so that I can use this for Seduction Also shapeshift forms, stances and aura bars would be wonderful too.
~Isildifin [/b]
Coool!! I was just thinking over the weekend that I needed to add something like SPELLN1. I've got a few spells I'm now casting at particular ranks using a button modifier, and I could put them all in one category together neatly if I just had a SPELLN# token. (Or even a SPELLNR-# to downrank a certain number of ranks, like I do often when solo with Power Word: Shield, for example.) I think I'll add that.

It wasn't until I was working on the Bartender support that I realized I had skipped the Pet bar and the stance/aura/shapeshift bar. Right now I plan to have a look at those after I'm done with these other Bar mods (Bartender, Bongos, Cogs). I expect Bongos and Cogs to take nearly no work now that I've laid all the "thought-process" groundwork for them. They should be especially quicker-to-do since I have used CogsBar myself, and I have a high-level-customized-Bongos user in the house already to get them tested easily and thoroughly.

I'll just add my Bartender update here too - After I downloaded Bartender, and started looking at it to make it work with Macrotexter, I decided I really loved it. I decided to keep using it personally once I got Macrotexter running for it. (THANKS ALL for telling me how much you loved Bartender, you showed me the light!) At this time I am using an "alpha" version of Macrotexter that (almost completely) works with my Bartender while I play.

There are two issues that I'm still ironing out, and unless I run into more unanticipated issues, I expect to upload a Bartender "beta" version tonight or Monday. (I rarely have time to script on the weekend, otherwise I'd say Saturday.) I'm saying "beta" because I have only been using Bartender myself for two days, and while I think I've covered everything, I don't feel right promising that I've thought of all that could go wrong and give other people problems/errors.
Mecaire is offline Report comment to moderator  
Reply With Quote
Unread 02-26-07, 04:51 PM  
hypehuman
A Deviate Faerie Dragon
 
hypehuman's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 87
Uploads: 8
:D

I'm already using this addon and loving it. Here's what I have set up so far:


-- Category 1: Default settings: alt-selfcast, ctrl-notarget, rclick-rank1, and channeling protection.
t[1] = "/stopmacro [channeling]\n/cast [modifier:ctrl, target=none, button:2] SPELLN1; [modifier:alt, target=player, button:2] SPELLN1; [modifier:ctrl, target=none] SPELLNR; [modifier:alt, target=player] SPELLNR; [button:2] SPELLN1; SPELLNR";


-- Category 2: Same as above, but no channeling protection. Spells like Mind Vision need to interrupt themselves.
t[2] = "/cast [modifier:ctrl, target=none, button:2] SPELLN1; [modifier:alt, target=player, button:2] SPELLN1; [modifier:ctrl, target=none] SPELLNR; [modifier:alt, target=player] SPELLNR; [button:2] SPELLN1; SPELLNR";


-- Category 3: Crowd Control.
t[3] = "/focus [button:2, nodead, harm]\n/cast [target=focus, exists, nodead, harm] SPELLN1";


I added a token "SPELLN1" that casts Rank 1 of a spell if it has ranks.

What I'm really looking forward to is support for Pet bars, so that I can use this for Seduction Also shapeshift forms, stances and aura bars would be wonderful too.

~Isildifin
Last edited by hypehuman : 02-26-07 at 06:42 PM.
hypehuman is offline Report comment to moderator  
Reply With Quote
Unread 02-23-07, 09:51 PM  
Paks
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
No worries Mecaire. I've already got a few friends salivating over it, but not only do they all use barmods, they're also mostly programmers, so the few of them that aren't get squished by those who know better.

I subscribe to "it'll work when it works, but no harm in trying". As it turned out, Macrotexter loaded flawlessly with no errors, but failed to actually do anything, as expected.

So go at your own pace, please. Good addons are always worth the wait.
Last edited by Paks : 02-23-07 at 09:51 PM.
Paks is offline Report comment to moderator  
Reply With Quote
Unread 02-23-07, 05:55 PM  
Depherios
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 9
Uploads: 2
Originally posted by Paks
Out of curiosity, if someone were using bars that were all 12-button bars, would the macrotexting work?
Technically if you made your bars use the ORIGINAL interface's hotkeys, and used your barmod just for display, you could probably get this functinality to work with any barmod.

I was using this trick to get Blizz' built in ALT Selfcast to work with MarsBar before I switched to Bartender.

If not for the fact that Mecaire has already said they'll be working on a bartender version. (OMG THANK YOU) I'd probably be trying to do it again, lol.
Depherios is offline Report comment to moderator  
Reply With Quote
Unread 02-23-07, 05:03 PM  
existe
A Deviate Faerie Dragon
 
existe's Avatar

Forum posts: 17
File comments: 29
Uploads: 0
Finally! Hope it works well...that was one thing I liked about EQ2
existe is offline Report comment to moderator  
Reply With Quote
Unread 02-23-07, 11:53 AM  
Mecaire
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 8
Uploads: 1
Originally posted by Paks
Out of curiosity, if someone were using bars that were all 12-button bars, would the macrotexting work?
No It's not quite that simple. The buttons used by Bartender have different names from the default UI ones, and Macrotexter only finds buttons with certain names right now.

I do have a pretty good idea how much you want it to work. I returned to WoW from EQ2 recently, and as a healer I used EQ2's implied targeting for about half my attacks and spells. It was very hard to get used to this missing feature in TBC.

Tonight I'm releasing a new version that extends the functionality a little bit, allowing any kind of player-defined custom behavior for spells (no longer limited to implied targeting). And next on the list looks like this, in order of demand:
1. Bartender
2. Bongos
3. CogsBar

I'm sorry that it's not working for you yet. I'm knocking this stuff out as quick as I can.
Mecaire is offline Report comment to moderator  
Reply With Quote
Unread 02-22-07, 09:06 PM  
Paks
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Out of curiosity, if someone were using bars that were all 12-button bars, would the macrotexting work?

I admit, I'm just a touch chomping-at-the-bit to get this working, and I'm currently using Bartender 3. The only bar I have that doesn't use 12 buttons is Bar 10, so if I understand you right that shouldn't be an issue technically. I fell in love with this capability in City of Heroes, and it was difficult as hell to go without.

Think I'll back everything up and try it. Worst that happens is I use the backups.
Paks is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: