Download
(7Kb)
Download
Updated: 11-05-11 05:33 PM
Pictures
File Info
Updated:11-05-11 05:33 PM
Created:unknown
Downloads:6,957
Favorites:19
MD5:
Categories:Discontinued and Outdated Mods, Discontinued and Outdated Mods

[DISCONTINUED] Random Access Mount 3 (Beta)  Popular! (More than 5000 hits)

Version: N/A
by: Vladinator [More]

Note if you by any chance (doubt it) have the old A_RandomAccessMount2 folder please delete it, thank you. Also note that old API and commands do not work as there is a new syntax.

Version 3 is released, this is based on completely new code and should run on any locale. So far the only thing you can do is:
/ram - random mount
/ram B=* - mount one of the best mounts (fastest/flying preferably), in AQ40 it would include the bug mounts, in Vashj'ir it would include the aquatic one, e.g.
/ram B=ABCDEFGHIJKLM - each letter represents a mount type:
A = other (mounts not counting as proper mounts)
B = ground
C = flying
D = aquatic
E = groundOnly
F = flyingOnly
G = canGroundOnly
H = turtle
I = abyssal seahorse
J = alchemist mount
K = aq40 bugs
L = profession mounts (tailoring and engineer, profession unique mounts)
M = dynamic mounts (can both run and fly, like headless horseman one, winged lion, e.g.)
For example; say you wish to use the macro for aquatic and ground mounts only, then you would use /ram B=0101 and it would assume all after "aquatic" as "0" (not included).
/ram S=375,300,225 - mount something that requires skill, can be one value or a list separated by comma. (Note: not fully explained or implemented yet.)
/ram N=Trav - match mount by (partial) name (LUA regex/pattern)

3.04:
+ Last archive had some files not required by the mod, but that I used to scan the DBC files for mount information, sorry if it scared you.

3.03:
+ Corrected a logic issue with the Abyssal Seahorse and the Qiraji Battle Tank (AQ40) mounts. Like they should, these will only be included if player is in the appropriate zone.

3.02:
+ Added patch 4.2 mounts and all other missing mounts. The database should now be complete!

3.01:
+ Changed version format down to two decimals, it should be plenty with 99 updates until next generation comes out, right?
+ Added more mounts that were not in the database last time.
+ Fixed zone detection to work with whole Azeroth (not only Eastern Kingdoms).
+ Added name matching (LUA regex/pattern).
+ Added InBG() and InAQ() API for your macros.
+ Added RAM() API that takes a string, either LUA regex or flag. More about this on the from page soon. Check core.lua comment if you want to read about this right away.
+ Minor bug fixes.

3.000:
+ New generation release, old change log is rendered deprecated but remain for history sake.

2.006:
+ Made it allow you to mount a flying mount in Wintergrasp if there is no battle, otherwise it still mounts a ground mount.
+ Added IsInBG() so you can use that to mount specific mounts in battlegrounds.
+ Small changes, nothing worth mentioning.

2.005:
+ Added some new code and improved tooltip reading, it should now also support Flying Carpet's just fine for all localizations. Yet again thanks to Synchretomus for all of the help. Please report errors if any, thanks.

2.004:
+ Fixed a bug for all non French clients, seems I messed up one thing when fixing the French one. All languages should now work just fine!

2.003:
+ Fixed a bug with tooltip lookup in French clients. Should work now!

2.002:
+ Fixing tooltip parsing for french locale yet again -all thanks to Synchretomus.

2.001:
+ Fixed parsing of tooltip for french locale, when checking for flying mounts

2.000:
+ Rebuild from scratch
+ Auto mount scan and organizing, no need for external database like the old one
+ Better efficiency, scanning tooltips only at login or when a new mount has been learned
+ Added more API and aliases so old macros won't break
+ Added slash command /ram to appeal more to non Lua users

1.116:
+ Added 26 new mounts, most of them are from the Argent Dawn
Tournament and 5 new flying mounts, you may find the list
of the added mounts here: http://tinyurl.com/pulp5z
If something is missing (most likely is), just drop a comment!

1.115:
+ Added function to summon a specific set of mounts only. You can
also use parts of the name if you have a variety of the mount.
+ Added new API, AllDismount() that dismounts you from Vehicle and
from Mount all at once (to save space in macros)
+ Added new API, IsFlyAndNoCTRL() that checks that it is a flyzone
and that CTRL key is not held down (personal preference API).
+ Added new API, IsInAQ() to check if you are in AQ40 or not.
+ Extrended the functionality of RMS(), it does the same as before
where you RMS("F"), RMS("G") and RMS("O") for the different types
of mounts and it would randomly pick one that you have in that
category but now you can also do RMS({"Qiraji"}) and that will
make it use a random mount that has that string in it's name.

1.114:
+ Sorted out on the spells, some "depending on your skill" spells
were in the 60% (other) section so they are now moved to the right
one, this included DK mount, Headless Horseman mount and Tailoring
Carpet mounts.

1.113:
+ Added Winged Steed of the Ebon Blade to the list, both on 280%
and 60% (F and O). I would suggest using this once you hit the
highest level. This issue will be fixed once I release the
tooltip-scanning addon I am working on when I get time. :)

1.112b:
+ Added a little more details to the IsNotInDalaranNoFlyZone() API.
It now considers the sewer part in the Underbelly where you can fly
out from and the Violet Tower top-floor where you also can mount
your flyer (along with Karasus' Landing).

1.112:
+ Added API to support detection of "Krasus' Landing" and
"Wintergrasp" zones. Instead to mount you on your flying,
they will mount you on the ground mount. Since Dalaran is
only a ground mount zone the addon will now consider that.
A extended example from the macro on the front page:

#showtooltip Azure Netherwing Drake
/dismount
/stopcasting
/cancelaura [nocombat] Ghost Wolf
/run if IsFlyableArea() and IsNotInDalaranNoFlyZone() and not IsControlKeyDown() then RMS("F") else CallCompanion("MOUNT",3) end

In this example version, the macro works just like normal:
"if fly-zone use RMS("F") if not use RMS("G") only that this
time you specify the ground mount, mount #3 in this case.
It would mount random flying anywhere else but Dalaran when
you are in the city, then it would use the specific mount #3.
If you just had /run RMS("F") as a macro, it would automatically
do RMS("G") for you if you were in Dalaran.

1.111:
+ "Krasus' Landing" (subzone in Dalaran) will use flying mount
instead of ground mount like the rest of Dalaran. But the part
of the Underbelly where you can mount flying mount too is not
going to mount the flying mount, issue is that "The Underbelly"
is in several palces so it would try to use flying mount there
too, but if you wanna have this feature anyway then simply
(1) open "A_RandomAccessMount.lua" in Notepad, (2) Go to
line #44 and uncomment it (remove "--" in front) and then
(3) go to line #45 and comment it by adding "--" in front.

1.110:
+ Fixed Ebon Gryphon and Snowy Gryphon, they now count as 60%
instead of 280% mounts.

1.109:
+ Fixed Blue Wind Rider, now 60% (moved from 280%)

1.108:
+ Big Blizzard Bear (from Blizzcon 2008) is corrected and working.
+ If you are in Dalaran you will be mounted with 100% ground mount
instead of flying mount.

1.107:
+ Turbo-Charged Flying Machine is now in the 280% instead of
the 60% category.

1.106:
+ Better method to match spell-ids with the internal database.
This should reduce the amount of bugs like mounting 60% mounts
in flyable zones, e.g.

1.105:
+ Fixed Swift Green Wind Rider and Green Wind Rider, the addon
will now call these out correctly.

1.104:
+ Added the spells for Death Knight, Warlock and Paladin mounts
(60% and 100% versions).

1.103:
+ Moved "Golden Gryphon" from 280% flying to the 60% section.

1.102:
+ Updated LUA code and using IsFlyableArea() instead of a
custom function. Wowwiki didn't have it covered so I was
compelled to make my own earlier. :P

1.100:
+ Moved "Tawny Wind Rider" from 280% flying mount section
to the 60% section.

1.000:
+ Initial release.
Post A Reply Comment Options
Unread 11-07-08, 05:47 AM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 793
File comments: 337
Uploads: 31
Originally posted by draal
My Pinto (60%) horse is still mounting . not sure why both in land mounting areas and flying areas also.
Hello, I noticed a major flaw so I had to fix asap. The issue is that it checks for spells you know with the spells in the addon, so the issue is when it checks for spell id 470 and it finds it in the addon as a 280% mount since you got the spell id 34470, and that is a match :P

This time I just did a small fix that makes it check for ",470," so it checks for the stand alone spell and not the numbers as a part of some spell it, and since ",470," is not ",34470," then it will not make mistakes like the Pinto mount in this version.

It should be up and running pretty soon!

Oh btw, Lonny helped me with tooltip reading so I will make the addon soon enough to read off tooltips. Each time you login it would make a quick tooltip scan (without you knowing ofcourse) of all the mounts and make a database instead of me making a list of what spell is what. This way it will be dynamic and error-free. But I need to work on it some more before release.
Report comment to moderator  
Reply With Quote
Unread 11-06-08, 09:16 PM  
draal
A Kobold Labourer

Forum posts: 0
File comments: 15
Uploads: 0
My Pinto (60%) horse is still mounting . not sure why both in land mounting areas and flying areas also.
Last edited by draal : 11-06-08 at 09:19 PM.
Report comment to moderator  
Reply With Quote
Unread 11-06-08, 02:26 PM  
Zyland
A Kobold Labourer
 
Zyland's Avatar

Forum posts: 0
File comments: 30
Uploads: 0
Thank you for correcting it. I'm using it with your /run command from the information page.

Good addon.
Report comment to moderator  
Reply With Quote
Unread 11-06-08, 11:39 AM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 793
File comments: 337
Uploads: 31
drmchld: I only found the "Frostwolf Howler" mount on Wowhead. It's a 100% ground mount and it was in the correct category ("G"). Remember that "F" = 280% or faster flying mounts, "G" = 100% or faster non-flying (ground only) mounts and "O" is for the slow 60% mounts and any other mounts that are not 100% ground or 280%+ flying.

Zyland: I checked the spell-ids and fixed them. The Swift Green Wind Rider is in the 280% flying category ("F") and the Green Wind Rider is in the 60% ("O") version now.

Just a idea for a macro:

Code:
#showtooltip <insert a mount name here for icon and tooltip>
/dismount
/run if IsFlyableArea() and not IsControlKeyDown() then RMS("F") else RMS("G") end
This way you can use it to mount on the best mount available in the zone, and if you really want to use the ground mount in a flyable area you just hold in CTRL when click the macro to force it to mount a ground mount. Other midifiers are:

Code:
IsModifierKeyDown() (alt/shift or ctrl)
IsShiftKeyDown()
IsControlKeyDown()
IsAltKeyDown()
For mouse clicks like left, middle or right click:

Code:
IsMouseButtonDown("LeftButton")
IsMouseButtonDown("MiddleButton")
IsMouseButtonDown("RightButton")
I know that some have it easier with slash commands but I find it more customizable by using API, this way you can add conditions and make the macro more flexible.
Last edited by Vlad : 11-06-08 at 11:45 AM.
Report comment to moderator  
Reply With Quote
Unread 11-05-08, 08:43 PM  
Zyland
A Kobold Labourer
 
Zyland's Avatar

Forum posts: 0
File comments: 30
Uploads: 0
An interesting situation.

I have two flying mounts, the Swift Green Windstrider and the Green Windstrider.

The addon will summon either one, with "F," 50% of the time. I thought F was supposed to only cast the 280% flyer?
Report comment to moderator  
Reply With Quote
Unread 11-05-08, 08:29 PM  
drmchld
A Murloc Raider

Forum posts: 5
File comments: 20
Uploads: 0
Not random...

I have a macro set to "/run RMS("O")" however when I run the macro it only calls one mount all the time. I tried 20 times and it only summoned my Felsteed and never my Frostwolf.

Any ideas?

Thanks in advance
Report comment to moderator  
Reply With Quote
Unread 11-02-08, 08:13 AM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 793
File comments: 337
Uploads: 31
isMounted() -> IsMounted() (capital "I" in front), LUA is case sensitive. Try this one now.

Code:
#showtooltip Azure Netherwing Drake
/run if not IsMounted() then if IsFlyableArea() and GetMouseButtonClicked()~="RightButton" then RMS("F") else RMS("G") end end
/dismount [mounted,noflying][button:2]
Report comment to moderator  
Reply With Quote
Unread 11-02-08, 03:15 AM  
tunoi
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
edited
Last edited by tunoi : 11-02-08 at 03:16 AM.
Report comment to moderator  
Reply With Quote
Unread 11-02-08, 02:55 AM  
tunoi
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
@vladinator: thx for answering but what you post does not work in the way i wanted :P
what your macro does:
if i'm not mounted: 'Left click' - will mount me on epic flying mount (good)
'Right click' will mount me on epic ground mount (good)
If i'm mounted on the ground 'Left click' - will dismount me after that will mount me on epic flying mount (not good )
'Right click' - will dismount me after that will mount me on the epic ground mount (not good )
If i'm mounted and in the air somewhere: 'Left click' do nothing (good)
'Right click' - will dismount me (good)

What i really want is one key for mount/dismount using random mount

What i want:
if i'm not mounted: 'Left click' - will mount me on epic flying mount
'Right click' will mount me on epic ground mount
If i'm mounted on the ground 'Left click' - will dismount me
'Right click' - will dismount me
If i'm mounted and in the air somewhere: 'Left click' do nothing
'Right click' - will dismount me

So the question is: Can i obtain the same result using your addon?

PS:

I've tryied the next macro but it's generate error: attempt to cal global isMounted() (a nill value)

#showtooltip Azure Netherwing Drake
/run if not isMounted() then if IsFlyableArea() and GetMouseButtonClicked()~="RightButton" then RMS("F") else RMS("G") end end
/dismount [mounted,noflying] [button:2,mounted]
Last edited by tunoi : 11-02-08 at 03:17 AM.
Report comment to moderator  
Reply With Quote
Unread 10-28-08, 06:26 PM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 793
File comments: 337
Uploads: 31
Try this mate:

Code:
#showtooltip Veridian Netherwing Drake
/dismount
/run if IsFlyableArea() and GetMouseButtonClicked()~="RightButton" then RMS("F") else RMS("G")end
That should do something pretty close to what your macro did, hehe. Button 2 to force ground mount or else use flying mount if you are in a flying zone.
Last edited by Vlad : 10-28-08 at 06:26 PM.
Report comment to moderator  
Reply With Quote
Unread 10-28-08, 11:29 AM  
tunoi
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
how can i transpose the following macro
Code:
#showtooltip 
/cast [nomounted,flyable,nobutton:2] Veridian Netherwing Drake; [nomounted]Black War Raptor
/dismount [mounted,noflying] [button:2,mounted]
using your addon?

Command /run does not accept [something here] or i dont know how to used :P
Last edited by tunoi : 10-28-08 at 11:30 AM.
Report comment to moderator  
Reply With Quote
Unread 10-27-08, 10:43 AM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 793
File comments: 337
Uploads: 31
Originally posted by willgk
I have a Golden Gryphon mem'd and it says i dont have any flying mounts....
Yeah that is the only aspect of users this addon does not appeal to. Flying mount as in 280% mounts, the 60% are in the "other" category, that means all mounts and spells that are not 100% ground or 280% flying mounts. A way to "fix" this would for example be:

Code:
#showtooltip Golden Gryphon
/dismount
/stopcasting
/cast [mod:ctrl] Golden Gryphon
/run if not IsControlKeyDown()then RMS("G")end
Normal click to use ground mount and hold down CTRL while clicking to use the "other" category. Just mind if you got 60% ground mounts and such, you should perhaps be better of just using a macro like this:

Code:
#showtooltip
/cast [flyable,nomod] Golden Gryphon;Ground Mount Name
Use ctrl/alt/shift when you use it to force it to use ground mount or just normal click to use flying mount if you are in a fly zone. Replace the "Ground Mount Name" with your own mount name.
Report comment to moderator  
Reply With Quote
Unread 10-26-08, 07:54 PM  
willgk
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 37
File comments: 147
Uploads: 1
I have a Golden Gryphon mem'd and it says i dont have any flying mounts....
Report comment to moderator  
Reply With Quote
Unread 10-26-08, 08:08 AM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 648
File comments: 204
Uploads: 4
Originally posted by Vladinator
You find me anywhere I go... :P
Ofc i do, >.<
__________________
All I see is strobe lights blinding me in my hindsight.
Report comment to moderator  
Reply With Quote
Unread 10-26-08, 02:38 AM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 793
File comments: 337
Uploads: 31
Originally posted by Beezleboss
I sense ZUO! RAWWRRR! :O

/Ziraly
You find me anywhere I go... :P
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: