Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » User Interface and AddOns

Reply
 
LinkBack Thread Tools
Old 05/24/07, 6:28 AM   #1
Goggles
King Hippo
 
Goggles's Avatar
 
Selggog
Dwarf Shaman
 
No WoW Account (EU)
Macro help/advice

I've finally got round to playing with focus options and have been trying to create a macro for polymorph (and for CS/Spellsteal).

Currently what I've got is the following:

/clearfocus [button:2]
/focus [target=focus,noexists]
/cast [target=focus] Polymorph: Turtle
/stopmacro [nogroup:raid]
/script SendChatMessage(UnitName("focus").." polymorphed (50s)","RAID")
This clears focus if I use right mouse button, focuses on current target if I don't have a focus already, polymorphs focus and sends a message to raid if I'm in one.

While at a basic level this does what I want I'd like to improve it in a few ways.

1. I'd like to be able to hotkey this. Do I need to create 2 macros, 1 with /clearfocus in and 1 without and use different hotkeys for each or do modifiers work in some way with hotkeys?

2. Is it possible to do something like:
/stopmacro [nogroup:raid, target=focus, noexists, noharm]
This would stop macro if not in raid group or if focus doesn't exist or not an enemy. I imagine this won't work but is there a way to streamline this so it doesn't take up 3 lines?

3. The reason I use /script SendChatMessage(...) is to put the focus name in the message. It would be nice to be able to use "/r %f polymorphed (50s)" or something to that effect. WowWiki seemed to suggest this wasn't possible but there seemed to be some inconsistency between it's macros.

Is there a decent reference/forum for macros other than WowWiki? Currently it's the only place I know of with this kind of information but I'm never sure of it's accuracy or whether it is uptodate with all the latest commands.

Not actually a member of Refusion on Burning Blade.

Offline
Reply With Quote
Old 05/24/07, 10:25 AM   #2
Cel
Great Tiger
 
Cel's Avatar
 
Night Elf Rogue
 
Ysera
New in 2.1 you can use %f to display your focus' name.

"There is much pleasure to be gained from useless knowledge." - Bertrand Russell

Alpha is recruiting... go go.

Offline
Reply With Quote
Old 05/24/07, 10:34 AM   #3
• Chicken
Co-starring: The Egg
 
Chicken's Avatar
 
Ginakursia
Goblin Warlock
 
No WoW Account (EU)
Your suggested /stopmacro should work, though you might have to remove the spaces.

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

Netherlands Offline
Reply With Quote
Old 05/24/07, 11:14 AM   #4
Sarutobi
Bald Bull
 
Sarutobi's Avatar
 
Toroko
Blood Elf Paladin
 
No WoW Account
I'm not 100% about the syntax in the /stopmacro so I'll leave that part alone.

As far as hotkeying the focus clear it's fairly simple. Instead of having the [button:2] you just need to change that to a modifier key (ctrl, alt, shift).

/clearfocus [modifier:alt]

Now instead of a right mouse click, whenever you hold down alt while pressing your hotkey it will clear your focus target.

Offline
Reply With Quote
Old 05/24/07, 11:48 AM   #5
Goggles
King Hippo
 
Goggles's Avatar
 
Selggog
Dwarf Shaman
 
No WoW Account (EU)
Thanks for the info guys, I'll test this all tonight hopefully.

Not actually a member of Refusion on Burning Blade.

Offline
Reply With Quote
Old 07/21/10, 10:40 PM   #6
mohadeeb
Glass Joe
 
Night Elf Hunter
 
Kilrogg
ok i would like any help i may get on this macro.

i need a macro that can use my Misdirection on the focus target .

#showtooltip
/cast [target=focus,help] Misdirection;[help]Misdirection; [target=pet, exists] Misdirection

now how do i make a macro to change Focus from the 2 main tanks "jim" to "joe" and then from "joe" to "jim" in a raid .

any ideas? thank you

Offline
Reply With Quote
Old 08/01/10, 1:39 PM   #7
Smidjet
Glass Joe
 
Gnome Mage
 
Kirin Tor
i dont know much about macros, but i would put a mouseover option in there to over ride the focus. that way you focus one tank and mouseover the over. if now focus or mouseover it would cast on pet. i found a macro that does that on Wowiki. but not on my gaming computer to copy and past it.

Originally Posted by mohadeeb View Post
ok i would like any help i may get on this macro.

i need a macro that can use my Misdirection on the focus target .

#showtooltip
/cast [target=focus,help] Misdirection;[help]Misdirection; [target=pet, exists] Misdirection

now how do i make a macro to change Focus from the 2 main tanks "jim" to "joe" and then from "joe" to "jim" in a raid .

any ideas? thank you

I found a macro similar to what you have on wowiki. As for what you are looking to do, i would just put in mouseover comand that would overrule the focus so as to MD the non focus tank. The macro i found on wowiki did this.

/cast [@mouseover,help] Misdirection; [@focus,help] Misdirection; [help] Misdirection; [@pet,exists] Misdirection

that is the macro i have.

Last edited by Narcosleepy : 08/01/10 at 5:34 PM.

Offline
Reply With Quote
Old 08/18/10, 6:22 PM   #8
Jswerve
Glass Joe
 
Night Elf Druid
 
Eitrigg
arcane mage macro problem

Hello all. I am using this arcane macro that i found and everything works except when missile barrage procs i am supposed to be able to just hold down the shift key and use the same button but its not working.

#show Arcane Blast
/cast Presence of Mind
/cast Icy Veins
/cast Arcane Power
/use 13
/use 14
/cast Arcane Blast
/cast [mod:shift] Arcane Missiles
/run UIErrorsFrame:Clear()

Can someone please identify the problem? Ty in advance.

Offline
Reply With Quote
Old 08/18/10, 7:00 PM   #9
zimira
Von Kaiser
 
Tauren Druid
 
Anachronos (EU)
You probably need the cast lines to be as follows:

/cast [nomod] Arcane Blast
/cast [mod:shift] Arcane Missiles

Otherwise it will cast AB even if you hold shift.

Offline
Reply With Quote
Old 08/19/10, 12:57 AM   #10
Parnage
Glass Joe
 
Human Warlock
 
Garrosh
issues with macros and addons

I am sorry I have no idea where to put this topic/question.

I have a question that I was not able to find doing a search. It is related to my prot pally but others as well. Two days ago I upgraded to windows 7 since it was a lighter app than Vista I had. Everything went smoothly but now my macros are not saved after I log out and log back in. Also my addons are not showing up when I log in. I do not even have the addon options button in the lower left of the character selection screen. They are in the addons folder in WoW but are not showing up after login. Any ideas as to what is causing the hang-up? I am trying to avoid having to remove and reinstall WoW.

Offline
Reply With Quote
Old 08/19/10, 6:54 AM   #11
Slash
Piston Honda
 
Draenei Shaman
 
Shadowsong (EU)
Originally Posted by Parnage View Post
I am sorry I have no idea where to put this topic/question.

I have a question that I was not able to find doing a search. It is related to my prot pally but others as well. Two days ago I upgraded to windows 7 since it was a lighter app than Vista I had. Everything went smoothly but now my macros are not saved after I log out and log back in. Also my addons are not showing up when I log in. I do not even have the addon options button in the lower left of the character selection screen. They are in the addons folder in WoW but are not showing up after login. Any ideas as to what is causing the hang-up? I am trying to avoid having to remove and reinstall WoW.
Where do you have WoW installed? If it is in 'C:\Program Files\...' then WoW can not write to its own directory without admin rights, which would stop it creating/modifying the files containing the macro's.

Either try moving the WoW install to 'C:\Users\[username]\Games' and running it from there or run WoW as administrator (Right-Click on the shortcut and click 'Run as Administrator'.

Offline
Reply With Quote
Old 08/19/10, 7:22 AM   #12
dessembrae
Glass Joe
 
Draenei Death Knight
 
Arathor (EU)
Originally Posted by Parnage View Post
I am sorry I have no idea where to put this topic/question.

I have a question that I was not able to find doing a search. It is related to my prot pally but others as well. Two days ago I upgraded to windows 7 since it was a lighter app than Vista I had. Everything went smoothly but now my macros are not saved after I log out and log back in. Also my addons are not showing up when I log in. I do not even have the addon options button in the lower left of the character selection screen. They are in the addons folder in WoW but are not showing up after login. Any ideas as to what is causing the hang-up? I am trying to avoid having to remove and reinstall WoW.

When you say you "upgraded to Windows 7" did you actually upgrade your Vista install or do you do a fresh, clean install?
If it was an upgrade then WoW should be totally unaffected as Vista's permission handling is pretty much identical to Windows 7.

Did you reinstall WoW from fresh is another viable question at this point. Your addons live in your WoW folder in the path
"<wow install folder>\Interface\Addons". Your Macros are saved to "<wow install folder>"\WTF\<Account name>\<realm name>\<character name>\macro-cache.txt (I think it is a text file).

If you did a totally clean windows install (involving a format) and WoW reinstall, you have NO addons folder for WoW to find. If you did an upgrade but reinstalled WoW, have a look to see if you reinstalled to same location you used to run it from. If it is in a new folder, just find your old install and update the shortcut you use to point at the old location. Thankfully WoW is not totally depended on registry entries so it should just fire up quite happily.

Offline
Reply With Quote
Old 08/19/10, 3:44 PM   #13
Parnage
Glass Joe
 
Human Warlock
 
Garrosh
No is was just an upgrade, no formatting. I will try the run as admin to see if I have any results.

I did try running as admin. I logged in, copied a quick macro then logged out and still no luck. I does not seem to remember any setting that I have within the game. Same with my addons they do not show up either. Guess I am looking at a reinstall :-(

Last edited by Jessamy : 08/20/10 at 4:04 PM.

Offline
Reply With Quote
Old 08/19/10, 4:33 PM   #14
Bouhb
Glass Joe
 
Undead Mage
 
Moonglade (EU)
Sadly I have suffered the same and it was a visu that was causing it, which was of course a bad thing.
Have you tried a full sweep with AV-software adaware, spybot and such?

Offline
Reply With Quote
Old 08/21/10, 1:11 PM   #15
f1reburn
Piston Honda
 
Troll Mage
 
Scarshield Legion (EU)
I'm looking for a macro that focuses my mouseover target, and if it finds none it focuses the regular target.

This type of macro is usually easy to make, for example /cast [target=mouseover,harm,exists,nodead] Ice Lance; Ice lance

When I try to apply this to focus, it doesn't work. I've tried /focus [target=mouseover] [] but that doesn't seem to work either.

Offline
Reply With Quote
Old 08/21/10, 2:36 PM   #16
kemÃ
Glass Joe
 
Tauren Warrior
 
Bladefist (EU)
Originally Posted by f1reburn View Post
I'm looking for a macro that focuses my mouseover target, and if it finds none it focuses the regular target.

This type of macro is usually easy to make, for example /cast [target=mouseover,harm,exists,nodead] Ice Lance; Ice lance

When I try to apply this to focus, it doesn't work. I've tried /focus [target=mouseover] [] but that doesn't seem to work either.
I don't believe it's possible to set a focus target without actually targetting the unit that you want to focus first. The only macro command available to set one is /focus, which can't be used with a mouseover command, it's not possible to do with a /script command either as FocusUnit() and ClearFocus() are protected functions.

Offline
Reply With Quote
Old 08/21/10, 4:16 PM   #17
Ravelvan
Von Kaiser
 
Tauren Druid
 
Hyjal
Originally Posted by f1reburn View Post
I'm looking for a macro that focuses my mouseover target, and if it finds none it focuses the regular target.

This type of macro is usually easy to make, for example /cast [target=mouseover,harm,exists,nodead] Ice Lance; Ice lance

When I try to apply this to focus, it doesn't work. I've tried /focus [target=mouseover] [] but that doesn't seem to work either.
Hmm, it seems to work just fine when I try it:
/focus [target=mouseover,exists][]

Offline
Reply With Quote
Old 08/22/10, 4:45 AM   #18
f1reburn
Piston Honda
 
Troll Mage
 
Scarshield Legion (EU)
Much appreciated, it appears the 'exists' did the trick.

Offline
Reply With Quote
Old 10/14/10, 5:19 AM   #19
natas0733
Glass Joe
 
Tauren Druid
 
Dawnbringer
i would like to macro maul with mangle. before 4.0.1 i used this macro

#showtooltip
/cast mangle (bear)
/cast !maul

it no longer works for some reason. Anybody know why?

Offline
Reply With Quote
Old 10/14/10, 7:23 AM   #20
Venatia
Glass Joe
 
Undead Mage
 
Turalyon (EU)
Originally Posted by natas0733 View Post
i would like to macro maul with mangle. before 4.0.1 i used this macro

#showtooltip
/cast mangle (bear)
/cast !maul

it no longer works for some reason. Anybody know why?
By the looks of it, the spell "Mangle (Bear)" doesn't exist anymore, it seems to be just "Mangle" now.
(So remove the " (bear)" part from the macro and it should work.)

On a different note: anyone knows if it's possible to macro the flyout-stuff?
Ideally I'd get something in the lines of

/cast [mod:shift] Portal; Teleport

But this doesn't work, and neither does /use
(All very logical since you don't actually cast a spell or use an item, but then what to do?)

Last edited by Venatia : 10/14/10 at 7:26 AM. Reason: typo

Offline
Reply With Quote
Old 10/14/10, 9:58 AM   #21
Tibor
Don Flamenco
 
Tibor's Avatar
 
Goblin Warrior
 
Mal'Ganis
Can the new spell-alert button graphics be made to work with macros? For example:

#showtooltip
/cast [modifier:shift] Whirlwind; Raging Blow
I'd like to get the shiny spell-alert effect when I'm enraged and not pressing shift. Is there a hash-code (�* la #showtooltip) that enables this?

Canada Offline
Reply With Quote
Old 10/14/10, 2:27 PM   #22
Unihorn
Glass Joe
 
Blood Elf Mage
 
Черный Шрам (EU)
You can try #showtooltip Raging Blow to see it.
You can setup Power Auras or similar addon to show your enraged status. Thats if you don't mind additional addons.

Offline
Reply With Quote
Old 10/14/10, 5:27 PM   #23
Misis
Glass Joe
 
Tauren Druid
 
Sen'jin
Originally Posted by Venatia
By the looks of it, the spell "Mangle (Bear)" doesn't exist anymore, it seems to be just "Mangle" now.
(So remove the " (bear)" part from the macro and it should work.)
After playing around with the macros yesterday it appears that the new abilities are flagged Ability (Bear Form). If you don't do this it uses the "default" spell.. which for Mangle is bear. For example..

"/cast Mangle" Will cast only Mangle - Bear. "/cast Swipe" will only cast Swipe - Cat.

/cast Mangle (Cat Form) will cast Mangle - Cat.. and so on.

So, your mangle/maul macro should look like this :

#showtooltip
/cast Mangle (Bear Form)
/cast !Maul


I've noticed some oddities with this macro though. Since Maul has a cooldown now, tieing it in with all your abilities in macros is wonky. Maul will fire if it's up, even if the first spell (Mangle in this case) is not.

Offline
Reply With Quote
Old 01/04/11, 2:51 AM   #24
Mcflower
Glass Joe
 
Gnome Mage
 
Frostmourne
Mage Macros

I don't usually conform to using macros and / or user interface addons etc. etc. Yet recently I have started modifying simple addons to include little bits here and there that I can't find in other addons.

To the point, I have been sucked into the world of macros. The only macros I have made are bulky, and potentialy not as efficient as possible.

Multi-target sheep (PvP/E)
#showtooltip [mod:Shift] [target=focus,harm] [] Polymorph; Polymorph
/focus [target=focus,noexists] [target=focus,dead] 
/cast [mod:Shift] [target=focus,exists,nodead] Polymorph; Polymorph
(/stopcasting doesn't work well with this macro)

Multi-target Counterspell (PvP/E)
#showtooltip [mod:Shift] [target=focus,harm] [] Counterspell; Counterspell
/stopcasting [mod:Shift] [target=focus,exists,nodead]
/focus [target=focus,noexists] [target=focus,dead]
/cast [mod:Shift] [target=focus,exists,nodead] Counterspell; Counterspell
(253 Character Macro - Haven't properly tested / worked out the second line)

Single Button Refreshment (Save space)
#showtooltip [mod:Shift] Conjure Refreshment; Conjured Mana Cake
/cast [mod:Shift] Conjure Refreshment
/stopmacro [mod:Shift]
/use Conjured Mana Cake
Single Button Mana Gem (Save space)
#showtooltip [mod:Shift] Conjure Mana Gem; Mana Gem
/cast [mod:Shift] Conjure Mana Gem
/stopmacro [mod:Shift]
/use Mana Gem
Any improvements / suggestions are more than welcome. Feel free to steal one if you like the look, not sure if the same macros are out there. I made these myself but I'm sure someone will find something similar out there. (First post /cheer - tell me if I'm out of place)

Offline
Reply With Quote
Old 01/11/11, 6:09 PM   #25
Kindig
Glass Joe
 
Human Death Knight
 
Bleeding Hollow
Auto Targeting

I am a stickler for targeting the Tank's target when doing DPS. I generally set the Tank as my Focus and that way I can click on his target and DPS without having to worry too much about pulling threat.

I started using macros to auto target the focus' target using /assist focus, then the cast line, which helps me consistantly be on the tank's target. However, it seems that in just about every pug I've been in lately that TAB targeting is a lost skill. When the currently targeted mob in a group dies, it seems that is the cue for tanks to cast AoE spells and effects without regard for targeting anything else for several seconds at a time.

This means that I have to tab quickly and hit the regular spell (which by neccessity sits right next to the macro) until the tank wakes up and decides to target something again.

Well, I'm trying to figure out a way to remove the regular spell from my bar, so I need a way to swap the target if primary target is dead.

#showtooltip
/cast [@focustarget, harm, nodead][target=enemy] Arcane Blast

This is as close as I have gotten. I wanted to try some sort of [mod:shift] but can't get that to work. Ideally, it will look for the focus target first, and if an enemy and alive, cast the spell. If dead, or an ally, it should automatically switch to the closest enemy and cast.

If someone can help with this, that would be super. I would also take a [mod:shift] to target closest enemy solution as well.

Offline
Reply With Quote
Reply

Go Back   Elitist Jerks » User Interface and AddOns

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for a Magtheridon mod/macro Biggdogg User Interface and AddOns 24 06/22/07 6:35 AM
Huhu Macro Darksaber Public Discussion 24 06/09/06 6:26 AM
Macro Fun KGBAgent185 Public Discussion 16 11/05/05 2:24 PM