Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » Public Discussion

Reply
 
LinkBack Thread Tools
Old 12/07/06, 12:33 PM   #51
Evert
Piston Honda
 
Murloc Druid
 
Terenas
Originally Posted by Feorthas
Is there any way to do the following:

if($Skill.isNotOnCD && $Rage >= $Skill.cost)
     /cast $Skill
else
     /cast $AnotherSkill
I've looked around through much of the new UI stuff but cant seem to find conditionals for 'Do I have a certain amount of Rage/Mana/Energy?' or 'is this skill on CD?' :-/.

I'm specifically trying to combine my Maul & Mangle (Bear) buttons so that I will mangle if I have 15 Rage & it isn't on CD but I'll queue a maul otherwise.
You can not check for rage mana or enegry, nor health, buffs, or debuffs. not sure about cooldown, but I doube you could do that as well

\"Listen, I\'m trying to have a serious conversation about ferret bras and you are not listening\"

Offline
Reply With Quote
Old 12/07/06, 12:52 PM   #52
Feorthas
King Hippo
 
Blood Elf Death Knight
 
Blackrock
Originally Posted by Margot
Unless it is available through the new selectors [combat, focus, stance, etc], you cannot use any conditional logic. I think this is the new square minimap question.
Yeah, I was afraid of that; I just thought that it would make a fair amount of sense for there to be at least a "Is it on CD?" check, even if that could be abused in some way :-/.

I am not your personal Frost Deathknight knowledge base. If you have a simple question, ask in the simple questions thread; if you have a more esoteric, specific, or complicated question, ask in the spec-appropriate thread.

My PM, WoWmail, and, especially, chat boxes are NOT the appropriate places for these questions.

Offline
Reply With Quote
Old 12/07/06, 1:09 PM   #53
Feorthas
King Hippo
 
Blood Elf Death Knight
 
Blackrock
Originally Posted by Cireena
I had a fear break macro I have used since Maggie that no longer works, and with my lag I don't want to have to rely on button mashing is there any way to recreate the effect of the old macro?
Probably, but it might lag a little.

Assuming:
-Stance 0 is Battle
-Stance 1 is Defensive
-Stance 2 is Berserker

/cast [Stance:2] Berserker Rage; Berserker Stance
/cast Defensive Stance
It SHOULD do the following:
If(stance == Berserker)
     /cast Berserker Rage
else
     /cast Berserker Stance
/cast Defensive Stance
Which will cast Berserker rage if you're in the right stance, shift you TO Berserker stance if you're not (but not cast Berserker ), and will most likely kick you to Defensive Stance after a successful Berserker cast b/c the stance change will probably not be on CD.

An alternative to try, would be the following:
/cast [Stance:2] Berserker Rage, Defensive Stance; Berserker Stance
That should kick you into Berserker Stance if you're not (click 1) and hit Berserker Rage and swap you to Defensive Stance if you are (probably click 2). I'm not sure if you can chain casts with commas though, I haven't tried it yet (although you can chain conditionals like that so you ~probably~ can...).

I am not your personal Frost Deathknight knowledge base. If you have a simple question, ask in the simple questions thread; if you have a more esoteric, specific, or complicated question, ask in the spec-appropriate thread.

My PM, WoWmail, and, especially, chat boxes are NOT the appropriate places for these questions.

Offline
Reply With Quote
Old 12/07/06, 1:14 PM   #54
Axelrod
Von Kaiser
 
Troll Hunter
 
Mannoroth
I'm trying to figure out what's wrong with this one. Basically, I want to left or right click the button and it will cast either Freezing or Frost Trap.

/cast [button:1]Freezing Trap; [button:2]Frost Trap

However, nothing fires when I press either of the mouse buttons.

Offline
Reply With Quote
Old 12/07/06, 4:30 PM   #55
Nisu
Soviet Canuckistanian
 
Nisu's Avatar
 
Blood Elf Hunter
 
Mal'Ganis
Originally Posted by Axelrod
I'm trying to figure out what's wrong with this one. Basically, I want to left or right click the button and it will cast either Freezing or Frost Trap.

