Download
(1Kb)
Download
Updated: 08-14-08 11:34 AM
Updated:08-14-08 11:34 AM
Created:unknown
Downloads:2,508
Favorites:10
MD5:

Blazing Saddles

Version: 0.2b
by: Alestane [More]

Blazing Saddles adds /mount and /mountrandom commands to mount and dismount under the new Companion UI, and /cute and /cuterandom commands to do the same thing for vanity pets. It tries to smart-match the names as much as possible and should be conditional-aware, i.e.

/mount [flyable] Snowy Gryphon; [mod:alt] Felsteed; Dreadsteed

0.2: Added better name matching, and changed /cuterandom to select a random critter from all available choices if given an empty list.
Post A Reply Comment Options
Unread 11-07-08, 06:45 AM  
Alestane
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 234
File comments: 58
Uploads: 13
Originally posted by Narune
I can't seem to get it to mountrandom in a nonflying locale

I've tired a bunch of variations, but nothing seems to happen when I'm in a non flying locale. If someone has a working macro please post. I just want it to choose a random mount where ever I am. Land mount when necessary.
It's not presently able to discriminate between flying and non-flying mounts, but it recognizes conditionals, so you *should* be able to say

/mountrandom [flyable] Flyer 1, Flyer 2; Ground 1, Ground 2

This mod needs some love soon now that 3.0 is actually live, don't worry.
Report comment to moderator  
Reply With Quote
Unread 11-07-08, 12:08 AM  
Narune
A Deviate Faerie Dragon
 
Narune's Avatar

Forum posts: 17
File comments: 7
Uploads: 0
I can't seem to get it to mountrandom in a nonflying locale

I've tired a bunch of variations, but nothing seems to happen when I'm in a non flying locale. If someone has a working macro please post. I just want it to choose a random mount where ever I am. Land mount when necessary.
__________________
Thank you for your time

Report comment to moderator  
Reply With Quote
Unread 10-13-08, 05:31 AM  
Alestane
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 234
File comments: 58
Uploads: 13
Originally posted by tenub
Does this work with 2.4.3?
No, it requires 3.0 or later.
Report comment to moderator  
Reply With Quote
Unread 10-12-08, 11:45 PM  
tenub
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 111
File comments: 64
Uploads: 2
Does this work with 2.4.3?
Report comment to moderator  
Reply With Quote
Unread 08-23-08, 10:58 AM  
Darkspell
A Deviate Faerie Dragon

Forum posts: 17
File comments: 47
Uploads: 0
Macro

This is the macro I use. Works perfectly.

/mountrandom [flyable] rocket, machine; dreadsteed, ram
/dismount


If you are in a flyable area, you get a random mount from the list before the ;
If you are in a non-flyable area, it randomizes the mount from after the ;
Report comment to moderator  
Reply With Quote
Unread 08-11-08, 05:33 AM  
TheCyborg
A Kobold Labourer
 
TheCyborg's Avatar

Forum posts: 0
File comments: 1
Uploads: 0
Blizzard added their own mount command, making this addon redundant.
You can now use
/use Mountname;
to bring out your mount.
This is the paladin mounting macro i use:
Code:
/cast [nocombat, nomounted]!Crusader Aura; [mounted]!Retribution Aura;
/stopcasting
/use [noflyable,nocombat,nomounted] Swift Razzashi Raptor;
/use [flyable,nocombat,nomounted] Reins of the Onyx Netherwing Drake;
/dismount [mounted]
This works quite nice on live, but not on beta because the aura change now generates global cooldown, even with /stopcasting.
Report comment to moderator  
Reply With Quote
Unread 08-08-08, 08:04 PM  
Allara
A Kobold Labourer
 
Allara's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 123
Uploads: 1
Patched today, the new signature for GetCompanionInfo is
<something>, name, <something>, <icon>, <active>. Change the code to:

local _, name, _, icon, active = GetCompanionInfo("MOUNT", i);

and

local _, name, _, icon, active = GetCompanionInfo("CRITTER", i);

The macro I posted below for paladins no longer works in this build -- the aura change starts the GCD, which apparently now affects the mounts. Hopefully this gets fixed.
Report comment to moderator  
Reply With Quote
Unread 08-08-08, 01:42 PM  
Allara
A Kobold Labourer
 
Allara's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 123
Uploads: 1
I ran into some sort of trouble getting the add-on to match my mount's name correctly. I made a couple changes to the /mount command to help:
  • Added support for using mount number instead of name
  • Added a check for an exact match of the name (including capitalization)
  • If the mount you asked for couldn't be found, the add-on will now tell you that and list the mounts that it would have recognized

Just in case this is useful to anyone, here's my new SlashCmdList.Mount function:

Code:
function SlashCmdList.Mount(...)
	local msg;
	for i=1,select('#', ...) do
		msg = select(i, ...);
		if type(msg) == 'string' then
			break;
		end
	end
	if not msg then return; end
	msg = SecureCmdOptionParse(msg);
	local mounts = "";
	if msg and msg ~= "" then
		for i=1, GetNumCompanions("MOUNT") do
			local _, _, name, icon, active = GetCompanionInfo("MOUNT", i);
			mounts = mounts..i..": "..name.."\n";
			if name:lower():match(msg:lower()) or i == msg or name == msg then
				if not active then
					CallCompanion("MOUNT", i);
					return;
				else
					Dismount();
					return;
				end
				return;
			end
		end
		DEFAULT_CHAT_FRAME:AddMessage("Blazing Saddles: Mount \""..msg.."\" not found. Available choices are:\n"..mounts)
	end
end
Also, for the Paladins out there, it took me some time to get a good macro running in WotLK which also switches your auras. In case this is helpful to anyone, here's the macro which did eventually work:

Code:
/cast [nomounted] Crusader Aura
/mount [flyable] Outland Gryphon Mount (White); Riding Horse (Charger)
/cast [nomounted] Devotion Aura
Hope it helps!
Report comment to moderator  
Reply With Quote
Unread 08-03-08, 07:34 PM  
Kaydeethree
A Fallenroot Satyr
 
Kaydeethree's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 5
Uploads: 2
8714 break?

GetCompanionInfo returns up to 5 elements now...

<something>, <something>, <name>, <icon>, <active>.

For those of you having problems with the line 14 error, change the code to this:

local _,_, name, icon, active = GetCompanionInfo("MOUNT", i);

Same goes for the vanity pet error on line 55:

local _, _, name, icon, active = GetCompanionInfo("CRITTER", i);
__________________
Skinning an addon author should aggro every addon authors
in a 40 yard radius. It makes sense, you are actually skinning their best friend.
Report comment to moderator  
Reply With Quote
Unread 08-01-08, 06:23 AM  
Alestane
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 234
File comments: 58
Uploads: 13
Originally posted by Darkspell
but if you are not in a flying mount area, it does not default to ground mount at all. Nothing happens.
There seems to be some peculiarity in the way the flyable condition is being resolved, or something. I suspect this is at least as much part of the beta client as it is of the add-on.

Also, it would be nice if when you clicked on the button again, you dismounted.
If you are not using a random macro, it should. If you are using a random macro, you can add a /dismount line after the /mountrandom line.
Report comment to moderator  
Reply With Quote
Unread 07-31-08, 05:14 PM  
Darkspell
A Deviate Faerie Dragon

Forum posts: 17
File comments: 47
Uploads: 0
Originally posted by kamdis
I haven't used the mod, so I can't say for sure, but I'm guessing that the semicolon between machine and rocket needs to be a comma.
Good call. A comma did the trick as far as the random part is concerned, but if you are not in a flying mount area, it does not default to ground mount at all. Nothing happens.

Also, it would be nice if when you clicked on the button again, you dismounted.
Last edited by Darkspell : 07-31-08 at 05:15 PM.
Report comment to moderator  
Reply With Quote
Unread 07-30-08, 11:15 AM  
kamdis
A Kobold Labourer

Forum posts: 0
File comments: 10
Uploads: 0
Originally posted by Darkspell
Does not seem to work for me.

/mountrandom [flyable] machine; rocket; [mod:alt] dreadsteed
I haven't used the mod, so I can't say for sure, but I'm guessing that the semicolon between machine and rocket needs to be a comma.
Report comment to moderator  
Reply With Quote
Unread 07-30-08, 08:44 AM  
Darkspell
A Deviate Faerie Dragon

Forum posts: 17
File comments: 47
Uploads: 0
Does not seem to work for me.

/mountrandom [flyable] machine; rocket; [mod:alt] dreadsteed


It just uses the machine, does not use rocket at all.
If I am not in Outlands, all I get is a "You can't use that here" error.
Last edited by Darkspell : 07-30-08 at 08:47 AM.
Report comment to moderator  
Reply With Quote
Unread 07-29-08, 06:33 PM  
Gnarfoz
A Deviate Faerie Dragon
 
Gnarfoz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 73
Uploads: 7
Very useful.
__________________
Be nice to nerds, chances are you might end up working for one. -- Charles J. Sykes
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: