Category: Miscellaneous
Addon Information
Works with 3.2
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Author:
Version:
416a
Date:
11-18-2009 07:16 PM
Size:
8.77 Kb
Downloads:
1,330
Favorites:
20
MD5:
Pictures
Click to enlarge
LonnyMountCast UI
LonnyMountCast 4   Updated this week!
A lightweight addon to randomize mounts!

The addon is working through macro commands, just like the macro commands used in World of Warcraft you know and love best.

You can use any kind of macro option you know in the options bracket, and it should work just fine just like in the built-in macro commands.

The addon randomize mounts by a given riding skill, and for that I created a special "skill" option that allow you to specify it.

If you're mounted the addon will dismount you the second time you click the macro.

LonnyMountCast has an integrated UI now built atop the default Blizzard Mounts UI that allow you to select the mounts you wish it to randomize.

Select nothing randomizes all mounts for the given riding skill.

Macro Commands
/mount [options] flying/ground-mount; [options] flying/ground-mount
/mountrandom [options] flying/ground-mount; [options] flying/ground-mount

e.g. /mount [flyable,nomounted,skill:225,nomodifier] flying-mount; [nomounted,skill:150] ground-mount

skill - The option that allow you to specify the kind of mounts you wish to randomize. (Please check the 'Mounts Riding Skill' table below.)

ground-mount - The parameter that is used to randomize ground mounts.

flying-mount - The parameter that is used to randomize flying mounts.

Druids
Cancels the current form and mount.

/cancelform
/mount [flyable,nomounted,skill:300,nomodifier]flying-mount; [nomounted,skill:150]ground-mount

Here is a complete traveling macro which uses all forms, and randomizes the ground mounts only.

#showicon Swift Mistsaber
/cast [swimming]Aquatic Form;[flyable,nocombat]Swift Flight Form;[combat]Travel Form
/cancelform [noflyable,nocombat][mod]
/mount [noflyable,outdoors,nomounted,skill:150][mod]ground-mount

Mounts Riding Skill
  • Skill 75: Regular Mount (Normal Speed: 60%)
  • Skill 150: Regular Mount (Fast Speed: 100%)
  • Skill 225: Flying Mount (Normal Speed: 150%)
  • Skill 300: Flying Mount (Fast Speed: 280%)
  • Skill 375: Flying Mount (Extreme Speed: 310%) - fictitious riding skill of 375 to support the 310% mounts.
  Change Log - LonnyMountCast 4
416 (19-11-09)
+ Attempting to run and click on the macro in the same time prevented you from mounting, this is fixed now, it took me a bit to figure it out.

------------------------------------------------------------------------
415 (18-11-09)
+ Changed bits of the code to make the event handling slightly less verbose.

------------------------------------------------------------------------
414 (16-11-09)
+ Fixed a bug that caused the addon to pick a random mount regardless to your selection.
+ Reverted the change I made in previous release (410) and the checking for mounts are now done each cast.
+ The check for spamming was improved and it should be much more efficient now.
+ Removed unnecessary code.

*** Sorry for the quite fast releases, hopefully I've fixed everything now. ***

------------------------------------------------------------------------
413 (15-11-09)
+ Fixed a bug that caused an error if you didn't have any mounts selected.

------------------------------------------------------------------------
412 (14-11-09)
+ Fixed a bug that may block the addon from mounting you again when something dismounts you.

------------------------------------------------------------------------
411a (14-11-09)
+ Silly me, forgot to remove the debug message.
+ Forgot to note this in the previous release, added a check that allows the macro to be spammed without causing any performance lose.

------------------------------------------------------------------------
411 (14-11-09)
+ There was a bug in the previous release that caused mounts that weren't on the selected list to be randomized, it should work properly now.

------------------------------------------------------------------------
410 (14-11-09)
+ French translation added by Romish
+ Made some drastic changes to the code so it would be possible to handle all kinds of mounts in the future, not just flying or grounding mounts.
+ Determining whether you have selected no mounts to randomize now being done on the UI part rather than each time you click the macro, so things should be much more efficient now.
+ GetMountInfo now returns the kind of mount rather than a boolean value that determines whether it's a flying mount.

------------------------------------------------------------------------
401 (08-11-09)
+ License changed to NetBSD.
+ Added a check to Wintergrasp, it will use your grounding mounts rather than attempting to use your flying mounts when the battle is active regardless to the options specified in the macro.
+ It now checks whether the player can fly, and it will use your grounding mounts rather than attempting to use your flying mounts regardless to the options specified in the macro.

------------------------------------------------------------------------
400 (05-11-09)
+ Added checkboxes that allow you to select the kind of mounts you want to randomize through the default Pet UI!
+ Small code modifications and clean up.
+ Added a license.

------------------------------------------------------------------------
301 (17-10-09)
+ A special case was made to handle the 'Violet Proto-Drake'.

------------------------------------------------------------------------
300 (06-10-09)
+ TOC update to 30200. (Patch 3.2)
+ I've changed the name from LonnyCompanions to LonnyMountCast to give a concrete meaning to its use.
+ The addon no longer support non combat pets, and its only focus is to randomize mounts now!
+ Removed any library dependency, so it should be much smaller now!
+ Code clean up and global calls optimization.

------------------------------------------------------------------------
206 (01-05-09)
+ TOC update to 30100. (Patch 3.1)

------------------------------------------------------------------------
205 (26-11-08)
+ I removed the Druid forms feature, as it's not possible and you can work around it with a macro command /cancelform
+ Mounting in northrend should work properly now.

------------------------------------------------------------------------
204 (25-11-08)
+ The 'ignore-northrend' option was removed and it's now being done automatically.
+ Added "The Underbelly" to the list of flyable zones.
+ Druid forms should be canceled now when mounting.

------------------------------------------------------------------------
203 (20-11-08)
+ Hopefully fixed Dalaran so "Krasus' Landing" will be treated as a flyable zone.
+ Wintergrasp is now supported and treated as unflyable area.

------------------------------------------------------------------------
202 (19-11-08)
+ Added support to handle flying mounts in both Northrend and Dalaran.
+ A new slash command option is now available to ignore northrend if you aren't trained to fly inside the zone.
+ ignore-northrend : Usable to ignore northrend while you aren't trained to fly inside the zone yet, and causes the addon to use your grounding mount instead.

------------------------------------------------------------------------
201 (17-11-08)
+ Added support for mounts that scales with riding skill.

------------------------------------------------------------------------
200 (07-11-08)
+ A complete redesign and rewrite!
+ The 'Extremely Fast' option was removed and instead I made a fictitious riding skill of 375 to support the 310% mounts.
+ There's a new 'Custom Macro Options' option now that allows you to manipulate the way Fubar behaves when clicking the 'Companions' area, the option takes any valid macro options e.g '[flyable,nomounted,nomodifier] flying-mount; [nomounted] ground-mount'
+ The dependency of FuBar removed, and the addon can now function on its own through a slash command, you can delete the 'LonnyCompanionsFu' folder completely if you wish!
+ A new slash command '/castcomp' is now available.
+ To support the 'Custom Macro Options' option as well as the new slash command, I added special tokens which you can use to call a random grounding-mount, flying-mount and a random companion (critters).
+ flying-mount : Calls a random flying mount.
+ ground-mount : Calls a random grounding mount.
+ companion : Calls a random companion. (critters)
+ A new slash command option is available to set the skill of the mounts you wish to randomize.
+ skill : Any valid mount skill (75/150/225/300 and 375), You can't negate the 'skill' option, that means you can't use the 'no' keyword in conjunction with it.

Slash command/macros syntax.
/castcomp [options] flying-mount/ground-mount/companion; [options] flying-mount/ground-mount/companion; flying-mount/ground-mount/companion
e.g. '/castcomp [flyable,nomounted,skill:225,nomodifier] flying-mount; [nomounted,skill:150] ground-mount'
  Archived Versions - LonnyMountCast 4
File Name
Version
Size
Author
Date
416
9kB
Lonny
11-18-2009 06:38 PM
415
9kB
Lonny
11-18-2009 08:10 AM
414a
9kB
Lonny
11-16-2009 08:25 AM
413
9kB
Lonny
11-15-2009 06:25 AM
412
8kB
Lonny
11-14-2009 03:28 PM
411a
8kB
Lonny
11-14-2009 02:21 PM
410
8kB
Lonny
11-14-2009 03:22 AM
401
7kB
Lonny
11-08-2009 03:44 PM
400
7kB
Lonny
11-04-2009 11:40 PM
301
4kB
Lonny
10-16-2009 08:59 PM
300
4kB
Lonny
10-06-2009 05:38 PM
206b
91kB
Lonny
05-02-2009 08:11 AM
206a
91kB
Lonny
04-30-2009 07:49 PM
206
91kB
Lonny
04-30-2009 07:29 PM
205
91kB
Lonny
11-25-2008 11:44 PM
204
91kB
Lonny
11-25-2008 11:16 AM
203
91kB
Lonny
11-20-2008 01:22 PM
202
90kB
Lonny
11-18-2008 07:44 PM
201
90kB
Lonny
11-17-2008 03:36 PM
  Comments - LonnyMountCast 4
Post A Reply Comment Options
Old 11-20-2009, 03:14 PM  
Lonny
A Deviate Faerie Dragon
 
Lonny's Avatar
Interface Author - Click to view interfaces

Forum posts: 16
File comments: 104
Uploads: 18
Quote:
Originally posted by Hoserdave
Having an issue if I try and mount while still moving. It obviously won't mount me then, but when I stop moving it still refuses to mount. Using any abilities off my bars will then allow me to mount.

Loving the addon besides that, ty!
I'll look into it, although it should be fixed on the latest version! are you using the latest version ? it's weird otherwise.

Please check the version you're using inside the .toc file.
__________________
Lonny, Best Regards.

Click me and paste your code.

Last edited by Lonny : 11-20-2009 at 03:18 PM.
Lonny is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-20-2009, 12:28 PM  
Hoserdave
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Having an issue if I try and mount while still moving. It obviously won't mount me then, but when I stop moving it still refuses to mount. Using any abilities off my bars will then allow me to mount.

Loving the addon besides that, ty!
Hoserdave is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-19-2009, 07:00 AM  
Lonny
A Deviate Faerie Dragon
 
Lonny's Avatar
Interface Author - Click to view interfaces

Forum posts: 16
File comments: 104
Uploads: 18
Quote:
Originally posted by senomar
very nice addon. love it.
Thank you.
__________________
Lonny, Best Regards.

Click me and paste your code.
Lonny is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-18-2009, 07:42 PM  
senomar
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 9
Uploads: 1
very nice addon. love it.
senomar is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-13-2009, 09:08 AM  
Lonny
A Deviate Faerie Dragon
 
Lonny's Avatar
Interface Author - Click to view interfaces

Forum posts: 16
File comments: 104
Uploads: 18
Re: Localization to other languages (French done)

Quote:
Originally posted by Romish
Lonny,

As I am a french player with a french game UI, I have done some changes so that it can work in French and in English.

In order to do so, I have:
- In core.lua
Commented the 3 lines:
-- local VERY_FAST = "very fast"
-- local EXTREMELY_FAST = "extremely fast"
-- local RIDING_SKILL = "riding skill" -- Some mounts have the string "riding" in their name so we can't check against the word "riding" alone.
- Created a localization.en.lua containing:
VERY_FAST = "very fast"
EXTREMELY_FAST = "extremely fast"
RIDING_SKILL = "riding skill" -- Some mounts have the string "riding" in their name so we can't check against the word "riding" alone.
- Created a localization.fr.lua containing:
VERY_FAST = "très" -- To include très rapide and très vite
EXTREMELY_FAST = "monture extrêmement rapide"
RIDING_SKILL = "compétence monte"
- In LonnyMountCast.toc, I have added in this order:
localization.en.lua
localization.fr.lua
before Core.lua.

