Download
(3Kb)
Download
Updated: 09-03-12 11:46 PM
Pictures
File Info
Updated:09-03-12 11:46 PM
Created:unknown
Downloads:7,568
Favorites:46
MD5:

NugMount  Popular! (More than 5000 hits)

Version: 5.1
by: d87 [More]

Adds universal mount keybind.

Usage:
Select your favorite mounts in Mount Journal (Ctrl-LMB).
Assign a hotkey to "Mount Up" in blizzard's keybinding screen.

5.1:
As it turned out in MoP you can get mount type information from game. So now you don't have to manually assign types.
Also that means if you don't have any mounts selected, it will summon something random, but still not having anything selected is not a good idea because it can stumble upon a mount with some requirements, like flying carpet on non-tailor character, and there's no way to detect that.

5.0.1:
- Dismount checkbox added
- Fixed error that was occuring if no pets selected
5.0:
- MoP Update.
4.0.4:
- Sea mount now only works in Vashj'ir, so it won't prevent flying mount summon from water surface in other zones
4.0.3:
- Summon bug in vash'jir
4.0.2:
- IsFlyableArea() turned out to be still bad. Back to using [flyable] macro condition state driver.
4.0.1:
- Bugfix: Summon wasn't working without flying mount selected
4.0:
- New summon code without macro
- Sea mounts

3.1.1: fixed error for new users

3.1: support for combined mounts, cleaned up, db format changed.
Post A Reply Comment Options
Unread 10-11-08, 09:31 AM  
dwex
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 91
Uploads: 2
Why does the random mount get changed only on zone change? Why not choose randomly each time?

A UI to select mounts would also be nice; the current mechanism is rather painful.
Report comment to moderator  
Reply With Quote
Unread 10-11-08, 09:39 AM  
dwex
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 91
Uploads: 2
Major problem - there's a presumption that if you're in a flyable zone, you can actually fly. My level 60 DK in Hellfire Penninsula cannot. Yes, I can use the override binding to force a ground mount, but that rather defeats the purpose of a single binding, now doesn't it?
Report comment to moderator  
Reply With Quote
Unread 10-11-08, 10:23 AM  
d87
A Chromatic Dragonspawn
 
d87's Avatar
AddOn Author - Click to view AddOns

Forum posts: 163
File comments: 643
Uploads: 42
Originally posted by dwex
Major problem - there's a presumption that if you're in a flyable zone, you can actually fly. My level 60 DK in Hellfire Penninsula cannot. Yes, I can use the override binding to force a ground mount, but that rather defeats the purpose of a single binding, now doesn't it?
yea, now it changes mounts each time and if you've not set any flying mounts it will mount ground (that should fix your peninsula problem)

regarding UI... even with GUI you still have to select mounts and bind a key for every character, i personally think that just linking your mounts from companions window isn't much worse than selecting it in any other way

making GUI is what really painful, tho mb when i get wotlk-stable AceConfig lib...
Report comment to moderator  
Reply With Quote
Unread 10-11-08, 10:33 AM  
dwex
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 91
Uploads: 2
OK, you may have become my new favorite. Every other version of this type of addon does something stupid (either insisting on randomizing across all of your mounts, or having completely different buttons/keybinds for ground and flying mounts).

Haven't brought my druid over to beta yet; what about druid flight form? Is it considered a "mount"?
Last edited by dwex : 10-11-08 at 10:33 AM.
Report comment to moderator  
Reply With Quote
Unread 10-11-08, 12:22 PM  
d87
A Chromatic Dragonspawn
 
d87's Avatar
AddOn Author - Click to view AddOns

Forum posts: 163
File comments: 643
Uploads: 42
Originally posted by dwex
Haven't brought my druid over to beta yet; what about druid flight form? Is it considered a "mount"?
yes, actually it's mounts considered as spells
So /cast Froswolf Howler and /cast Swift Fly Form SHOULD both work, but the thing is... later i noticed annoying bug from blizzard side. some of my mount do not work this way (for example Purple Skeletal Warhorse) and others do work.

In the end i got 2 versions of this addon:
1) changed 1.0.x where you can add druid flight form like any other mount, but you gonna deal with this "/cast Purple Skeletal Warhorse" problem.
Also here i've no idea if /dismount canceling druid form or not
2) rewritten 2.0 where nothing unneccesary is happening at all, and my favorite warhorse working good because now it's using CallCompanion function instead of SecureTemplates. But druid forms are not working, because they aren't companions. And where you gonna need to delete saved variables from 1.0

I'll upload both. if you're faithful druid you'll probably want to stick with 1.0.x
Tho for the sake of everyone else i'm going to continue only with 2.0
Last edited by d87 : 10-11-08 at 12:32 PM.
Report comment to moderator  
Reply With Quote
Unread 10-11-08, 12:46 PM  
dwex
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 91
Uploads: 2
Hmm. You're 2.0 might not work for Pallys and Warlocks then. Their mounts are spells just like flight form.
Report comment to moderator  
Reply With Quote
Unread 10-11-08, 12:48 PM  
d87
A Chromatic Dragonspawn
 
d87's Avatar
AddOn Author - Click to view AddOns

Forum posts: 163
File comments: 643
Uploads: 42
Originally posted by dwex
Hmm. You're 2.0 might not work for Pallys and Warlocks then. Their mounts are spells just like flight form.
Nope, they're companions. Got both warlock and paladin on beta
Last edited by d87 : 10-11-08 at 12:48 PM.
Report comment to moderator  
Reply With Quote
Unread 10-11-08, 12:56 PM  
dwex
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 91
Uploads: 2
Meh. I'll have to find a way to get druids working right.
Report comment to moderator  
Reply With Quote
Unread 10-11-08, 01:33 PM  
d87
A Chromatic Dragonspawn
 
d87's Avatar
AddOn Author - Click to view AddOns

Forum posts: 163
File comments: 643
Uploads: 42
Originally posted by dwex
Meh. I'll have to find a way to get druids working right.
alright, i'll do something
Last edited by d87 : 10-11-08 at 01:56 PM.
Report comment to moderator  
Reply With Quote
Unread 10-11-08, 02:00 PM  
d87
A Chromatic Dragonspawn
 
d87's Avatar
AddOn Author - Click to view AddOns

Forum posts: 163
File comments: 643
Uploads: 42
So in 2.1 for Flight Form exists special keybinding you need to bind instead of usual one.
It works not as flawless like core thing: randomizes ground mounts on zone changes only
but it works...
Report comment to moderator  
Reply With Quote
Unread 10-11-08, 02:27 PM  
dwex
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 91
Uploads: 2
TBH, that's not very useful. If I want to hit an extra key for flight form, I can just use the keybind for the form

Lemme take a look at the code; I'm betting there's an easy way to do this (like doing a random over n+1 for druid with flight form, and recognizing the off-the-end number to invoke the other code).

Edit: OK, I just stuck my druid in the character copy queue; I'll play with it once he's over there.
Last edited by dwex : 10-11-08 at 02:50 PM.
Report comment to moderator  
Reply With Quote
Unread 10-11-08, 02:56 PM  
d87
A Chromatic Dragonspawn
 
d87's Avatar
AddOn Author - Click to view AddOns

Forum posts: 163
File comments: 643
Uploads: 42
Originally posted by dwex
TBH, that's not very useful. If I want to hit an extra key for flight form, I can just use the keybind for the form

Lemme take a look at the code; I'm betting there's an easy way to do this (like doing a random over n+1 for druid with flight form, and recognizing the off-the-end number to invoke the other code).

Edit: OK, I just stuck my druid in the character copy queue; I'll play with it once he's over there.
Druid key does exactly the same, but always using your flying form instead of flying mounts. As i understand druids use flight form because it's instant. If you wanted flight form just for the sake of randomness then can't help you
Report comment to moderator  
Reply With Quote
Unread 10-11-08, 03:41 PM  
dwex
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 91
Uploads: 2
Hmm. My point is more to have a single keybind for mounting, period. I suppose toon-specific bindings would work, but it's less than optimal.

BTW - shouldn't:

Code:
        if NugMount:CanFly() then
            self:SetAttribute("macrotext1","/cast "..( NugMount.MaxDruidForm() or "Travel Form") )
        else
be
Code:
        if NugMount:CanFly() and NugMount.MaxDruidForm() then
            self:SetAttribute("macrotext1","/cast "..NugMount.MaxDruidForm() )
        else
?

Otherwise you wind up in travel form rather than on a ground mount in Outlands pre-68, don't you?
Report comment to moderator  
Reply With Quote
Unread 10-11-08, 03:56 PM  
dwex
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 91
Uploads: 2
Also looks like '/nmnt list' is broken in 2.1. I changed the code to:

Code:
    if k == "list" then
        print("Flying Mounts:",1,0.5,0.5)
        for i,mount in ipairs(NugMountDB.flying) do
            print("    "..mount.name)
        end
        print("Ground Mounts:",1,0.5,0.5)
        for i,mount in ipairs(NugMountDB.ground) do
            print("    "..mount.name)
        end
    end
which seems to do the right thing.
Report comment to moderator  
Reply With Quote
Unread 10-11-08, 06:40 PM  
d87
A Chromatic Dragonspawn
 
d87's Avatar
AddOn Author - Click to view AddOns

Forum posts: 163
File comments: 643
Uploads: 42
i see, without character specific... (i just use char specific for all my chars)
Don't have much knowledge about binding functionality so can't say anything yet, and will leave this as is for now
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: