Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(121 Kb)
Download
Updated: 06-12-14 07:12 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Updated:06-12-14 07:12 AM
Created:05-31-09 12:13 PM
Downloads:15,027
Favorites:91
MD5:
MountRandomMount  Popular! (More than 5000 hits)
Version: 5.4h
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?
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.
Archived Files (39)
File Name
Version
Size
Author
Date
5.4g
121kB
dardack
05-27-14 06:28 AM
5.4f
125kB
dardack
03-12-14 06:01 PM
5.4e
121kB
dardack
03-11-14 06:19 PM
5.4d
121kB
dardack
03-10-14 04:55 PM
5.4c
121kB
dardack
01-28-14 07:48 AM
5.4b
125kB
dardack
10-10-13 03:48 AM
5.4
124kB
dardack
09-12-13 08:04 AM
5.3
124kB
dardack
05-30-13 07:32 AM
5.2c
124kB
dardack
04-05-13 03:18 AM
5.2b
124kB
dardack
11-28-12 07:44 AM
5.2a
123kB
dardack
11-13-12 05:00 AM
5.1c
25kB
dardack
10-28-12 03:04 PM
5.1b
25kB
dardack
10-23-12 07:33 AM
5.0b
25kB
dardack
09-20-12 04:36 PM
5.0a
25kB
dardack
09-13-12 09:52 AM
5.0
24kB
dardack
08-29-12 04:02 AM
4.3a
23kB
dardack
11-29-11 09:19 AM
4.2a
23kB
dardack
10-21-11 10:42 AM
4.1d
24kB
dardack
06-25-11 06:31 PM
4.1c
23kB
dardack
06-01-11 06:34 AM
4.0.3k
23kB
dardack
12-21-10 10:28 AM
4.0.3h
23kB
dardack
12-04-10 01:07 PM
4.0.3g1
21kB
dardack
12-02-10 08:38 AM
4.0.3g
21kB
dardack
11-30-10 01:15 PM
4.0.3f
22kB
dardack
11-24-10 10:11 PM
4.0.3b
22kB
dardack
11-23-10 09:43 PM
4.0.1i
22kB
dardack
11-12-10 07:04 PM
4.0.1e
20kB
dardack
11-06-10 07:09 PM
4.0.1d
16kB
dardack
10-22-10 08:20 AM
4.0.1c
16kB
dardack
10-21-10 08:00 AM
4.0.1b
14kB
dardack
10-15-10 12:01 PM
3.0.7
14kB
dardack
09-28-10 10:44 AM
3.0.1
12kB
dardack
03-26-10 07:44 AM
3.0
10kB
dardack
02-03-10 03:08 PM
2.8
13kB
dardack
09-28-09 05:05 PM
2.6b
13kB
dardack
09-19-09 12:42 PM
2.6a
12kB
dardack
09-04-09 09:08 AM
2.2
8kB
dardack
07-23-09 09:06 AM
beta .5a
2kB
dardack
05-31-09 01:02 PM


Post A Reply Comment Options
Unread 12-04-10, 07:33 AM  
MustaRouta
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
I'm having a weird bug with RDM atm. It seems I can't add any land mounts to the random mount list. I'm using the newest version, 4.0.3 g. Adding Celestial Steed works fine for some reason, though, so I have to use it as the only land mount as I can't add new land mounts to new characters. If I don't summon them manually, I mean.
MustaRouta is offline Report comment to moderator  
Reply With Quote
Unread 12-04-10, 09:27 AM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 195
Uploads: 5
Originally posted by MustaRouta
I'm having a weird bug with RDM atm. It seems I can't add any land mounts to the random mount list. I'm using the newest version, 4.0.3 g. Adding Celestial Steed works fine for some reason, though, so I have to use it as the only land mount as I can't add new land mounts to new characters. If I don't summon them manually, I mean.
With the gui or the command line?

Must be command line cause your right it's not working, looking into this.

EDIT AGAIN: Fixed in 4.0.3h, TY for report.
Last edited by dardack : 12-04-10 at 02:13 PM.
dardack is offline Report comment to moderator  
Reply With Quote
Unread 12-05-10, 02:51 AM  
Aalwein
A Flamescale Wyrmkin
 
Aalwein's Avatar
AddOn Author - Click to view AddOns

Forum posts: 113
File comments: 96
Uploads: 1
Originally posted by Aalwein
I'm sure it's another addon causing it... I've got 244 folders in my addon folder (about 80 addons I'd guess). If I figure out which one I'll drop that author a note. For now, it's something I can live with.
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!
Last edited by Aalwein : 12-05-10 at 06:15 AM.
Aalwein is offline Report comment to moderator  
Reply With Quote
Unread 12-05-10, 11:07 AM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 195
Uploads: 5
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!
Can you reproduce it in a set way? Like can you make it happen at will or is it random? If at will run MRM as the only addon enabled, if it still happens it's something in my code, if not it's another addon. If it's random, prolly can't do that.

I don't know man, i run with like 50 addons, and this doesn't happen on either of my accounnts.
dardack is offline Report comment to moderator  
Reply With Quote
Unread 12-06-10, 02:58 PM  
Katardre
A Kobold Labourer

Forum posts: 1
File comments: 59
Uploads: 0
my shaman...just bought up all the horses from the vendor in Stormwind cuz i just got exalted with them...and was removing the elekks from the list to switch over to using the horses when I got this error...and no, it does not actually remove the mount...which means I cannot currently remove mounts from my land list via the gui...the flying list works fine...just the land list is broken...

oh yeah if I click it again...I get the message "brown elekk is already in your random mount list."...or whatever mount I try to remove...

Currently using 4.0.3h by the way...and I logged over to some of my many other toons and they are seeing this problem too...

Message: ...terface\AddOns\MountRandomMount\MountRandomMount.lua:554: Usage: GetCompanionInfo(type, index)
Time: 12/06/10 14:39:58
Count: 6
Stack: [C]: ?
[C]: in function `GetCompanionInfo'
...terface\AddOns\MountRandomMount\MountRandomMount.lua:554: in function `MountRandomMount_remove'
...ace\AddOns\MountRandomMount\MountRandomMount_GUI.lua:240: in function `MRMFrameButton_AddMount_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

Locals:
Katardre is offline Report comment to moderator  
Reply With Quote
Unread 12-06-10, 05:42 PM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 195
Uploads: 5
Originally posted by Katardre
my shaman...just bought up all the horses from the vendor in Stormwind cuz i just got exalted with them...and was removing the elekks from the list to switch over to using the horses when I got this error...and no, it does not actually remove the mount...which means I cannot currently remove mounts from my land list via the gui...the flying list works fine...just the land list is broken...

oh yeah if I click it again...I get the message "brown elekk is already in your random mount list."...or whatever mount I try to remove...

Currently using 4.0.3h by the way...and I logged over to some of my many other toons and they are seeing this problem too...

Message: ...terface\AddOns\MountRandomMount\MountRandomMount.lua:554: Usage: GetCompanionInfo(type, index)
Time: 12/06/10 14:39:58
Count: 6
Stack: [C]: ?
[C]: in function `GetCompanionInfo'
...terface\AddOns\MountRandomMount\MountRandomMount.lua:554: in function `MountRandomMount_remove'
...ace\AddOns\MountRandomMount\MountRandomMount_GUI.lua:240: in function `MRMFrameButton_AddMount_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

Locals:
nvm, looking into this,

and fixed in h1, sigh put an end statement in uploaded version in wrong place.
Last edited by dardack : 12-06-10 at 05:52 PM.
dardack is offline Report comment to moderator  
Reply With Quote
Unread 12-07-10, 01:01 PM  
help137
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 120
Uploads: 17
Not bringing up seahorse mount

I'm in the new underwater zone and have the seahorse mount. MRM is sayign I have no swimming mounts though.

-A
help137 is offline Report comment to moderator  
Reply With Quote
Unread 12-08-10, 06:59 AM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 195
Uploads: 5
Re: Not bringing up seahorse mount

