Download
(75 Kb)
Download
Updated: 11-05-13 07:15 AM
Pictures
File Info
Updated:11-05-13 07:15 AM
Created:01-08-13 08:37 PM
Downloads:2,161
Favorites:21
MD5:
MountMe
Version: 2.1.0
by: Bullarky [More]
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.
Archived Files (3)
File Name
Version
Size
Author
Date
2.0.4
79kB
Bullarky
07-29-13 06:54 AM
2.0.3
79kB
Bullarky
06-26-13 06:20 AM
2.0.2
78kB
Bullarky
06-21-13 03:24 PM


Post A Reply Comment Options
Unread 06-15-13, 08:17 AM  
fostot
Zombie
 
fostot's Avatar

Forum posts: 3
File comments: 28
Uploads: 0
Is there a chance you can make it so there's a Macro capability for the mounting or pets maybe, that way we dont have to click the button. Or even if you make it so we can keybind the buttons
fostot is offline Report comment to moderator  
Reply With Quote
Unread 04-01-13, 05:08 AM  
Bullarky
Zombie
 
Bullarky's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 16
Uploads: 2
Adelea, thank you so much for the code. Working on incorporating it now. This should make a lot of people happy!
Bullarky is offline Report comment to moderator  
Reply With Quote
Unread 04-01-13, 02:44 AM  
adelea
Claw of Regulos
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 285
Uploads: 6
Rather than maintain things through a list, why not allow the user to drag/drop the mounts/pets they wish to be included?

Code:
local ctx = UI.CreateContext("drop")
local f = UI.CreateFrame("Texture", "dropframe", ctx)
f:SetWidth(64)
f:SetHeight(64)
f:SetPoint("CENTER", UIParent, "CENTER")
f:SetBackgroundColor(1,0,0)

f:EventAttach(Event.UI.Input.Mouse.Left.Up, function(self, h)
		local ty,hl = Inspect.Cursor()
		if ty == "item" then
			local id = Inspect.Item.Detail(hl)
			if id.category == "misc mount" or id.category == "misc pet" then
				f:SetTexture("Rift", id.icon)
				print(string.format("%s : %s", id.category, id.name))
			end
		end
		Command.Cursor(nil)
	end, "Left Up")
adelea is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: