Quantcast
Download
(7 Kb)
Download
Updated: 08-09-16 12:33 PM
Compatibility:
Legion (7.0.3)
Updated:08-09-16 12:33 PM
Created:11-03-14 07:35 PM
Downloads:2,026
Favorites:24
MD5:

AnyFavoriteMount

Version: 7.0.3.2
by: Phanx [More]

Lets you set any mount as a favorite, even if the default UI doesn't approve.

The default UI doesn't let you set certain mounts as favorites, like warlocks' Dreadsteed. This is annoying. Therefore, this addon was written. It should be totally transparent to the user, and should work with all mount-related addons. Just right-click any mount and set/remove it as a favorite. These "special" favorites are stored per character.
Additional Features
The "Summon Random Favorite Mount" function will no longer summon most flying mounts in non-flying areas, since they tend to be annoyingly huge and look awkward flopping around on the ground.
Technical Details
In order to work from an action bar button, Any Favorite Mount replaces the "Summon Random Favorite Mount" action on your bar with a macro that simulates a click on the "Summon Random Favorite Mount" button in the mount journal. This workaround is necessary because it isn't possible to directly change what happens when you click on an action bar button. You shouldn't notice any difference on your action bar, including when dragging the spell from the mount journal onto a new action bar button, but you will see a new macro named "Mount" in your macros window. You can edit the "Mount" macro, but if you remove the "/click" line, the macro will be reset the next time you log in.
Feedback
Post a comment. If you are reporting a problem, be specific -- tell me which version of the addon you're using, what steps I should follow to reproduce the problem, whether it happens with other addons disabled, and the full text of any related error messages from Bugger.

### Version 7.0.3.2

* Fixed sorting in the mount journal.
* Water Striders will now be prioritized over ground mounts while swimming in non-flyable areas.
* Flying mounts will now be used in your garrison if you have Draenor Pathfinder.
* Using the "Summon Random Favorite Mount" action while already mounted will now dismount you (same as the default UI).

### Version 7.0.3.1

* Fixed an error that could occur at login with other mount-related addons.

### Version 7.0.3.0

* Updated for WoW 7.0 (Legion)

### Version 6.2.2.12

* Fixed flying in garrisons with Draenor Pathfinder.
* Added support for the Chauffeured Chopper.

### Version 6.2.2.11

* Fixed dragging and dropping the Summon Random Favorite Mount button from the mount journal to an action button. This now creates a macro named "Mount" that is compatible with Any Favorite Mount. You may edit the macro after it has been created. If you already have a macro named "Mount", that will be used instead of creating a new one.

### Version 6.0.3.10

* Fixed an issue causing special favorites to be excluded while swimming.

### Version 6.0.3.9

* Ashran: also not flyable, act II.

### Version 6.0.3.8

* Garrisons: also not flyable.

### Version 6.0.3.7

* No, Blizzard, Draenor is not flyable either.

### Version 6.0.3.6

* Fully replaced the default summoning logic to make sure ground mounts are never summoned in flying areas.
* Also added logic to avoid summoning most flying mounts in non-flying areas, because they look bad flopping around on the ground. Wyverns, I'm looking at you!

### Version 6.0.3.5

* Minor update

### Version 6.0.3.4

* First public release
Archived Files (9)
File Name
Version
Size
Author
Date
7.0.3.1
6kB
Phanx
07-24-16 10:42 PM
6.2.2.11
5kB
Phanx
10-16-15 10:42 PM
6.0.3.10
4kB
Phanx
12-11-14 09:47 AM
6.0.3.9
4kB
Phanx
12-06-14 06:19 AM
6.0.3.8
5kB
Phanx
11-21-14 10:07 PM
6.0.3.7
4kB
Phanx
11-14-14 09:34 AM
6.0.3.6
4kB
Phanx
11-11-14 08:27 AM
6.0.3.5
4kB
Phanx
11-05-14 08:17 AM
6.0.3.4
4kB
Phanx
11-03-14 07:37 PM


Post A Reply Comment Options
Unread 09-08-16, 10:42 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5616
File comments: 2309
Uploads: 48
Re: More Per Character Mounts

It's on the to-do list, but I don't have an ETA.
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Report comment to moderator  
Reply With Quote
Unread 09-07-16, 10:30 PM  
chad53773
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
More Per Character Mounts

Is there any way you could make all mounts per character, and not just the "special" mounts?

Currently, I can save class-restricted mounts on my characters on a per character level, but any mounts accessible by anyone are saved as favorites for everyone. (I assume this is how it's intended to work).

I have found other addons that allow each character to have unique favorite mounts set, but they don't allow the class-restricted ones to work, and the two mount addons generally don't work well together.
Report comment to moderator  
Reply With Quote
Unread 09-01-16, 08:26 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5616
File comments: 2309
Uploads: 48
For some reason Blizzard decided to make the "am I underwater?" function work the same as the "am I swimming?" function. I'll probably just remove the extra logic to summon an underwater mount, since it's currently not possible to reliably detect whether you're deep underwater (where you probably want an underwater mount) or at the water's surface (where you probably don't want an underwater mount).
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Report comment to moderator  
Reply With Quote
Unread 08-27-16, 10:33 AM  
Kalec
A Kobold Labourer

Forum posts: 0
File comments: 45
Uploads: 0
When I am in water the macro auto mounts me with my Sea Turtle. Even when dismounting, and recast still gives me Sea Turtle.
So I am stuck in open water with no way to fly, unless I select manually a different mount.
The Sea Turtle is not on my favorite list?
Report comment to moderator  
Reply With Quote
Unread 08-07-16, 04:25 AM  
lloydbates
A Kobold Labourer
 
lloydbates's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 43
Uploads: 4
Originally Posted by Phanx
Originally Posted by Jasmer
Any way to make it summon my flying mounts in my garrison? Seems pointless to run around on my dreadsteed when I heave 310 and pathfinder ....
Does Draenor Pathfinder actually let you fly in your garrison? I don't currently have an active subscription, so I can't test this myself.
Yes, it does.
__________________
Gentlemen, you can't fight in here! This is the War Room!
Report comment to moderator  
Reply With Quote
Unread 07-30-16, 12:28 PM  
Sofitia
A Defias Bandit
 
Sofitia's Avatar

Forum posts: 2
File comments: 10
Uploads: 0
Re: Re: Re: Summon water mounts only when in water?

Originally Posted by Phanx
@Sofitia:

I'd already replied to your comment below, but here are some additional updates:

Originally Posted by Sofitia
Class specific mounts (Paladin & Warlock) will mark as a favorite, but won't move to the top of the mount list like the other favorited mounts, and won't be summoned.
I've made some changes that should fix this, but I'd like to get a third party (eg. you) to confirm that it's working before I make it an actual release, as the changes are fairly extensive.

https://github.com/Phanx/AnyFavoriteMount

Click the green "Clone or download" button, then click "Download ZIP". The folder inside the ZIP will be named "AnyFavoriteMount-master". Either rename it to just "AnyFavoriteMount", or just copy the files inside of it to your existing AnyFavoriteMount addon folder on top of the old files.

Originally Posted by Sofitia
Per character saving of favorited mounts doesn't seem to be working very well. I'm seeing all mounts favorited on any character being summoned on all characters that can use that mount.
I've decided to go ahead and make AFM save all favorites per-character, completely bypassing the game's favorites feature. This should be an easy change to make, but in the interest of my sanity, I'm not going to start on it until I'm sure the sorting issue is fixed, so please try the development version and let me know if it's working for you!
Wow! Thanks for the quick (and awesome) replies. I'll install the development version right away and report back with results.

-----
Edit: Tested on Paladin (Charger/Warhorse), Warlock (Felsteed/Dreadsteed), and Death Knight (Acherus Deathcharger/Winged Steed of the Ebon Blade). The mounts are now showing up in the favorites for each character and are being summoned by the addon. Huzzah!

All favorites being saved per character would be wonderful. Call it the RPer in me, but I'm not a fan of my DK flying around on a pretty blue dragonhawk.
Last edited by Sofitia : 07-30-16 at 12:59 PM.
Report comment to moderator  
Reply With Quote
Unread 07-30-16, 05:15 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5616
File comments: 2309
Uploads: 48
Re: Re: Summon water mounts only when in water?

@Sofitia:

I'd already replied to your comment below, but here are some additional updates:

Originally Posted by Sofitia
Class specific mounts (Paladin & Warlock) will mark as a favorite, but won't move to the top of the mount list like the other favorited mounts, and won't be summoned.
I've made some changes that should fix this, but I'd like to get a third party (eg. you) to confirm that it's working before I make it an actual release, as the changes are fairly extensive.

https://github.com/Phanx/AnyFavoriteMount

Click the green "Clone or download" button, then click "Download ZIP". The folder inside the ZIP will be named "AnyFavoriteMount-master". Either rename it to just "AnyFavoriteMount", or just copy the files inside of it to your existing AnyFavoriteMount addon folder on top of the old files.

Originally Posted by Sofitia
Per character saving of favorited mounts doesn't seem to be working very well. I'm seeing all mounts favorited on any character being summoned on all characters that can use that mount.
I've decided to go ahead and make AFM save all favorites per-character, completely bypassing the game's favorites feature. This should be an easy change to make, but in the interest of my sanity, I'm not going to start on it until I'm sure the sorting issue is fixed, so please try the development version and let me know if it's working for you!
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Report comment to moderator  
Reply With Quote
Unread 07-30-16, 02:26 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5616
File comments: 2309
Uploads: 48
Originally Posted by Jasmer
Any way to make it summon my flying mounts in my garrison? Seems pointless to run around on my dreadsteed when I heave 310 and pathfinder ....
Does Draenor Pathfinder actually let you fly in your garrison? I don't currently have an active subscription, so I can't test this myself.
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Report comment to moderator  
Reply With Quote
Unread 07-30-16, 02:15 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5616
File comments: 2309
Uploads: 48
Re: Summon water mounts only when in water?

Originally Posted by Sofitia
... a way to set water mounts (like the Azure Water Strider) to only be summoned while my character is in the water? ... if I'm just standing around it gets summoned along with any other mounts I set as favorites.
Seems like a reasonable addition. Priority over ground mounts while swimming added here, but it currently won't prioritize it over flying mounts. I'm not sure how I want to handle that, as it's perfectly reasonable to want to summon a flying mount while you're swimming. Also, the new priority logic won't trigger unless you're actually swimming, since there's no way to detect just standing with your feet in water.

It may just be better to edit AFM's macro with a custom override for your water strider:
Code:
# Macro created by Any Favorite Mount
/castrandom [mod:shift] Azure Water Strider, Crimson Water Strider
/stopmacro [mod:shift]
/click MountJournalSummonRandomFavoriteButton
Change [mod:shift] to whichever condition you'd like to use.

Originally Posted by Sofitia
Class specific mounts (Paladin & Warlock) will mark as a favorite, but won't move to the top of the mount list like the other favorited mounts, and won't be summoned.
Are you using any other mount journal related addons? If so, can you reproduce this with them disabled? If you can, or you're not using any, I'll have to level a paladin or warlock to 20 on my trial account (I don't have an active subscription currently) to investigate further.

Originally Posted by Sofitia
Per character saving of favorited mounts doesn't seem to be working very well. I'm seeing all mounts favorited on any character being summoned on all characters that can use that mount.
Favorites the default UI lets you favorite are saved account-wide, and AFM doesn't change that. Only the mounts you can't normally favorite are saved per-character by AFM.

However, since it looks like profession-locked mounts are now favorite-able in the default UI, I may be more open to saving all favorites per-character.

Originally Posted by Sofitia
When Tyrel's Charger and Red Flying Cloud are set as favorites, they are summoned much more often on all characters than any other mounts, in both flying and non-flying zones.
The selection is completely random; there's no "evenly distributed shuffle" algorithm. If you're seeing certain mounts more often than others, it's just a coincidence.
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Report comment to moderator  
Reply With Quote
Unread 07-29-16, 02:53 PM  
Sofitia
A Defias Bandit
 
Sofitia's Avatar

Forum posts: 2
File comments: 10
Uploads: 0
Summon water mounts only when in water?

Hello, I just installed the addon (so perhaps I'm missing something) but was wondering if there was a way to set water mounts (like the Azure Water Strider) to only be summoned while my character is in the water? To clarify, if I'm in the water its the only one summoned, but if I'm just standing around it gets summoned along with any other mounts I set as favorites.

Seems like a neat little addon so far.
Thanks!

>Edit: After playing around with this a bit more, and setting it up on a few characters, I'm noticing a few issues:
(1) Class specific mounts (Paladin & Warlock) will mark as a favorite, but won't move to the top of the mount list like the other favorited mounts, and won't be summoned. Instead it just cycles through useable mounts marked as favorites on other characters.


(2) Edited again after more testing: Per character saving of favorited mounts doesn't seem to be working very well. I'm seeing all mounts favorited on any character being summoned on all characters that can use that mount.

(3) When Tyrel's Charger and Red Flying Cloud are set as favorites, they are summoned much more often on all characters than any other mounts, in both flying and non-flying zones.

If it matters: I've used the mount journal to mark the mounts as favorites (right click, set as favorite), I put the button from the mount journal on a bar, and I haven't modified the macro at all. I've also been hopping back and forth between Pandaria (where I have flying) and the Garrison (where I don't have flying) to test the addon.
Last edited by Sofitia : 07-29-16 at 05:05 PM.
Report comment to moderator  
Reply With Quote
Unread 06-23-16, 06:57 AM  
Jasmer
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 118
File comments: 157
Uploads: 3
Any way to make it summon my flying mounts in my garrison? Seems pointless to run around on my dreadsteed when I heave 310 and pathfinder, but I can't get it to summon my corrupted dreadwing in Lunarfall even though it's set as a favorite. Am I missing something horribly, painfully obvious? Because I'm kind of (okay majorly) blonde and do that with... alarming frequency.
Report comment to moderator  
Reply With Quote
Unread 10-30-15, 03:47 PM  
gmarco
A Cobalt Mageweaver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 232
File comments: 165
Uploads: 37
Thanks Phanx for your kind reply (as usual).

BTW: your inputs and code let me understand where I coding mistakes and now my addon works as expected.

Thanks again )

P.s.

If are already using an addon that provides a specific command for mounting by name, and it's just blindly looping through the mounts and trying to call the first one where the name matches, it would need to be updated to be more intelligent and check that the mount is actually usable before trying to use it.
This was
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 10-30-15, 12:29 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5616
File comments: 2309
Uploads: 48
Originally Posted by gmarco
So if I understand what I get is this mount has 2 spells one for alliance and one for horde (why such silly thing by blizzard ?)
Yes.

Originally Posted by gmarco
so if I call by name and I am in the wrong faction of the first mount I get I can't summon and get the error ... Correct ?
Probably, but I'm not entirely clear on what you're doing... calling mounts by name is not a feature of AFM.

If you're using a mount name with the game's built-in "/cast" or "/use" commands, it's probably a Blizzard bug, and the only workaround is probably to write an addon to provide a new command.

If are already using an addon that provides a specific command for mounting by name, and it's just blindly looping through the mounts and trying to call the first one where the name matches, it would need to be updated to be more intelligent and check that the mount is actually usable before trying to use it.
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Report comment to moderator  
Reply With Quote
Unread 10-17-15, 03:01 AM  
gmarco
A Cobalt Mageweaver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 232
File comments: 165
Uploads: 37
Originally Posted by Phanx

3. Please run the following command with and without AFM enabled and report back with the results:
/run for x=1,C_MountJournal.GetNumMounts() local n,s,_,a,u,_,v,f,w,h,c=C_MountJournal.GetMountInfo(x) if n=="Brutal Nether Drake" then print(n,s,a,u,v,f,w,h,c) end end
Hi Phanx,

I am running the following command because I was trying to realize why I was not able to summon a mount that I seen as unique, but another addon says I can't summon it (with an Alliance Character):


Lua Code:
  1. /run for x=1,C_MountJournal.GetNumMounts() do
  2.       local n,s,_,a,u,_,v,f,w,h,c=C_MountJournal.GetMountInfo(x)
  3.       if n=="Mammut del Viaggiatore della Tundra" then print(n,s,a,u,v,f,w,h,c) end
  4. end

The mount is in English: Traveler's Tundra Mammoth

And I get:
Mammut del Viaggiatore della Tundra 61447 false false false true 0 true true
Mammut del Viaggiatore della Tundra 61425 false true false true 1 false true

So if I understand what I get is this mount has 2 spells one for alliance and one for horde (why such silly thing by blizzard ?) so if I call by name and I am in the wrong faction of the first mount I get I can't summon and get the error ... Correct ?

Thanks.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 06-07-15, 02:10 AM  
menace97
Premium Member
 
menace97's Avatar
Premium Member

Forum posts: 4
File comments: 118
Uploads: 0
Thumbs up Awesome!

Thanks Phanx

This was very annoying for me as well, being a lock, and not being able to set one of my favorites as my Dreadsteed.

Excellent works as usual!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: