Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » Public Discussion

Reply
 
LinkBack Thread Tools
Old 06/26/09, 5:42 PM   #651
DubberRucky
Glass Joe
 
DubberRucky's Avatar
 
Orc Shaman
 
Stormreaver
Originally Posted by levk View Post
None of this has been possible since 2.0

You cannot branch on which abilities to cast on presence or absence of a buff or debuff, your available power (be it energy mana or rage), or combo points. You could with a macro put things in chat or write an addon that will follow some logic based on those things (buffs, energy, CPs) to pop an icon or something on your screen to indicate which button you need to press but it cannot be used to actually press that button. The 'pressing of the button' - in this case casting the ability - is privileged API not open for us.
Ok, so it can't actually choose the correct skill and cast it, but I can make an Add-On (called by a macro at the end of each of these abilities) that plays after each skill/ability I use that would display (via icon) the next suggested ability to use?

And, is there already one like this that exists?

Last edited by DubberRucky : 06/26/09 at 5:49 PM.

Offline
Reply With Quote
Old 06/26/09, 6:16 PM   #652
levk
King Hippo
 
levk's Avatar
 
Byashi
Gnome Warrior
 
No WoW Account
You should search, I think there's something like that for ret paladin (never used anything like that, but I remember reading about something making it sound like there is).

Offline
Reply With Quote
Old 06/26/09, 7:01 PM   #653
Beliandra
Don Flamenco
 
Dwarf Priest
 
Daggerspine
Originally Posted by DubberRucky View Post
Ok, so it can't actually choose the correct skill and cast it, but I can make an Add-On (called by a macro at the end of each of these abilities) that plays after each skill/ability I use that would display (via icon) the next suggested ability to use?

And, is there already one like this that exists?
Face Melter - Addons - Curse is a Shadow Priest one.

I recall someone in these forums talking about a generic one, where for any class you could set up simple conditional scripts to do the same sort of thing. But I can't recall the name.

Offline
Reply With Quote
Old 06/26/09, 7:08 PM   #654
DubberRucky
Glass Joe
 
DubberRucky's Avatar
 
Orc Shaman
 
Stormreaver
Originally Posted by Beliandra View Post
Face Melter - Addons - Curse is a Shadow Priest one.

I recall someone in these forums talking about a generic one, where for any class you could set up simple conditional scripts to do the same sort of thing. But I can't recall the name.
After finding out that what I was looking for couldn't be done (which is why I couldn't find it) I was able to locate something called "Watcher" that works for Paladins, Warriors and Hunters. I posted a message on the comments page of it asking if the author would be interested in doing something a little more complex with enhancement shaman and combat rogues. I appreciate all the help, hopefully he'll be ok with me writing out the logic long hand, and he can do the LUA coding... since I don't know the language, yet

Thanks for all the suggestions, and if anyone else knows of one that already exists, please let me know.

Offline
Reply With Quote
Old 06/29/09, 6:31 AM   #655
sarf
Great Tiger
 
sarf's Avatar
 
Fars
Human Paladin
 
No WoW Account (EU)
Some addons that help with doing what when:
PriorityQueue - dunno if it was finished.

EventHorizon - albeit it doesn't show *what* to do, it shows what will end when.

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 06/29/09, 7:01 PM   #656
Aural
Piston Honda
 
Aural's Avatar
 
Undead Priest
 
Mal'Ganis
I've been trying to figure out a decent macro for use on Iron Council Hardmode, since as a shadowpriest I'm responsible for dispelling fusion punch.

Initially, I just have the Steelbreaker tank as my focus target and use a simple /cast [target=focus] Dispel Magic, and then in phase 3 I want to use a target of target macro so I can DPS Steelbreaker and dispel whoever he's hitting at the time.

Ideally, I'd like to have a single macro as opposed to splitting it up, but I worry that if I'm using a conditional focus,nodead and my original focus gets Battle Ressed to tank again, my macro would be uselessly attempting to dispel the original tank as opposed to the current tank.

I searched through the thread and didn't find anything similar enough to adapt to my needs, so if I could get some assistance, I'd appreciate it greatly.

Offline
Reply With Quote
Old 06/30/09, 2:08 AM   #657
ildon
Collateral Damage
 
ildon's Avatar
 
Undead Priest
 
Whisperwind
Originally Posted by Aural View Post
I've been trying to figure out a decent macro for use on Iron Council Hardmode, since as a shadowpriest I'm responsible for dispelling fusion punch.

Initially, I just have the Steelbreaker tank as my focus target and use a simple /cast [target=focus] Dispel Magic, and then in phase 3 I want to use a target of target macro so I can DPS Steelbreaker and dispel whoever he's hitting at the time.

Ideally, I'd like to have a single macro as opposed to splitting it up, but I worry that if I'm using a conditional focus,nodead and my original focus gets Battle Ressed to tank again, my macro would be uselessly attempting to dispel the original tank as opposed to the current tank.

I searched through the thread and didn't find anything similar enough to adapt to my needs, so if I could get some assistance, I'd appreciate it greatly.
Try setting Steelbreaker as your focus and using /cast [target=focustarget] Dispel Magic

I have not tried this myself.

e: "dispel magic" not "dispel"

Last edited by ildon : 06/30/09 at 11:56 PM.

Offline
Reply With Quote
Old 06/30/09, 4:30 AM   #658
sarf
Great Tiger
 
sarf's Avatar
 
Fars
Human Paladin
 
No WoW Account (EU)
Originally Posted by ildon View Post
Try setting Steelbreaker as your focus and using /cast [target=focustarget] Dispel

I have not tried this myself.
Other alternative:

/cast [target=focus,exists,help,nodead][target=targettarget,help,exists,nodead] Dispel Magic

Once the other two are down, use /clearfocus or w/e to get rid of the focus. This should work but is drycoded.

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 06/30/09, 1:23 PM   #659
Kaliin
Glass Joe
 
Draenei Hunter
 
Dalvengyr
Modifier + 2 spells?

Since switching to Marksman, I written most of my shots into 3 macros and bound them to my mouse buttons for use with modifiers (for example, shift-Mouse 4 is Kill Shot, alt-Mouse 4 is Serpent Sting, unmodified Mouse 4 is Steady Shot, etc). I'd like to be able to insert /stopcasting or /cast Silencing Shot before certain shots, however, I have been unable to find a valid way of doing this while still using modifiers. Is this even possible?

Offline
Reply With Quote
Old 06/30/09, 1:37 PM   #660
shivand007
Von Kaiser
 
shivand007's Avatar
 
Orc Death Knight
 
Firetree
Blizzard has obviously done something to make this not work anymore because I used to have several macros that worked off this principal but it quit working somewhere around the launching of lich king and I cant get any of them to work anymore.

Basicly it was a macro that would look like:

/cast cure poison (whatever spell name is)
/stopcasting
/cast cure disease

I used this format for multiple spells and objects and it worked off the idea that if the first line couldn't be completed for some reason, such as there was no poison on the target or the spell/item was on cd it would go to the next line.

Since that obviously doesn't work anymore, how can I accomplish that with both spells and items, such as trinkets etc.? It doesn't need to be one macro doing a mixture of spells and items, one macro for spells and one for trinkets is fine but I have crap all over the place and I need to get it all back to how it was before if at all possible. Thnx for your help.

Offline
Reply With Quote
Old 06/30/09, 2:12 PM   #661
levk
King Hippo
 
levk's Avatar
 
Byashi
Gnome Warrior
 
No WoW Account
That particular macro didn't work since 2.0; cleanse an things like it start a gcd when you attempt and then cancel when there's nothing to cleanse. That was required to assure death of decursive. Since both of those are on gcd it won't work. You can pack as much stuff as you want into a single macro activation as long as they don't share a cooldown (gcd counts) which is why you can still trinket + spell in a single click since trinkets are off gcd. You can use other spells that do not share a cooldown as well, so you can AP + PoM + trinket + sheep in a single click.

Offline
Reply With Quote
Old 06/30/09, 2:13 PM   #662
MatsT
Don Flamenco
 
Night Elf Druid
 
Frostmane (EU)
Originally Posted by Kaliin View Post
Since switching to Marksman, I written most of my shots into 3 macros and bound them to my mouse buttons for use with modifiers (for example, shift-Mouse 4 is Kill Shot, alt-Mouse 4 is Serpent Sting, unmodified Mouse 4 is Steady Shot, etc). I'd like to be able to insert /stopcasting or /cast Silencing Shot before certain shots, however, I have been unable to find a valid way of doing this while still using modifiers. Is this even possible?
Easiest way to do it should be:
/stopcasting [modifier:alt]

Offline
Reply With Quote
Old 06/30/09, 2:36 PM   #663
Kaliin
Glass Joe
 
Draenei Hunter
 
Dalvengyr
Originally Posted by MatsT View Post
Easiest way to do it should be:
/stopcasting [modifier:alt]
I'm not quite sure if I understand your suggestion. My current macro looks something like this:

#showtooltip
/cast [nomodifier: shift, nomodifier: alt] Steady Shot; [nomodifier: alt] Kill Shot
/cast [modifier: alt] Serpent Sting

Rewriting it to look like this doesn't work:

#showtooltip
/cast [nomodifier: shift, nomodifier: alt] Steady Shot
/stopcasting [modifier: shift]
/cast [modifier: shift] Kill Shot
/cast [modifier: alt] Serpent Sting

because it either stops casting, OR casts Kill Shot, if KS is available. Ideally when I hit shift-M4, I'd like to stop whatever I'm casting, then cast Kill Shot, but keep the other modified spells the same.

In a similar vein, I'd like to be able to stick a non-GCD spell in front of some or all of the shots that use modifiers and have it cast first.

I apologize for not using better examples in my first post

Last edited by Kaliin : 06/30/09 at 5:49 PM.

Offline
Reply With Quote
Old 06/30/09, 9:21 PM   #664
MatsT
Don Flamenco
 
Night Elf Druid
 
Frostmane (EU)
I don't see why that example wouldn't work. If you hold shift it should stop whatever you're casting and use Kill Shot.

Offline
Reply With Quote
Old 07/01/09, 8:22 AM   #665
sarf
Great Tiger
 
sarf's Avatar
 
Fars
Human Paladin
 
No WoW Account (EU)
Originally Posted by Kaliin View Post
I'm not quite sure if I understand your suggestion. My current macro looks something like this:

#showtooltip
/cast [nomodifier: shift, nomodifier: alt] Steady Shot; [nomodifier: alt] Kill Shot
/cast [modifier: alt] Serpent Sting

Rewriting it to look like this doesn't work:

#showtooltip
/cast [nomodifier: shift, nomodifier: alt] Steady Shot
/stopcasting [modifier: shift]
/cast [modifier: shift] Kill Shot
/cast [modifier: alt] Serpent Sting

because it either stops casting, OR casts Kill Shot, if KS is available. Ideally when I hit shift-M4, I'd like to stop whatever I'm casting, then cast Kill Shot, but keep the other modified spells the same.

In a similar vein, I'd like to be able to stick a non-GCD spell in front of some or all of the shots that use modifiers and have it cast first.

I apologize for not using better examples in my first post
In order to add a non-GCD inducing spell, just stick it into the macro, on its own line just below #showtooltip.
Secondly, there is no reason that macro should not work. Note that stopcasting does not magically make Kill Shot castable - if you're on a GCD, it will stop the cast and attempt to cast Kill Shot.
However, in order to prevent problems with Steady Shot messing things up, you should rewrite it like this:
#showtooltip
/stopcasting [modifier: shift]
/cast [nomodifier:shift, nomodifier:alt] Steady Shot; [modifier: shift] Kill Shot; [modifier: alt] Serpent Sting
This will eliminate any possibility of the Steady Shot cast line interfering with your Kill Shot. However, if you expect to spam spells and then hold shift and magically have Kill Shot go off whenever you please, you will be sorely disappointed - as said it is still subject to GCD. I am unsure how Steady Shot interacts with the GCD, but as far as I know it still applies a regular GCD to all other spells.

EDIT:
To put it bluntly, from what I have read stopcasting is only necessary and desirable when the cast time of the spell you cast exceeds your GCD by at least your latency. In all other cases, you should leave out /stopcasting, because it is likely to do more harm than good.

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 07/01/09, 9:44 AM   #666
Kaliin
Glass Joe
 
Draenei Hunter
 
Dalvengyr
Thank you both for your help. At the time I wrote the last post my server was down and I was only able to test on the PTR. Since trying on live realms, both suggested changes work perfectly. I suspect whatever problems I was having with the PTR at the time,or a flaw in the way I wrote it was to blame, neither the macro nor the PTR itself.

And I have read something similar about the use of stopcasting, although I had forgotten it. My question arose from trying to work in Silencing Shot and progressed into other aspects like stopcasting, and Steady Shot/Kill Shot was the only example I was able to come up with off the top of my head where I would find stopcasting useful. I very much appreciate the reminder.

Last edited by Kaliin : 07/01/09 at 9:58 AM.

Offline
Reply With Quote
Old 07/01/09, 10:41 AM   #667
shivand007
Von Kaiser
 
shivand007's Avatar
 
Orc Death Knight
 
Firetree
Ok, well since that doesn't work anymore could you accomplish it with a cast sequence and just spam it until it casts something? If so is there a command to do that with items? Like /usesequence or some other string that accomplishes the same?

Offline
Reply With Quote
Old 07/01/09, 11:27 AM   #668
sarf
Great Tiger
 
sarf's Avatar
 
Fars
Human Paladin
 
No WoW Account (EU)
Originally Posted by shivand007 View Post
Ok, well since that doesn't work anymore could you accomplish it with a cast sequence and just spam it until it casts something? If so is there a command to do that with items? Like /usesequence or some other string that accomplishes the same?
Cast sequences do not proceed with the next item in the sequence if the current item can not be cast.

I think you can, indeed, use item names in place of spells. There's no real reason to do so, AFAIK, since you can use most items simultaneously.

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 07/01/09, 11:50 AM   #669
shivand007
Von Kaiser
 
shivand007's Avatar
 
Orc Death Knight
 
Firetree
Originally Posted by sarf View Post
Cast sequences do not proceed with the next item in the sequence if the current item can not be cast.

I think you can, indeed, use item names in place of spells. There's no real reason to do so, AFAIK, since you can use most items simultaneously.
I'm pretty sure they do because I use a cast sequence macro as my attack spam on my enhance shaman. They use a priority rotation of whatever spell isn't on cd between stormstrike, earth shock, and lava lash. So my macro is "/castsequence stormstrike, earth strike, lava lash" and it works beautifully so that part has to work since those spells have different cd times and they don't come up in any particular order.

The reason to use items is for trinkets that invoke a common cd. For example on use trinkets that give ap or sp for x amount of seconds.

Basicly I've answered my own question about spells but it's the item aspect that I'm still not sure about.

Offline
Reply With Quote
Old 07/01/09, 1:50 PM   #670
bastetswarrior
Glass Joe
 
Human Warlock
 
Terenas
PriorityQueue

In answer to the question (sarf) about PriorityQueue activity, it's still alpha since we are missing some specs and clases. It's fairly stable though. We could use help and feedback. We put up a rogue module a few days ago in our last version.

WoW AddOns - PriorityQueue - WowAce.com for the project link.

Offline
Reply With Quote
Old 07/01/09, 2:28 PM   #671
MatsT
Don Flamenco
 
Night Elf Druid
 
Frostmane (EU)
Canceling a spellcast will also cancel the GCD, so it could be useful even if the cast time is not longer than the GCD. This will not allow you to do /stopcasting /cast spell with one click though, since at the time the possibility of the /cast is done you are still casting.

shivand007: That castsequence doesn't really work as you think it does, but it's probably good enough for most situations unless you are seriously trying to maximize your dps. For the debuff removal, you could use a /castrandom macro, though that means you might have to press it more than once to get the desired effect.

Offline
Reply With Quote
Old 07/01/09, 3:33 PM   #672
shivand007
Von Kaiser
 
shivand007's Avatar
 
Orc Death Knight
 
Firetree
I used the cast random macro before I started using the sequence one and I would sometimes have to hit it like 7 times To get the desired cast and that was a major dps loss. With the sequence macro I never have to hit it more than 3 times and that is rare. My question still remains though can I do that same thing with items/trinkets?

Offline
Reply With Quote
Old 07/02/09, 3:37 AM   #673
sarf
Great Tiger
 
sarf's Avatar
 
Fars
Human Paladin
 
No WoW Account (EU)
Originally Posted by bastetswarrior View Post
In answer to the question (sarf) about PriorityQueue activity, it's still alpha since we are missing some specs and clases. It's fairly stable though. We could use help and feedback. We put up a rogue module a few days ago in our last version.

WoW AddOns - PriorityQueue - WowAce.com for the project link.
Thanks for the info - I'll see if I can submit some specs / classes (or badger guildies into describing their spec rotation/queue)!

Originally Posted by shivand007 View Post
I used the cast random macro before I started using the sequence one and I would sometimes have to hit it like 7 times To get the desired cast and that was a major dps loss. With the sequence macro I never have to hit it more than 3 times and that is rare. My question still remains though can I do that same thing with items/trinkets?
The number of times is irrelevant, what you do is to bind it to, say mouse wheel up and spam it. Thus, even if you have to press it 7 times, you'll do that within half a second anyway. This also works for Retribution Paladins - Protection Paladins get more mileage out of their 969 macros or whatever they use these days.

If all you want is to activate whatever trinket / item is not on cooldown, do the following for trinkets:
/use 13
/use 14
For items:
/use <item name>
This WILL lead to a lot of error sound effects and messages *but* you can fix, preferably by using an error blocking addon and a sound-effect blocking part in the script. I leave it as an exercise for the reader to find said macro.

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 07/05/09, 11:28 AM   #674
TimWischmeier
Piston Honda
 
Blood Elf Paladin
 
Kult der Verdammten (EU)
I kindly ask for help with two macros I tried to write. I cannot get them to work properly. I will provide pseudo-code to express what I intend to do with them.

#showtooltip Holy Shock
/cast [mod:ctrl, target=harm] Holy Shock
/cast [mod:shift] Divine Favor
/cast [help] [target=targettarget, help] [target=mouseover, raid] Holy Shock

if ( ctrl and target can be harmed)
cast Holy Shock on target
if ( shift)
cast Divine Favor
if ( (target helpful) OR ( targetoftarget helpful) OR (mouseover in raid) )
cast Holy Shock (on first target to fulfill conditions)

This macro fails to cast Holy Shock on an enemy I target (the first line). I just keep shocking myself (clicking HS from the spellbook works).



/cast [mod:ctrl, harm] [mod:ctrl, target=targettarget, harm] [mod:ctrl, target=focus, harm] [mod:ctrl, target=focustarget, harm] [mod:ctrl] Judgement of Wisdom
/cast [help] [target=targettarget, help] [target=mouseover, raid] [] Sacred Shield

This macro should cast Judgement of Wisdom on the appropriate target when I press ctrl, or cast Sacred Shield on the appropriate target when not. But it just keeps casting Sacred Shield on myself when I have targetted an enemy. The icon does change in Judgement of Wisdom when pressing ctrl, however.


Did I understand the trick with the conditions wrong? I was under the assumption that if you have [cond1] [cond2] [cond3] spell, it would cast the spell basing on the target of the first condition evaluated to be true.

Offline
Reply With Quote
Old 07/05/09, 11:51 AM   #675
obbity
Von Kaiser
 
Tauren Warrior
 
Whisperwind
TimWischmeier: Out of curiosity, what's your self cast key? (Interface -> Combat -> Self Cast Key)

If it's Ctrl, that would explain why your macros keep targeting yourself.

United States 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