Download
(8Kb)
Download
Updated: 06-14-21 01:30 PM
Compatibility:
The Burning Crusade Classic (2.5.1)
Updated:06-14-21 01:30 PM
Created:05-23-21 08:52 PM
Downloads:1,055
Favorites:1
MD5:

RandomMount-TBC

Version: 0.0.9
by: Skafte [More]

Addon that allows for random mount summoning in Classic TBC. Will choose between any of the mounts currently in your bags and in your spellbook (for paladins and warlocks). Prefers faster mounts over slower mounts and prefers flying mounts over ground mounts in flyable areas.

In the current version you'll first have to install the addon, then make a macro that looks something like the following (can be tweaked)

Code:
/run RnM_Randomize()
/click [nomounted] RnM_Button
/dismount [mounted]
Then finally bind this macro to a key using whatever method you prefer.

There's no UI for this, the premise is that any mount in your bags is a mount you'd like to use. If you'd like to exclude spell mounts there's a single variable you can change close to the top of RandomMount.lua

Optional Files (0)


Archived Files (7)
File Name
Version
Size
Author
Date
0.0.7
8kB
Skafte
06-14-21 01:18 PM
0.0.6
8kB
Skafte
06-04-21 02:24 AM
0.0.5
8kB
Skafte
05-25-21 07:26 PM
0.0.4
8kB
Skafte
05-25-21 02:27 AM
0.0.3
8kB
Skafte
05-24-21 04:44 PM
0.0.2
8kB
Skafte
05-24-21 04:31 PM
0.0.1
7kB
Skafte
05-23-21 08:52 PM


Post A Reply Comment Options
Unread 01-06-22, 06:23 AM  
PuggaSlugga
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
The useSpellMounts variable doesn't seem to work:

Setting it to 'false' works as intended, spell mounts aren't used.
Setting it to 'true' breaks the macro, it stops working altogether.
Report comment to moderator  
Reply With Quote
Unread 11-04-21, 03:31 AM  
krclegend
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
The horseman's reins

Any chance of adding the horseman reins?
I tried adding to the ID to the list of fast flyers but didnt work, probably not that easy!
Report comment to moderator  
Reply With Quote
Unread 10-05-21, 08:38 PM  
Angrulus
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Re: Scarab mount?

Also is not counting the Red Qiraji Resonating Crystal. Or perhaps I should say that I keep getting an error saying "RandomMount Unknown mount, please report a bug with the following information 21321 Red Qiraji Resonating Crystal". I have not actually gone all the way to that horrible place to check.
Report comment to moderator  
Reply With Quote
Unread 07-23-21, 11:53 AM  
bgeesy
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Scarab mount?

Hey guys, this addon rocks for TBC Classic!

But my friend was lucky enough to be a scarab lord and get the mount (yeah i know, screw that guy). He says it doesn't work w/ this addon.

Do I just need to add the item ID for him? Or would it need more work like the engy mount did (thanks for that btw)? Thanks for any info you could provide!
Report comment to moderator  
Reply With Quote
Unread 06-14-21, 03:02 PM  
Skafte
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 6
Uploads: 1
Re: Re: Re: Engi Flying mounts

Originally Posted by Bonk210
Edit: I downloaded .08 which appears to not work instead of 0.0.9. 0.0.9 works for me
Yeah, I tried to fix a minor issue in 0.0.8 but broke something else. Not sure if it's possible to unpublish so I just published 0.0.9 instead. Good to hear it works.
Report comment to moderator  
Reply With Quote
Unread 06-14-21, 02:34 PM  
Bonk210
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: Re: Engi Flying mounts

Originally Posted by Skafte
It does indeed seem like the eng mounts are not of type "Mount". I've updated the code to also look at item type "Devices" which is the type of the turbo charged eng mount at least. Version 0.0.7 should have this fixed.
The macro doesn't appear to work anymore. Push it and nothing happens

Edit: I downloaded .08 which appears to not work instead of 0.0.9. 0.0.9 works for me
Last edited by Bonk210 : 06-14-21 at 02:40 PM.
Report comment to moderator  
Reply With Quote
Unread 06-14-21, 01:20 PM  
Skafte
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 6
Uploads: 1
Re: Engi Flying mounts

Originally Posted by Bonk210
Edit: I looked at the LUA and the mount is in the LUA I'm not sure why it's not working. Perhaps the engi mount's item type isn't mount? I have no idea how to look that up though
It does indeed seem like the eng mounts are not of type "Mount". I've updated the code to also look at item type "Devices" which is the type of the turbo charged eng mount at least. Version 0.0.7 should have this fixed.
Report comment to moderator  
Reply With Quote
Unread 06-14-21, 06:02 AM  
Bonk210
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Engi Flying mounts

It seems engi flying mounts aren't included? The macro will always mount me on my windrider and never my engi only mount. Unless maybe I have an old version.

Edit: I looked at the LUA and the mount is in the LUA I'm not sure why it's not working. Perhaps the engi mount's item type isn't mount? I have no idea how to look that up though
Last edited by Bonk210 : 06-14-21 at 06:24 AM.
Report comment to moderator  
Reply With Quote
Unread 06-08-21, 07:33 PM  
Skafte
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 6
Uploads: 1
Originally Posted by Nevicar
downloaded this addon today for the sole purpose of using a flying mount only in outland and my charger in azeroth under 1 button. works great so far and have no problems.
Thanks, good to have confirmation that the flying mount selection works, I haven't gotten to 70 yet.
Originally Posted by Nevicar
only request is maybe add a / option to allow disabling of the messages. don't really care how many mounts it finds.
Yeah, it might be good to have some form of UI, could be nice to be able to prefer fast ground mounts over slow flying mounts in certain zones etc. I'll look into it.
Report comment to moderator  
Reply With Quote
Unread 06-08-21, 01:41 PM  
Nevicar
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
downloaded this addon today for the sole purpose of using a flying mount only in outland and my charger in azeroth under 1 button. works great so far and have no problems. only request is maybe add a / option to allow disabling of the messages. don't really care how many mounts it finds.

this addon could easily become as good as litemount is on retail and has a great standing so far. good stuff.
Last edited by Nevicar : 06-08-21 at 01:42 PM.
Report comment to moderator  
Reply With Quote
Unread 06-04-21, 02:25 AM  
Skafte
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 6
Uploads: 1
Re: Unending loop for prompt when used with a new mount

Originally Posted by rbpaiett
I tried this with a new mount and it got stuck in a loop where it was prompting me to bind it to my char. I had to relog and accept the mount without the macro first.
I've added a fix for this in version 0.0.6. This might cause newly bound mounts to not be considered until the bags are otherwise updated or a ui reload has been performed though.
Last edited by Skafte : 06-04-21 at 02:31 AM.
Report comment to moderator  
Reply With Quote
Unread 06-04-21, 02:14 AM  
Skafte
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 6
Uploads: 1
Re: Unending loop for prompt when used with a new mount

Originally Posted by rbpaiett
Ok, that first part was not caused by your addon but this lua error seems legit so I hope this info is helpful.
Hm, I suppose I hadn't considered what would happen if you have a boe mount in your bags that isn't bound to you. I'll see if I can get that fixed.

The error regarding a nil RnM_Randomize might be because you disabled the addon but you're still trying to use a macro that tries to use it?
Report comment to moderator  
Reply With Quote
Unread 05-31-21, 09:48 PM  
rbpaiett
A Murloc Raider

Forum posts: 4
File comments: 49
Uploads: 0
Unending loop for prompt when used with a new mount

I tried this with a new mount and it got stuck in a loop where it was prompting me to bind it to my char. I had to relog and accept the mount without the macro first.

UPDATE:

Ok, logged back on and it was still stuck looping, then I could clear it by hearthing. I tried to use it again and it went on the loop again. Now I can't use the char at all

In the event it isn't your addon, I submitted a ticket to Blizz just to see what happens.

FURTHER UPDATE:

I disabled all addons and relogged and the error cleared. Then when I dismounted and relogged again, I got the following error:

1x [string "RnM_Randomize()"]:1: attempt to call global 'RnM_Randomize' (a nil value)
[string "RnM_Randomize()"]:1: in main chunk
[string "=[C]"]: in function `RunScript'
[string "@FrameXML\ChatFrame.lua"]:2160: in function `?'
[string "@FrameXML\ChatFrame.lua"]:4825: in function `ChatEdit_ParseText'
[string "@FrameXML\ChatFrame.lua"]:4488: in function `ChatEdit_SendText'
[string "@FrameXML\ChatFrame.lua"]:2916: in function <FrameXML\ChatFrame.lua:2909>
[string "=[C]"]: in function `RunMacroText'
[string "@FrameXML\SecureTemplates.lua"]:424: in function `handler'
[string "@FrameXML\SecureTemplates.lua"]:616: in function <FrameXML\SecureTemplates.lua:564>

Locals:
(*temporary) = nil
(*temporary) = "attempt to call global 'RnM_Randomize' (a nil value)"

Not sure what to do now.

ANOTHER UPDATE:

Ok, that first part was not caused by your addon but this lua error seems legit so I hope this info is helpful.
Last edited by rbpaiett : 05-31-21 at 10:48 PM.
Report comment to moderator  
Reply With Quote
Unread 05-26-21, 06:36 PM  
Skafte
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 6
Uploads: 1
No, it will not. I could attempt to implement that though.
Report comment to moderator  
Reply With Quote
Unread 05-26-21, 10:08 AM  
Ish
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
Druid Forms

Will this use a druid travel/cat form if the druid can not mount. For example when in combat, moving, in water, or in an dungeon?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: