Download
(121 Kb)
Download
Updated: 06-12-14 07:12 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:06-12-14 07:12 AM
Created:05-31-09 12:13 PM
Downloads:14,882
Favorites:94
MD5:
5.4
MountRandomMount  Popular! (More than 5000 hits)
Version: 5.4h
by: dardack, Tomate
I wanted a simple mod to randomly cast a mount from a list I defined. Using Land in nonflyable areas and flying in flyable areas.

Have added localization ability, tenatively/hopefully. If you would like to localize this, please look at localization.enUS.lua and send me a comment stating you would like to.

Have added the ability for druids/shamans to use their travel/GW/flight forms. It's bound to a 3rd key binding. Can not be part of the randomness due to the fact it is a spell and must have a secure button to cast. Well it could be just not simplified. For druids, will attempt to cast swift flight than flight form in flyable area's, if you have neither it than will attempt to cast travel form. If your not in a flyable area it will attempt to cast travel form. Ok to be able to cast, the binding is transfered from the trigger you set in Key Bindings menu, to the secure button for casting. So each time you log in you will have to hit this key binding twice, but for the rest of the session will act like a regular keybinding. I have found no way around this at this time. This only affects travel forms keybinding.

Comments Suggestions always are welcomed.

use /rdm:
RountRandomMount version
use: /rdm --prints this help
/rdm add [mount name] (can also shift click from your mount list) -- adds another mount to the random list
/rdm remove [mount name] (can also shift click from your mount list) --removes a mount from the list
/rdm list -- lists the mounts to select from
/rdm gui -- brings up a GUI of your mounts
/rdm reseed -- if you use more than one computer and you learn a new mount, your list will not work on the other computer, use this to reseed correct mount ID's
/rdm catform -- if you are a druid will use catform in instances/inside.
/rdm random -- mounts a random mount from your list (using flying in flyable areas and land in nonflyable areas)
There is a keybinding option in the Blizzard KeyBindings Menu. Add a shortcut here to call /rdm random

If you have any bugs, questions, comments, suggestions, please leave me a comment.

I did run into a mount that doesn't have the same name in the tooltip as in the WoW API call. Bronze Drake from CoS timed, doesn't have the word mount in the tooltip, but in the API call comes back Bronze Drake Mount. If you get an error saying mount doesn't exist, please let me know. Also if you ahve the HHM, will you let me know if it works with this?
v5.4h
I don't think I can add a mount before it's released in game I guess. Warforged Nightmare fixed.

v5.4g
Added Grinning Reaver, Warforged Nightmare, and fixed Enchanted Fey Dragon

v5.4f
Fix issue with Vashj'ir detection
Add class specific mount category

v5.4e
Added hearthsteed

v5.4d
Added Dread Raven

v5.4c
Added Iron Skyreaver to ground/flying.

v5.4b
Sky golem can now be used at land mount.
Tweak swimming detection for the use of the turtle.
Add an "Enabeld" mount panel that lists all your current used mount.

v5.4
Bump toc version for patch 5.4.
Update the mount list for patch 5.4.

v5.3
Bump toc version for patch 5.3.
Update the mount list for patch 5.3.

v5.2c
Bump toc version for patch 5.2.
Update the mount list for patch 5.2.

v5.2b
Bump toc version for patch 5.1.
Same name mount should not bug anymore.
Remove debug message.

v5.2a
Completely rewrite setting panel based on Ace3 (your save mount has been remove).
Update localization string (based on Ace too).
Add missing mounts (I write a script which parse mounts from blizzard site and wowhead include in addon files)
A lot of code rewrite.
Remove reseed function because it's now based on mount name.
Fix issue with mount name which is not the same as the corresponding summon spell (jewel crafting ...).

v5.1c
Fix an issue which prevent addon to load.

v5.1b
Add help to landonly slash-command.
Jeweled mounts are now usable at land mount.

v5.1a
Add landonly slash-command.
The red flying cloud are now usable at land mount.

v5.0b
Fix an issue with the list of mount on blizzard UI which is not ordered alphabetically which cause wrong mount to be summon.

v5.0a
Fixed an issue which cause the mount data list to not be updated correctly
All Hippogryph are now usable in land mount.
The Imperial Quilen is now also usable in land mount.

v5.0
Added Mist of Pandaria mounts
Added Heart of the Aspects mount (blizz store)
Added Obsidian Nightwing mount (RAF)

v4.3a
Added more 4.3 mounts.

v4.2a
Added dismount to land mount only keybind
Added patch 4.3/TCG Mounts to the List. Please report if any missing.

v4.1d
WG fix for druids/worgens.

v4.1c
Added new mounts from patch 4.2 (if nothing changes) and the new mount from Blizz store.

v4.1a/b
Added new mounts from patch 4.1. Updated ToC.

v4.0.3l
Added translation for RU/FR/DE for the 3 area's that can use the Seahorse mount. Still need zhTW translation from someone (wowhead doesn't have a zh. or tw. that I could find to get the right translations.

v4.0.3k
Fixed worgen (i think anyways). Fixed Seahorse for other clients once I get translations.

v4.0.3j/1
Added Worgen Ability to go with the other racial abilites (druid/shaman).

v4.0.3i/1
Fixed Seahorse/Vash issues.

v4.0.3h/1
Fixed adding removing mounts with the command line.

v4.0.3g1
Not much just a bit of debugging to help a user figure otu what's going on.

v4.0.3g
Fixed random code, added seahorse mount for Vash in cata, fixed better swim mount detection.

v4.0.3f
Added Cata mounts since some were introduced in 4.0.3a

v4.0.3e
Better detection if able to fly or not.

v4.0.3b/c/d
Updated for 4.0.3a

v4.0.1g/h/alphatest/i
Wow, that change had some errors. Sorry about that. Fixed errors.

v4.0.1f
Changed GUI. Allowed combo mounts (celes/HHM/etc.) to be in either or list or both. Added lomoko's Russian translation fixes.

v4.0.1e
Changed how mounts are determined for flying/land as the coming changes in Cata. It now keeps a global list of all mounts and what they can do (land/flying/both/swimming).

v4.0.1d
Added ability to summon flying mount when swimming but at the surface. This does not work with the Druid Flight ability as it seems they still check for swimming with druid Flight Form.

v4.0.1c
Added French Translation, Thanks to WoWInterface User Tomate.
Added being able to exit vehicle with same button to dismount. Thanks to Gandoch.

v4.0.1b
Fixed removing mounts from both lists when land/flying mount.

v4.0.1a
Fixes to update for 4.0.1 patch.

v3.0.7
added Female Shaman for Ru, if German or another client needs this please let me know. Fixed the error printing where it didn't need to.
Added German Translation thanks to Brenainn. More German Translation by mad-d and Russian Translation by lomoko.

v3.0.6
More German Translation by mad-d and Russian Translation by lomoko.
Added error checking when using command line to add mount.

v3.0.5
Added german translation for wintergrasp.

