Download
(122Kb)
Download
Updated: 07-19-16 12:25 PM
Pictures
File Info
Compatibility:
Legion (7.0.3)
Updated:07-19-16 12:25 PM
Created:05-31-09 12:13 PM
Downloads:20,955
Favorites:74
MD5:

MountRandomMount  Popular! (More than 5000 hits)

Version: 7.0a
by: dardack, Tomate

I wanted a simple mod to randomly cast a mount from a list I defined. Using Land in nonflyable areas and flying in flyable areas.

Have added localization ability, tenatively/hopefully. If you would like to localize this, please look at localization.enUS.lua and send me a comment stating you would like to.

Have added the ability for druids/shamans to use their travel/GW/flight forms. It's bound to a 3rd key binding. Can not be part of the randomness due to the fact it is a spell and must have a secure button to cast. Well it could be just not simplified. For druids, will attempt to cast swift flight than flight form in flyable area's, if you have neither it than will attempt to cast travel form. If your not in a flyable area it will attempt to cast travel form. Ok to be able to cast, the binding is transfered from the trigger you set in Key Bindings menu, to the secure button for casting. So each time you log in you will have to hit this key binding twice, but for the rest of the session will act like a regular keybinding. I have found no way around this at this time. This only affects travel forms keybinding.

Comments Suggestions always are welcomed.

use /rdm:
RountRandomMount version
use: /rdm --prints this help
/rdm add [mount name] (can also shift click from your mount list) -- adds another mount to the random list
/rdm remove [mount name] (can also shift click from your mount list) --removes a mount from the list
/rdm list -- lists the mounts to select from
/rdm gui -- brings up a GUI of your mounts
/rdm reseed -- if you use more than one computer and you learn a new mount, your list will not work on the other computer, use this to reseed correct mount ID's
/rdm catform -- if you are a druid will use catform in instances/inside.
/rdm random -- mounts a random mount from your list (using flying in flyable areas and land in nonflyable areas)
There is a keybinding option in the Blizzard KeyBindings Menu. Add a shortcut here to call /rdm random

If you have any bugs, questions, comments, suggestions, please leave me a comment.

I did run into a mount that doesn't have the same name in the tooltip as in the WoW API call. Bronze Drake from CoS timed, doesn't have the word mount in the tooltip, but in the API call comes back Bronze Drake Mount. If you get an error saying mount doesn't exist, please let me know. Also if you ahve the HHM, will you let me know if it works with this?

v7.0a
Version for legion

v6.0a
Version for WoD

v5.4h
I don't think I can add a mount before it's released in game I guess. Warforged Nightmare fixed.

v5.4g
Added Grinning Reaver, Warforged Nightmare, and fixed Enchanted Fey Dragon

v5.4f
Fix issue with Vashj'ir detection
Add class specific mount category

v5.4e
Added hearthsteed

v5.4d
Added Dread Raven

v5.4c
Added Iron Skyreaver to ground/flying.

v5.4b
Sky golem can now be used at land mount.
Tweak swimming detection for the use of the turtle.
Add an "Enabeld" mount panel that lists all your current used mount.

v5.4
Bump toc version for patch 5.4.
Update the mount list for patch 5.4.

v5.3
Bump toc version for patch 5.3.
Update the mount list for patch 5.3.

v5.2c
Bump toc version for patch 5.2.
Update the mount list for patch 5.2.

v5.2b
Bump toc version for patch 5.1.
Same name mount should not bug anymore.
Remove debug message.

v5.2a
Completely rewrite setting panel based on Ace3 (your save mount has been remove).
Update localization string (based on Ace too).
Add missing mounts (I write a script which parse mounts from blizzard site and wowhead include in addon files)
A lot of code rewrite.
Remove reseed function because it's now based on mount name.
Fix issue with mount name which is not the same as the corresponding summon spell (jewel crafting ...).

v5.1c
Fix an issue which prevent addon to load.

v5.1b
Add help to landonly slash-command.
Jeweled mounts are now usable at land mount.

v5.1a
Add landonly slash-command.
The red flying cloud are now usable at land mount.