Originally posted by help137
I'm in the new underwater zone and have the seahorse mount. MRM is sayign I have no swimming mounts though.

-A
What version? thought I fixed this in h/h1. Sorry I power leveled my DK for server first. So skipped vash. I'll try and go in today and see.

EDIT: Yep this workks in version h, you can NOT be walking on the ground in Vash, for some reason Blizz's API doesn't determine when walking on bottom that your swimming or that the seashorse is usable (isUSableSpell for seahorse returns nil if walking on bottom, nothing I can do), however, outside vash it still wants to cast the seahorse, so figuring this out now.
Last edited by dardack : 12-08-10 at 09:29 AM.
dardack is offline Report comment to moderator  
Reply With Quote
Unread 12-09-10, 04:15 AM  
Tonyleila
An Onyxian Warder
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 379
File comments: 1384
Uploads: 33
very nice addon!
i always get this massage if i mount on my seehorse with lte latest version .... also if i'm not at the ground
You don't have a swimming mount, calling random land mount.
also i have to press the button twice if i have addet more than just the seehorse to the landmound list...

i sent you a german localization for the mutated vowels like (sry did you realy call it like this?^^) because if you don't use UTF-8 sequences (like \195\182 for ) it will only show a "?"

Last edited by Tonyleila : 12-09-10 at 04:58 AM.
Tonyleila is offline Report comment to moderator  
Reply With Quote
Unread 12-09-10, 07:47 AM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 195
Uploads: 5
Originally posted by Tonyleila
very nice addon!
i always get this massage if i mount on my seehorse with lte latest version .... also if i'm not at the ground


also i have to press the button twice if i have addet more than just the seehorse to the landmound list...

i sent you a german localization for the mutated vowels like (sry did you realy call it like this?^^) because if you don't use UTF-8 sequences (like \195\182 for ) it will only show a "?"

Version i1? Dont' add the seahorse to the land list, it shoudl auto mount in Vash in the 3 subzones. Make sure it's i1, otherwise 2 subzones in vash don't work. I'll get you fixes in soon to the localization.

EDIT: And by make sure, i forgot to change the version iside the LUA, so just redownload. If it still doesn't work, we are talking about http://de.wowhead.com/spell=75207 correct, cause I use the spell #, and thought this was the only seahorse available.
Last edited by dardack : 12-09-10 at 07:48 AM.
dardack is offline Report comment to moderator  
Reply With Quote
Unread 12-11-10, 11:37 AM  
Ravenhawk9999
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Are you going to be adding support for the worgens Running Wild ability like it has for the druid forms?
Ravenhawk9999 is offline Report comment to moderator  
Reply With Quote
Unread 12-11-10, 04:13 PM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 195
Uploads: 5
Originally posted by Ravenhawk9999
Are you going to be adding support for the worgens Running Wild ability like it has for the druid forms?
It's a spell? Yea I do. Been kinda busy.
dardack is offline Report comment to moderator  
Reply With Quote
Unread 12-11-10, 06:34 PM  
Ravenhawk9999
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Originally posted by dardack
It's a spell? Yea I do. Been kinda busy.
NP, just wanted to know.
Ravenhawk9999 is offline Report comment to moderator  
Reply With Quote
Unread 12-17-10, 02:29 PM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 195
Uploads: 5
Originally posted by Ravenhawk9999
NP, just wanted to know.
Can someone with a wrogen 20/40 test out 4.0.3j and let me know if it works. It's a spell so if you dont' have druid/shaman, remember to set the key binding for the racial in the keybinding menu.
dardack is offline Report comment to moderator  
Reply With Quote
Unread 12-18-10, 10:00 AM  
Katardre
A Kobold Labourer

Forum posts: 1
File comments: 59
Uploads: 0
ok, testing on my Worgen Druid...

and all it does is summon travel form...not running wild...which i kinda expected...sadly that's the only worgen I have that's over level 20...so I don't know what it does for non-druid types...
Katardre is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: