Go to Page... |
Compatibility: | Legion (7.0.3) |
Updated: | 07-19-16 12:25 PM |
Created: | 05-31-09 12:13 PM |
Downloads: | 21,190 |
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 |
11-12-10, 05:10 PM | ||
|
|
|
|
dardack |
View Public Profile |
Send a private message to dardack |
Find More Posts by dardack |
Add dardack to Your Buddy List |
Katardre |
View Public Profile |
Send a private message to Katardre |
Find More Posts by Katardre |
Add Katardre to Your Buddy List |
dardack |
View Public Profile |
Send a private message to dardack |
Find More Posts by dardack |
Add dardack to Your Buddy List |
11-12-10, 03:50 PM | ||
|
|
|
|
dardack |
View Public Profile |
Send a private message to dardack |
Find More Posts by dardack |
Add dardack to Your Buddy List |
11-12-10, 03:41 PM | |
A Kobold Labourer
Forum posts: 1
File comments: 58
Uploads: 0
|
yes Yellow Qiraji Battle Tank is...but she's not my only toon with it...tho come to think of it,hunter 2 has it, but hasn't had it in the list as it cut off after 47 and it would be mount 49...tho that's fixed now and she has no problem accessing all her mounts via the gui...
wow... /rdm gui completely locks up Paladin 2s game...had to ctrl-alt-del to get out...ouch...no error or warning...just frozen (Not Responding)... and hunter 1 now locks up too...but only on her flying list...she has the blue battle tank as her first mount and the violet proto-drake as her last if that matters any... I can still add and remove mounts by typing it out...and it works fine...just can't access the GUI on Hunter 1 or Paladin 2 without lockup... the rest seem fixed tho...
Last edited by Katardre : 11-12-10 at 03:51 PM.
|
|
Katardre |
View Public Profile |
Send a private message to Katardre |
Find More Posts by Katardre |
Add Katardre to Your Buddy List |
11-12-10, 02:32 PM | |
|
Re: Re: mrm problems
Kat can you try version h for me?
Also, is Yellow tank from AQ last mount in your list?
Last edited by dardack : 11-12-10 at 02:36 PM.
|
|
dardack |
View Public Profile |
Send a private message to dardack |
Find More Posts by dardack |
Add dardack to Your Buddy List |
11-12-10, 02:31 PM | ||
|
Re: mrm problems
also copy /rdm list for the errors, working with kat to figure it all out. |
|
|
dardack |
View Public Profile |
Send a private message to dardack |
Find More Posts by dardack |
Add dardack to Your Buddy List |
11-12-10, 01:02 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 8
Uploads: 0
|
mrm problems
I just started using this addon. I randomly get this error when I click on the flying list.
Code:
1x MountRandomMount-4.0.1e\MountRandomMount_GUI.lua:32: attempt to index field '?' (a nil value) <string>:"*:OnShow":1: in function <[string "*:OnShow"]:1> <in C code>: in function `Show' <string>:"*:OnClick":3: in function <[string "*:OnClick"]:1> Locals: self = MRM_TabPage2 { 0 = <userdata> } --- Let me know if there is any other info I can provide. |
|
boobox |
View Public Profile |
Send a private message to boobox |
Find More Posts by boobox |
Add boobox to Your Buddy List |
11-12-10, 12:48 PM | |
A Kobold Labourer
Forum posts: 1
File comments: 58
Uploads: 0
|
ok, this is what I found....
mage - no problems DK - no problems priest - only shows 14 of 15 land...and 4 of 9 flying....prev/next buttons disabled on the land list....but no errors... hunter 1 - only shows 7 of 9 flying mounts....no errors... hunter 2 - mount collector toon...only shows 14 of 49 land and the 4 of 8 flying mounts in her lists....Prev/Next buttons disabled on the land list...but no errors... rogue - no problems... druid - no problems I have too many toons...lol paladin 1 - no problems warrior - no problems Paladin 2 - has all mounts in proper places, but still gives errors on opening the GUI...then gives more errors if I switch from land to flying, then back to land...some 13 errors total...I post error 1, 2 and 13...if you need the rest let me know.... Message: ...ace\AddOns\MountRandomMount\MountRandomMount_GUI.lua:134: attempt to index field '?' (a nil value) Time: 11/12/10 12:09:09 Count: 3 Stack: ...ace\AddOns\MountRandomMount\MountRandomMount_GUI.lua:134: in function `MountRandomMount_GUI' [string "*:OnShow"]:1: in function <[string "*:OnShow"]:1> [C]: in function `Show' [string "*:OnClick"]:2: in function <[string "*:OnClick"]:1> Locals: i = 10 tt = 1 endnum = 15 showing = 9 (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = 26055 (*temporary) = "Interface\Icons\INV_Misc_QirajiCrystal_01" (*temporary) = "attempt to index field '?' (a nil value)" MRM_LandOffset = 7 MRM_Total_MountsShown = 14 MRM_GlobalLandOffset = <table> { } MRM_Frame_CurPAGENUM = 1 Message: Interface\FrameXML\UIPanelTemplates.lua:383: C stack overflow Time: 11/12/10 12:08:57 Count: 1 Stack: Interface\FrameXML\UIPanelTemplates.lua:383: in function `ScrollingEdit_OnUpdate' Interface\FrameXML\UIPanelTemplates.lua:360: in function `ScrollingEdit_OnTextChanged' ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:449: in function `ScriptErrorsFrame_Update' ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:413: in function `ScriptErrorsFrame_OnError' [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4> [C]: ? Interface\FrameXML\UIPanelTemplates.lua:383: in function `ScrollingEdit_OnUpdate' Interface\FrameXML\UIPanelTemplates.lua:360: in function `ScrollingEdit_OnTextChanged' ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:449: in function `ScriptErrorsFrame_Update' ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:413: in function `ScriptErrorsFrame_OnError' [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4> [C]: ? ... [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4> [C]: ? Interface\FrameXML\UIPanelTemplates.lua:383: in function `ScrollingEdit_OnUpdate' Interface\FrameXML\UIPanelTemplates.lua:360: in function `ScrollingEdit_OnTextChanged' ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:449: in function `ScriptErrorsFrame_Update' ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:413: in function `ScriptErrorsFrame_OnError' [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4> [C]: ? Interface\FrameXML\UIPanelTemplates.lua:383: in function `ScrollingEdit_OnUpdate' [string "*:OnUpdate"]:1: in function <[string "*:OnUpdate"]:1> Locals: self = ScriptErrorsFrameScrollFrameText { 0 = <userdata> text = "Message: ...ace\AddOns\MountRandomMount\MountRandomMount_GUI.lua:134: attempt to index field '?' (a nil value) Time: 11/12/10 12:08:56 Count: 1 Stack: ...ace\AddOns\MountRandomMount\MountRandomMount_GUI.lua:134: in function `MountRandomMount_GUI' [string "*:OnShow"]:1: in function <[string "*:OnShow"]:1> [C]: ? [C]: in function `Show' Interface\FrameXML\InterfaceOptionsFrame.lua:204: in function `InterfaceOptionsFrame_Show' Interface\FrameXML\InterfaceOptionsFrame.lua:484: in function `InterfaceOptionsFrame_OpenToCategory' ...terface\AddOns\MountRandomMount\MountRandomMount.lua:508: in function `value' Interface\FrameXML\ChatFrame.lua:4127: in function <Interface\FrameXML\ChatFrame.lua:4054> [C]: in function `ChatEdit_ParseText' Interface\FrameXML\ChatFrame.lua:3717: in function `ChatEdit_SendText' Interface\FrameXML\ChatFrame.lua:3755: in function `ChatEdit_OnEnterPressed' [string "*:OnEnterPressed"]:1: in function <[st handleCursorChange = true } elapsed = 0 scrollFrame = ScriptErrorsFrameScrollFrame { ScrollBar = ScriptErrorsFrameScrollFrameScrollBar { } offset = 0 0 = <userdata> } height = 194.00001053163 range = 0 scroll = 0 size = 194.00001053163 cursorOffset = nil (*temporary) = nil (*temporary) = ScriptErrorsFrameScrollFrame { ScrollBar = ScriptErrorsFrameScrollFrameScrollBar { } offset = 0 0 = <userdata> } (*temporary) = 0 (*temporary) = "attempt to perform arithmetic on field 'cursorOffset' (a nil value)" (*temporary) = <function> defined =[C]:-1 (*temporary) = "Interface\FrameXML\UIPanelTemplates.lua:383: attempt to perform arithmetic on field 'cursorOffset' (a nil value)" (*temporary) = "C stack overflow" Message: ...ace\AddOns\MountRandomMount\MountRandomMount_GUI.lua:134: attempt to index field '?' (a nil value) Time: 11/12/10 12:08:56 Count: 1 Stack: ...ace\AddOns\MountRandomMount\MountRandomMount_GUI.lua:134: in function `MountRandomMount_GUI' [string "*:OnShow"]:1: in function <[string "*:OnShow"]:1> [C]: ? [C]: in function `Show' Interface\FrameXML\InterfaceOptionsFrame.lua:204: in function `InterfaceOptionsFrame_Show' Interface\FrameXML\InterfaceOptionsFrame.lua:484: in function `InterfaceOptionsFrame_OpenToCategory' ...terface\AddOns\MountRandomMount\MountRandomMount.lua:508: in function `value' Interface\FrameXML\ChatFrame.lua:4127: in function <Interface\FrameXML\ChatFrame.lua:4054> [C]: in function `ChatEdit_ParseText' Interface\FrameXML\ChatFrame.lua:3717: in function `ChatEdit_SendText' Interface\FrameXML\ChatFrame.lua:3755: in function `ChatEdit_OnEnterPressed' [string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1> Locals: i = 10 tt = 1 endnum = 15 showing = 9 (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = 26055 (*temporary) = "Interface\Icons\INV_Misc_QirajiCrystal_01" (*temporary) = "attempt to index field '?' (a nil value)" MRM_LandOffset = 7 MRM_Total_MountsShown = 0 MRM_GlobalLandOffset = <table> { } MRM_Frame_CurPAGENUM = 1 |
|
Katardre |
View Public Profile |
Send a private message to Katardre |
Find More Posts by Katardre |
Add Katardre to Your Buddy List |
11-12-10, 11:41 AM | |
|
Katarde, can you test 4.0.1g with your toons and let me know?
|
|
dardack |
View Public Profile |
Send a private message to dardack |
Find More Posts by dardack |
Add dardack to Your Buddy List |
11-12-10, 10:54 AM | ||
|
Actually, i noticed that something I took out (a -2 on a variable) somehow made it's way back into the version I posted. So what i'm doing, is getting mounts to 20's on this toon, gonna log to all toons and make sure no errors. Should be posting a fix in like 20-30 minutes.
Last edited by dardack : 11-12-10 at 10:56 AM.
|
|
|
dardack |
View Public Profile |
Send a private message to dardack |
Find More Posts by dardack |
Add dardack to Your Buddy List |
11-12-10, 10:04 AM | |
A Kobold Labourer
Forum posts: 1
File comments: 58
Uploads: 0
|
I'm using version 4.0.1f...love the new GUI by the way....but I'm having a few problems...all my toons end up with some glitch or other...I disabled all other addons and deleted all MRM saved variables...so it's not that...
my priest...has 23 mounts...15 land and 9 flying(celestial steed)...all mounts show on the correct lists...but this error comes up every single time i click on the Flying Mounts tab in the gui... Message: ...ace\AddOns\MountRandomMount\MountRandomMount_GUI.lua:32: attempt to index field '?' (a nil value) Time: 11/12/10 09:07:20 Count: 2 Stack: ...ace\AddOns\MountRandomMount\MountRandomMount_GUI.lua:32: in function `MountRandomMount_Tab2_GUI' [string "*:OnShow"]:1: in function <[string "*:OnShow"]:1> [C]: in function `Show' [string "*:OnClick"]:3: in function <[string "*:OnClick"]:1> Locals: i = 9 (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = 23228 (*temporary) = "Interface\Icons\Ability_Mount_RidingHorse" (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = "attempt to index field '?' (a nil value)" MRM_FlyingOffset = 15 MRM_Total_MountsShown = 14 MRM_GlobalFlyingOffset = <table> { 1 = 15 } MRM_Frame_CurPAGENUM = 1 my rogue only has 9 mounts...5 flying, 5 land(celestial steed)...I get no errors on this toon...but ALL of her mounts show up in BOTH lists... my hunter...has 17 mounts...9 flying, and 9 lands(celestial steed)...all the mounts show up in the correct lists, however she gets an error(almost exactly the same error as my second paladin...see below) when opening the GUI... my druid...has 8 mounts...4 flying a 6 land(celestial steed and HH)...no errors....but again ALL mounts show up in BOTH lists.... my paladin...11 mounts...6 land, 6 flying(celestial steed again)...no errors, but again ALL mounts show up in BOTH lists... my warrior...11 mounts...4 land, 8 flying(celestial steed)...no errors, ALL mounts show in BOTH lists... my mage...11 mounts...6 land, 7 flying(celestial steed and HH)...no errors....ALL mounts show in BOTH lists... my second paladin...16 mounts...9 land, 8 flying...show up in correct lists, but gives errors like the first hunter... Message: ...ace\AddOns\MountRandomMount\MountRandomMount_GUI.lua:102: attempt to index field '?' (a nil value) Time: 11/12/10 09:35:36 Count: 1 Stack: ...ace\AddOns\MountRandomMount\MountRandomMount_GUI.lua:102: in function `MountRandomMount_GUI' [string "*:OnShow"]:1: in function <[string "*:OnShow"]:1> [C]: ? [C]: in function `Show' Interface\FrameXML\InterfaceOptionsFrame.lua:204: in function `InterfaceOptionsFrame_Show' Interface\FrameXML\InterfaceOptionsFrame.lua:484: in function `InterfaceOptionsFrame_OpenToCategory' ...terface\AddOns\MountRandomMount\MountRandomMount.lua:515: in function `value' Interface\FrameXML\ChatFrame.lua:4127: in function <Interface\FrameXML\ChatFrame.lua:4054> [C]: in function `ChatEdit_ParseText' Interface\FrameXML\ChatFrame.lua:3717: in function `ChatEdit_SendText' Interface\FrameXML\ChatFrame.lua:3755: in function `ChatEdit_OnEnterPressed' [string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1> Locals: i = 10 (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = 26055 (*temporary) = "Interface\Icons\INV_Misc_QirajiCrystal_01" (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = "attempt to index field '?' (a nil value)" MRM_LandOffset = 7 MRM_Total_MountsShown = 0 MRM_GlobalLandOffset = <table> { } MRM_Frame_CurPAGENUM = 1 my second hunter...this one is my mount collector...56 mounts...49 land...8 flying(celestial steed)...gives similar error as my priest Message: ...ace\AddOns\MountRandomMount\MountRandomMount_GUI.lua:32: attempt to index field '?' (a nil value) Time: 11/12/10 09:43:21 Count: 6 Stack: ...ace\AddOns\MountRandomMount\MountRandomMount_GUI.lua:32: in function `MountRandomMount_Tab2_GUI' [string "*:OnShow"]:1: in function <[string "*:OnShow"]:1> [C]: in function `Show' [string "*:OnClick"]:3: in function <[string "*:OnClick"]:1> Locals: i = 9 (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = 26055 (*temporary) = "Interface\Icons\INV_Misc_QirajiCrystal_01" (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = "attempt to index field '?' (a nil value)" MRM_FlyingOffset = 48 MRM_Total_MountsShown = 14 MRM_GlobalFlyingOffset = <table> { 1 = 48 } MRM_Frame_CurPAGENUM = 1 Also of note...on this hunter it puts all the mounts in the right lists...but only actually lists 47 of my 49 land mounts...it misses the last two alphabetically...the White War Talbuk and the Yellow Qiraji Battle Tank... my Death Knight....has 3 mounts...2 land, 2 flying(celestial steed)...no errors...ALL mounts show up on BOTH lists... The addon works....it just doesn't work perfectly...and it does save my changes even when it gives errors...and it does add the mounts to the correct land/flying lists when you select them...it just displays them in the wrong places on the GUI...not a really big deal as I don't usually change which mounts I use, it's one of those set it up and forget it things...but I don't like errors...so I thought I'd see if this is something on my end or an actual problem with the addon...
Last edited by Katardre : 11-12-10 at 10:06 AM.
|
|
Katardre |
View Public Profile |
Send a private message to Katardre |
Find More Posts by Katardre |
Add Katardre to Your Buddy List |
11-09-10, 01:08 PM | |
|
OK changed GUI, allowed combo mounts (hhm/x-53/celest) to be in either list or both. Let me know any comments.
At this time I haven't allowed the turtle to be added to land mount list, or done anything with swimming. Not sure I will. Shaman casting GW inside does work. Confirmed. Hope y'all are ok with the changes. Sitting at 122 mounts in my lists, i'm still under 210kb memory used. So this mod should still be lightweight and quick. |
|
dardack |
View Public Profile |
Send a private message to dardack |
Find More Posts by dardack |
Add dardack to Your Buddy List |
11-07-10, 06:29 AM | |
A Kobold Labourer
Forum posts: 0
File comments: 5
Uploads: 0
|
http://pastebin.com/eFvRhtfB
ruRU localization update. There were no = in MRMBracketERROR message and i fixed some typo. |
|
lomoko |
View Public Profile |
Send a private message to lomoko |
Find More Posts by lomoko |
Add lomoko to Your Buddy List |
11-06-10, 07:15 PM | ||
|
Re: Blazing Hippogryph detected incorrectly
|
|
|
dardack |
View Public Profile |
Send a private message to dardack |
Find More Posts by dardack |
Add dardack to Your Buddy List |