A simple addon to allow you to summon a random mount or random pet with a click of the button. It is not tied to a specific group of mounts or pets and you may enter any and all mounts and pets you currently have. I did this so when new mounts/pets are added to the game, you are not stuck waiting for a new release.

When the addon loads, you will see two new buttons on your screen and can perform the following actions:

1) Right Click either button to open config panel
3) Right Mouse Drag to move the buttons anywhere on the screen (make sure buttons are not locked in config panel).
3) Left Click either button to summon a random mount/pet

Config Panel has the following:
General Tab - allow you to select general options for the addon
Mount Tab - A list of mounts you've added and information about each mount.
Pet Tab - A list of Pets you've added and information about each pet.

When first loading the addon, you will need to fill your mount list and pet list. This is now done by simply dragging and dropping the mount/pet from your corresponding mount/companion tab. When you drop the mount/pet in the drag/drop window it will display information about that mount/pet as well as add it to your list. To delete a mount/pet from the list, simply highlight the mount or pet and select the delete button.

NEW: Each pet/mount has a category behind the scenes. Trion is having difficulty making sure that new pets/mounts are categorized properly. This will cause a problem when trying to add them to the addon's lists. Before, I was adding a filter for known mounts, but it seems Trion isn't trying to fix the issue, so I decided to go in a different direction. Now when you add a pet/mount that is not categorized properly, the addon will prompt you to override the filter and add it anyway. For example, Snagletooth, is not categorized as a pet or companion. It is categorized as misc other. Unfortunately this approach will allow you to override pretty much anything... So you can add a helmet to the mounts, a sword to the pets, etc. It won't cause an error, but it will prevent the addon from working the way you expect it.

The general tab now has a few more options. One is to display the mount/pet icon on the interface. Hovering over the mount/pet interface will also present a tooltip with the summoned mount/pet. Another option is to allow duplicate mounts/pets. Along with duplicate mounts/pets, I've added a feature to force unique summon for mounts/pets. This will insure the addon loops through the entire list of mounts/pets before repeating.

Known Issues:
The API does not allow inspection of current mount status. It is possible for the addon's mount messages to get out of sink depending on how you dismount or are dismounted. If this happens, use the addon to summon mount. Once summoned, manually dismount and the addon should be back in synch. For that reason, you can turn off mount messages on the general tab. If functionality is every added to allow us to see mounted status, this bug will be fixed.

Donations of plat to Gralli@Faeblight welcome!

THANKS!
Big thanks to Pyroluna and The Hammerfist Clan Rift Team: (http://www.hammerfistclan.com/)
Also, thanks to Doxxx for libSimpleWidgets!
Adelea for the drag/drop functionality. Makes it much more user friendly.

2.1.0
* Added ability to override addon's filtering system. Allowing users to force add a mount/pet that might not be categorized correctly behind the scenes. Please see addon description for more details.
* Fixed an error that might occur when a client first sees a pet/mount.

2.0.4
* Added filter to allow new companions to be added.
* Now when right clicking mount button, the config panel will open up to mounts.
* Now when right clicking pet button, the config panel will open up to pets.

2.0.3
* Added ability to scale UI
* Added ability to position buttons horizontally, vertically, and in pet/mount or mount/pet order.
* Fixed bug that would prevent some pets from being dragged and dropped.

2.0.2
* Addon now loads with a random mount macro associated to a button. So if you load in combat, you can still mount using the mount button.
* Added middle click to both buttons. Middle clicking either button, will execute the exact same macro used when summoning. This means, if you have a pet summoned, it will un-summon the pet. If you are mounted, it will un-mount you.
* Handled error that appeared when config panel is displayed in combat.

2.0.1
* Handled error that appeared when summoning in combat.

2.0.0
* This update codes for the new updated event system introduced with Rift 2.3.
* Changed the data model and therefor all lists will be wiped (I apologize).
* Icon, Unique Summons, and Drag drop functionality improved.

I'm not an addon author by a longshot, but wouldn't adding the keybind functionality that's been requested be as simple as adding two new slash commands that call the same function that mouseclick does?

Your addon doesn't have to interact with macroing or keybinds or anything that way, though you might have to move the config screen from being the default that happens when someone types /mountme to being when they use config as as slashcmd option.

Can't be done. It is prevented by the Rift API. Let me walk through your scenario...

1) You set up a macro and bind it to a key (ie /mountme mount).
2) You click your bound key (the addon has no idea what key you pressed or when you pressed it).
3) The addon get's a message /mountme mount
4) The addon uses this message to select a random mount
5) The addon has a random mount selected but has no way of communicating back to the client. The API prevents code from executing directly to the client without user intervention.

It is because of #5 above that it has to be bound to a button click. I trap mouse down on the button and select a mount. When you release the mouse, I then execute the macro. Unfortunately, we can't do that with keyboard binds as we have no control over key presses outside our addon's user interface.

Many, many addon developers want this functionality, but Trion will not provide it as it opens their clients up to botting and exploitation. However, if they ever give us the ability to hook a keyboard event outside our addon's user interface, I will be the first to add it in.

I wish I had better news, but for now, we are stuck with clicking a button. Thanks for using the addon.

I'm not an addon author by a longshot, but wouldn't adding the keybind functionality that's been requested be as simple as adding two new slash commands that call the same function that mouseclick does?

Your addon doesn't have to interact with macroing or keybinds or anything that way, though you might have to move the config screen from being the default that happens when someone types /mountme to being when they use config as as slashcmd option.

Since I know we can't keybind directly to mount or call a companion, is it possible to have a macro setup, like /mountme mount and /mountme pet sort of thing? I bind my mount to the z key, and really would love this

Wish we could Felyna, but right now I have no way to execute script directly on the client. I can use script to call into the addon with /mountme mount, but then I have no way to execute /use Aurora on the client. The only way I can execute a macro on the client is to trigger off a client event... Right now that's mouse up. They don't give us access to key strokes on the client other than within our addon. So I can allow the user to type into my addon window, but that defeats the purpose. They are promising us a more robust API, but until it comes, I'm afraid it's just not possible.

Quote:

Originally Posted by Felyna

Hey!

Since I know we can't keybind directly to mount or call a companion, is it possible to have a macro setup, like /mountme mount and /mountme pet sort of thing? I bind my mount to the z key, and really would love this

Since I know we can't keybind directly to mount or call a companion, is it possible to have a macro setup, like /mountme mount and /mountme pet sort of thing? I bind my mount to the z key, and really would love this

I added the features you requested. Turned out not to be that big of an issue. I think I've also corrected the mount/pet drag drop problem you were describing. When you get a chance, please download 2.0.3 and test the mounts/companions that you were having an issue with.

Bullarky, Maybe since you can't do that other stuff, do you think you could make it so you could make the buttons orientation different. ie instead of:

M C

It could be

M
C

or

C
M

With M / C being Mount button then Companion Button. Also maybe be able to resize the buttons so we can make them go with our ui's a bit more It's the little things since most of the others aren't available. Also you took out the ability to manually enter in mounts / companions but there are still companions / mounts that wont add when you drag them in so we may want to have that as an option just in case.

Cheers man, Thanks again!

PS:

If you need an example of something that still can't be dragged in, Companion Pet that you get from the Collectors Edition Reward called Pearlescent Conch.

I'll take a look at scaling as well as positioning. I was aware of a few pets not working on drag and drop. I'm looking for a solution to that issue and hope to have it for next release. Keep the ideas coming. Appreciate the input!

Bullarky, Maybe since you can't do that other stuff, do you think you could make it so you could make the buttons orientation different. ie instead of:

M C

It could be

M
C

or

C
M

With M / C being Mount button then Companion Button. Also maybe be able to resize the buttons so we can make them go with our ui's a bit more It's the little things since most of the others aren't available. Also you took out the ability to manually enter in mounts / companions but there are still companions / mounts that wont add when you drag them in so we may want to have that as an option just in case.

Cheers man, Thanks again!

PS:

If you need an example of something that still can't be dragged in, Companion Pet that you get from the Collectors Edition Reward called Pearlescent Conch.

Darn, you would think after 2 years of having an API that would be available. Oh well, thanks for a still wonderful addon!

Hang in there guys... Zorba (the guy that programs the API for Rift) has mentioned that keybindings were on their way. We might also have a keyboard event to hook. So as soon as either of these become reality, I'll put it in the addon!

Fostot/Rakasha681, thank you for taking a look at the addon. Unfortunately, at this time, the Rift API doesn't allow for this functionality. If the API ever allows for keybinds on custom frames or the ability for an addon to manipulate macros and launch them client side, I will definitely add that functionality in. Again thanks for taking a look at it.