v5.0b
Fix an issue with the list of mount on blizzard UI which is not ordered alphabetically which cause wrong mount to be summon.

v5.0a
Fixed an issue which cause the mount data list to not be updated correctly
All Hippogryph are now usable in land mount.
The Imperial Quilen is now also usable in land mount.

v5.0
Added Mist of Pandaria mounts
Added Heart of the Aspects mount (blizz store)
Added Obsidian Nightwing mount (RAF)

v4.3a
Added more 4.3 mounts.

v4.2a
Added dismount to land mount only keybind
Added patch 4.3/TCG Mounts to the List. Please report if any missing.

v4.1d
WG fix for druids/worgens.

v4.1c
Added new mounts from patch 4.2 (if nothing changes) and the new mount from Blizz store.

v4.1a/b
Added new mounts from patch 4.1. Updated ToC.

v4.0.3l
Added translation for RU/FR/DE for the 3 area's that can use the Seahorse mount. Still need zhTW translation from someone (wowhead doesn't have a zh. or tw. that I could find to get the right translations.

v4.0.3k
Fixed worgen (i think anyways). Fixed Seahorse for other clients once I get translations.

v4.0.3j/1
Added Worgen Ability to go with the other racial abilites (druid/shaman).

v4.0.3i/1
Fixed Seahorse/Vash issues.

v4.0.3h/1
Fixed adding removing mounts with the command line.

v4.0.3g1
Not much just a bit of debugging to help a user figure otu what's going on.

v4.0.3g
Fixed random code, added seahorse mount for Vash in cata, fixed better swim mount detection.

v4.0.3f
Added Cata mounts since some were introduced in 4.0.3a

v4.0.3e
Better detection if able to fly or not.

v4.0.3b/c/d
Updated for 4.0.3a

v4.0.1g/h/alphatest/i
Wow, that change had some errors. Sorry about that. Fixed errors.

v4.0.1f
Changed GUI. Allowed combo mounts (celes/HHM/etc.) to be in either or list or both. Added lomoko's Russian translation fixes.

v4.0.1e
Changed how mounts are determined for flying/land as the coming changes in Cata. It now keeps a global list of all mounts and what they can do (land/flying/both/swimming).

v4.0.1d
Added ability to summon flying mount when swimming but at the surface. This does not work with the Druid Flight ability as it seems they still check for swimming with druid Flight Form.

v4.0.1c
Added French Translation, Thanks to WoWInterface User Tomate.
Added being able to exit vehicle with same button to dismount. Thanks to Gandoch.

v4.0.1b
Fixed removing mounts from both lists when land/flying mount.

v4.0.1a
Fixes to update for 4.0.1 patch.

v3.0.7
added Female Shaman for Ru, if German or another client needs this please let me know. Fixed the error printing where it didn't need to.
Added German Translation thanks to Brenainn. More German Translation by mad-d and Russian Translation by lomoko.

v3.0.6
More German Translation by mad-d and Russian Translation by lomoko.
Added error checking when using command line to add mount.

v3.0.5
Added german translation for wintergrasp.

v3.0.2/3/4
Added X53-Touring Rocket. Added Aufenthaltsort for german translation (location) for celestial steed and if in german client they start adding this for mounts that can be used everywhere (unfortunately, english has location for HHM/Celestial steed, but german didn't until Celestial Steed). X-53 should work across all clients, as X-53 is not a word.

v3.0.1
Added German Translation for specific keywords, thanks to: Brenainn

v3.0
Added Sea Turtle cast if swimming to random mount, otherwise a land mount is cast. Added Acquatic form if swimming and druid.

v2.9
Updated ToC to 3.3

v2.8
IsFlyableArea Does not work during Combat in WG, added code to correct this.

v2.7
IsFlyableArea() was fixed in 3.2 and properly determines if you can mount. Simiplfied code this way.

v2.6b
Minor fixes to color code.

v2.6a
Fixed issue with next button on GUI not re-enabling when prev button was pushed, until page 1 was reached.

v 2.6
Began chinese translations.

v 2.5
Updated so no error message (found the API call to find out if WG is in combat and was able to see that land only during combat, flying every other time, even if other faction owns WG, sorry took me a bit to have time to test). Updated Druid travel forms for WG hopefully, need someone to test.

v 2.4
Updated for flying mounts in WG, what it does is try to mount a Flying mount then a land (in case of battle). So you will get a message another action is in progress, or you can't use that here and a land mount is summoned. Unfortunately, this is due to the fact that CallCompanion doesn't return anything (ie success or fail). Also, i did this cause I wasn't sure if you can mount you flying during WG battles. Been busy, haven't been able to test.

v 2.3
Updated TOC for 3.2

v 2.1a
Fixed code for the druid forms again.

v 2.1
Hopefully fixed the profession only mounts and headless horseman mount.

v 2.0d
Hopefully re-fixed the druid forms.

v 2.0c
Was pointed out to me, that I shouldn't use global variables, but use a table. This has been fixed. However, your mount list will now be blank.

v 2.0b
Hopefully fixed the druid forms.

v 2.0a
Hopefully fixed the cat form inside toggle command. Also added a check if the player is a druid, so it will just tell you to ignore that command if you are a druid.
Hopefully fixed the not using flight form in flyable areas.

v 2.0
Added localization, enUS only right now. If you want to contribute another language, please look at the localization.enUS.lua file and there are all the variables used within MRM. Send me a comment that you would like to do this.
Added shaman/druid ability to use GW/travel/flight forms. It uses a 3rd binding for this, since they are considered spells and not mounts, a secure button must be used. So they can't be part of your random list. The 3rd key binding will show up for non druid/shamans but if you set a keybinding to it will display a message you aren't of the right class.

v 1.2
Fixed the problem with not mounting up a land mount if you had no flying selected.
Added a binding to mount a random land mount only (for those times you want to show off your land mounts in flyable areas)
Added a command to reseed mount ID's. If you play on 2 computers and you learn a new mount on 1, your list on the other won't work correctly until the ID's are corrected. This will do that.

v 1.1a
Was not correctly updating your list when a new mount was added. Fixed.
Will have to clear your list or add a new mount.

v 1.0
1.0 release
GUI added
fixed an error where no printing of what mount was added when your flying or land list is empty.
Added keybing

v beta .5a
Changed it so that a flying mount would be used in Krasus' Landing in Dalaran.
Post A Reply Comment Options
Unread 05-06-11, 05:57 PM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 201
Uploads: 5
Re: Re: Re: nice

Originally posted by dardack
Right new mounts, sorry been busy, will add tonite.
Should be all set with 4.1a. I rolled a 17 on my 1 4 chest run so far, so yea I completely forgot to add the new mounts. Will try not let that happen again.

Only saw 4 new ones plus poisiden, any others i may have missed please let me know (panther/raptor/raptor/warbear).
Report comment to moderator  
Reply With Quote
Unread 05-06-11, 05:38 PM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 201
Uploads: 5
Re: Re: nice

Originally posted by semi-
"Error, for some reason the mount with id: 98204 is not in your MountRandomMount_MountListData.lua. Post this to the Comments on Wowinterface, either new mount or something went wrong.
Error, for some reason the mount with id: 98204 is not in your MountRandomMount_MountListData.lua. Post this to the Comments on Wowinterface, either new mount or something went wrong."

I'm getting this error ever since I got the new bear mount.
Right new mounts, sorry been busy, will add tonite.
Report comment to moderator  
Reply With Quote
Unread 05-06-11, 02:39 PM  
semi-
A Defias Bandit

Forum posts: 3
File comments: 3
Uploads: 0
Re: nice

"Error, for some reason the mount with id: 98204 is not in your MountRandomMount_MountListData.lua. Post this to the Comments on Wowinterface, either new mount or something went wrong.
Error, for some reason the mount with id: 98204 is not in your MountRandomMount_MountListData.lua. Post this to the Comments on Wowinterface, either new mount or something went wrong."

I'm getting this error ever since I got the new bear mount.
Report comment to moderator  
Reply With Quote
Unread 03-15-11, 07:29 AM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 201
Uploads: 5
Re: Re: Re: Running Wild

Originally posted by help137
Thank you for the explanation. I'll move over to using Yay Mounts then, I don't know how he did it, but Running Wild works as part of the random mounts with that one and, for me, the whole point of running a mount addon is to have one button for all mounts. I've been using this addon for a long time and I'll miss it, but I won't go back to having to have multiple buttons to mount. Thank you for a great addon otherwise! If you ever get it working, I'll be back.

-A
To me running wild isn't a mount, as I believe it's in the spell book Under General not under Mount tab in the Spell book. So therefore it's not a mount. It's an ability. You say you've used it for awhile, but it's been like this for druids since I added druid ability.

I probably won't change how it works. I personally like them separate. I like the ability to have 1 key bindings for abilities (druid/shaman/worgen) and 1 for actual mounts.
Report comment to moderator  
Reply With Quote
Unread 03-14-11, 12:39 PM  
help137
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 31
File comments: 120
Uploads: 16
Re: Re: Running Wild

Thank you for the explanation. I'll move over to using Yay Mounts then, I don't know how he did it, but Running Wild works as part of the random mounts with that one and, for me, the whole point of running a mount addon is to have one button for all mounts. I've been using this addon for a long time and I'll miss it, but I won't go back to having to have multiple buttons to mount. Thank you for a great addon otherwise! If you ever get it working, I'll be back.

-A



Originally posted by dardack
OK as I've tried to explain, running wild is a cast like druid forms. So it won't be included in land mount list. How to use this, is to use the Keybinding for Spell Mounts/Travel Form, so you just hit the key binding to go to Running Wild. Each time you log in first time you have to hit it twice, each time after that as long stay logged in only need to hit it once.
Report comment to moderator  
Reply With Quote
Unread 03-10-11, 09:08 AM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 201
Uploads: 5
Re: Running Wild

Originally posted by help137
Have anyone gotten this to work with Worgen Running Wild? I see various bits of code that mention it, but I simply can't get Running Wild to be included in the land mounts of any of my Worgen.

-A
OK as I've tried to explain, running wild is a cast like druid forms. So it won't be included in land mount list. How to use this, is to use the Keybinding for Spell Mounts/Travel Form, so you just hit the key binding to go to Running Wild. Each time you log in first time you have to hit it twice, each time after that as long stay logged in only need to hit it once.
Report comment to moderator  
Reply With Quote
Unread 03-09-11, 01:31 PM  
help137
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 31
File comments: 120
Uploads: 16
Running Wild

Have anyone gotten this to work with Worgen Running Wild? I see various bits of code that mention it, but I simply can't get Running Wild to be included in the land mounts of any of my Worgen.

-A
Report comment to moderator  
Reply With Quote
Unread 01-18-11, 10:20 AM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 201
Uploads: 5
Updated with Fr/De/Ru translations for seahorse. Also updated mount data to remove seahorse from land mounts. Still need tw/zh translation.
Report comment to moderator  
Reply With Quote
Unread 01-11-11, 07:15 PM  
Aalwein
A Flamescale Wyrmkin
 
Aalwein's Avatar
AddOn Author - Click to view AddOns

Forum posts: 147
File comments: 91
Uploads: 1
Originally posted by dardack
What I don't get is, is the SetBinding is called in my code the first time you hit the key binding (which is why the first time you login/reloadui you have to hit it twice). So why it works in macro and not in my code for you is beyond me.

Yea I have it figured out for the seahorse, just need time to put in the translations.
I think obviously one of the other addons I have is hijacking the keybinding. It's probably Dominos, Clique, or one of the two boxing addons I have, FollowFelankor or Useful Extras, or maybe Carbonite? I dunno. I just don't play my druid often enough to really figure out which one it is - considering I have so many addons it could take forever to narrow it down. I inserted the SetBinding command into my /rdm random macro now, so the first time I log in to my druid I hit the mount macro (mousewheel2 wheel up), move to interrupt, then my spell mount macro (mousewheel2 wheel down) and all is well.
__________________
Aalwein | Jaberwocky
Die by the Arrow | YouTube | Facebook | Twitter
Report comment to moderator  
Reply With Quote
Unread 01-10-11, 08:15 AM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 201
Uploads: 5
Originally posted by Tomate
localization.frFR.lua :
Code:
MRMKelp = "For\195\170t de Varech'thar"
MRMShimExp = "\195\137tendues Chatoyantes"
MRMAbysDepth = "Profondeurs Abyssales"
Not sure if it should come with encoded special chars.
But those strings are the exact french localization.
OK I will try to get these in shortly. Been a bit hectic, bruised my tail bone and been in lots of pain so haven't had time to look up the localizations and put them in.
Report comment to moderator  
Reply With Quote
Unread 01-10-11, 08:15 AM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 201
Uploads: 5
Originally posted by Aalwein
Just an update from my situation with the spell mount button.

I ended up figuring out that the macro /run SetBinding(".","MRMTravelTRIGGER"); works to set the macro. So when I log in on my druid, I just hit that macro and my hotkey for mounting works fine.

Also, a macro fix for the mounting a seahorse is making a macro like:

/cancelform
/cast Abyssal Seahorse
/rdm random

It's not elegant, but it will try to mount your seahorse first then, if you aren't in Vash'ir, it will summon a random mount.
What I don't get is, is the SetBinding is called in my code the first time you hit the key binding (which is why the first time you login/reloadui you have to hit it twice). So why it works in macro and not in my code for you is beyond me.

Yea I have it figured out for the seahorse, just need time to put in the translations.
Report comment to moderator  
Reply With Quote
Unread 01-07-11, 11:55 PM  
Aalwein
A Flamescale Wyrmkin
 
Aalwein's Avatar
AddOn Author - Click to view AddOns

Forum posts: 147
File comments: 91
Uploads: 1
Originally posted by Aalwein
So I didn't solve the problem, but I made myself a quick little fix. I made a simple macro that has the line:

/run SetBindingClick(".", "MRMSecureButton")

So when I log in, I just hit that macro to set the keybind and away I go! Saves me from having to go into the keybinding interface every time at least.

Edit: Well, nevermind about that... even that macro doesn't work. Can't win for trying!
Just an update from my situation with the spell mount button.

I ended up figuring out that the macro /run SetBinding(".","MRMTravelTRIGGER"); works to set the macro. So when I log in on my druid, I just hit that macro and my hotkey for mounting works fine.

Also, a macro fix for the mounting a seahorse is making a macro like:

/cancelform
/cast Abyssal Seahorse
/rdm random

It's not elegant, but it will try to mount your seahorse first then, if you aren't in Vash'ir, it will summon a random mount.
__________________
Aalwein | Jaberwocky
Die by the Arrow | YouTube | Facebook | Twitter
Report comment to moderator  
Reply With Quote
Unread 01-07-11, 04:33 AM  
Tomate
A Murloc Raider
 
Tomate's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 301
Uploads: 6
localization.frFR.lua :
Code:
MRMKelp = "For\195\170t de Varech'thar"
MRMShimExp = "\195\137tendues Chatoyantes"
MRMAbysDepth = "Profondeurs Abyssales"
Not sure if it should come with encoded special chars.
But those strings are the exact french localization.
Report comment to moderator  
Reply With Quote
Unread 12-21-10, 04:51 PM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 201
Uploads: 5
Originally posted by lomoko
You can find the zone names for some languages on wowhead. for example RU:
http://ru.wowhead.com/zone=4815/kelpthar-forest
http://ru.wowhead.com/zone=5144/shimmering-expanse
http://ru.wowhead.com/zone=5145/abyssal-depths

There is a language switch dropdown menu.
TY i will try to get an update out tomorrow then.
Report comment to moderator  
Reply With Quote
Unread 12-21-10, 10:56 AM  
lomoko
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Originally posted by dardack
Looks like only way to test for vash, is to get translations of the 3 subzones, so I need TW/RU/FR/DE of:

Kelp'thar forest
Shimmering Expanse
Abyssal Depths

You can find the zone names for some languages on wowhead. for example RU:
http://ru.wowhead.com/zone=4815/kelpthar-forest
http://ru.wowhead.com/zone=5144/shimmering-expanse
http://ru.wowhead.com/zone=5145/abyssal-depths

There is a language switch dropdown menu.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: