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

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

by Rhena » Tue May 19, 2015 12:21 pm

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
Last edited by Rhena on Wed May 20, 2015 2:39 pm, edited 2 times in total.
Author of LunaUnitFrames - The most advanced unit frames for classic WoW. Visit my GitHub page for them and some other tools i wrote.
Rhyna - Warrior | Nost PvP | Alliance
User avatar
Rhena
Sergeant Major
Sergeant Major
 

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

by Addushabir » Tue May 19, 2015 11:14 pm

Thanks mate

Rhena wrote: Send me all your gold now.


:mrgreen:
pls don't bully
User avatar
Addushabir
Tester
 

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

by Etheras » Wed May 20, 2015 4:18 am

/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.
Etheras
Private
Private
 

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

by Rhena » Wed May 20, 2015 9:44 am

Updated to fix that issue. Enjoy
Author of LunaUnitFrames - The most advanced unit frames for classic WoW. Visit my GitHub page for them and some other tools i wrote.
Rhyna - Warrior | Nost PvP | Alliance
User avatar
Rhena
Sergeant Major
Sergeant Major
 

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

by Etheras » Wed May 20, 2015 12:00 pm

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.
Etheras
Private
Private
 

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

by Rhena » Wed May 20, 2015 2:40 pm

Thanks for those bugreports. This required some weird workarounds but it should now work as advertised.
Author of LunaUnitFrames - The most advanced unit frames for classic WoW. Visit my GitHub page for them and some other tools i wrote.
Rhyna - Warrior | Nost PvP | Alliance
User avatar
Rhena
Sergeant Major
Sergeant Major
 

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

by Hyunckel » Wed May 20, 2015 3:49 pm

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.
This is a signature until I can bypass that damned 502 ERROR when I put an IMG tag in my sig and try to submit it.
User avatar
Hyunckel
Grunt
Grunt
 

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

by Rhena » Wed May 20, 2015 4:11 pm

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.
Author of LunaUnitFrames - The most advanced unit frames for classic WoW. Visit my GitHub page for them and some other tools i wrote.
Rhyna - Warrior | Nost PvP | Alliance
User avatar
Rhena
Sergeant Major
Sergeant Major
 

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

by kordavox » Sat May 23, 2015 10:10 pm

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.
kordavox
Tester
 

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

by Rhena » Sat May 23, 2015 10:47 pm

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.
Author of LunaUnitFrames - The most advanced unit frames for classic WoW. Visit my GitHub page for them and some other tools i wrote.
Rhyna - Warrior | Nost PvP | Alliance
User avatar
Rhena
Sergeant Major
Sergeant Major
 

Next

Return to Addons & macros