Quantcast
Download
(9 Kb)
Download
Updated: 08-13-18 05:07 AM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Shadows of Argus (7.3.0)
Tomb of Sargeras (7.2.0)
Return to Karazhan (7.1.5)
Legion (7.0.3)
Updated:08-13-18 05:07 AM
Created:06-22-16 01:49 PM
Downloads:2,557
Favorites:15
MD5:
Categories:Utility Mods, Mounts & Pets, Miscellaneous
8.0.1

Ravenous Mounts  Updated less than 3 days ago!

Version: 1.9.0
by: Spontyman [More]

Chooses the best Mount for the job, with no configuration or set-up; it’s all based on your Mount Journal Favorites.
Includes any and all available Ground, Flying, Swimming, Vendor, Passenger, and Special Zone Mounts!



How does this AddOn work?

Add the following command to a Macro, and drop the Macro somewhere on your bars.

Code:
/ravmounts
Make sure you assign it to an un-modified key (no shift, alt, or control modifiers)! And that's it!

It's a lot simpler than it might seem. There are no profiles to set up, and there's no configuration. If you're used to using WoW's built-in Summon Random Favorite Mount button, this will feel very familiar to you.


What happens when I use this AddOn?

When you press the Macro Button without a modifier key, it will run through a series of checks, in a specific order, to determine which Mount is the most appropriate to use, given your situation and location.
  1. Dismount (if mounted)
  2. Vash'jir Mounts (if in Vash'jir)
  3. Swimming Mounts (if underwater)
  4. Flying Mounts (if in flyable area)[/i]
  5. Ahn'Qiraj Mounts (if you're in AQ)
  6. Ground Mounts
  7. Chauffeured Chopper


Alternate Mounts:

ALT + button

Instead of using the designated Mount for the situation, this will use an alternate type Mount, if one is available.

i.e.
If you're underwater, ALT + button will call upon a Waterwalking Mount.
If you're in a Flyable zone, ALT + button will call upon a Ground Mount.


Vendor Mounts:

SHIFT + button

Instead of using the designated Mount for the situation, this will use a Vendor Mount, if one is available.


Passenger Mounts:

CONTROL + button

Instead of using the designated Mount for the situation, this will use a Passenger Mount (ground or flying), if one is available.


Mount Special:

ALT + SHIFT + button

Instead of using the designated Mount for the situation, this will invoke the Mount's Special Animation (as if you used the /mountspecial command).


Include/Exclude Modes (added in 1.7.0):

The AddOn now runs in one of two modes: include (default) and exclude. These modes change how Vendor and Passenger (ground and flying) are handled.

Include Mode:

Code:
/ravmounts include
Include Mode will add all possible, viable mounts to your Vendor and Passenger Mount lists, regardless of whether or not they are marked as a Favorite in your Mount Journal. Use this mode if you like having the AddOn randomly decide what to summon for you.

If you do mark a Vendor or Passenger Mount as a Favorite, they will also be included in their respective default Ground or Flying Mount lists.

Exclude Mode:

Code:
/ravmounts exclude
Exclude Mode will only add mounts to your Vendor and Passenger Mount lists if they are marked as a Favorite in your Mount Journal. Use this mode if you like having full control over what Mounts are summoned for you.

Vendor and Passenger Mounts marked as a Favorite will not be included in their respective default Ground of Flying Mount lists.


Summon a Specific Type:

Code:
/ravmounts ground
All specific types include:
  • vendor
  • two-person flying
  • two-person ground
  • swimming
  • waterwalking
  • flying
  • ground
  • chauffeur
  • ahn'qiraj
  • vash'jir


Usage Tips:

I personally use the following Macro, and keep in mind that most of this is tooltip logic:

Code:
#show [mod:shift] Grand Expedition Yak; [mod:ctrl] Sandstone Drake; [swimming,nomod:alt] Vashj'ir Seahorse; [flyable,nomod:alt][noflyable,mod:alt] Blazing Hippogryph; Red Primal Raptor
/cancelaura Goblin Glider
/ravmounts
I guess this AddOn really only affords you to have some really long tooltip logic!


What else does this AddOn do that the game already doesn't?

It's probably best to think of this AddOn as an upgrade to WoW's built-in Summon Random Favorite Mount button. Where WoW's button will automatically select a Ground or Flying Mount from your Mount Journal's Favorites, this AddOn will do the same thing, with a few extras to make acessing your variety of Mounts easier and more convenient.

Boiled down to it, all the Summon Random Favourite Mount button does is determine whether your player is able to fly or not in the given zone, and then chooses an appropriate Ground or Flying Mount from your Mount Journal Favourites.

This AddOn takes the logic a step further and checks a number of other given properties to determine even more accurately what kind of Mount you want to use. It extends things like:
  • whether or not you're underwater—to use a swimming Mount
  • whether or not you're in Vash'jir—to use the Seahorse Mount
  • whether or not you're in Ahn'Qiraj—to show off your bug Mounts
  • defaults all the way down to the Chauffeured Heirloom Mounts
  • key modifiers to grant simple access to:
  • Vendor Mounts (Shift key)
  • Multiple-person Mounts (Control key)
  • Opposite Mounts (Alt key)- Ground Mounts in flying zones, Flying Mounts in non-flying zones, etc.

Caching:

/ravmounts force to force the AddOn to recache the Mount Journal—this shouldn't, however, be necessary, as the AddOn will detect changes (new Mounts and changed Favorites) and update itself accordingly.


Get in touch or get involved:

If you wish to get in touch with me in-game, hit me up on my BattleTag, WaldenPond#11608.

Check out the AddOn on Github: https://github.com/waldenp0nd/ravMounts!


Special Thanks:

Phanx for their immensely useful API_CanFly from AnyFavoriteMount.

yj368413 for helping me realise that the AddOn should be language-agnostic.

My two best friends for being patient and helping me debug each version before release.

Version 1.9.0
  • Updated for 8.0.1
  • Made submerged check include floating check, thanks to DJharris71 (http://www.wowinterface.com/forums/member.php?userid=301959)


Version 1.8.9
  • Updated Phanx’s CanFly → LibFlyable code from https://github.com/phanx-wow/LibFlyable.


Version 1.8.8
  • Add Flex mounts inclusion setting.
  • Updated Phanx’s CanFly code from https://github.com/phanx-wow/LibFlyable.
  • Changed license.


Version 1.8.7
  • Fix error in Mount Summon function.


Version 1.8.6
  • Remove Flight Master's License as well. Oops.


Version 1.8.5
  • Make the slash command code more terse and remove Northrend and Pandaria flight requirement checks from API_CanFly.


Version 1.8.4
  • Change which version of Phanx’s API_CanFly is used.


Version 1.8.3
  • Add multiple inclusion checks.


Version 1.8.2
  • Clean up redundant code.


Version 1.8.1
  • Clean up and pare down code significantly.


Version 1.8.0
  • Added stronger flight ability checking, thanks for Phanx's AnyFavoriteMount: http://www.wowinterface.com/downloads/info23261-AnyFavoriteMount.html


Version 1.7.3
  • Added ability to summon a custom mount type (e.g. /ravmounts waterwalking)


Version 1.7.2
  • Tighten up slash commands. Add "version" command.


Version 1.7.1
  • Fixes bugs introduced in 1.7.0 :)


Version 1.7.0
  • Introduces the inclusion/exclusion feature.


Version 1.6.5
  • Added BlizzCon mounts.


Version 1.6.4
  • Updated for 7.3 and small fixes.


Version 1.6.3
  • Changed how water mounts work by adding a water-walking type. Now, [i]alt[uii]-key will activate your water-walking mount(s) when you're submerged.


Version 1.6.1
  • Fixed broken Extra Ground/Water Mount check.


Version 1.6.0
  • Updated to include Legion's changed C_MountJournal functions.


Version 1.5.0
  • Split multi-person mounts into Ground and Flying—both still called by the Control key.


Version 1.4.0
  • Updated for Legion: renamed C_MountJournal function calls (:rolleyes:), prioritise Yak over Mammoths


Version 1.3.0
  • Overhaul to caching mechanism.
  • Fixes for characters without any riding training.


Version 1.2.1
  • Cleaned up faction availability flag for mounts when parsing Mount Journal.
  • Cleaned up and fixed Vendor mount logic when parsing Mount Journal.
  • Added version tracking for installation and upgrade messages.


Version 1.2.0
  • Minor changes throughout to make the code clearer.. in case anyone wants to read it...
  • Merged the two Vendor mount calls. In a couple of months the Transmog mount won't matter much any more will it.


Version 1.1.2
  • Changed elseifs to plain ifs.
  • Changed creatureName checks to spellID checks for x-language support.


Version 1.1.0
  • Added caching of data. Maybe it's faster now?
Optional Files (0)


Archived Files (26)
File Name
Version
Size
Author
Date
1.8.9
9kB
Spontyman
02-17-18 02:39 PM
1.8.8
9kB
Spontyman
02-11-18 07:05 AM
1.8.7
7kB
Spontyman
01-30-18 03:59 AM
1.8.6
7kB
Spontyman
01-17-18 10:44 AM
1.8.5
7kB
Spontyman
01-17-18 08:53 AM
1.8.4
7kB
Spontyman
01-08-18 12:59 PM
1.8.3
7kB
Spontyman
01-07-18 12:45 PM
1.8.2
6kB
Spontyman
01-03-18 04:07 PM
1.8.1
6kB
Spontyman
01-01-18 03:16 PM
1.8.0
7kB
Spontyman
12-31-17 03:24 PM
1.7.3
6kB
Spontyman
12-07-17 06:50 AM
1.7.2
6kB
Spontyman
11-29-17 07:53 AM
1.7.1
6kB
Spontyman
11-28-17 05:08 PM
1.6.5
7kB
Spontyman
11-06-17 06:04 AM
1.6.4
5kB
Spontyman
08-14-17 07:12 AM
1.6.3
5kB
Spontyman
06-21-17 03:57 PM
1.6.2
8kB
Spontyman
06-01-17 04:06 PM
1.6.1
5kB
Spontyman
04-24-17 04:40 AM
1.6.0
6kB
Spontyman
04-16-17 07:29 PM
1.5.1
70kB
Spontyman
01-23-17 07:07 PM
1.5.0
52kB
Spontyman
07-26-16 06:37 PM
1.4.0
6kB
Spontyman
07-19-16 05:56 PM
1.3.0
6kB
Spontyman
06-26-16 03:38 PM
1.2.0
5kB
Spontyman
06-23-16 04:58 AM
1.1.0
5kB
Spontyman
06-22-16 06:40 PM
1.0.1
4kB
Spontyman
06-22-16 03:22 PM


Post A Reply Comment Options
Unread 08-13-18, 05:55 PM  
Spontyman
A Kobold Labourer
 
Spontyman's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 3
Re: Re: Re: BFA Update

Originally Posted by DJharris71
Got the update today. Thanks! was afraid the addon was dead.

I was working through the code and learned alot. I was wondering what many of the 'mounttypes' were. I wondered why the need to have a separate 'chauffer' mount - I think this is because it is slower than a normal mount, right?
I also was wondering what a flex mount is? The seem to be flying mounts to me - what are they?
The Chauffeur Mount is for characters which have no mounts but happen to have the Chauffeur heirloom.

Flex Mounts is a term I borrowed from Phanx and their LibFlyable library. It means "flying mounts that look OK on the ground", so the list includes the Jewelcrafting tigers, for example, which are Flying Mounts, but can be used as Ground Mounts without looking too goofy.

Hope that clears it up! Thanks for your support.
__________________
Peep my AddOns
/(bb|[^b]{2})/
Last edited by Spontyman : 08-13-18 at 05:56 PM.
Report comment to moderator  
Reply With Quote
Unread 08-13-18, 02:06 PM  
DJharris71
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: Re: BFA Update

Originally Posted by Spontyman
Originally Posted by DJharris71
I am surprised there is no update for this. this is my favorite random mount addon. It is amazing that Bliz's random mount selection does not default to ground mounts for no flying areas. I hate grabbing a serpent when I am can't fly. Or a flying mount when in the water. All the other mount addons require another ui input to say which are your favorites, when Bliz actually has favorites built into the UI. why double do the work.

Anyway, I made a few changes.

...


Thanks!
Thank you, this all means a lot!

I’ve added your changes and published an update for 8.0.1. I’m glad people enjoy this AddOn, and I’ll try to keep more on top of it for BfA.

Got the update today. Thanks! was afraid the addon was dead.

I was working through the code and learned alot. I was wondering what many of the 'mounttypes' were. I wondered why the need to have a separate 'chauffer' mount - I think this is because it is slower than a normal mount, right?
I also was wondering what a flex mount is? The seem to be flying mounts to me - what are they?
Report comment to moderator  
Reply With Quote
Unread 08-13-18, 05:00 AM  
Spontyman
A Kobold Labourer
 
Spontyman's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 3
Re: BFA Update

Originally Posted by DJharris71
I am surprised there is no update for this. this is my favorite random mount addon. It is amazing that Bliz's random mount selection does not default to ground mounts for no flying areas. I hate grabbing a serpent when I am can't fly. Or a flying mount when in the water. All the other mount addons require another ui input to say which are your favorites, when Bliz actually has favorites built into the UI. why double do the work.

Anyway, I made a few changes.

...


Thanks!
Thank you, this all means a lot!

I’ve added your changes and published an update for 8.0.1. I’m glad people enjoy this AddOn, and I’ll try to keep more on top of it for BfA.
__________________
Peep my AddOns
/(bb|[^b]{2})/
Report comment to moderator  
Reply With Quote
Unread 08-06-18, 07:54 PM  
DJharris71
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
BFA Update

I am surprised there is no update for this. this is my favorite random mount addon. It is amazing that Bliz's random mount selection does not default to ground mounts for no flying areas. I hate grabbing a serpent when I am can't fly. Or a flying mount when in the water. All the other mount addons require another ui input to say which are your favorites, when Bliz actually has favorites built into the UI. why double do the work.

Anyway, I made a few changes.
1) required to make it work in BFA: Line 160 change to:
Code:
 local mapID = C_Map.GetMapInfo(1)
(not positive on the old line - or line 160 - I am positive it is the 'local mapID' line)

2) Bliz really needs to make a 'IsFloating' command, I hate having to hit ctrl when on top of the water - just give me a flying mount. - I added a function called 'IsFloating': It works as long as you have a breath bar, otherwise not.

Code:
local function IsFloating()
    local B, b, _, _, a = "BREATH", GetMirrorTimerInfo(2)
    return (IsSwimming() and (not (b==B) or (b==B and a > -1)))
end
Then in line 159 (I think) where it says 'local IsSubmerged' - change this to:
Code:
local submerged = (IsSwimming() and not IsFloating())
Now you have a flying mount when you are floating.

I don't know how to update this on github - but if someone wants to do so, please do.

Thanks!
Report comment to moderator  
Reply With Quote
Unread 04-02-18, 10:07 AM  
Spontyman
A Kobold Labourer
 
Spontyman's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 3
Originally Posted by Namica
I never used an addon like this - and I feel very stupid right now. It is so convenient to have just one button - and everything works fine. Thank you so much!
Thank you! That means a lot! I’m glad you’re enjoying the AddOn.
__________________
Peep my AddOns
/(bb|[^b]{2})/
Report comment to moderator  
Reply With Quote
Unread 04-01-18, 02:57 AM  
Namica
A Kobold Labourer
 
Namica's Avatar

Forum posts: 0
File comments: 150
Uploads: 0
I never used an addon like this - and I feel very stupid right now. It is so convenient to have just one button - and everything works fine. Thank you so much!
Report comment to moderator  
Reply With Quote
Unread 02-11-18, 07:13 AM  
Spontyman
A Kobold Labourer
 
Spontyman's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 3
Re: Can I set a mount as ground vs. flying?

Originally Posted by lady2beetle
Is it possible to tell the addon that a flying mount can also be count as a ground mount? For example, I like to use my Obsidian Nightwing as my passenger mount in areas without flying, but my vial of the sands where there is flying. Is that possible?
It is now! Please update to version 1.8.8 where I've (again) shamefully taken some code from Phanx’s AnyFavoriteMount to support this feature.
__________________
Peep my AddOns
/(bb|[^b]{2})/
Report comment to moderator  
Reply With Quote
Unread 01-28-18, 02:43 PM  
lady2beetle
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Can I set a mount as ground vs. flying?

Is it possible to tell the addon that a flying mount can also be count as a ground mount? For example, I like to use my Obsidian Nightwing as my passenger mount in areas without flying, but my vial of the sands where there is flying. Is that possible?
Report comment to moderator  
Reply With Quote
Unread 01-17-18, 06:06 PM  
Spontyman
A Kobold Labourer
 
Spontyman's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 3
If you're looking for a fix for 7.3.5, download version 1.8.6 or later.

Temporary fix? Remove the following lines from API_CanFly.lua:

Code:
[0]    =  90267, -- Eastern Kingdoms = Flight Master's License
[1]    =  90267, -- Kalimdor         = Flight Master's License
[646]  =  90267, -- Deepholm         = Flight Master's License
[571]  =  54197, -- Northrend        = Cold Weather Flying
[870]  = 115913, -- Pandaria         = Wisdom of the Four Winds
__________________
Peep my AddOns
/(bb|[^b]{2})/
Report comment to moderator  
Reply With Quote
Unread 12-31-17, 03:27 PM  
Spontyman
A Kobold Labourer
 
Spontyman's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 3
Ignore what I said.

I’ve updated the AddOn to use the flight ability check from Phanx’s AnyFavoriteMount. I’ve taken/borrowed this code with as much gratitude toward Phanx as one human can possibly have.

I believe this will solve the issue you’re having!

Originally Posted by Spontyman
Originally Posted by Devius
In broken isles with no ability to fly yet, the addon wont summon passenger mounts at all, even though I have both flying and ground passenger mounts. Everything else works great.
Great addon, keep it up
Thanks!

Hmm, are you using the latest version? (1.7.1)

I haven't documented the new feature properly yet—I'll get to that ASAP—but if you're in exclude mode (see below), you need to explicitly set your preferred Passenger Mounts as Favourites in your Mount Journal.

Code:
/ravmounts exclude
If you want to get back to include mode:

Code:
/ravmounts include
__________________
Peep my AddOns
/(bb|[^b]{2})/
Last edited by Spontyman : 12-31-17 at 03:29 PM.
Report comment to moderator  
Reply With Quote
Unread 11-29-17, 07:36 AM  
Spontyman
A Kobold Labourer
 
Spontyman's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 3
Originally Posted by Devius
In broken isles with no ability to fly yet, the addon wont summon passenger mounts at all, even though I have both flying and ground passenger mounts. Everything else works great.
Great addon, keep it up
Thanks!

Hmm, are you using the latest version? (1.7.1)

I haven't documented the new feature properly yet—I'll get to that ASAP—but if you're in exclude mode (see below), you need to explicitly set your preferred Passenger Mounts as Favourites in your Mount Journal.

Code:
/ravmounts exclude
If you want to get back to include mode:

Code:
/ravmounts include
__________________
Peep my AddOns
/(bb|[^b]{2})/
Last edited by Spontyman : 11-29-17 at 03:42 PM.
Report comment to moderator  
Reply With Quote
Unread 11-29-17, 05:14 AM  
Devius
A Kobold Labourer

Forum posts: 0
File comments: 103
Uploads: 0
In broken isles with no ability to fly yet, the addon wont summon passenger mounts at all, even though I have both flying and ground passenger mounts. Everything else works great.
Great addon, keep it up
Report comment to moderator  
Reply With Quote
Unread 07-04-17, 12:53 PM  
Gerudo Rivera
A Kobold Labourer
 
Gerudo Rivera's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 38
Uploads: 1
NP- it hasn't happened as much recently. However, I have noticed that the addon never summons my Darkwater Skate when I'm underwater... not sure how to fix that
Report comment to moderator  
Reply With Quote
Unread 07-03-17, 06:30 AM  
Spontyman
A Kobold Labourer
 
Spontyman's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 3
Originally Posted by Gerudo Rivera
I've noticed that occasionally, the macro will simply stop responding, persisting through a full relog (this is probably what happened to me in the molten front earlier). When this happens, none of my other macros are affected. I'm guessing there is some kind of taint, but can't find anything relevant in the logs & I'm not seeing any lua errors pop up. Any idea of what I could test the next time this happens to help troubleshoot?

edit: re-ran the taint log and found this:

...
Unfortunately I'm not terribly familiar with how taint works or what's happening here. I'll see what I can figure out. Thanks for posting your logs!
__________________
Peep my AddOns
/(bb|[^b]{2})/
Report comment to moderator  
Reply With Quote
Unread 06-07-17, 09:49 PM  
Gerudo Rivera
A Kobold Labourer
 
Gerudo Rivera's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 38
Uploads: 1
I've noticed that occasionally, the macro will simply stop responding, persisting through a full relog (this is probably what happened to me in the molten front earlier). When this happens, none of my other macros are affected. I'm guessing there is some kind of taint, but can't find anything relevant in the logs & I'm not seeing any lua errors pop up. Any idea of what I could test the next time this happens to help troubleshoot?

edit: re-ran the taint log and found this:

6/7 23:53:02.020 Global variable mountListHandler tainted by ravMounts - Interface\AddOns\ravMounts\functions.lua:27
6/7 23:53:02.020 Global variable mountUpHandler tainted by ravMounts - Interface\AddOns\ravMounts\functions.lua:167
6/7 23:53:02.020 Global variable SLASH_RAVMOUNTS1 tainted by ravMounts - Interface\AddOns\ravMounts\slashcommands.lua:8

6/7 23:53:24.778 Execution tainted by ravMounts while reading SLASH_RAVMOUNTS1 - Interface\FrameXML\ChatFrame.lua:2399 ChatFrame_ImportListToHash()
6/7 23:53:24.778 Interface\FrameXML\ChatFrame.lua:2447 ChatFrame_ImportAllListsToHash()
6/7 23:53:24.778 Interface\FrameXML\ChatFrame.lua:4383 ChatEdit_ParseText()
6/7 23:53:24.778 Interface\FrameXML\ChatFrame.lua:4065 ChatEdit_SendText()
6/7 23:53:24.778 Interface\FrameXML\ChatFrame.lua:2657
6/7 23:53:24.778 UseAction()
6/7 23:53:24.778 Interface\FrameXML\SecureTemplates.lua:346 handler()
6/7 23:53:24.778 Interface\FrameXML\SecureTemplates.lua:619 SecureActionButton_OnClick()
6/7 23:53:24.778 MultiBarRightButton1:OnClick()
Last edited by Gerudo Rivera : 06-07-17 at 09:55 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.