Download
(7Kb)
Download
Updated: 11-05-11 05:33 PM
Pictures
File Info
Updated:11-05-11 05:33 PM
Created:unknown
Downloads:6,911
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 08-05-09, 09:11 PM  
Synchretomus
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Wintergrasp 3.2

Hello,

Please note that you can fly in wintergrasp when not in battle
You should find useful trigger functions in pvp addons like capping.

see ya
Report comment to moderator  
Reply With Quote
Unread 07-26-09, 11:07 AM  
Slappey
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Using /ram 310 for version 2 dosn't work just so you know it says it couldn't find a fitting mount even thou i have one. Same with /ram f dosn't work either dunno where the problem lies but for now i'm gonna stick to the older version untill there's a fix .

I've made a temporary bypass since i only have one 310 but with the achievement what a long strange trip it's been i would love to be able to random those, i would also realy like a way to only switch into 280% mounts kinda like the IsControlKeyDown option like IsAltKeyDown if that would work. Anyways this is the fix i've made so far that acctualy work.

#showtooltip Rusted Proto-Drake
/run if IsFlyableArea() and not IsControlKeyDown() then RMS({"Rusted"}) else RMS("G") end
/dismount

Here's another bug i've found, when using the above macro it won't let me mount the ground mount unless i hold in the control key. Like it thinks that everything is an flyable area.
Last edited by Slappey : 07-27-09 at 01:37 PM.
Report comment to moderator  
Reply With Quote
Unread 07-23-09, 05:30 PM  
Synchretomus
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Feature request

Hey,

As you know I really love this one-button-random-mount

By the way, since i've bought the big mammouth that carries friends, i was thinking of an another option and an another mount option.
  • IsInBG()
    checks wether you're in bg or not
    some flavours could be added (IsInBgAndNoCtrl() for instance)
  • RMS("multi") or something like this.

    it could cast the best mount possible from the 2 (bike and mammouth).
    you can also add a RMS("bike") and RMS("travel") or something in the same flavour.

As a way of improving the addon, how about including premade macros that you can select in a minimalistic menu or even / command ?

PS : fact is that i cannot do your premade macro Vlad (with alt option) since my mount button is bound to alt+mouse4 ... quiet usefull for bg's or achievements runs

***
Another point :
i use the addon with many characters, and only one macro for all of them.
on my main character, it works well, but on alts, it tries to mount 60% instead of 100%. I can avoid this by putting a line in my macro :
Code:
/run AllDismount()
/ram scan <---------- this line
/run if IsFlyAndNoCTRL() then RMS("280") else if IsInAQ() then RMS({"Qiraji"}) else RMS("100") end end
then the addon cast appropriate 100% mounts.

This line induces a little lag, and it makes the addon a little bit more esoteric for players.
Report comment to moderator  
Reply With Quote
Unread 06-30-09, 05:36 PM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 793
File comments: 337
Uploads: 31
Ty a lot Synchretomus, I really appreciate your kind help!

I've uploaded 2.005 and added some changes to the comparing, so that when there is a table with several types of the same sentence (like the Northrend and/or Outland") it compares if the table contains the string of the tooltip and not just comparing "a is in b" like I have for most scans.

I think/hope this will now fix several issues, also the Carpet mounts. I am a bit unsure about other special mounts, I must investigate on those a bit.
Report comment to moderator  
Reply With Quote
Unread 06-30-09, 02:50 PM  
Synchretomus
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Hi,

Just FYI, i started a topic on french blizzard's forums about mount descriptions. (http://forums.wow-europe.com/thread....21351186&sid=2 , hem... its in french) and we now have a response about how things are (pure language issue).

By the way, please note that some (few?) flying mounts are "Outland and Northrend" (in english) as a blue pointed it out, like :
Magnificent Flying Carpet
3 sec cast
Summons and dismisses a Magnificent Flying Carpet. This is a very fast rug. Can only be used in Outland and Northrend. Requires 425 skill in tailoring to ride.
Report comment to moderator  
Reply With Quote
Unread 06-30-09, 06:31 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 Synchretomus
Works perfectly !
Great Job !
Thanks a lot Vladinator
Found I bugged something in the non-french versions, so I uploaded another patch. If I just had french I could have checked all of them and fixed it in 5 min. I think the heat is messing up my coding.
Report comment to moderator  
Reply With Quote
Unread 06-30-09, 04:37 AM  
Synchretomus
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Originally posted by Vladinator
Sorry about that, uploaded 2.003 and that will hopefully fix this bug. Did some tests and I did not get any bugs with this fix now.
Works perfectly !
Great Job !

Thanks a lot Vladinator
Report comment to moderator  
Reply With Quote
Unread 06-29-09, 04:46 PM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 793
File comments: 337
Uploads: 31
Sorry about that, uploaded 2.003 and that will hopefully fix this bug. Did some tests and I did not get any bugs with this fix now.
Report comment to moderator  
Reply With Quote
Unread 06-29-09, 11:30 AM  
Synchretomus
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Re: Re: Re: Re: Re: Tooltip parser

Originally posted by Vladinator
It's extremely nice of you, Synchretomus!

I've uploaded 2.002 that should fix this issue, and yes you should blame the french translators for not keeping everything the same on all items and instead using different sentences. :P

The file should be approved and up shortly. Thanks for showing interest in RAM too!
Hi,

tried the new version and Swatter gives me this :

Date: 2009-06-29 19:13:38
ID: 1
Error occured in: Global
Count: 1
Message: ...AddOns\A_RandomAccessMount2\A_RandomAccessMount2.lua line 194:
bad argument #1 to 'find' (string expected, got table)
Debug:
[C]: ?
[C]: find()
...AddOns\A_RandomAccessMount2\A_RandomAccessMount2.lua:194:
...AddOns\A_RandomAccessMount2\A_RandomAccessMount2.lua:150
...AddOns\A_RandomAccessMount2\A_RandomAccessMount2.lua:358: ?()
...AddOns\A_RandomAccessMount2\A_RandomAccessMount2.lua:368:
...AddOns\A_RandomAccessMount2\A_RandomAccessMount2.lua:367
AddOns:
SurfaceControl, v1
Swatter, v5.5.4293 (WombatII)
NPCScan, v3.0.9.2
ARandomAccessMount2, v2.002
Ace2, v
Ace3, v
AceGUI30SharedMediaWidgets, v3.2
AllStats, v1.0
Atlas, v1.14.1
AtlasLoot, vv5.05.01
BadBoy, v3.4.3.5
Bartender4, v4.3.3
BigWigs, v2.0
BigWigsPizzaBar, vv1.2.1
BigWigsPlugins, v2.0
Bison, v1.4.3
ButtonFacade, v3.1.270
ButtonFacadeLiteFlat, v3.0.2
Capping, v3.1.001
ClassLoot, vv1.6.3
CooldownCount, v3.0
CowTip, v
DamnTekkub, v
DebugLib, v5.1.DEV.130
Decursive, v2.4.1
FizzleInventory, v1.8
ForteCasting, v
ForteCooldown, v
ForteCore, vv1.13
ForteMage, v
ForteTimer, v
ForteVehicle, v
FuBar, v
FuBarDigiCamFu, vv1.1.1
FuBarFriendsFu, v2.4.3-102
FuBarGuildFu, v2.4.3-116
FuBarNameToggleFu, vv1.3.2
HeadCount, v1.5.6
LibSharedMedia20, v
LibSharedMedia30, v3.0-56
Omen, v3.0.7
Overachiever, v0.43
Parrot, vv1.7.0
PitBull, vv3.2.11
PitBullAura, v2.0
PitBullBanzai, v1.0
PitBullCastBar, v2.0
PitBullCombatIcon, v2.0
PitBullComboPoints, v2.0
PitBullHealthBar, v2.0
PitBullHideBlizzard, v2.0
PitBullLeaderIcon, v2.0
PitBullMasterLooterIcon, v2.0
PitBullPowerBar, v2.0
PitBullPvPIcon, v2.0
PitBullRaidTargetIcon, v2.0
PitBullReadyCheckIcon, v2.0
PitBullReputationBar, v2.0
PitBullRestIcon, v2.0
PitBullSpark, v2.0
PitBullVisualHeal, v2.0
PitBullVoiceIcon, v2.0
Prat30, v3.2
Prat30Libraries, v
Quartz, v1.0
QuartzFlight, v1.0
QuartzGCD, v1.0
QuartzInterrupt, v1.0
QuartzLatency, v1.0
QuartzPlayer, v1.0
RatingBuster, v
SexyMap, v
SharedMedia, v3.0.1-177
SharedMediaBlizzard, v1.0
SharedMediaAdditionalFonts, v1.0
SharedMediaLib, v1.0
Skillet, v
Skinner, vb2.9947.4
Spellcraft, v
Stubby, v5.5.4293 (WombatII)
SurfaceLib, v
Surfaces, v0_o
TitleSwapper, v0.4b-tocfix
TrinketMenu, v
Utopia, v$Revision: 107 $
UtopiaUpTime, v$Revision: 93 $
XLoot, v0.9
(ck=784)
of course no 100% mount detected.
Annoying isn't it ? Here's some Valium to help you get through this
Last edited by Synchretomus : 06-29-09 at 11:47 AM.
Report comment to moderator  
Reply With Quote
Unread 06-26-09, 10:00 PM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 793
File comments: 337
Uploads: 31
Cool Re: Re: Re: Re: Tooltip parser

It's extremely nice of you, Synchretomus!

I've uploaded 2.002 that should fix this issue, and yes you should blame the french translators for not keeping everything the same on all items and instead using different sentences. :P

The file should be approved and up shortly. Thanks for showing interest in RAM too!
Report comment to moderator  
Reply With Quote
Unread 06-26-09, 07:06 AM  
Synchretomus
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Re: Re: Re: Tooltip parser

Originally posted by Synchretomus
thanks a lot ! I'm gonna look at this right now, and give you feedback. Don't turn your head up and down too much for this
So, fixed for flying mounts (yahaaa !)
But still a little buggy for ground mounts (...) it randomize only among certains mounts, because ... wait for it ... another similar problem !

Look :
Cor du loup des bois rapide
Lié quand ramassé
Races : Orc, Mort-vivant, Tauren, Troll, Elfe de sang
Niveau 60 requis
Monte (150) requis
Utiliser : Vous apprend à invoquer cette monture. C'est une monture très rapide.
Teaches :
Invoque et renvoie un loup des bois rapide. Cette monture va très vite.
http://fr.wowhead.com/?item=18797#teaches-ability
same for "Raptor bleu rapide"

But there, here is a undead mount :
Cheval de guerre squelette violet
Lié quand ramassé
Races : Orc, Mort-vivant, Tauren, Troll, Elfe de sang
Niveau 60 requis
Monte (150) requis
Utiliser : Vous apprend à invoquer cette monture. C'est une monture très rapide.[/b]
and the spell is :
Cheval de guerre squelette violet
3 sec. d'incantation
Invoque et renvoie un cheval de guerre squelette violet. C'est une monture très rapide.
So, thanks blizzard-france for being this lazy ! Now we've got everything and nothing all together in a wonderful mess ...

IMO, i still possible to deal with this, but it includes the idea of having another logic operator or condition, just for these little annoying froggies... Guess you could just snipe for "très" !

Well, any ideas ? (except "play in US" of course ^^)

See ya !
Report comment to moderator  
Reply With Quote
Unread 06-26-09, 06:34 AM  
Synchretomus
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Re: Re: Tooltip parser

Originally posted by Vladinator
Thanks a lot Synchretomus, really nice of you to point this out!

I've uploaded a 2.001 fix that should deal with this issue.

The addon was looking for:
"peut être invoquée qu'en Outreterre ou en Norfendre"

But I changed it to look for:
"peut être invoquée qu'en Outreterre (.+) en Norfendre"

That means it will ignore if it says ou or et, or what ever as long the rest matches -that would return "true" and it would find that Drake rogue is a flying one and not just a "fast mount" (that is 100% ground)

This should fix it, if not tell me and I'll need to bonk my head several times.
thanks a lot ! I'm gonna look at this right now, and give you feedback. Don't turn your head up and down too much for this
Report comment to moderator  
Reply With Quote
Unread 06-25-09, 04:20 AM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 793
File comments: 337
Uploads: 31
Re: Tooltip parser

Thanks a lot Synchretomus, really nice of you to point this out!

I've uploaded a 2.001 fix that should deal with this issue.

The addon was looking for:
"peut être invoquée qu'en Outreterre ou en Norfendre"

But I changed it to look for:
"peut être invoquée qu'en Outreterre (.+) en Norfendre"

That means it will ignore if it says ou or et, or what ever as long the rest matches -that would return "true" and it would find that Drake rogue is a flying one and not just a "fast mount" (that is 100% ground)

This should fix it, if not tell me and I'll need to bonk my head several times.
Report comment to moderator  
Reply With Quote
Unread 06-23-09, 05:09 PM  
Synchretomus
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Tooltip parser

Hello,

Please note that (at least on fr-FR servers), the red drake is bugged.

Since this version of the addon parses tooltips for key-sentences (this sentence is in bold), one mount is a bit different.

Most flying mounts in fr-FR are :

Invoque et renvoie ... C'est une monture très rapide qui ne peut être invoquée qu'en Outreterre ou en Norfendre.
but for the red drake and green and red protodrakes :

Invoque et renvoie ... C'est une monture très rapide qui ne peut être invoquée qu'en Outreterre et en Norfendre.
To convince yourself have a look to this page : http://fr.wowhead.com/?search=drake#abilities and look for "Drake rouge" et compare it to others.

I tried to shorten the sentence to : "peut être invoquée qu'en Outreterre" but it does not get me any flying mount ...

I requested MJ for this (blizzard issue obviously), but is there any chance that it could be avoided by coding things differently ?

Main consequence is that on ground conditions, it tries to summon the red drake, and i had some problems in pvp conditions ^^
Report comment to moderator  
Reply With Quote
Unread 06-16-09, 04:57 PM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 793
File comments: 337
Uploads: 31
Originally posted by Slappey
Btw i've had a thought is it possible to get a line where you can chose only to mount your 310% mounts to?
It should work using 310 as a flag, like RAM(310) or RAM("310") should summon only a random 310% mount. I have no 310% so I have not tested that category. :<
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: