This site makes extensive use of JavaScript.
Please
enable JavaScript
in your browser.
Live
PTR
Beta
Classic
TBC
Has someone rewritten the mount macro yet?
Post Reply
Return to board index
Post by
Quesac
Before MoP this is what I used for my mount macro. It's an all in one mount macro that puts me on the appropriate mount for the zone and/or situation I'm in (such as swimming). I didn't write this, I believe I found it on wowwikki or something like that.
/run if not IsMounted() then local g,f,s,v={2,2},{3,3},{8,8},{v} local t=(IsUsableSpell(40192)) and f or (strsub(GetMapInfo(),0,7)=="Vashjir" and IsSwimming()) and v or (IsSwimming()) and s or g CallCompanion("MOUNT",t) end
/dismount]
Well, with the new mount window that we have, this doesn't work any more. I miss it and I wonder if anyone knows of a new macro being written, or if anyone could fix this to work with MoP? I have a very basic understanding with macro's, but something like this is way out of my league, I need a smart person to do this.
Post by
grantsdale
Just download the mod GoGoMount and create a macro that does
/click GoGoButton
Post by
GTMistral
In order for us to find a work around for your macro, a little more explanation on the problem besides "it doesn't work" would be appreciated. Does it pop any error when you execute your macro?
(Display Lua errors
must be turned on in the
ESC > Interface > Help
menu.) Is it succeeding in summoning anything?
As for addon, I have a preference for
MountRandomMount
. It summons a random mount (from a user-defined list) depending on where you are and as you said, in which situation you are at the moment with a simple slash-command.
/run if not IsMounted() then local g,f,s,
v
={2,2},{3,3},{8,8},
{v}
local t=(IsUsableSpell(40192)) and f or (strsub(GetMapInfo(),0,7)=="Vashjir" and IsSwimming()) and v or (IsSwimming()) and s or g CallCompanion("MOUNT",t) end
/dismount]
Question to more knowledgeable people in Lua : why is
v
being affected to itself right after its local declaration AND in a table? oO
Ashes of Al'ar
Post by
Quesac
It worked off of how the mount window USED to be in cata.
{2,2} was a grid coordinate of sorts, first 2 being the page number, second 2 being the mount in that slot on the page. Now with the new mount window, it doesn't work because there is no grid system in the mount window, just a column that goes straight down with all of your mounts.
That's the best I can explain it. Hope it helps.
The {2,2}, {3,3}, and {8,8} I had to put in myself to tell the macro which mount I wanted. The original macro had {g,g}, {f,f}, and {v,v}
Post by
Maunotavast
The numbers in the tables are mount indexes. They still work, but MoP shifted these numbers around a bit since they made mounts account wide.
Also, they are now in a list of alphabetical order which means that whenever you get a new mount, mounts below it get shifted down, thus making macros that rely on hard-coded indexes such as this quite impractical.
Also, the way the indexes USED to work:
we had this page with twelve little boxes I think it was...
Page 1
010203040506
070809101112
Numbers here representing the mount indexes, of course.
And for each page beyond the first, you would add twelve to the number.
Page 2
131415161718
192021222324
In MoP, acquiring the mount index is as simple as counting the desired mount's distance from the top of the list (i.e. first mount is 1, second one is 2, ...)
Now, what the maker of this macro inteded to be put in the tables is a LIST of mount indexes that you want to be used in that certain environment (g=ground, f=flying, s=sea, v=vashjir)
(e.g. I fancy using mounts 2, 7 and 18 -> {2,7,18}).
One mount from this list will be selected randomly
I won't explain further because this method is kinda obsolete-ish (I never liked these sort of macros anyways :p)
Either get an AddOn, or you could try using this macro which still works apparently:
http://eu.battle.net/wow/en/forum/topic/2123513959#8
...or keep using this one, the only problem you might run into is the problem with indexes being shifted when you acquire new mounts.
Post by
Quesac
I still couldn't get it to work. I guess I'll look into the addons and see if there's something there that I like.
Thanks anyways.
Post by
pelf
Yaymounts is what I use. It also has excellent Druid support.
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.
© 2021 Fanbyte