/cast [button:1]Freezing Trap; [button:2]Frost Trap

However, nothing fires when I press either of the mouse buttons.
Put a space between the ] and the start of the spell name.

Canada Offline
Reply With Quote
Old 12/07/06, 5:14 PM   #56
ninor
Piston Honda
 
ninor's Avatar
 
Tauren Druid
 
<nam>
Stormscale (EU)
Looking at the mage macros from the OP link, there's one I can't get to work.

/cancelaura Ice Block
/stopcasting
/castsequence reset=300 Ice Block, Cold Snap
It works fine until it's supposed to cast Cold Snap, that it just wont do.

Any ideas?


Offline
Reply With Quote
Old 12/07/06, 5:17 PM   #57
beesknees
Glass Joe
 
Night Elf Hunter
 
Kargath
Originally Posted by blindworld
Originally Posted by f1reburn
I took this macro from the Hunter macro thread link provided here, and changed this macro:

Cast Spells Based On Modifier Keys
/cast [nomodifier] Aspect of the Hawk
/cast [modifier:ctrl] Aspect of the Monkey
/cast [modifier:alt] Aspect of the Cheetah

to this macro, to suit my controls better:

/cast [modifier:shift] Aspect of the Cheetah
/cast [modifier:ctrl] Aspect of the Monkey
/cast [modifier:alt] Aspect of the Hawk

But neither seems to work for me.
I was messing around with the modifier controls, and they work, but only if you're clicking the macro with the mouse. If you have the macro bound to a keyboard hit, it seemed to always act as if there wasn't a modifier.
Check your key bindings. By default, ctrl-#, alt-#, etc are bound to "special action functions" or something like that. So when you hit ctrl-1 or whatever, it looks for whatever ctrl-1 is directly bound to rather than "cast action 1 with the ctrl-modifier for the script." If that makes any sense.

Slouken sort of explains this issue in the thread below:

http://forums.worldofwarcraft.com/th...eNo=2&sid=1#35

Offline
Reply With Quote
Old 12/07/06, 5:29 PM   #58
Chimp
Piston Honda
 
Human Warrior
 
Outland (EU)
I've heard it mentioned that you can bind keys to activate a macro/spell without needing to place the macro/spell on an Actionbar. Does anyone know how this is achieved?

Offline
Reply With Quote
Old 12/07/06, 5:37 PM   #59
Kalman
Super Macho Man
 
Kalman's Avatar
 
<>
Orc Shaman
 
No WoW Account
Originally Posted by Chimp
I've heard it mentioned that you can bind keys to activate a macro/spell without needing to place the macro/spell on an Actionbar. Does anyone know how this is achieved?
There are scripting commands to do it; if you don't like the word /script, look into a mod called BindPad.

Melador> Incidentally, these last few pages are why people hate lawyers.
Viator> I really don't want to go all Kalman here.
Bury> Just imagine what the world would be like if you used your powers for good.

Clearly law school has done wonders for me.

United States Offline
Reply With Quote
Old 12/07/06, 5:39 PM   #60
Liand
Von Kaiser
 
Dwarf Paladin
 
Perenolde
/script SetBindingSpell("B", "Cleanse");
/script SetBindingMacro("SHIFT-B", "Cleanse Macro");
/script SaveBindings(2);

The first argument is the key you want to bind to; second is the name of the spell/macro; SaveBindings so that WoW remembers your settings next time you log in (the argument specifies the scope, so 1 for all characters; 2 for the character you're on).

As Kalman mentioned, BindPad makes the whole thing easier to use, though.

Offline
Reply With Quote
Old 12/07/06, 6:49 PM   #61
• Chicken
Co-starring: The Egg
 
Chicken's Avatar
 
Ginakursia
Goblin Warlock
 
No WoW Account (EU)
Originally Posted by Feorthas
An alternative to try, would be the following:
/castsequence [Stance:3] Berserker Rage, Defensive Stance; Berserker Stance
That should kick you into Berserker Stance if you're not (click 1) and hit Berserker Rage and swap you to Defensive Stance if you are (probably click 2). I'm not sure if you can chain casts with commas though, I haven't tried it yet (although you can chain conditionals like that so you ~probably~ can...).
That would nearly work. I've made (and bolded) the fixes. Stances start counting as the first one as 1, not the 0 you'd expect from a coding point of view, and /castsequence allows you to make multiple sequences with the new conditions, with different sequences being seperated by ';' while spells within a sequence are seperated by ','.

And before anyone asks, that doesn't work to make a macro that goes through each member of your party and decurses, you can only define the conditionals at the start of a sequence.

buff /bÊŒf/ Pronunciation[buhf]
–verb (used with object)
- to reduce or deaden the force of

Netherlands Offline
Reply With Quote
Old 12/07/06, 7:14 PM   #62
 Oggie
Disharmonious
 
Oggie's Avatar
 
Dwarf Paladin
 
Lightbringer
Originally Posted by ninor
Looking at the mage macros from the OP link, there's one I can't get to work.

/cancelaura Ice Block
/stopcasting
/castsequence reset=300 Ice Block, Cold Snap
It works fine until it's supposed to cast Cold Snap, that it just wont do.

Any ideas?
I think that the reason it doesn't work because the /cancelaura bombs.

Since you can't Cold Snap as an icecube and there's a delay between activation of Ice Block and the ability to cancel aura (right?), if there was a 'dummy' cast you could do something like:

/castsequence reset=300 Ice Block, Find Herbs, Cold Snap, Find Herbs
/cancelaura Ice Block
/cancelaura Find Herbs
Just a thought

Originally Posted by bartolimu View Post
It makes me want to hit Marge Thatcher on the nose with a rolled up newspaper.

United States Offline
Reply With Quote
Old 12/07/06, 7:39 PM   #63
Axelrod
Von Kaiser
 
Troll Hunter
 
Mannoroth
Originally Posted by Nisu
Originally Posted by Axelrod
I'm trying to figure out what's wrong with this one. Basically, I want to left or right click the button and it will cast either Freezing or Frost Trap.

/cast [button:1]Freezing Trap; [button:2]Frost Trap

However, nothing fires when I press either of the mouse buttons.
Put a space between the ] and the start of the spell name.
No go still. :( Any other ideas?

Offline
Reply With Quote
Old 12/08/06, 3:32 PM   #64
Apate
POWER = MEAT + OPPORTUNITY = BATTLEWORMS
 
Apate's Avatar
 
ChickenArise
Night Elf Warlock
 
No WoW Account
Originally Posted by Apate
Originally Posted by heel
Official boards seem to be down . . . anyone know how to make a macro that attempts to cast a spell only if its cooldown is up?
For example,

/cast Inner Focus
/stopcasting
/cast Greater Heal(rank 5)

works fine, but gives an annoying error message any time Inner Focus is down.
That has been explicitly stated as being a decision that needs to be player-made, not macro-made. Since your macro still works, you might look into an error suppression mod.
<--snip-->
You might even be able to just
/script UIErrorsFrame:Hide()
/cast Inner Focus
/stopcasting
/script UIErrorsFrame:Show()
/cast Greater Heal(rank 5)
Originally Posted by Margot
But it won't cast greater heal Apate if inner focus is cooling down. That's half the functionality gone.
Can someone confirm this? I don't currently have any characters where it applies, but I'm seeing macros like this being listed in all kinds of places as 2.0 compatible.

See you, auntie.

United States Offline
Reply With Quote
Old 12/08/06, 3:47 PM   #65
Bury
ad astra per seriouscasua
 
Bury's Avatar
 
Blood Elf Priest
 
Mal'Ganis
Originally Posted by Apate
Originally Posted by Apate
Originally Posted by heel
Official boards seem to be down . . . anyone know how to make a macro that attempts to cast a spell only if its cooldown is up?
For example,

/cast Inner Focus
/stopcasting
/cast Greater Heal(rank 5)

works fine, but gives an annoying error message any time Inner Focus is down.
That has been explicitly stated as being a decision that needs to be player-made, not macro-made. Since your macro still works, you might look into an error suppression mod.
<--snip-->
You might even be able to just
/script UIErrorsFrame:Hide()
/cast Inner Focus
/stopcasting
/script UIErrorsFrame:Show()
/cast Greater Heal(rank 5)
Originally Posted by Margot
But it won't cast greater heal Apate if inner focus is cooling down. That's half the functionality gone.
Can someone confirm this? I don't currently have any characters where it applies, but I'm seeing macros like this being listed in all kinds of places as 2.0 compatible.
Odd.

I just copied and pasted this, the functionality worked perfectly--though the error messages would get annoying.

First cast: Inner Focus burnt, immediately cast GHeal5
Second cast: Spammed "Spell is not ready yet" to the center of my screen, but still cast GHeal 5
and so on.

I'm using this macro for prayer of healing from now on :D


United States Offline
Reply With Quote
Old 12/08/06, 3:58 PM   #66
Feorthas
King Hippo
 
Blood Elf Death Knight
 
Blackrock
Originally Posted by Chicken
That would nearly work. I've made (and bolded) the fixes. Stances start counting as the first one as 1, not the 0 you'd expect from a coding point of view...
Odd, I'd swear that 'Caster Form' is [Stance:0]; all of the macros that I have that check for it work in that manner... maybe that's because 0 is 'no stance' and warriors can't not be in a a stance? (yes, the double negative is intentional)

I am not your personal Frost Deathknight knowledge base. If you have a simple question, ask in the simple questions thread; if you have a more esoteric, specific, or complicated question, ask in the spec-appropriate thread.

My PM, WoWmail, and, especially, chat boxes are NOT the appropriate places for these questions.

Offline
Reply With Quote
Old 12/08/06, 4:13 PM   #67
Keltan
Die by the very weapons you adore!
 
Keltan's Avatar
 
Tarkis
Orc Hunter
 
No WoW Account
Macros used to have a "fall through" logic. That meant with something like

/cast Revenge
/cast Overpower
/cast Shield Bash
/cast Sunder

If Revenge wasn't up, it would simply "fall" and try Overpower, then try Shield Bash, etc. It didn't care if it worked or not, it would just keep trying the next one in the list until it got to the end.

In 2.0, they introduced "short circuit" logic. As soon as one of your lines fails, the macro quits.
So in the above example, if Revenge isn't up, it quits.
If Revenge is up but you can't Overpower, it quits.

You can't have those handly "master macros" that will attempt to Bloodthirst, Overpower, Whirlwind, Mortal Strike, Heroic Strike and have it simply fire off the first one that isn't cooled down anymore.

Offline
Reply With Quote
Old 12/08/06, 4:14 PM   #68
Apate
POWER = MEAT + OPPORTUNITY = BATTLEWORMS
 
Apate's Avatar
 
ChickenArise
Night Elf Warlock
 
No WoW Account
Originally Posted by Margot
Hm. So what's the difference with Inner Focus then?

/cast Revenge
/cast Sunder

Doesn't work anymore. The sunder isn't cast if the revenge isn't available. Is this behavior only for things that would trigger a GCD?

I was going by Blue posts and didn't bother to verify. :)

The first cast in a macro that fails will prevent further casts in the macro as if the 1.5 second global cooldown had been triggered.
It's because Inner Focus (Nature's Swiftness, Cold Blood, etc.) don't trigger the global cooldown, so there's nothing stopping the next spell.

/castsequence Inner Focus, Greater Heal

should fail if IF isn't up.

See you, auntie.

United States Offline
Reply With Quote
Old 12/08/06, 4:15 PM   #69
Bury
ad astra per seriouscasua
 
Bury's Avatar
 
Blood Elf Priest
 
Mal'Ganis
Originally Posted by Keltan
Macros used to have a "fall through" logic. That meant with something like

/cast Revenge
/cast Overpower
/cast Shield Bash
/cast Sunder

If Revenge wasn't up, it would simply "fall" and try Overpower, then try Shield Bash, etc. It didn't care if it worked or not, it would just keep trying the next one in the list until it got to the end.

In 2.0, they introduced "short circuit" logic. As soon as one of your lines fails, the macro quits.
So in the above example, if Revenge isn't up, it quits.
If Revenge is up but you can't Overpower, it quits.

You can't have those handly "master macros" that will attempt to Bloodthirst, Overpower, Whirlwind, Mortal Strike, Heroic Strike and have it simply fire off the first one that isn't cooled down.
Then why did I keep casting Greater Heal with this macro?

/script UIErrorsFrame:Hide()
/cast Inner Focus
/stopcasting
/script UIErrorsFrame:Show()
/cast Greater Heal(rank 5)


United States Offline
Reply With Quote
Old 12/08/06, 4:32 PM   #70
 Oggie
Disharmonious
 
Oggie's Avatar
 
Dwarf Paladin
 
Lightbringer
Are you in combat Bury?

I honestly don't get why that macro works at -all-, but I am curious if some of the bypass code only kicks in in combat

Originally Posted by bartolimu View Post
It makes me want to hit Marge Thatcher on the nose with a rolled up newspaper.

United States Offline
Reply With Quote
Old 12/08/06, 4:47 PM   #71
 Oggie
Disharmonious
 
Oggie's Avatar
 
Dwarf Paladin
 
Lightbringer
<double the taste, double the fun>

Originally Posted by bartolimu View Post
It makes me want to hit Marge Thatcher on the nose with a rolled up newspaper.

United States Offline
Reply With Quote
Old 12/08/06, 5:35 PM   #72
Tayanita
Glass Joe
 
Tayanita's Avatar
 
Human Warlock
 
Cenarion Circle
Originally Posted by Bury
Then why did I keep casting Greater Heal with this macro?

/script UIErrorsFrame:Hide()
/cast Inner Focus
/stopcasting
/script UIErrorsFrame:Show()
/cast Greater Heal(rank 5)
I suspect this is because Inner Focus does not activate the Global Cooldown?

Canada Offline
Reply With Quote
Old 12/09/06, 12:06 PM   #73
Axelrod
Von Kaiser
 
Troll Hunter
 
Mannoroth
Originally Posted by Axelrod
Originally Posted by Nisu
Originally Posted by Axelrod
I'm trying to figure out what's wrong with this one. Basically, I want to left or right click the button and it will cast either Freezing or Frost Trap.

/cast [button:1]Freezing Trap; [button:2]Frost Trap

However, nothing fires when I press either of the mouse buttons.
Put a space between the ] and the start of the spell name.
No go still. :( Any other ideas?
Well, it seems that other people I've spoken with were having problems with this type of macro, and narrowed it down to the Bongos action bars.

Offline
Reply With Quote
Old 12/09/06, 1:49 PM   #74
Krag
Don Flamenco
 
Tauren Druid
 
Runetotem (EU)
I've started using the following macro style for fights with heavy curing.
/cast [target=mouseover,exists]Remove Curse;Remove Curse
Works by hovering over whoever needs curing and clicking whatever you bind the macro to (I have "C" for curses and "V" for poisons). If you have no target under your mouse pointer it'll cast on your selected target. It works really well with compact raidframes like Grid.

Offline
Reply With Quote
Old 12/09/06, 5:11 PM   #75
Elerion
Great Tiger
 
Worgen Priest
 
Ravencrest (EU)
Has anyone been able to get /castsequence to work with pet abilities?

It's mostly for Razuvious, but I was testing it on my warlock for simplicity's sake.
/cast petability ----- works fine.
/castsequence petability1, petability2, petability3 ----- Only casts petability1 repeatedly

If I could get it to work, this should theoretically work for a one-button razuvious mash macro:
/target Razuvious
/petattack
/castsequence [reset=shift] Taunt, Shield Wall
Where shift is just a failsafe reset in case the castsequence bugs out and gets stuck on Shield Wall or something.

Norway Offline
Reply With Quote
Reply

Go Back   Elitist Jerks » Public Discussion

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
more macros Lodi User Interface and AddOns 6 06/17/07 9:37 AM