Jump to content
FORUMS
Sign in to follow this  
Shine

I'd love some help with this auto-mount macro.

Recommended Posts

Ok so I used to have this macro running that would automatically mount me after mining something. i am fairly sure it worked for hermalism, and normal loot pickup aswell.

I tried running it but it didnt do anything so Im guessing the code is somehow outdated.

Is there any macro king out there gonna help me get this working again?

Spoiler

/run local f=AtH or CreateFrame("Frame","AtH") f:SetScript("OnEvent",function() CallCompanion("MOUNT",C_MountJournal.Summon(0)) end) f:RegisterEvent("LOOT_CLOSED")

 

 

While we're on the subject, might aswell look into it not only mounting me on the same mount each time, but summoning mounts through the random favorite mount function.

I am not entirely sure if this post is in the right subforum. (figured its either this or "UI".)

 

Thx ahead for any advice

Share this post


Link to post
Share on other sites

Sky Golems make herbing easy now as it doesn't dismount you (which is why the prices on these have been pretty great lately).

 

I have no idea on the macros though, I'll try and ask around!

Share this post


Link to post
Share on other sites

Looks like blizzard changed the function C_MountJournal.Summon(), which uses the index of the mount in the journal, to C_MountJournal.SummonByID() which uses the mountID instead.

/run local f=AtH or CreateFrame("Frame","AtH") f:SetScript("OnEvent",function() CallCompanion("MOUNT",0) end) f:RegisterEvent("LOOT_CLOSED")

I'm playing around a bit with it atm and I've got this working, it selects a mount based on the index in the mount journal.

Edited by PaasHaaS
  • Like 1

Share this post


Link to post
Share on other sites

After a little research I was able to get this working as of patch 8.2     This will summon the mount listed after CastSpellByName.  Put whatever mount you like inside the quotes, in this case the X-995 Mechanocat.  Copy the string into a macro, drag it to an action bar (or assign a key bind).  The macro is off by default.  You only need to click it one time unless you reload.  This will summon the specified mount immediately after mining, herbing or looting.  Enjoy!

/run local f=AtH or CreateFrame("Frame","AtH") f:SetScript("OnEvent",function() CastSpellByName("X-995 Mechanocat") end) f:RegisterEvent("LOOT_CLOSED")

Share this post


Link to post
Share on other sites
On 7/6/2019 at 4:25 AM, Tyranis said:

After a little research I was able to get this working as of patch 8.2     This will summon the mount listed after CastSpellByName.  Put whatever mount you like inside the quotes, in this case the X-995 Mechanocat.  Copy the string into a macro, drag it to an action bar (or assign a key bind).  The macro is off by default.  You only need to click it one time unless you reload.  This will summon the specified mount immediately after mining, herbing or looting.  Enjoy!

/run local f=AtH or CreateFrame("Frame","AtH") f:SetScript("OnEvent",function() CastSpellByName("X-995 Mechanocat") end) f:RegisterEvent("LOOT_CLOSED")

Can this be made to only mount up after mining? It keeps demounting me after herbing while using sky golem.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By darkganj
      Hello everyone! When i downloaded the recent shadowlands expansion, i noticed that my macros no longer worked =0. This is not a single target DPS  macro, this is a Help / Harm selective macro So i did some digging to find out what was goin on, An example of this would be : /cast [help] Innervate ; [harm] Entangling Roots ; Innervate.  This macro utilizes one button for a dual purpose. if i am targeted on friend i innervate them while if i and targeting a opponent it would root them in place. This structure is now broken but has also made things easier in most cases, After doing some digging i discovered some new macros and the new format. Some examples of the new way to write this would be :
       #showtooltip
      /cast [help,nodead][help,nodead]innervate
      /cast [harm,nodead][harm,nodead]Entangling Roots
      #showtooltip
      /cast [help,nodead][help,nodead]Regrowth
      /cast [harm,nodead][harm,nodead]Wrath
      #showtooltip
      /cast [harm,nodead][@target,harm,nodead]Moonfire
      /cast [help,nodead][@target,help,nodead]Rejuvenation
      #showtooltip
      /cast [help,nodead][help,nodead]Wild Growth
      /cast [harm,nodead][harm,nodead]Entangling Roots
      This is what they call a fall through macro, If the first line of code is not available because of a cooldown or if the Help or Harm selection, it will fall through to the next line of code. This works especially well for balance druids, shaman, and hybrid healing classes that use a ton of buttons. You can cut the amount of keys you need press in half which saves space and prevents accidentally pressings the wrong button. I like to pair my spells by the time it takes to cast, Instant casts with instant casts. They also introduces a mouse over macro for heals and rebuffs which is really good for world PVP. One of the better macros iv'e seen is a mouse over Rebirth : 
       #showtooltip Rebirth
      /cast [@mouseover,help]Rebirth;Rebirth
      #showtooltip Remove Corruption
      /cast [target=mouseover,help,nodead][target=target] Remove Corruption
       
      If you are going to try and make your own macro, you should keep in mind
      1: The Global Cool Down or GCD which is the time it takes between 2 casts and
      2: Not all of your spells and trinkets share a GCD, so you are able to cast 2 or 3 spells at the exact same time as long as it doesn't share a GCD.
      I hope this helps! 
       
       
    • By WatcherDK
      I'm trying to create a macro that will allow me to use Spirit Mend with the typical focus/mouseover modifiers but also allow me to use Exhilaration with a key modifier and can't seem to make all of this work together. Here's what I have but it's acting like the ALT modifier isn't even there.
      #showtooltip /cast [mod:alt][@mouseover,help,nodead][@focus,help,nodead][@player]Spirit Mend; Exhilaration Thank you in advance for any help!
    • By Dejo93
      I'm trying to find a profession combination that would both be lucrative and would also be very beneficial for both me and my guild. We are a casual raiding guild (Normal/Heroic), so will the combination of Herbalism/Enchanting be a good idea, or should I stick to 2 gathering professions?
      I'm looking forward to farming gold at the start, so I'm kind of torn between enchanting or mining as my second profession. And truth be told, I'm trying to look at this situation in the long terms. Which is the reason why I'm considering switching mining with enchanting, since unlike the other professions looks extremely beneficial. And let's be real here, enchants will usually be more valuable, considering we're getting weapon enchants now.

      Any advice?
      Edit: Will the scrapper play a large part in the economy or should I just vendor my greens and blues?
    • By pyroman9111
      Hey all you monks, im currently playing a WW monk. I am trying to get my class mount, but im not getting the quest. i have completed all the achievements needed. not sure what to do any thoughts.
    • By Liseth
      So I know there is a feature by Blizzard to use random mount fitting to the area you're in but I wanted to make myself a macro for using this feature this way.
      /cast [nomod] <random mount>
      /cast [mod:alt] Sky Golem
      So is there a line usable in macro for random mount feature? Pressing shift and clicking on the icon does not output any line, just casts a mount summon.
×
×
  • Create New...