v3.0.2/3/4
Added X53-Touring Rocket. Added Aufenthaltsort for german translation (location) for celestial steed and if in german client they start adding this for mounts that can be used everywhere (unfortunately, english has location for HHM/Celestial steed, but german didn't until Celestial Steed). X-53 should work across all clients, as X-53 is not a word.

v3.0.1
Added German Translation for specific keywords, thanks to: Brenainn

v3.0
Added Sea Turtle cast if swimming to random mount, otherwise a land mount is cast. Added Acquatic form if swimming and druid.

v2.9
Updated ToC to 3.3

v2.8
IsFlyableArea Does not work during Combat in WG, added code to correct this.

v2.7
IsFlyableArea() was fixed in 3.2 and properly determines if you can mount. Simiplfied code this way.

v2.6b
Minor fixes to color code.

v2.6a
Fixed issue with next button on GUI not re-enabling when prev button was pushed, until page 1 was reached.

v 2.6
Began chinese translations.

v 2.5
Updated so no error message (found the API call to find out if WG is in combat and was able to see that land only during combat, flying every other time, even if other faction owns WG, sorry took me a bit to have time to test). Updated Druid travel forms for WG hopefully, need someone to test.

v 2.4
Updated for flying mounts in WG, what it does is try to mount a Flying mount then a land (in case of battle). So you will get a message another action is in progress, or you can't use that here and a land mount is summoned. Unfortunately, this is due to the fact that CallCompanion doesn't return anything (ie success or fail). Also, i did this cause I wasn't sure if you can mount you flying during WG battles. Been busy, haven't been able to test.

v 2.3
Updated TOC for 3.2

v 2.1a
Fixed code for the druid forms again.

v 2.1
Hopefully fixed the profession only mounts and headless horseman mount.

v 2.0d
Hopefully re-fixed the druid forms.

v 2.0c
Was pointed out to me, that I shouldn't use global variables, but use a table. This has been fixed. However, your mount list will now be blank.

v 2.0b
Hopefully fixed the druid forms.

v 2.0a
Hopefully fixed the cat form inside toggle command. Also added a check if the player is a druid, so it will just tell you to ignore that command if you are a druid.
Hopefully fixed the not using flight form in flyable areas.

v 2.0
Added localization, enUS only right now. If you want to contribute another language, please look at the localization.enUS.lua file and there are all the variables used within MRM. Send me a comment that you would like to do this.
Added shaman/druid ability to use GW/travel/flight forms. It uses a 3rd binding for this, since they are considered spells and not mounts, a secure button must be used. So they can't be part of your random list. The 3rd key binding will show up for non druid/shamans but if you set a keybinding to it will display a message you aren't of the right class.

v 1.2
Fixed the problem with not mounting up a land mount if you had no flying selected.
Added a binding to mount a random land mount only (for those times you want to show off your land mounts in flyable areas)
Added a command to reseed mount ID's. If you play on 2 computers and you learn a new mount on 1, your list on the other won't work correctly until the ID's are corrected. This will do that.

v 1.1a
Was not correctly updating your list when a new mount was added. Fixed.
Will have to clear your list or add a new mount.

v 1.0
1.0 release
GUI added
fixed an error where no printing of what mount was added when your flying or land list is empty.
Added keybing

v beta .5a
Changed it so that a flying mount would be used in Krasus' Landing in Dalaran.
Archived Files (39)
File Name
Version
Size
Author
Date
5.4g
121kB
dardack
05-27-14 06:28 AM
5.4f
125kB
dardack
03-12-14 06:01 PM
5.4e
121kB
dardack
03-11-14 06:19 PM
5.4d
121kB
dardack
03-10-14 04:55 PM
5.4c
121kB
dardack
01-28-14 07:48 AM
5.4b
125kB
dardack
10-10-13 03:48 AM
5.4
124kB
dardack
09-12-13 08:04 AM
5.3
124kB
dardack
05-30-13 07:32 AM
5.2c
124kB
dardack
04-05-13 03:18 AM
5.2b
124kB
dardack
11-28-12 07:44 AM
5.2a
123kB
dardack
11-13-12 05:00 AM
5.1c
25kB
dardack
10-28-12 03:04 PM
5.1b
25kB
dardack
10-23-12 07:33 AM
5.0b
25kB
dardack
09-20-12 04:36 PM
5.0a
25kB
dardack
09-13-12 09:52 AM
5.0
24kB
dardack
08-29-12 04:02 AM
4.3a
23kB
dardack
11-29-11 09:19 AM
4.2a
23kB
dardack
10-21-11 10:42 AM
4.1d
24kB
dardack
06-25-11 06:31 PM
4.1c
23kB
dardack
06-01-11 06:34 AM
4.0.3k
23kB
dardack
12-21-10 10:28 AM
4.0.3h
23kB
dardack
12-04-10 01:07 PM
4.0.3g1
21kB
dardack
12-02-10 08:38 AM
4.0.3g
21kB
dardack
11-30-10 01:15 PM
4.0.3f
22kB
dardack
11-24-10 10:11 PM
4.0.3b
22kB
dardack
11-23-10 09:43 PM
4.0.1i
22kB
dardack
11-12-10 07:04 PM
4.0.1e
20kB
dardack
11-06-10 07:09 PM
4.0.1d
16kB
dardack
10-22-10 08:20 AM
4.0.1c
16kB
dardack
10-21-10 08:00 AM
4.0.1b
14kB
dardack
10-15-10 12:01 PM
3.0.7
14kB
dardack
09-28-10 10:44 AM
3.0.1
12kB
dardack
03-26-10 07:44 AM
3.0
10kB
dardack
02-03-10 03:08 PM
2.8
13kB
dardack
09-28-09 05:05 PM
2.6b
13kB
dardack
09-19-09 12:42 PM
2.6a
12kB
dardack
09-04-09 09:08 AM
2.2
8kB
dardack
07-23-09 09:06 AM
beta .5a
2kB
dardack
05-31-09 01:02 PM


Post A Reply Comment Options
Unread 06-18-09, 06:53 AM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 193
Uploads: 5
Originally posted by Katardre


I'll check back tomorrow...I really want to see this work...so far it's the easiest to use random mounting addon I've seen...too many of the others I've seen try to add too many bells and whistles...I like simple
Yea that's why i wrote it. Anyways, thanks for posting your SV file. I believe i've fixed the problem. Try 2.0d and let me know plz. Also if it works once, could you log out and back in to see if it works again?
dardack is offline Report comment to moderator  
Reply With Quote
Unread 06-18-09, 10:15 AM  
Katardre
A Kobold Labourer

Forum posts: 1
File comments: 59
Uploads: 0
installed the new version and tested it to make sure it all worked then relogged and got the following results...

outside in Dalaran - travel form
at Krasus Landing in Dalaran - "You can't use that here." (no cold weather flying lessons yet )
in Shattrath City - Swift Flight Form
in Stormwind - travel form

so yup it all works as expected...no errors
Katardre is offline Report comment to moderator  
Reply With Quote
Unread 06-18-09, 10:43 AM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 193
Uploads: 5
Originally posted by Katardre
installed the new version and tested it to make sure it all worked then relogged and got the following results...

outside in Dalaran - travel form
at Krasus Landing in Dalaran - "You can't use that here." (no cold weather flying lessons yet )
in Shattrath City - Swift Flight Form
in Stormwind - travel form

so yup it all works as expected...no errors
Nice, at first my eyes went to You can't use that here, and I'm like oh no. Anyways, next thing is tfor druid flight to do a check if you have cold weather flying then. Cause that will be like that everywhere, i mean you should have a mount regular at least cause travel form is slow, but yea .
dardack is offline Report comment to moderator  
Reply With Quote
Unread 06-18-09, 01:25 PM  
Katardre
A Kobold Labourer

Forum posts: 1
File comments: 59
Uploads: 0
Originally posted by dardack
Nice, at first my eyes went to You can't use that here, and I'm like oh no. Anyways, next thing is tfor druid flight to do a check if you have cold weather flying then. Cause that will be like that everywhere, i mean you should have a mount regular at least cause travel form is slow, but yea .
sorry for being such an odd one...it's not like it matters much anyway since I'll be 77 soon...really just glad you got it working...
Katardre is offline Report comment to moderator  
Reply With Quote
Unread 06-18-09, 09:44 PM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 193
Uploads: 5
Originally posted by Katardre
sorry for being such an odd one...it's not like it matters much anyway since I'll be 77 soon...really just glad you got it working...
Dude, your not an odd one. If people don't tell me what options they want (without going overboard cause i do want to keep this simple), i won't know. BUt yea alot of druids only have flight form, so good call on that. But I might not add the cold flying check because if you have flight you have epic riding, so you prolly want a 100% land in northrend over (30%?40%?) travel form.
dardack is offline Report comment to moderator  
Reply With Quote
Unread 06-20-09, 07:38 AM  
Aessedai81
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hi, I just downloaded your add on and noticed that it will not summon Magnificent Flying Carpet. Just curios if there was any other people with this mount that are having the same problem.

Other then that everything else seems to work just right. Very nice add on when you start getting a lot of mounts.

Thanks
~Aessedai81
Aessedai81 is offline Report comment to moderator  
Reply With Quote
Unread 06-20-09, 03:31 PM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 193
Uploads: 5
Originally posted by Aessedai81
Hi, I just downloaded your add on and noticed that it will not summon Magnificent Flying Carpet. Just curios if there was any other people with this mount that are having the same problem.

Other then that everything else seems to work just right. Very nice add on when you start getting a lot of mounts.

Thanks
~Aessedai81
Ok few questions, is the carpet listed in the /rdm gui part? Sorry no toons with tailoring to test. ALso, could you count yours mounts to the carpet (ie the top row on page 1 is 1-6, the bottom is 7-12, on page 2 top row is 13-18, etc.) and give me the output from /dump GetCompanionInfo("MOUNT", that number you got from counting)

also in a flying area, please /run CallCompanion("MOUNT", that number again) and see if it works, or if it says can't use that here.
Last edited by dardack : 06-20-09 at 03:58 PM.
dardack is offline Report comment to moderator  
Reply With Quote
Unread 06-21-09, 12:51 AM  
Katardre
A Kobold Labourer

Forum posts: 1
File comments: 59
Uploads: 0
Ok few questions, is the carpet listed in the /rdm gui part? Sorry no toons with tailoring to test. ALso, could you count yours mounts to the carpet (ie the top row on page 1 is 1-6, the bottom is 7-12, on page 2 top row is 13-18, etc.) and give me the output from /dump GetCompanionInfo("MOUNT", that number you got from counting)

also in a flying area, please /run CallCompanion("MOUNT", that number again) and see if it works, or if it says can't use that here.
Was just going to ask about the Headless Horseman's Mount....but I have a tailoring toon...and I got curious even tho I never ride my flying carpets...gnomes just look silly on them..lol

output from /dump GetCompanionInfo("MOUNT", 2) is 33030, "Magnificent Flying Carpet", 61309, "Interface\\Icons\\ability_mount_magnificentflyingcarpet", nil

/run CallCompanion("MOUNT", 2) in a flying zone does summon the mount...and summoning does allow me to ride it...however, when I clicked the checkbox next to Magnificent Flying Carpet in the /rdm gui it said "magnificent flying carpet has been added to your land random list."...the regular flying carpet also gets added to the land random list...also with only the Magnificent Flying Carpet checked on the /rdm gui list it reports that "you have not added any flying mounts to your random list. Using a Land mount." and summons the carpet....seems it thinks it's a land mount...

as for the question I was going to ask...the Headless Horseman's Mount is considered both a land mount and a flying mount...however in a flying zone I get the following message..."You have not added any flying mounts to your random list. Using a Land mount." and it randomly summons a mount from my land list....which often ends up not being the Headless Horseman's Mount...could it be the same issue? that it's not being added to the Flying list? It should be added to both...I just ask because it's my only flying mount on that toon tho I suppose I could "fix" it by removing all my other mounts from the land list...and just using the Horseman's Mount everywhere all the time...but i don't like to do that...it runs funny...lol
Last edited by Katardre : 06-21-09 at 07:45 AM.
Katardre is offline Report comment to moderator  
Reply With Quote
Unread 06-21-09, 01:41 PM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 193
Uploads: 5
Originally posted by Katardre
Was just going to ask about the Headless Horseman's Mount....but I have a tailoring toon...and I got curious even tho I never ride my flying carpets...gnomes just look silly on them..lol

output from /dump GetCompanionInfo("MOUNT", 2) is 33030, "Magnificent Flying Carpet", 61309, "Interface\\Icons\\ability_mount_magnificentflyingcarpet", nil

/run CallCompanion("MOUNT", 2) in a flying zone does summon the mount...and summoning does allow me to ride it...however, when I clicked the checkbox next to Magnificent Flying Carpet in the /rdm gui it said "magnificent flying carpet has been added to your land random list."...the regular flying carpet also gets added to the land random list...also with only the Magnificent Flying Carpet checked on the /rdm gui list it reports that "you have not added any flying mounts to your random list. Using a Land mount." and summons the carpet....seems it thinks it's a land mount...

as for the question I was going to ask...the Headless Horseman's Mount is considered both a land mount and a flying mount...however in a flying zone I get the following message..."You have not added any flying mounts to your random list. Using a Land mount." and it randomly summons a mount from my land list....which often ends up not being the Headless Horseman's Mount...could it be the same issue? that it's not being added to the Flying list? It should be added to both...I just ask because it's my only flying mount on that toon tho I suppose I could "fix" it by removing all my other mounts from the land list...and just using the Horseman's Mount everywhere all the time...but i don't like to do that...it runs funny...lol
Wish i had these 2 mounts to test on. Ok can you go to your saved variables folder for this toon and copy paste the MountRandomMount.lua file for me?

I know why the headless doesn't work, i need to add a check against the word location in the mount tooltip, right now it only checks for Outland Northrend, but between the DK's winged ride, which has almost the same wording as the Headless horseman except the word location. So i think I can test for location and add it to both land/flying. Don't think any other mount has the word location in the tooltip.

Also, do not know why the reg carpet is being added when the fast one is, and why it's being put in the land. I may send you a special copy with prints throughout that when you add it if you could tell me what it prints out and stuff. Cause wowhead shows the carpet having the words Northrend and Outland in the tooltip.
Last edited by dardack : 06-21-09 at 01:55 PM.
dardack is offline Report comment to moderator  
Reply With Quote
Unread 06-21-09, 05:05 PM  
Katardre
A Kobold Labourer

Forum posts: 1
File comments: 59
Uploads: 0
Originally posted by dardack
Wish i had these 2 mounts to test on. Ok can you go to your saved variables folder for this toon and copy paste the MountRandomMount.lua file for me?
at the moment all she has is the carpet and a horse in her mount list...normally it's a gryphon and horse
Code:
MountRandomMount_SavedTable = {
	["randommountlist"] = {
		["Land"] = {
			{
				"swift white steed", -- [1]
				7, -- [2]
			}, -- [1]
			{
				"magnificent flying carpet", -- [1]
				2, -- [2]
			}, -- [2]
		},
		["Flying"] = {
		},
	},
	["MRMDruid_CatInside"] = false,
}
Also, do not know why the reg carpet is being added when the fast one is, and why it's being put in the land. I may send you a special copy with prints throughout that when you add it if you could tell me what it prints out and stuff. Cause wowhead shows the carpet having the words Northrend and Outland in the tooltip.
The Regular carpet does not get added at the same time...it gets added to the land list if I click the checkbox in the /rdm gui...and it's supposed to be added to the flying list...sorry i should have made that more clear...

The exact tooltip in game when I mouseover the carpets in my mounts page
Code:
Flying Carpet
3 sec cast
Summons and dismisses a Flying
Carpet. Can only be used in 
Outland and Northrend. Requires
410 skill in tailoring to ride.
and
Code:
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.
Did further digging...and my engineer gets her Flying Machine and Turbo-Charged Flying Machine added to the land mounts list instead of the flying mounts list as well...
Code:
Flying Machine
3 sec cast
Summons and dismisses a Flying
Machine. This vehicle can only be 
used in Outland and Northrend. Requires
350 engineering skill to ride.
Code:
Turbo-Charged Flying Machine
3 sec cast
Summons and dismisses a Turbo-
Charged Flying Machine. This is a 
very fast ride. This vehicle can 
only be used in Outland and 
Northrend. Requires 375
engineering skill to ride.
could the Requires x skill in tailoring/engineering line of the tooltip be interfering somehow?
Last edited by Katardre : 06-21-09 at 05:27 PM.
Katardre is offline Report comment to moderator  
Reply With Quote
Unread 06-21-09, 05:54 PM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 193
Uploads: 5
Originally posted by Katardre

could the Requires x skill in tailoring/engineering line of the tooltip be interfering somehow?
That's what i'm wondering. Can you open MountRandomMount.lua in the addons/mountrandommount directory? Look for line 168 with:
Code:
 for word in string.gmatch(text, "%S+") do
(it might not be exactly 168, sometimes i'm testing new stuff so it might not be exact), after the DO hit enter and put in:
Code:
print(word)
Than log in and add a carpet/helicopter/headless horseman. Let me know what words are filtered through there please. (don't have to post them all but with carpet/helicopter look for Outland/Northrend, if it only lists the words for REQUIRES...let me know please).
dardack is offline Report comment to moderator  
Reply With Quote
Unread 06-21-09, 06:12 PM  
Katardre
A Kobold Labourer

Forum posts: 1
File comments: 59
Uploads: 0
Originally posted by dardack
That's what i'm wondering. Can you open MountRandomMount.lua in the addons/mountrandommount directory? Look for line 168 with:
Code:
 for word in string.gmatch(text, "%S+") do
(it might not be exactly 168, sometimes i'm testing new stuff so it might not be exact), after the DO hit enter and put in:
Code:
print(word)
Than log in and add a carpet/helicopter/headless horseman. Let me know what words are filtered through there please. (don't have to post them all but with carpet/helicopter look for Outland/Northrend, if it only lists the words for REQUIRES...let me know please).
all the words from the tooltips i listed in my last post are in the list of words in the same order...with each word on a seperate line...so it sees the word but isn't paying any attention to it...like it's only paying attention to the last word in the list...to check this I removed the line that checks for the word Northrend...and all my flying mounts are now added as land mounts...except my Snowy Gryphon which has Outland as it's last word....so it only checks the last word of the tooltip, instead of every word in the tooltip...

as for the headless horseman's mount...the list of words reads...

Headless Horseman's mount 3 sec cast Summons and dismisses the Headless Horseman's steed. This mount changes depending on your Riding skill and location.

with each word on it's own line of course...
Katardre is offline Report comment to moderator  
Reply With Quote
Unread 06-21-09, 07:04 PM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 193
Uploads: 5
Originally posted by Katardre
all the words from the tooltips i listed in my last post are in the list of words in the same order...with each word on a seperate line...so it sees the word but isn't paying any attention to it...like it's only paying attention to the last word in the list...to check this I removed the line that checks for the word Northrend...and all my flying mounts are now added as land mounts...except my Snowy Gryphon which has Outland as it's last word....so it only checks the last word of the tooltip, instead of every word in the tooltip...

as for the headless horseman's mount...the list of words reads...

Headless Horseman's mount 3 sec cast Summons and dismisses the Headless Horseman's steed. This mount changes depending on your Riding skill and location.

with each word on it's own line of course...
Can you try 2.1? I just uploaded it. Test with carpet/helicopter/headless.

Also, if anyone knows if another mount has location in the tooltip, if it does i'll have to figure out another way to figure out headless horseman.
dardack is offline Report comment to moderator  
Reply With Quote
Unread 06-21-09, 07:22 PM  
Katardre
A Kobold Labourer

Forum posts: 1
File comments: 59
Uploads: 0
Flying Carpet, Magnificent Flying Carpet, Flying Machine, Turbo-Charged Flying Machine all added to Flying random list...

Headless Horseman's Mount added to both Flying random list and Land random list...

so yay, it all works now...thanks
Katardre is offline Report comment to moderator  
Reply With Quote
Unread 06-21-09, 07:35 PM  
dardack
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 193
Uploads: 5
Originally posted by Katardre
Flying Carpet, Magnificent Flying Carpet, Flying Machine, Turbo-Charged Flying Machine all added to Flying random list...

Headless Horseman's Mount added to both Flying random list and Land random list...

so yay, it all works now...thanks
Awesome, and man Grats on the HHM, i ran that thing every day 5 times aday.
dardack is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: