Go to Page... |
Compatibility: | Legion (7.0.3) |
Updated: | 07-19-16 12:25 PM |
Created: | 05-31-09 12:13 PM |
Downloads: | 21,191 |
Favorites: | 74 |
MD5: |
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?
Comment Options |
dardack |
View Public Profile |
Send a private message to dardack |
Find More Posts by dardack |
Add dardack to Your Buddy List |
12-20-10, 10:36 AM | ||
|
|
|
|
dardack |
View Public Profile |
Send a private message to dardack |
Find More Posts by dardack |
Add dardack to Your Buddy List |
12-20-10, 08:50 AM | ||
|
It reminds me how blizzard does their API documentation ... Actually, I know more things on achievement API function than you can find on google, thanks blizzard. |
|
|
Tomate |
View Public Profile |
Send a private message to Tomate |
Find More Posts by Tomate |
Add Tomate to Your Buddy List |
12-19-10, 12:49 PM | ||
|
|
|
|
dardack |
View Public Profile |
Send a private message to dardack |
Find More Posts by dardack |
Add dardack to Your Buddy List |
12-19-10, 12:04 AM | |
|
Hi,
I have done a slight update of the frFR localization. Code:
if ( GetLocale() == "frFR" ) then MRMNoMounts = "Aucune monture n'a \195\169t\195\169 ajout\195\169 \195\160 votre liste de monture al\195\169atoire." MRMNoLandMounts = "Aucune monture terrestre n'a \195\169t\195\169 ajout\195\169 \195\160 votre liste de monture al\195\169atoire." MRMNoFlyingMountsLand = "Aucune monture volante n'a \195\169t\195\169 ajout\195\169 \195\160 votre liste de monture al\195\169atoire. Utilisation de la monture terrestre." MRMBronzeDrake = "Drake de bronze" MRMBronzeDrakeMount = "R\195\170nes de drake bronze" MRMRandom = "random" MRMAdd = "add" MRMRemove = "remove" MRMList = "list" MRMGui = "gui" MRMReseed = "reseed" MRMReseedPrint = "La liste des monture a \195\169t\195\169 r\195\169index\195\169e." MRMCatInside = "catform" MRMCommands = "MountRandomMount v"..MountRandomMount.version.."\n Faire: /rdm -- Affiche cette aide\n /rdm "..MRMAdd.." [nom de monture] (Vous pouvez shift click depuis la liste des montures) -- Ajoute une autre monture dans la liste\n /rdm "..MRMRemove.." [nom de monture] (vous pouvez aussi shift click depuis la liste des montures) -- Retire la monture de la liste\n /rdm "..MRMList.." -- Liste les monture choisis\n /rdm "..MRMGui.." -- Affiche l'interface de selection des montures\n /rdm "..MRMReseed.." -- Si vous utilisez plus qu'un ordinateur et que vous apprenez une nouvelle monture, la liste ne marchera pas sur l'autre oridnateur, a utiliser pour r\195\169indexer correctement la liste des monture\n /rdm "..MRMRandom.." -- Invoque une monture al\195\169atoire (utilise une monture volante dans les zones authoris\195\169s ou une monture terrestre sinon)\n /rdm "..MRMCatInside.." -- Active/d\195\169sactive la forme de f\195\169lin en int\195\169rieur et en instances.\n Il y a des racourcis disponible dans l'interface d'affectation des racourcis de blizzard. Un des racourcis permet d'invoquer une monture al\195\169atoire (volante/terrestre), un autre permet d'invoquer une monture terrestre ou que vous soyez, et un autre pour les invoquations de classe.\n " MRMNoFlyingMounts = "Vous n'avez pas s\195\169lectionn\195\169 de monture volante." MRMListTitle = "Les montures s\195\169lectionn\195\169es sont: " MRMListFlyingTitle = "Monture volante a utilis\195\169 en Outreterre et au Norfendre (Exept\195\169 \195\160 Dalaran et au Joug):" MRMListLandTitle = "Monture terrestre a utilis\195\169 partout ailleur:" MRMDalaran = "Dalaran" MRMWintergrasp = "Joug-d'hiver" MRMKrasusLanding = "Aire de Krasus" MRMOutland = "Outreterre" MRMNorthrend = "Norfendre" MRMEasternKindom = "Royaumes de l'Est" MRMHeadlessKeywordLocation = "Localisation" --for celestial steed MRMFlyingAdded = "a \195\169t\195\169 ajout\195\169 \195\160 votre liste de monture volante al\195\169atoire." MRMAlreadyInList = "est d\195\169j\195\160 dans votre liste de monture al\195\169atoire." MRMLandAdded = "a \195\169t\195\169 ajout\195\169 \195\160 votre liste de monture terrestre al\195\169atoire." MRMFlyingRemoved = "a \195\169t\195\169 supprim\195\169 \195\160 votre liste de monture volante al\195\169atoire." MRMLandRemoved = "a \195\169t\195\169 supprim\195\169 \195\160 votre liste de monture terrestre al\195\169atoire." MRMNoExist = "n'existe pas dans votre liste de monture." MRMCatForm = "Vous n'avez pas encore appris la forme de f\195\169lin." MRMTravelForm = "Vous n'avez pas encore appris la forme de voyage." MRMFlightForm = "Vous n'avez pas encore appris la forme de vole." MRMGhostWolf = "Vous n'avez pas encore appris loup fant\195\180me." MRMRunningWild = "You have not trained Running Wild yet." MRMShaman = "Chaman" MRMShamanF = "Chamane" MRMWorgen = "Worgen" MRMDruid = "Druide" MRMCatInsideTrue = "Vous utiliserez maintenant la forme de f\195\169lin en interrieur et en instance." MRMCatInsideFalse = "Vous n'utiliserez plus la forme de f\195\169lin en interrieur et en instance." MRMNoLockMount = "Vous n'avez pas encore appris une seul des monture de d\195\169moniste." MRMNoMountsAtAll = "ous n'avez pas de monture." MRMToolTipText = "Ajouter/Supprimer cette monture de votre liste de monture al\195\169atoire." MRMExit = "Sortir" MRMMRM = "Mount Random Mount" MRMRMList = "Liste de monture al\195\169atoire." MRMMountName = RED_FONT_COLOR_CODE.."Nom de la monture|r" MRMInList = GREEN_FONT_COLOR_CODE.."Dans la liste|r" MRMNext = "Suivant" MRMPrev = "Pr\195\169c\195\169dent" MRMNotRightClass = "D\195\169sol\195\169 vous ne faites pas parties des classes ayant une monture/forme de voyage comme sort, ignor\195\169 cette commande." MRMNotADruid = "Vous n'\195\170tes pas druide, ignor\195\169 cette commande." MRMSeaTurtle = "Tortue de mer" MRMAcquaForm = "Vous n'avez pas encore appris la forme de voyage aquatic." MRMHeadlessHorsemanSpecific = "sans t\195\170te" MRMX53TouringRocket = "X-53" MRMBracketERROR = "Vous devez encadrer le nom de la monture avec des [], ex: /rdm add [nom_de_la_monture], ou linkez la." end Actually the function GetCurrentMapZone() in Vashj'ir return 8 or 30 in two of the three zone in Vashj'ir. I have not try the last one. I will comeback to tell you the value returned in the last zone. I think maybe the value returned is the index of the zone alphabetically ordered. This order is different threw client localization. [EDIT] The last zone has the id 10.
Last edited by Tomate : 12-19-10 at 02:24 PM.
|
|
Tomate |
View Public Profile |
Send a private message to Tomate |
Find More Posts by Tomate |
Add Tomate to Your Buddy List |
12-18-10, 03:01 PM | ||
|
|
|
|
dardack |
View Public Profile |
Send a private message to dardack |
Find More Posts by dardack |
Add dardack to Your Buddy List |
12-18-10, 10:00 AM | |
A Kobold Labourer
Forum posts: 1
File comments: 58
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 |
View Public Profile |
Send a private message to Katardre |
Find More Posts by Katardre |
Add Katardre to Your Buddy List |
12-17-10, 02:29 PM | ||
|
|
|
|
dardack |
View Public Profile |
Send a private message to dardack |
Find More Posts by dardack |
Add dardack to Your Buddy List |
12-11-10, 06:34 PM | ||
A Kobold Labourer
Forum posts: 0
File comments: 6
Uploads: 0
|
|
|
|
Ravenhawk9999 |
View Public Profile |
Send a private message to Ravenhawk9999 |
Find More Posts by Ravenhawk9999 |
Add Ravenhawk9999 to Your Buddy List |
12-11-10, 04:13 PM | ||
|
|
|
|
dardack |
View Public Profile |
Send a private message to dardack |
Find More Posts by dardack |
Add dardack to Your Buddy List |
12-11-10, 11:37 AM | |
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 |
View Public Profile |
Send a private message to Ravenhawk9999 |
Find More Posts by Ravenhawk9999 |
Add Ravenhawk9999 to Your Buddy List |
12-09-10, 07:47 AM | ||
|
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 |
View Public Profile |
Send a private message to dardack |
Find More Posts by dardack |
Add dardack to Your Buddy List |
12-09-10, 04:15 AM | ||
|
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
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 |
View Public Profile |
Send a private message to Tonyleila |
Visit Tonyleila's homepage! |
Find More Posts by Tonyleila |
Add Tonyleila to Your Buddy List |
12-08-10, 06:59 AM | ||
|
Re: Not bringing up seahorse mount
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 |
View Public Profile |
Send a private message to dardack |
Visit dardack's homepage! |
Find More Posts by dardack |
Add dardack to Your Buddy List |
12-07-10, 01:01 PM | |
|
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 |
View Public Profile |
Send a private message to help137 |
Visit help137's homepage! |
Find More Posts by help137 |
Add help137 to Your Buddy List |