World of Warcraft

80
View All Posts by This User Toggle Ignore / Unignore This User
  • 0. Problem with /stopattack   01/28/2008 12:18:12 PM PST
quote reply
I am trying to create a macro for pulling, that will stop my autoattack from firing if I click the macro with my mouse, but if I use the hotkey will fire the shot normally. I thought the following would do this:

/cast Arcane Shot
/stopattack [button]

However, regardless of whether I include [button], that macro does not stop my auto attack. The only way I could get it to work was as follows:

/cast Arcane Shot
/stopcasting
/stopattack

Any parameters after /stopcasting and /stopattack seem to get ignored. Even adding a /stopmacro [nobutton] line after the cast does not allow Auto Shot to work. Any advice?

Again, some of what I tried and the results:

/cast Arcane Shot
/stopattack
> Fires Arcane, then Auto Shot runs normally

/cast Arcane Shot
/stopcasting
> Fires Arcane, then Auto Shot runs normally

/cast Arcane Shot
/stopcasting
/stopattack
> Fires Arcane, and prevents Auto Shot regardless of buttons and modifiers

/cast Arcane Shot
/stopcasting [button]
/stopattack [button]
> Fires Arcane, and prevents Auto Shot regardless of buttons and modifiers

/cast Arcane Shot
/stopmacro [nobutton]
/stopcasting
/stopattack
> Fires Arcane, and prevents Auto Shot regardless of buttons and modifiers

Please note, in the above examples, I also tried specifying a button, with no effect. I am very confused, but there have been so many macro changes lately I could easily be missing something.

I do not advocate violence. I am merely pointing out that it works, and should be used whenever possible.
Especially in PUGs.
80
View All Posts by This User Toggle Ignore / Unignore This User
  • 1. Re: Problem with /stopattack   01/28/2008 01:42:43 PM PST
quote reply
The reason it doesn't work is because the activation of your autoattack is triggered by the server after the macro finishes running. Here's the process:

1. Macro runs on client. All commands run at once (effectively). Since you are not currently attacking anything, /stopattack does nothing.
2. Server receives command to cast Arcane Shot. It turns on your autoattack.
3. Client recieves events indicating that Arcane Shot was cast and your autoattack is now turned on.

It is impossible to have the same macro both cast a shot and prevent your autoattack from occurring.

Each of us, in his own way, must learn to deal with adversity in a mature and adult fashion.

Achoo! (looks at hands) AAAAAUUUUGGGGHHH (jumps out window)
80
View All Posts by This User Toggle Ignore / Unignore This User
  • 2. Re: Problem with /stopattack   01/28/2008 02:17:23 PM PST
quote reply

Q u o t e:
The reason it doesn't work is because the activation of your autoattack is triggered by the server after the macro finishes running. Here's the process:

1. Macro runs on client. All commands run at once (effectively). Since you are not currently attacking anything, /stopattack does nothing.
2. Server receives command to cast Arcane Shot. It turns on your autoattack.
3. Client recieves events indicating that Arcane Shot was cast and your autoattack is now turned on.

It is impossible to have the same macro both cast a shot and prevent your autoattack from occurring.


But then wouldn't:

/cast Arcane Shot
/stopcasting [button]
/stopattack [button]

Fail to prevent Autoattack? If I use both /stopcasting and /stopattack, Auto Shot is not activated. However, any parameter I specify is ignored, so if I use a modifier, /stopcasting and /stopattack for some reason are still able to turn off my Auto Shot.

I do not advocate violence. I am merely pointing out that it works, and should be used whenever possible.
Especially in PUGs.
70
View All Posts by This User Toggle Ignore / Unignore This User
  • Azgalor
  • 3. Re: Problem with /stopattack   07/07/2008 09:19:58 PM PDT
quote reply
Here's my macro:

#showtooltip Serpent Sting(Rank 10)
/cast [target=focus,exists,modifier:shift] Serpent Sting(Rank 10); Serpent Sting(Rank 10)
/stopattack [modifier:shift]
/stopcasting [modifier:shift]

Basically this means if I click it it casts Serpent Sting on my current target. If I hold shift however it casts Serpent Sting on my current focus target then immediately stops my auto attack. I made this macro so that I can easily put a sting on a focus target without necessarily having to autoattack my current target.
Forum Nav : Jump To This Forum
Blizzard Entertainment