Random Mount

Companions Login to Add Favorites
  • World of Warcraft
  • 1,304 Monthly Downloads
  • Supports: 6.2.4
  • 380,557 Total Downloads
  • Updated Jul 28, 2016
  • Created Feb 21, 2009
  • 237 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: GNU General Public License version 2 (GPLv2)
  • Newest File: v6.0.8

About Random Mount

Summon a Random Mount based on ridding level, flying skill, location, and area. Simply create a macro containing /mnt or /rmount and it will summon a usable mount for the area you are in. For Options type /mnt help.
Thanks to Hendew (the original author) for his hard work in creating this great add-on.

================IMPORTANT NOTICE================
Patch 5.4 changed flying mounts to all be allowed underwater and 6.0 broke the previous workaround.
This change broke the current method of detecting whether your character is at the surface or not.
The addon will no longer be able to intelligently select water mounts while underwater and flying/water-walking/ground mounts while at the surface.

     Added fixes as proposed by denakk

     Added fixes as proposed by Akamaru7388

     Update to support Draenor flying.
     Fix summoning ground mounts in some flying zones.
     Fix water mount detection for people with Vashj'ir Seahorse and another worldwide water mount.
     Thanks to Snamor23 for some of the fixes.

     Fixed a call to the old API

     Update to support WoD API changes

     Fix water surface check - may break again at Blizzard's will

     Update toc/version for 5.4
     Fix keyword searches for unspecified mount types.
     Prefer waterwalking mounts when swimming in unflyable areas without any sea mounts.

     Fixed Bug 32 - Error when no macro conditions matched

     Updated toc for 5.3
     Fix conflict with unknown addon using "Icon" global var
     Fix location filtering bug for zones (didn't affect subzones)

     Updated toc for 5.2
     Bug 31 - Fix summoning ground mounts in Vashj'ir indoor areas

     Fixed bug trying to summon abyssal seahorse outside vashir
     Fixed bug trying to summon a mount even after every attempt to find a usable one has failed
     Improved savedvariables handling to pave the way for further improvements
     Removed debug code that had served its purpose and some unused code

     Fix bug with adding new saved variable for default weight.

     Improved setweight command:
          /mnt setweight [0-1000] will change the default weight (100) for all mounts that have no weight set including future trained mounts
          /mnt setweight [pattern] will reset any mounts matching the pattern to the default weight
          /mnt setweight [0-1000] [pattern] will continue to set the specified weight to any mounts matching the pattern
     Fixed /mnt riding and /mnt flying commands
     Added /mnt swimming command
     Fixed /mnt r [pattern] and /mnt f pattern commands
     Added /mnt s [pattern] command to search for particular swimming mounts (even though only 4 swimming mounts exist currently)
     Fixed riding and flying keybinds
     Added swimming mount keybind
     Added the chance % of selecting the chosen mount (based on weights) to the debug output

     Added dynamic mount capability detection (thanks neotsn for submitting helpful data)
     Added /mnt setweight [0-1000] [pattern] command to set weights for mounts which affects how often they are chosen (default is 100)
     Allow all land capable mounts to be selected in AQ not just qiraji mounts
     Improved the logic that selects which type of mount to try
     Use IsSpellKnown() to check riding skills
     Create frame in lua instead of xml

     Added Grand Gryphon and Grand Armored Gryphon
     Based on v1.06.10

     Temporary nag messages to collect feedback. I am considering removing the location filtering feature and adding a way to weight how often to use each mount. If you get a message about detecting unknown mount capabilities then please post the number(s) from the message or follow the directions from v1.06.11 notes.

     Added code to mine certain data that the API provides about mounts in order to better understand it. Please open your \World of Warcraft\WTF\Account\[username]\SaveVariables\RandomMountContinued.lua in a text editor and copy+paste the contents to this bug ticket: http://wow.curseforge.com/addons/random-mount/tickets/26-data-collection/ All data is appreciated but data from people with rare aquatic mounts (Reins of Poseidus, Sea Turtle, and Riding Turtle) is especially needed.

     Fixed game lockups from infinite looping in certain circumstances.

     Removed remaining mounts that do not exist

     Removed 2 redundant mounts

     Removed 2 redundant mounts that were causing those mounts to not be summoned

     Fixed error if you have not learned Tailoring or Engineering

     Thanks to phuzi0n for the error fixes

     Thanks to phuzi0n for the error fixes

      Added the Alliance Panderan Kite and the Upcomming Jade Pandaren Kite
      Thanks to phuzi0n for the Profession Mount Fix and the miscellaneous printHelp error fixes

     Created work around for the Profession Mounts

     Created work around for the Profession Mounts

     All MoP mounts added and set for 5.0.4 patch

     Added Imperial Quilen mount

     Fixed the game freeze when entering a mount search incorrectly
     Added all Mists of Pandaria mounts released to date

     New version using SecureCmdOptionParse()
     You may use any Modifier Blizzard Supports as well as /mnt commands
     I.E. /mnt [mod:shift,no combat] r horse;[mod:alt, help] riding;
           /mnt [mod:ctrl] f drake; [mod:alt] icon; [mod:shift] remove gryphon;
     One caveat I found is you need to put a trailing semi-colon for the default action

     Added Bindings back in at users request

     Fixed the MacroIcon function
     Removed uneeded data inside the lua file

     Added Pureblood Fire Hawk from Ragnaros 10/25-man

     Added Spectral Wind Rider and Spectral Gryphon from Blizzard Pet Shop, inside  Spectral Mount Crate
     Added Life-Binder's Handmaiden, Blazing Drake, Twilight Harbinger, Swift Springstrider from 4.3
               Ruthless Gladiator's Twilight Drake from 4.3 PvP
               Swift Lovebird from Love is in the Air
               Corrupted Hippogryph from WoW TCG Expansion--Crown of Heaven
               White Riding Camel from WoW TCG Expansion--Tomb of the Forgotten

     Added Swift Shorestrider from WoW TCG Expansion "Throne of the Tides"

     Changed Crimson Deathcharger to a Riding Mount only not Multi Mount

     Fixed rearanged spellid for Tyrael's Charger

     Updated for 4.3
     Added Tyrael's Charger
     Darkmoon Faire Mounts - Swift Forest Strider and Darkmoon Dancing Bear
     Worgen Mounts - Mountain Horse and Swift Mountain Horse

     Added Crusader's Black Warhorse and Crusader's White Warhorse

     Added Corrupted Fire Hawk

     Changed the Vashj'ir check to allow for Flying mount when at surface but not while underwater (Thanks to Xodiv for the idea)

     Added Vicious Gladiator's Twilight Drake

     Added update to Vashj'ir so only Seahorse is summoned (Thanks to Drowena for the code)

     Added Flametalon of Alyzrazor

     Added Furious Gladiator's Frost Wyrm

     Fixed a Blizzard change to Winter Grasp timer. Blizzard removed GetWintergraspWaitTime() and fixed the bug in the timer

     Update all Gryphon, Wind Rider, and Hippogryphs in the database to be both ground and flying mounts

     Updated for 4.2

     Added check for Ground mounts if you have riding skill but no ground mounts
     Added additional check if you have a flying mount but not the Skill to use it

     Added new PvP ground mounts, the Vicious War Wolf (Horde) and Vicious War Steed (Alliance) from Patch 4.2,
     modified the UIErrorsFrame check and removed English check of event frame
     Added check for Flying mounts if you have flying skill but no flying mounts

     Modified the FindMount function call to only start looking for mounts and categorizing them if you have the required riding skill level

     Updated all Carpet, Rocket, Flying Machine Mounts to be both Ground and Flying Capable

     Added Wooly White Rhino
     Replaced the final Language specific check for Qiraji Battle Tank mounts.
     Added full comments to the lua file

     Found an error where in Northren if you have Cold Weather Flying but not Flight Master's License, flying mount would not summon
     added Subdued Seahorse

     Added new Winged Guardian from Blizzard Store

     Made the Flight License check generic for any language
     Found a bug where only a ground mount would be summoned if you did not have Flight Master's License

     Added Error Checking for Summoning Mount
     Modified multiple Functions, Moved a few checks into Functions
     Re-wrote the entire Mounting section
     Removed the /mnt waterfly option (Not Needed Anymore)
     Changed the search feature to /mnt r mount or /mnt f mount (riding or flying is Shrunk to r or f)
     Fixed a lockup bug when searching for a mount while removeMount is active
     If searching for a mount, removeMount is disabled then returned to original state after mount is summoned
     When Swimming, Addon will try to summon a flying mount if you can fly, if that fails it will check for a SeaHorse or SeaTurtle, if that fails a ground mount will be summoned

     Reset check for Flight Master's License (Hopefully will not break Localization), fixed error if you have a large amount of mounts excluded,
     added summoning of seahorse when standing on floor in Vashj'ir

     Fixed a removed variable that caused initialization error

     Seems like Blizzard changed some zone names in the master list thus they did not match. Changed the check to use IDs that do not change

     Added Amani Battle Bear and fixed a zone error where the ZoneName does not match ZoneName in Blizzards list

     Update for 4.1 and now Localized. Should be language independent
     Changed all Mini Map Text lookups and Spells to their IDs

     Re-wrote the Search function so it accurately finds the mount you are looking for
     To use the Search use /mnt riding mount or /mnt flying mount
     This will allow you to summon a riding mount in a flying area or a specific flying mount
     An error will appear if you cannot fly and try to summon flying mount, just like normal
     Fixed a bug in the Throne of the Four Winds where it only tries to summon a flying mount not ground mount

     Forgot a pair of parenthesis, added search check, included waterfly into saved variables, updated all version numbers throughout the files

     Added a NEW feature that was highly requested.     Water Flying
     What is Water Flying: This enables you to summon a flying mount while you are at the surface of a body of water
     The main caveat is you must be mounted on a riding mount, at the surface of the water, have waterfly enabled, and must NOT have a breath bar
     If you meet all criteria above but are underwater you will get an error saying you can't use that here
     If you are not mounted and on the surface you must hit the macro TWICE
          Once to summon riding mount
          Once to Dismount and summon flying mount

     Fixed a bug where Seahorse may be summoned if in a specific zone and swimming that was not in Vash'jir

     Fixed a bug when in Ahn'Qiraj the zone specific mounts would be added to the do not summon list and lock up the client

     Added the 7 new mounts introduced in Patch 4.1.0

     Added the Blazing hippogryph

     Added check if Total Mounts are under 10 then currently summoned mount will not be added to no summon list
     No summon list limited to 1/5 total number of mounts

     Removed the runaway check
     Added a check of the current nosummonlist to try to get more random mount call
     Increased the nosummonlist to half the number of mounts you posses
     Found incorrect check when summoning ground mount it would sometimes summon Sea Turtle or Abyssal Seahorse

     Found a glitch where if you did not have Flight Master's License and were in an OldWorld zone that IsFlyable it would try to call flying mount
     Also found a bug where if the zone was Flyable it would always return true

     Added the rest of the new Cataclysm 22 mounts

     Added Zone check for Nespirah due to Blizzards mistake of marking it as flyable

     Added the two "Goblin Trike's" thanks to rxconnelly

     Added check for FlyableArea when zonetext does not match in game Database and is or is not flyable

     Added all zones for Vashj'ir

     Added Abyssal Seahorse
     Changed water Mount function to check for Seahorse and check which zone you are in due to its requirements
     Changed function to seaMount

     Found error where The Sea Turtle was summoned as regular riding mount

     Fixed the Outland Flying problem
     Changed the entire Zone Check section to be a single unit
     Changed the Riding Skill Section to take into account the removal of Skills Section
     Changed the Mount Dictionary making Riding Mounts = 1, Flying Mounts = 2, Riding or Flying Mounts = 3
     Removed references to EpicRiding and EpicFlying and 310 Mount Speed
     Double Checked Safefly and verified it is working Removed an un-needed section of the TestMount function for Flyable

     Fixed not being able to mount flying mount in Wintergrasp after the battle was over
     Added the new 4.0.3a mounts thanks to nicegy6767 and stypen from the original Add-on Added new
     Cataclysm zones and Cataclysm Zone checks Fixed no flying mounts in Outland
     Added the changes suggested by xantec69 from the original Add-on Removed Dalaran check (No longer needed)

      /mnt: /rmount: Will summon riding/flying mounts in the appropriate areas. mnt and rmount are interchangeable
      /mnt help: Display help

  - Summoning
      /mnt: (No Flag) Summon a appropriate mount for the area
      /mnt r mountname: Summons riding mounts in flying areas
      /mnt f mountname: Attempt to summon a flying mount
      /mnt % (search Term): Summons a mount based on specified search term
             example: to summon a skeletal warhorse type: /mnt skeletal

  - Configuration
      /mnt config: Prints the current configuration
      /mnt safefly: Toggle double click to dismount while flying
      /mnt clear: Clears all filters
      /mnt title: Enable or disable random title change.
      /mnt icon: Enable or disable changing random mount macro icons to the last summoned mount.
      /mnt debug: Toggle debug printing for posting error messages

  - Removing Mounts
      /mnt rfilter: Toggle mount filtering
      /mnt remove %: Remove all mounts matching % if rfilter is enabled
      /mnt rfilters: List current filters
      /mnt clearrem: Clears the mount removal table

  - Location Filtering
      /mnt locfilter: Toggle filter to summon only specific mounts in specific locations
      /mnt addloc % (zone:mount name1, mount name2, ...): Add locations and mounts to location checking. Separate mounts with commas.
      /mnt removeloc % (zone:mount name1, mount name2, ...): Removes locations and mounts from location checking. Separate mounts with commas.
      /mnt loctable: Print the current location filtering table.
      /mnt clearloc: Clears location filters

  - Convenience Functions
      /mnt whereami: Prints your zone and mini-map zone.
You can now remove mounts based on spellId, useful for removing mounts that contain the same name.

Location filtering: This allows you to specify what mounts get summoned in what areas. You can specify a zone or min-map zone (case insensitive) and part or all of a mount's name. Enable location filtering with "/mnt locfilter".
Add locations and mounts "/mnt addloc zone:mount1,mount2,..."
zone can be a map zone and mini-map zone. Case doesn't matter, but it must be spelled correctly and with all punctuation as well. Separate with a colon ":" then specify mounts separated by commas ",". Mount names do not need to be the full name, partial names are fine, example ("wolf").
"/mnt addloc dalaran:talbuk,wolf,skeletal"
"/mnt addloc krasus' landing:drake,dragonhawk"
To remove a location, or mount from a location use "/mnt removeloc zone:mount1,mount2,..."
"/mnt removeloc dalaran" - Removes Dalaran from the location table,
"/mnt removeloc dalaran:wolf,talbuk" - Removes both wolf and talbuk from Dalaran but preserves all remaing mounts.
To clear the entire location table use "/mnt clearloc "
Print the current location table with "/mnt loctable"

safefly: If enabled, when you are flying you must double click the macro or button to dismount, to help prevent accidental suicide.

Mount Filtering: If you are tired of a specific type of mount, you can use a filter so it will no longer summon any of those type. For example, if you don't want to summon nether ray type "/mnt filter" to enable mount filtering and then type "/mnt remove ray" Any mounts containing "ray" in the name will no longer be summoned, be as vague or specific as you wish, if you wanted to you could remove all mounts with a "e" in them, I'm not sure I would recommend it but you could do it.

If Random Mount generates any errors please enable debug mode(/mnt debug) and post the code that it prints in your chat window in your comments.
Make sure that you post what version you are using.

     Added fixes as proposed by denakk

     Added fixes as proposed by Akamaru7388
r61 | phuzi0n | 2015-11-15 23:57:35 +0000 (Sun, 15 Nov 2015) | 1 line
Changed paths:
   A /tags/v6.0.6 (from /trunk:60)

tag as v6.0.6
r60 | phuzi0n | 2015-11-15 23:56:56 +0000 (Sun, 15 Nov 2015) | 1 line
Changed paths:
   M /trunk/RandomMountContinued.lua
   M /trunk/RandomMountContinued.toc

update for Draenor flying

  • 1
  • 2
  • 3
  • 4
  • 5
  • Next


  • To post a comment, please or register a new account.
Posts Quoted:
Clear All Quotes