Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » Public Discussion

Reply
 
LinkBack Thread Tools
Old 10/09/08, 4:25 PM   #451
Belenos
Piston Honda
 
Dwarf Priest
 
Azuremyst
You can set variables via scripts, but you can't use variables in protected commands like /target. If you have a macro you'd like to shrink down, I would post it here or on the WoW UI forum, and people could help you do what you want to do within the 255 limit. Or a small addon could be written to do what you want.

Author of CasterWeaponSwapper: suggestions welcome by forum PM or to wikwocket@gmail.com.

Offline
Reply With Quote
Old 10/09/08, 5:49 PM   #452
Maeltne
Piston Honda
 
Tauren Druid
 
Suramar
Well here goes (note: these macros obviously have not been tested), any help getting these below the 255 character limit would be appreciated.

#show [mod:shift] Regrowth; [mod:alt] Renew; [mod:ctrl] Swiftmend; [nomod] Lifebloom
/use 13
/use 14
/cast [btn:1, mod:shift, help] [btn:1, mod:shift, target=mouseover] Regrowth; [btn:1, mod:alt, help] [btn:1, mod:alt, target=mouseover] Renew; [btn:1, mod:ctrl, help] [btn:1, mod:ctrl, target=mouseover] Swiftmend; [btn:1, help] [btn:1, target=mouseover] Lifebloom
/cast [btn:2, mod:shift, target=focus] Regrowth; [btn:2, mod:alt, target=focus] Renew; [btn:2, mod:ctrl, target=focus] Swiftmend; [btn:2, nomod, target=focus] Lifebloom
/cleartarget [btn:3]
/cast [btn:4/5] Nature's Swiftness
/cast [btn:4, mod, help] [btn:4, mod, target=mouseover] Healing Touch;[btn:4, nomod, help] [btn:4, nomod, target=mouseover] Regrowth
/cast [btn:5, mod, target=focus] Healing Touch;[btn:5, nomod, target=focus] Regrowth
/script UIErrorsFrame:Clear()

If I push this macro with the left mouse button it will cast Regrowth, Renew, Swiftmend, and Lifebloom depending on which modifier (shift, alt, crtl, none) is held, on my target if it exists, or the target I am hovering over.

If I push it with the right mouse button, it will do the same except on my focus target.

If I push it with the middle mouse button it will clear the target.

With button 4, and any/no modifier it will Nature's swiftness Healing Touch/Regrowth my target/mouseover

With button 5, and any/no modifier it will Nature's swiftness Healing Touch/Regrowth my focus.


Another is:

#show [mod:shift] Regrowth; [mod:alt] Renew; [mod:ctrl] Swiftmend; [nomod] Lifebloom
/use 13
/use 14
/cast [btn:1, mod:shift, target=NAME1] Regrowth; [btn:1, mod:alt, target=NAME1] Renew; [btn:1, mod:ctrl, target=NAME1] Swiftmend; [btn:1, nomod, target=NAME1] Lifebloom
/cast [btn:2, mod:shift, target=NAME2] Regrowth; [btn:2, mod:alt, target=NAME2] Renew; [btn:2, mod:ctrl, target=NAME2] Swiftmend; [btn:2, nomod, target=NAME2] Lifebloom
/cast [btn:3, mod:shift, target=NAME3] Regrowth; [btn:3, mod:alt, target=NAME3] Renew; [btn:3, mod:ctrl, target=NAME3] Swiftmend; [btn:3, nomod, target=NAME3] Lifebloom
/cast [btn:4, mod:shift, target=NAME4] Regrowth; [btn:4, mod:alt, target=NAME4] Renew; [btn:4, mod:ctrl, target=NAME4] Swiftmend; [btn:4, nomod, target=NAME4] Lifebloom
/cast [btn:5] Nature's Swiftness
/cast [btn:5, mod:shift. target=NAME1] Healing Touch; [btn:5, mod:alt. target=NAME2] Healing Touch; [btn:5, mod:ctrl. target=NAME3] Healing Touch; [btn:5, nomod. target=NAME4] Healing Touch;
/script UIErrorsFrame:Clear()

This will allow me to assign 4 players to this macro and then heal them based on the button I press the macro with casting Regrowth, Renew, Swiftmend, Lifebloom on them depending on the modifier. The with button may be used with a modifier as a panic heal.

I could split them up with lots of /clicks but (1) I don't like that and (2) I'm not quite certain how to pass along all the modifier and button info.

Offline
Reply With Quote
Old 10/09/08, 6:35 PM   #453
chase
Piston Honda
 
Dwarf Priest
 
Malygos
For your first macro, I would just split it up into 4 macros.
One for regrowth (keybind to shift+btn1)
One for renew (keybind to alt+btn1)
...
etc

I can understand not wanting multiple macros on an action bar, but there are many ways around that. (bindpad being my favorite)

Without all the modifiers the macros also become very simple.

The last one ... If it is for party member healing you could use [target=party1] (full list of unit id's here) Although, you can certainly target by name.

Offline
Reply With Quote
Old 10/09/08, 6:39 PM   #454
hozzer
Von Kaiser
 
Gnome Death Knight
 
Gilneas
I can't help but notice that you've got a lot of mouseover options in a macro that looks like it is meant to be clicked. I don't understand how this would work, if it does.

Offline
Reply With Quote
Old 10/10/08, 9:34 AM   #455
sarf
Great Tiger
 
sarf's Avatar
 
Fars
Human Paladin
 
No WoW Account (EU)
From what I can see, there is no restriction on macro length when you build your own buttons. For obvious reasons, that requires you to make an addon - I have attached an example to help out with this.

There should be addons that do this for you in a better way, mine is a pretty brute-force proposition with no per-character macros (that can be easily added, though).

Maximum length of a macro in this fashion seems to be in the neighborhood of 3700 (I think) characters. Limit yourself to 3000 and use the branching macro trick described in the WoW Wiki if you need more.

To add your own macros, edit the YourCustomMacros.lua file - I have commented out two test macros.

Hope this helps.

EDIT:
Updated to less buggy 1.1 version.
Attached Files
File Type: zip SarfMacros-1.1.zip (2.5 KB, 40 views)

Last edited by sarf : 10/10/08 at 5:25 PM.

Originally Posted by Wraithlin View Post
Do your hospitals have unusually narrow doorways?
If not how do "lifestyle choices" explain the waiting time statistics?

Offline
Reply With Quote
Old 10/10/08, 9:56 AM   #456
 Carpone
Inconceivable.
 
Carpone's Avatar
 
Korshay
Tauren Druid
 
No WoW Account
Switching between a resto and balance build, I'd like to have a single keybinding that activates the appropriate talented form. Is there a way to determine within a macro if a given skill/spell is known? Alternately, is there a way to activate a form based on the stance number? Both Tree of Life and Moonkin Form are stance:5.

Offline
Reply With Quote
Old 10/10/08, 1:17 PM   #457
sarf
Great Tiger
 
sarf's Avatar
 
Fars
Human Paladin
 
No WoW Account (EU)
Originally Posted by Carpone View Post
Switching between a resto and balance build, I'd like to have a single keybinding that activates the appropriate talented form. Is there a way to determine within a macro if a given skill/spell is known? Alternately, is there a way to activate a form based on the stance number? Both Tree of Life and Moonkin Form are stance:5.
For the first question - probably not. You should get an addon similar to I Have Macro Lol that changes the macro contents when you re-talent (not hard to code, but probably not out there).

The answer is yes to your second question, if I understand it correctly. stance:5 can be used as a conditional in a macro, and hence can be used to do a specific action/spell in a specific form/stance.

EDIT:
Attached a lua file with a very rough version that should nonetheless work. It is based on you not getting beyond tier 7 in more than one tree. Check it out if you want a base for a real addon.
Attached Files
File Type: lua SwapMacroOnTalent.lua (1.8 KB, 53 views)

Last edited by sarf : 10/10/08 at 1:44 PM.

Originally Posted by Wraithlin View Post
Do your hospitals have unusually narrow doorways?
If not how do "lifestyle choices" explain the waiting time statistics?

Offline
Reply With Quote
Old 10/10/08, 5:32 PM   #458
Maeltne
Piston Honda
 
Tauren Druid
 
Suramar
Well my first night as resto on M'uru turned into a bomb. My macros failed me and I couldn't get into a rhythm with clique. But I don't think I did terrible for my first night ever as resto (dyed in the wool, pre 1.8 feral signing in).

But all is not lost, I think I have the solution! But to do it I need for [] options to work in /castsequence. Is this the case?

Task: Keep full hots up on 2 targets

Solution:
Focus one, and target the other. Spam the following macro

/castsequence reset=3 lifebloom, [target=focus] lifebloom, rejuvenation, [target=focus] rejuvenation, lifebloom, [target=focus] lifebloom, regrowth, lifebloom, [target=focus] lifebloom, [target=focus] regrowth

No it isn't ... /sigh.

*goes off to think*

Hmmm maybe the following?

On button 1 action bar X

/castsequence [target=name1] reset=3 lifebloom, rejuvenation, lifebloom, regrowth, lifebloom
/changeactionbar Y

On button 1 action bar Y

/castsequence [target=name2] reset=3 lifebloom, rejuvenation, lifebloom, regrowth, lifebloom
/changeactionbar X

The problem come in on the very last sequence. It should go:
name1 regrowth, name1 lifebloom, name2 lifebloom, name2 regrowth

but instead it goes
name1 regorwth, name2 lifebloom, name1 lifebloom, name2 regrowth

This little swap takes this little sequence from requireing 0% haste to ~8.3% haste :/.

Last edited by Maeltne : 10/10/08 at 8:10 PM.

Offline
Reply With Quote
Old 10/11/08, 5:07 AM   #459
chase
Piston Honda
 
Dwarf Priest
 
Malygos
Originally Posted by hozzer View Post
I can't help but notice that you've got a lot of mouseover options in a macro that looks like it is meant to be clicked. I don't understand how this would work, if it does.
The modifier works with keybinds as well. If you have 'B' bound to a macro, and the macro has a shift modifier doing shift+'B' will trigger the modifier in the macro. (assuming you do not have shift+b bound to another action button)

Offline
Reply With Quote
Old 10/12/08, 11:20 AM   #460
 Carpone
Inconceivable.
 
Carpone's Avatar
 
Korshay
Tauren Druid
 
No WoW Account
Originally Posted by sarf View Post
The answer is yes to your second question, if I understand it correctly. stance:5 can be used as a conditional in a macro, and hence can be used to do a specific action/spell in a specific form/stance..
I'm aware of [stance], but was hoping there was some syntax that allowed it to be used as a shortcut form to cast a form (ie, "/cast stance:5" instead of "/cast Moonkin Form").

Offline
Reply With Quote
Old 10/12/08, 1:44 PM   #461
Sooru
Glass Joe
 
Night Elf Druid
 
<TMP>
Runetotem (EU)
Originally Posted by Carpone
Switching between a resto and balance build, I'd like to have a single keybinding that activates the appropriate talented form.
If I understood correctly what you are after, the following should work. Makes you moonkin when you're specced balance and tree when specced resto. I'm in the same situation too, regularly switching between resto and balance and have my talented form bound to one key. I have the ! in front of the form names so I can hit it again to clear roots and snares without breaking the form.

/cast !Tree of Life
/cast !Moonkin Form

Offline
Reply With Quote
Old 10/12/08, 3:34 PM   #462
Rilias
Von Kaiser
 
Night Elf Rogue
 
Arthas (EU)
You could try
/click ShapeshiftButton5
works for me with stealth (and using 1 not 5 of course) but even if it works it smells of workaround.

Offline
Reply With Quote
Old 10/14/08, 9:05 PM   #463
Sakue
Glass Joe
 
Gnome Mage
 
Echo Isles
Hey there

I'm looking for a macro that will spam frostbolt (when i press it) but when Brain Freeze procs it will shoot a fireball, then return to frostbolts?

Is it possible?

Thanks alot!

Sakue

Offline
Reply With Quote
Old 10/14/08, 11:44 PM   #464
Nethris
Piston Honda
 
Night Elf Druid
 
Scilla
Originally Posted by Sakue View Post
Hey there

I'm looking for a macro that will spam frostbolt (when i press it) but when Brain Freeze procs it will shoot a fireball, then return to frostbolts?

Is it possible?

Thanks alot!

Sakue
Nope, can't check your buffs when deciding what spell to cast in a macro - you're going to have to react and do this yourself. Even if macros could do this, it would probably show up right after you start your next cast, too late for your client to cast a different spell, as you're already in a GCD.

Offline
Reply With Quote
Old 10/15/08, 9:36 AM   #465
Pharmacon
Von Kaiser
 
Undead Rogue
 
Scilla
Before the patch I had two macros that where /userandom and a list of either all my ground mounts or all my flying mounts. With the change to the mounts, not only did that stop working but I couldn't get a /cast Mount to work, /use Mount to work (even tried /mount Mount). Did this macro die on me? Because I enjoy the random Mount.

Offline
Reply With Quote
Old 10/15/08, 10:07 AM   #466
Zapf
Von Kaiser
 
Troll Priest
 
Cho'gall
Originally Posted by Pharmacon View Post
Before the patch I had two macros that where /userandom and a list of either all my ground mounts or all my flying mounts. With the change to the mounts, not only did that stop working but I couldn't get a /cast Mount to work, /use Mount to work (even tried /mount Mount). Did this macro die on me? Because I enjoy the random Mount.
There is an addon that will add a new command for you, /mount and /mountrandom (as well as versions for vanity pets) - I assume it was wrote due to this change.

Blazing Saddles : WoWInterface Downloads : Miscellaneous

Offline
Reply With Quote
Old 10/15/08, 11:39 AM   #467
Khassandra
Piston Honda
 
Khassandra's Avatar
 
Blood Elf Death Knight
 
Nazgrel
Originally Posted by Pharmacon View Post
Before the patch I had two macros that where /userandom and a list of either all my ground mounts or all my flying mounts. With the change to the mounts, not only did that stop working but I couldn't get a /cast Mount to work, /use Mount to work (even tried /mount Mount). Did this macro die on me? Because I enjoy the random Mount.
Userandom still works. You might have to redo it though if you are using the same old macro because the names of the mounts have changed slightly in some cases. As have some of the names of the non-combat pets if you used a macro for those as well.

"I've always wondered what it'd be like to have a prehensile penis, but you don't see me shitting up this thread with my idea." - Kaubel

Offline
Reply With Quote
Old 10/15/08, 1:10 PM   #468
Blöd
Glass Joe
 
Blöd's Avatar
 
Dwarf Paladin
 
Illidan (EU)
Originally Posted by dill View Post
You can use that macro with a littlie exception, that you can't use paladin summon spell for it to work due to GCD.
/cast [nocombat, nomounted] !Crusader Aura; [mounted] !Concentration Aura;
/cast [flyable, nocombat, nomounted] Swift Purple Windrider; [nocombat, nomounted] Blue Hawkstrider;
/dismount
This macro doesn't seem to work anymore with the 3.0 patch : it switches to Crusader Aura but doesn't cast your mount.
The dismount part with concentration aura works yet.

Offline
Reply With Quote
Old 10/15/08, 1:22 PM   #469
levk
King Hippo
 
levk's Avatar
 
Byashi
Gnome Warrior
 
No WoW Account
I've specced for heroic fury and now I'm racking my brain on how to incorporate it in my epic charge/intercept/intervene macro. Right now the macro is very natural - if target is in my group intervene or defensive stance, if out of combat charge or battle stance, else intercept or zerker stance. Just recreating it sort of looks like this:
/cast [group,stance:1] Intervene; [group] Defensive Stance; 
[harm,nocombat,stance:0] Charge; [harm,nocombat] Battle Stance; 
[harm,stance:2] Intercept; [harm] Berserker Stance
What I'm hoping to do is cast heroic fury if and only if I had just intercepted. Stances and charge/intercept/intervene are off GCD and heroic fury is on, so it's at least theoretically possible to put them on the same button press even, but the more I think about it the more I come to conclusion that I'll have to have a separate button for it. I thought about just adding /cast [intercept conditions] heroic fury after the original macro but that would burn it every time I use the macro to just go to zerker stance - that is I'm in combat but in deadzone so can't intercept - this happens every time I charge. What I'd really like to do is at the point of my macro where I actually intercept which is ...; [harm,stance:2] Intercept;... splice in a /castsequence [reset=30] Intercept, Heroic Fury - but I don't know if that's possible. It would make it two button presses, I don't mind that as long as it will burn heroic fury if and only if intercept was successful.

EDIT:

Originally Posted by Blöd View Post
This macro doesn't seem to work anymore with the 3.0 patch : it switches to Crusader Aura but doesn't cast your mount.
The dismount part with concentration aura works yet.
The mount + crusader aura macros won't work anymore because all mounts are on GCD. Best you can do is cast sequence and then press the same button again for crusader aura after the mount gcd has finished.

EDIT2:

So after googling for stuff I'm now thinking whether something like this will work:

/castsequence [combat,harm,stance:2] reset=30 Intercept, Heroic Fury
/stopmacro [combat,harm,stance:2]
<rest of my macro minus the intercept part>

Last edited by levk : 10/15/08 at 3:10 PM.

Offline
Reply With Quote
Old 10/15/08, 4:07 PM   #470
kilo
Glass Joe
 
Undead Priest
 
Kilrogg
Originally Posted by Blöd View Post
This macro doesn't seem to work anymore with the 3.0 patch : it switches to Crusader Aura but doesn't cast your mount.
The dismount part with concentration aura works yet.
Some of the mounts don't work properly if you've just learned the mount for the first time. A simple logout/login fixes it, then you should be able to do things like
/use Red Hawkstrider
/cast Summon Charger

Offline
Reply With Quote
Old 10/16/08, 8:39 AM   #471
Blöd
Glass Joe
 
Blöd's Avatar
 
Dwarf Paladin
 
Illidan (EU)
Ok this macro works well for me, thanks :

/cast [mounted] !Concentration Aura;
/castsequence reset=5 [nocombat, nomounted, noflyable] !Crusader Aura, Amani War Bear;
/castsequence reset=5 [nocombat, nomounted, flyable] !Crusader Aura, Red Riding Nether Ray;
/dismount [mounted]

Soon auras will be off of GCD, /cheer !

Offline
Reply With Quote
Old 10/17/08, 4:11 PM   #472
Stygxenev
Glass Joe
 
Draenei Mage
 
Medivh
Patch 3.02 Focus Polymorph Macro

I had been using the following focus target polymorph macro for raiding in BC. This macro was great because it allowed me to mark a focus target and polymorph it and then move on to the kill target. When my polymorph on my focus target is about to break, I can simply recast my macro and the focus target is polymorphed again, while I still have my kill target in my sights for dpsing. Part of getting this polymorph macro to work required the mod FocusFrames, but since patch 3.02 has added Blizzard's new focus frame mechanic, the old macro no longer works. I am not a macro master, so if any mage out there has figured out how to modify this macro so that it works with the current patch, I would be eternally grateful for that knowledge being shared. Here is the old macro that is apparantly broken with the new patch:

#showtooltip
/clearfocus [target=focus,dead]
/focus [target=focus,noexists]
/script SetRaidTarget("focus", 1)
/cast [target=focus]Polymorph
/stopmacro [nogroup]

Offline
Reply With Quote
Old 11/12/08, 8:38 PM   #473
Wormer
Glass Joe
 
Orc Shaman
 
Illidan
I'm a holy paladin and I've just starting using this tool tip macro

#showtooltip
/cast[mod,target=player][target=mouseover,help,nodead][help,nodead][nogroup,target=player][target=targettaget,help,nodead]Flash of Light

I want to add a command to this macro so when my courser is over nothing tt heals Me (selfcast) any suggestions? be easy this is my first post and I'm not a macro expert.

Offline
Reply With Quote
Old 11/13/08, 12:24 AM   #474
Glodd
Glass Joe
 
Glodd's Avatar
 
Dwarf Hunter
 
Drenden
Originally Posted by Wormer View Post
I'm a holy paladin and I've just starting using this tool tip macro

#showtooltip
/cast[mod,target=player][target=mouseover,help,nodead][help,nodead][nogroup,target=player][target=targettaget,help,nodead]Flash of Light

I want to add a command to this macro so when my courser is over nothing tt heals Me (selfcast) any suggestions? be easy this is my first post and I'm not a macro expert.

You can just add [target=player] as the last conditional.

If the macro you posted does everything you want but heal you, then I think the following would do for you:

#showtooltip
/cast[mod,target=player][target=mouseover,help,nodead][help,nodead][nogroup,target=player][target=targettaget,help,nodead][target=player] Flash of Light

Offline
Reply With Quote
Old 11/17/08, 9:43 AM   #475
Okimi
Glass Joe
 
Blood Elf Priest
 
Shadowsong (EU)
Sooo, turns out you could technically fly in Dalaran, you just can't because it's a no fly zone.

That means that my otherwise very useful macro doesn't work there:

#showtooltip [flyable]Cenarion War Hippogryph; Armored Brown Bear
/cast [flyable]Cenarion War Hippogryph; Armored Brown Bear
It wants to pick the Hippogryph since it's outdoors in Northrend, but I get a "You can't use that here" error because the Dalaran government doesn't want us to fly. Is there any way around this?

Offline
Reply With Quote
Reply

Go Back   Elitist Jerks » Public Discussion

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Warlock] 5 v 5 Macro help Cronjob Player vs. Player 13 09/08/07 7:38 AM
Need help with a macro. Iol User Interface and AddOns 5 08/10/07 4:36 PM
Macro Fun KGBAgent185 Public Discussion 16 11/05/05 2:24 PM