There is one thing that needs a special case is the Tortue as it is fast only in water.

HTH

Regards.
Thank you so much for contributing, I'll update it and give you credits.

About the turtle mount, I'm not sure I'm going to add it at this point as it's rarely used by most players, nor players have it.

Rare are the mounts that can swim as fast as the turtle and it's pretty slow on land (60%) the reason I'm not so rushing to add it.
__________________
Lonny, Best Regards.

Click me and paste your code.

Last edited by Lonny : 11-13-2009 at 09:15 AM.
Lonny is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-13-2009, 07:33 AM  
Romish
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Post Localization to other languages (French done)

Lonny,

As I am a french player with a french game UI, I have done some changes so that it can work in French and in English.

In order to do so, I have:
- In core.lua
Commented the 3 lines:
-- local VERY_FAST = "very fast"
-- local EXTREMELY_FAST = "extremely fast"
-- local RIDING_SKILL = "riding skill" -- Some mounts have the string "riding" in their name so we can't check against the word "riding" alone.
- Created a localization.en.lua containing:
VERY_FAST = "very fast"
EXTREMELY_FAST = "extremely fast"
RIDING_SKILL = "riding skill" -- Some mounts have the string "riding" in their name so we can't check against the word "riding" alone.
- Created a localization.fr.lua containing:
VERY_FAST = "très" -- To include très rapide and très vite
EXTREMELY_FAST = "monture extrêmement rapide"
RIDING_SKILL = "compétence monte"
- In LonnyMountCast.toc, I have added in this order:
localization.en.lua
localization.fr.lua
before Core.lua.

There is one thing that needs a special case is the Tortue as it is fast only in water.

HTH

Regards.
Romish is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-16-2009, 08:01 PM  
Lonny
A Deviate Faerie Dragon
 
Lonny's Avatar
Interface Author - Click to view interfaces

Forum posts: 16
File comments: 104
Uploads: 18
Re: Re: New version coming soon!

Quote:
Originally posted by supericeboy
The current version does not cast the Violet Proto Drake when you use skill 375.

I assume it is because the tool tip says "very fast mount" even though it is a 310% mount.
Correct, I'll see what I can do about this one, I hate special cases. :/

New version is up to handle this though.
__________________
Lonny, Best Regards.

Click me and paste your code.

Last edited by Lonny : 10-16-2009 at 09:00 PM.
Lonny is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-16-2009, 03:15 PM  
supericeboy
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Re: New version coming soon!

Quote:
Originally posted by Lonny
I'm revamping some of the code, and planning to release a new version soon!
The current version does not cast the Violet Proto Drake when you use skill 375.

I assume it is because the tool tip says "very fast mount" even though it is a 310% mount.
supericeboy is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-02-2009, 03:34 PM  
Lonny
A Deviate Faerie Dragon
 
Lonny's Avatar
Interface Author - Click to view interfaces

Forum posts: 16
File comments: 104
Uploads: 18
New version coming soon!

I'm revamping some of the code, and planning to release a new version soon!
__________________
Lonny, Best Regards.

Click me and paste your code.
Lonny is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-25-2008, 10:12 PM  
Lonny
A Deviate Faerie Dragon
 
Lonny's Avatar
Interface Author - Click to view interfaces

Forum posts: 16
File comments: 104
Uploads: 18
Quote:
Originally posted by satterwc
Hmm.. 204 appears to be somewhat broken for me.

I deleted both folders from addons before copying the files from the 204 archive. I also deleted the lonnycompanions_fu.lua from my savedvariables.

Problem: The feature to pop out of a form for druids does not appear to work.
Bigger Problem: I only get ground mounts. I checked my flying skill and it is set to 300. I tried shift, alt and crtl as modifiers. Hmm... headscratch.

*EDIT* confirmed.. back on 203 and working with flyers again.
I'll look into it. :P

Ok, I didn't know druids forms are considered protected, but you can workaround it through a macro, I'm not sure whether you're using FuBar, or LonnyCompanions slash command '/castcomp', but here is the way the addon is working through macros.

/cancelform
/castcomp [flyable,nomounted,skill:300,nomodifier] flying-mount; [nomounted,skill:150] ground-mount

If you are a FuBar user and decided that you rather use the macro above, you can get rid of the 'LonnyCompanionsFu' folder, as the core addon 'LonnyCompanions' including all the functionality.

I'll upload a fix for northrend soon.
__________________
Lonny, Best Regards.

Click me and paste your code.

Last edited by Lonny : 11-25-2008 at 11:03 PM.
Lonny is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-25-2008, 09:51 PM  
satterwc
A Deviate Faerie Dragon
 
satterwc's Avatar

Forum posts: 16
File comments: 11
Uploads: 0
Hmm.. 204 appears to be somewhat broken for me.

I deleted both folders from addons before copying the files from the 204 archive. I also deleted the lonnycompanions_fu.lua from my savedvariables.

Problem: The feature to pop out of a form for druids does not appear to work.
Bigger Problem: I only get ground mounts. I checked my flying skill and it is set to 300. I tried shift, alt and crtl as modifiers. Hmm... headscratch.

*EDIT* confirmed.. back on 203 and working with flyers again.

Last edited by satterwc : 11-25-2008 at 09:59 PM.
satterwc is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-23-2008, 07:36 PM  
Lonny
A Deviate Faerie Dragon
 
Lonny's Avatar
Interface Author - Click to view interfaces

Forum posts: 16
File comments: 104
Uploads: 18
Quote:
Originally posted by satterwc
Nice going with the updates and fixes.

I've got another one for you.

Druids.. if in any form.. will not mount. I know this is how it works with a manual mount process, but it sure would be nice if you could pop me back into NE or Tauren form and mount automatically. May be too much to ask.. but I figured I would anyway.
I'll see what I can do.
__________________
Lonny, Best Regards.

Click me and paste your code.
Lonny is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-22-2008, 10:33 AM  
satterwc
A Deviate Faerie Dragon
 
satterwc's Avatar

Forum posts: 16
File comments: 11
Uploads: 0
Nice going with the updates and fixes.

I've got another one for you.

Druids.. if in any form.. will not mount. I know this is how it works with a manual mount process, but it sure would be nice if you could pop me back into NE or Tauren form and mount automatically. May be too much to ask.. but I figured I would anyway.
satterwc is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-21-2008, 06:58 AM  
Wimpface
A Cobalt Mageweaver
Interface Author - Click to view interfaces

Forum posts: 225
File comments: 245
Uploads: 21
Time to update the screenshot matey?
__________________
Do you like waffles?
Wimpface is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-06-2008, 02:35 AM  
Lonny
A Deviate Faerie Dragon
 
Lonny's Avatar
Interface Author - Click to view interfaces

Forum posts: 16
File comments: 104
Uploads: 18
Quote:
Originally posted by satterwc
This fixed the problem I was having on my 70 hunter. Before you implemented the zone-specific mounts it would try to use my resonating crystal from AQ40 in Shat. 8-D

I do have a new request. My lvl 62 druid has no flying skill... so the skill slider should be 0, not 225. If you don't have the skill... or don't have any mounts to match the area (ie: flyer in Outlands) then don't you think it should default to the next highest available? In other words, if I click on your addon in Fubar, you should know that I can't possibly use a flyer, so mount me up on my 150 land mount. Make sense?

Yes, I know, I can use a modifier.. but I'm lazy.. that's why I grabbed your addon in the first place.

Anyway.. thanks for making the nice changes based upon a couple of comments. You da man!
Will do.
__________________
Lonny, Best Regards.

Click me and paste your code.
Lonny is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.