Download
(80 Kb)
Download
Updated: 04-01-13 12:10 PM
Pictures
File Info
Updated:04-01-13 12:10 PM
Created:01-08-13 07:37 PM
Downloads:303
Favorites:9
MD5:
MountMe
Version: 1.4.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 all your mounts as well as an entry box to enter more mounts.
Pet Tab - A list of all your pets as well as an entry box to enter more pets.

When first loading the addon, you will need to fill your mount list and pet list by manually typing (or cut and pasting) mounts into the entry box. Multiple mounts/pets can be entered at once via a comma separated list (i.e. Landslide, Arachne, Grey Festive Fae Yule Vaiyuu). To remove a mount or pet, simply select it in the list box and click the remove button. I have included a remove all button just in case you want to start over.

New with 1.4 you may now drag and drop mounts/pets into appropriate drag/drop box to add mounts and pets.

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.

To Do:
Integrate mount/pet id's and icons to give the interface a more dynamic look. Again thanks to Adelea!

Since the addon maps a macro to a command button, it is locked during system secure modes (mainly combat). If you load and are put into combat, it is possible that the addon's mapping did not take place and clicking mount button in combat will produce nothing. The system prevents you from summoning a pet in combat, so pets are not really an issue.

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.
1.4.0
* This is the update is dubbed the Adelea patch! Thank you so much for pointing me to the drag and drop functionality. This will make adding pets/mounts so much easier. To add mount/pets simply open your character screen's appropriate tab and drag the mount/pet to the associated drop area on the addon. No more typing! It is also sparking me to revamp the addon to incorporate additional information regarding mounts and pets. Stay tuned!

1.3.0
* Added ability to force unique mounts and pets. This option is automatically selected and will force the addon to select a unique mount/pet until your entire list of mounts/pets have been summoned. If unchecked, it will work as it always has.
* Fixed the random number generator. I was using the wrong value for seeds. This could cause the same mount/pet to be summoned many times in a row.

1.2.1
* Updated libSimpleWidgets (fixed key event changes made in SL v.2.2)

1.2.0
* Updated libSimpleWidgets (bug fix with deleting items from SimpleScrollList).

1.1.4
* Fixed bug when entering combat the addon would sometimes throw an error.
* Known issue: when deleting pets/mounts it sometimes throws an error. This will be fixed in future release.

1.1.3
* Updated libSimpleWidgets (bug fix with new SimpleScrollList).

1.1.1
* Fixed bug when entering mounts/pets you would sometimes get a duplicate if enter key is hit.

1.1.0
* Ability to hide/show individual mount/pet buttons
* Added slash command /mountme to display the config panel
* Updated libSimpleWidgets for SimpleListView (thanks d0xxx)

1.0.0 - Initial Release
Archived Files (5)
File Name
Version
Size
Author
Date
1.3.0
79kB
Bullarky
03-30-13 08:51 PM
1.2.1
78kB
Bullarky
03-04-13 09:22 AM
1.2.0
78kB
Bullarky
02-17-13 09:33 AM
1.1.0
79kB
Bullarky
01-12-13 06:52 PM
1.0.0
74kB
Bullarky
01-08-13 07:37 PM


Post A Reply Comment Options
Old 04-01-13, 05:08 AM  
Bullarky
Zombie
 
Bullarky's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 6
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
Old 04-01-13, 02:44 AM  
adelea
Claw of Regulos
AddOn Author - Click to view AddOns

Forum posts: 16
File comments: 217
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: