Go to Page... |
Compatibility: | Legion (7.0.3) |
Updated: | 07-19-16 12:25 PM |
Created: | 05-31-09 12:13 PM |
Downloads: | 21,196 |
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 |
06-22-09, 02:16 AM | |
A Kobold Labourer
Forum posts: 1
File comments: 58
Uploads: 0
|
I worry that I'm becoming a bit of a pest....but it would seem you broke my druid again...same error as before...I should have checked for this last night, but it didn't occur to me that fixing the mounts would break the druid forms...
Date: 2009-06-22 03:04:06 ID: 1 Error occured in: Global Count: 1 Message: ...terface\AddOns\MountRandomMount\MountRandomMount.lua line 73: attempt to call method 'SetAttribute' (a nil value) Debug: [C]: SetAttribute() ...terface\AddOns\MountRandomMount\MountRandomMount.lua:73: MountRandomMount_TravelForm() [string "MRMTravelTRIGGER"]:5: [string "MRMTravelTRIGGER"]:1 current saved variables... Code:
MountRandomMount = { ["randommountlist"] = { ["Land"] = { }, ["Flying"] = { }, }, ["version"] = "2.0 c", ["btn"] = { }, ["MRMDruid_CatInside"] = false, }
Last edited by Katardre : 06-22-09 at 02:37 AM.
|
|
06-22-09, 06:32 AM | ||
|
|
|
|
dardack |
View Public Profile |
Send a private message to dardack |
Find More Posts by dardack |
Add dardack to Your Buddy List |
06-22-09, 07:04 AM | |
A Kobold Labourer
Forum posts: 1
File comments: 58
Uploads: 0
|
was gonna post a yay, it's fixed....but I got this on my Death Knight when I tried to add her Deathcharger to her mount list via the /rdm gui...
Date: 2009-06-22 07:59:32 ID: 1 Error occured in: Global Count: 1 Message: ...terface\AddOns\MountRandomMount\MountRandomMount.lua line 232: attempt to index field 'randommountlist' (a nil value) Debug: [C]: ? ...terface\AddOns\MountRandomMount\MountRandomMount.lua:232: MountRandomMount_add() ...ace\AddOns\MountRandomMount\MountRandomMount_GUI.lua:91: MRMFrameButton_AddMount_OnClick() [string "*:OnClick"]:1: [string "*:OnClick"]:1 and this lovely little error when I tried to add it by typing /rdm add acherus deathcharger Date: 2009-06-22 08:01:13 ID: 2 Error occured in: Global Count: 1 Message: ...terface\AddOns\MountRandomMount\MountRandomMount.lua line 245: attempt to concatenate local 'amount' (a nil value) Debug: [C]: ? ...terface\AddOns\MountRandomMount\MountRandomMount.lua:245: MountRandomMount_add() ...terface\AddOns\MountRandomMount\MountRandomMount.lua:361: ?() ..\FrameXML\ChatFrame.lua:3332: ChatEdit_ParseText() ..\FrameXML\ChatFrame.lua:3052: ChatEdit_SendText() ..\FrameXML\ChatFrame.lua:3073: ..\FrameXML\ChatFrame.lua:3072 [C]: ChatEdit_OnEnterPressed() [string "*:OnEnterPressed"]:1: [string "*:OnEnterPressed"]:1 thought it might be the deathcharger...but it seems to do that with any mount...on any toon... |
|
Katardre |
View Public Profile |
Send a private message to Katardre |
Find More Posts by Katardre |
Add Katardre to Your Buddy List |
06-22-09, 11:04 AM | ||
|
|
|
|
dardack |
View Public Profile |
Send a private message to dardack |
Find More Posts by dardack |
Add dardack to Your Buddy List |
06-22-09, 02:43 PM | |
A Kobold Labourer
Forum posts: 1
File comments: 58
Uploads: 0
|
seems to all work now again...thanks for the fix
|
|
Katardre |
View Public Profile |
Send a private message to Katardre |
Find More Posts by Katardre |
Add Katardre to Your Buddy List |
07-17-09, 08:09 PM | |
|
Just tried this and I love it.
I just have one suggestion or wondering if it can do this already... A / command (For macro) or button you can put up on your bars or move anywhere? |
|
ArtemusB |
View Public Profile |
Send a private message to ArtemusB |
Find More Posts by ArtemusB |
Add ArtemusB to Your Buddy List |
07-17-09, 09:14 PM | ||
|
if your talking just to summon a land mount, not sure if i put in a slash command for that, however, there are key bindings for both. Go to main menu->key bindings-> scroll down to MountRandomMount and just select a keybinding you want. |
|
|
dardack |
View Public Profile |
Send a private message to dardack |
Find More Posts by dardack |
Add dardack to Your Buddy List |
08-01-09, 10:31 AM | |
A Kobold Labourer
Forum posts: 0
File comments: 1
Uploads: 0
|
MECHANOSTRIDER IS NOT A FLYING MOUNT
So, I'm a mount collector, meaning I have very many mounts. I have 5 mounts on my list, Fiery Warhorse, Swift Razzashi Raptor, Blue Proto-Drake, Green Proto-Drake and Red Proto-Drake. In a zone where flying mounts are not allowed /rdm random simply mounts Fiery Warhorse or Raptor but where flying mounts are allowed instead of mounting Blue, Green or Red Proto-Drake it mounts up Blue, Green or Red MECHANOSTRIDER. This is incredibly annoying and eliminated all use of this addon for me. Please let me know a way to fix this or fix this annoying bug.
|
|
Whorane |
View Public Profile |
Send a private message to Whorane |
Find More Posts by Whorane |
Add Whorane to Your Buddy List |
08-02-09, 07:34 AM | ||
|
Re: MECHANOSTRIDER IS NOT A FLYING MOUNT
Cause i have all these mounts and this doesn't happen to me, so am not able to recreate the issue. You could also try deleted your MountRandomMount.lua in your savedvariables folder, downloading the new version, and trying that.
Last edited by dardack : 08-02-09 at 07:38 AM.
|
|
|
dardack |
View Public Profile |
Send a private message to dardack |
Find More Posts by dardack |
Add dardack to Your Buddy List |
09-01-09, 05:24 PM | |
A Kobold Labourer
Forum posts: 1
File comments: 58
Uploads: 0
|
I like the new WG update...
I took it a step further and changed a tiny bit of code here and there to make your WG workaround work in Dalaran as well since there are places in Dalaran that you either can fly(the sewer exit pipe/part of krasus' landing) or cannot fly(everywhere else?)....and no real way to distinguish between them without some seriously complex coding...at least for the exit pipe....I also added a line of code to get rid of the "You cannot use that here" message when it tries to mount you on a flying mount in a no-flying area...tho I still have not figured out how to get rid of the "Another action is in progress" message when you successfully mount a flying mount in Dal or WG....but I can live with that... Code:
if ((GetZoneText() == MRMWintergrasp) or (GetRealZoneText()==MRMDalaran)) then if (MountRandomMount_SavedTable.randommountlist["Flying"] == nil) or (#MountRandomMount_SavedTable.randommountlist["Flying"] == 0) then if (MountRandomMount_SavedTable.randommountlist["Land"] == nil) or (#MountRandomMount_SavedTable.randommountlist["Land"] == 0) then print(MRMNoMounts) return else print(MRMNoFlyingMountsLand) CallCompanion("MOUNT", MountRandomMount_SavedTable.randommountlist["Land"][(random(#MountRandomMount_SavedTable.randommountlist["Land"]))][2]) return end end CallCompanion("MOUNT", MountRandomMount_SavedTable.randommountlist["Flying"][(random(#MountRandomMount_SavedTable.randommountlist["Flying"]))][2]) UIErrorsFrame:Clear() if (MountRandomMount_SavedTable.randommountlist["Land"] == nil) or (#MountRandomMount_SavedTable.randommountlist["Land"] == 0) then return else CallCompanion("MOUNT", MountRandomMount_SavedTable.randommountlist["Land"][(random(#MountRandomMount_SavedTable.randommountlist["Land"]))][2]) end elseif not IsFlyableArea() then if (MountRandomMount_SavedTable.randommountlist["Land"] == nil) or (#MountRandomMount_SavedTable.randommountlist["Land"] == 0) then print(MRMNoLandMounts) return end |
|
Katardre |
View Public Profile |
Send a private message to Katardre |
Find More Posts by Katardre |
Add Katardre to Your Buddy List |
09-01-09, 07:37 PM | ||
|
As for dalaran, didn't know sewer exit, I'll prolly leave it alone since that's one tiny area in all of Dalaran, and I believe it already mounts a flying mount on karuss' landing. |
|
|
dardack |
View Public Profile |
Send a private message to dardack |
Find More Posts by dardack |
Add dardack to Your Buddy List |
09-01-09, 08:26 PM | |
A Kobold Labourer
Forum posts: 1
File comments: 58
Uploads: 0
|
ah, I usually leave Dalaran thru the sewers when im traveling to WG as it's a shorter flight that way...thus my desire to use the WG workaround...and you did add Krasus' Landing properly...save that you can mount a ground mount on the stairs and I'm a bit of a perfectionist...so little things bug me when most people wouldn't notice...lol...good point about the error message tho...
Any chance you could make a similar workaround for druid flight form in WG? Casting flight form triggers the global cooldown so the same trick should work... |
|
Katardre |
View Public Profile |
Send a private message to Katardre |
Find More Posts by Katardre |
Add Katardre to Your Buddy List |
09-02-09, 08:04 AM | ||
A Kobold Labourer
Forum posts: 0
File comments: 6
Uploads: 0
|
i was fiddling around with this UI and realize it only adds my mounts to land mounts list, even with flyable mounts. that means my flying mount list is empty. i'm not sure if this is due to localization issue, but is there anyway to manually adding mounts to flying mount list rather than using GUI? thanks again for the great UI. |
|
|
benimaru |
View Public Profile |
Send a private message to benimaru |
Find More Posts by benimaru |
Add benimaru to Your Buddy List |
09-02-09, 08:09 AM | ||
|
MRMBronzeDrake, MRMBronzeDrakeMount (the mount from Timed CoS) MRMDalaran MRMWintergrasp MRMKrasusLanding MRMOutland MRMNorthrend MRMHeadlessKeywordLocation (for headless horseman mount) MRMDruid MRMShaman I mean i would love every variable translated, but if you can translate these I've listed, I can provide update to be used in your language. The reason this happens is that it parses the tooltip of the mount to find out if flying by looking for Northrend/Outland. |
|
|
dardack |
View Public Profile |
Send a private message to dardack |
Find More Posts by dardack |
Add dardack to Your Buddy List |