Page 1 of 2

Easier Macros (focus, stopcasting, etc...)

PostPosted: Tue May 19, 2015 12:21 pm
by Rhena
Hey lazy people of Nostalrius i made a thing:

# ClassicMacros
Bringing retail macro commands to classic WoW.

"/use <item>" Use an equipped item or an item from your inventory
"/castrandom <spell1>, <spell2>, etc" Cast one of the specified spells at random
"/stopcasting" Cancels your current cast

"/cancelform" Takes druids out of form and rogues out of stealth
"/cancelaura <Auraname>" Cancels the specified buff

"/startattack" Initiates melee combat
"/stopattack" Stops melee combat

"/petaggressive" Sets your pet to agressive
"/petpassive" Sets your pet to passive
"/petdefensive" Sets your pet to defensive
"/petattack" Commands your pet to attack your target
"/petfollow" Commands your pet to follow you
"/petstay" Commands your pet to stay at its location

"/cleartarget" Deselects your target
"/lasttarget" Selects your previous target

*** WARNING: THE FOCUS FUNCTION ONLY SAVES THE NAME OF YOUR CURRENT TARGET. UPON REAQUIRING YOUR FOCUS YOU MIGHT GET A DIFFERENT MOB WITH THE SAME NAME ***

"/clearfocus" Clears your focus
"/focus" Saves your current target as your focus
"/targetfocus" Targets your focus

*** WARNING: THE FOCUS FUNCTION ONLY SAVES THE NAME OF YOUR CURRENT TARGET. UPON REAQUIRING YOUR FOCUS YOU MIGHT GET A DIFFERENT MOB WITH THE SAME NAME ***

Send me all your gold now.

DOWNLOAD

Re: Easier Macros (focus, stopcasting, etc...)

PostPosted: Tue May 19, 2015 11:14 pm
by Addushabir
Thanks mate

Rhena wrote: Send me all your gold now.


:mrgreen:

Re: Easier Macros (focus, stopcasting, etc...)

PostPosted: Wed May 20, 2015 4:18 am
by Etheras
/startattack no longer gives an error message when using this addon, but nor does it act any differently than simply using auto attack. it stops attacking if you hit it a second time

sad for me because ive been looking for a way to get around this for awhile.

Re: Easier Macros (focus, stopcasting, etc...)

PostPosted: Wed May 20, 2015 9:44 am
by Rhena
Updated to fix that issue. Enjoy

Re: Easier Macros (focus, stopcasting, etc...)

PostPosted: Wed May 20, 2015 12:00 pm
by Etheras
here, you deserve this

a minor issue ive found is if you try to use the macro whilst casting, it will stop working.

the only way i've seen to make startattack work again is to toggle attack on then off, or just flat out restart.

if i use the macro against a dead target and sometiomes out of range targets it also bugs out.

had a weird thing happen where i was bugged, toggled auto to try to fix it, and got stuck with auto attack on with nothing targetted until i manually right clicked something. definitely some weird things going on.

Re: Easier Macros (focus, stopcasting, etc...)

PostPosted: Wed May 20, 2015 2:40 pm
by Rhena
Thanks for those bugreports. This required some weird workarounds but it should now work as advertised.

Re: Easier Macros (focus, stopcasting, etc...)

PostPosted: Wed May 20, 2015 3:49 pm
by Hyunckel
I also was looking for a usual #showtooltip /startattack /cast Blablabla macro for vanilla...

Turns out, you can't #showtooltip so have fun finding the spell icon in the icon table
You can't /startattack at all, and the kind of macros that make it possible to /startattack cancel the auto-attack if you press/click that macro a second time (so, not ideal for us keybind spammers)
And also, /cast doesn't work. But I think there is a /script CastByName macro of some sort for that.

In the end, it's easier to just bind the 'Attack' spell on some key and / or right click the mob lol. Pretty annoying but oh well.

Your Luna Unit Frames already does a great job at alleviate some of those issues though ;)

Tl; dr : You're awesome Rhena ♥ Good luck with this project, but don't fret if you can't find the time to make it 100% perfect, you're already doing a LOT for the vanilla community.

Re: Easier Macros (focus, stopcasting, etc...)

PostPosted: Wed May 20, 2015 4:11 pm
by Rhena
But it DOES work now :(

Try doing a
Code: Select all
/script if nil then CastSpellByName("Blessing of Protection") end

in the first line if you are using bartender. It does nothing but Bartender shows Cooldowns of that spell on the Icon.

Re: Easier Macros (focus, stopcasting, etc...)

PostPosted: Sat May 23, 2015 10:10 pm
by kordavox
How do I install this properly? I put the folder in my addons directory and no effect... tried deleting -master no effect. What am I missing here?

** I should add that I love your luna frames and questie. Thank you for your work.

Re: Easier Macros (focus, stopcasting, etc...)

PostPosted: Sat May 23, 2015 10:47 pm
by Rhena
https://github.com/Aviana/ClassicMacros ... os-1.0.zip
Download this and put it into your Addons folder after unzipping.

Also i'm not related to Questie in any form. Thanks for your appreciation though.