Thread Tools Display Modes
08-08-14, 01:02 PM   #1
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Secure action buttons OnReceiveDrag and mounts

I'm experiencing some strange behavior with my custom action buttons (derived from SecureActionButtonTemplate and ActionButtonTemplate) when dragging a mount from the Pet Journal list onto my action button. The resulting arguments in OnReceiveDrag are somewhat ... strange.

Dragging the first mount ("Albino Drake") onto my action button passes the arguments 0, Mount, 268 (kind, value, subtype) to OnReceiveDrag. The first two are as expected. But what the hell is 268? Shouldn't this be 1?
No surprise: /script C_MountJournal.Pickup(268) does not pick up list item 1 (Albino Drake) but item 268 (Mottled Red Raptor ... or whatever it is in your list).

Same problem with any mount that is dragged from a default action button onto my custom button.

Is someone able to confirm or disapprove this problem?

Or do I have to do something with 268 to get the actual list item? Filtering or something?

Last edited by Duugu : 08-08-14 at 01:08 PM.
 
08-08-14, 01:14 PM   #2
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Maybe it is the answer to that universe question?
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
 
08-08-14, 02:41 PM   #3
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
subtype isn't going to be the index in the mount journal. That's the actual subtype of the mount. If it's a water mount, flying mount, ground mount, etc, etc.

See here: http://www.wowinterface.com/forums/s...504#post294988


/edit: though I notice 268 isn't included in Gello's list of type id's he's discovered. You might want to double-check yourself, and then post in that thread if that is the case.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh


Last edited by Seerah : 08-08-14 at 02:43 PM.
 
08-08-14, 03:53 PM   #4
Gello
A Molten Giant
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 521
kind,value in _onreceivedrag is the same as the first two returns in GetCursorInfo().

I get "mount",268 on the Albino Drake also. With spot checking similar mounts, they probably all have unique numbers. Not sure what they mean. They can't be indexes in the journal since many of them are greater than C_MountJournal.GetNumMounts().

When you drag a mount to an action, GetActionInfo() for the slot that contains an Albino Drake is "summonmount",268.

Not sure how to translate that number into knowing what mount it is so you can set a button's texture and attributes. (The obvious attributes I've tried didn't work: "mount"/"mount" "summonmount"/"mount" "summonmount"/"value" etc)

Last edited by Gello : 08-08-14 at 04:02 PM.
 
08-08-14, 09:03 PM   #5
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Ok. Right now my findings are:

As Gello wrote C_MountJournal.GetMountInfo, C_MountJournal.Pickup, and all the other new thingis do expect a 'mount index' number (out of a fixed list of mounts which seems to be character-independent).

As Seerah stated this 'mount index' is not equal to the mounts position within the pet journals mounts list .This list has its own (sequential) index. The corresponding fixed 'mount index' number for an entry can be retrieved from
Code:
MountJournal.cachedMounts[<index of mount position in the pet journal list>]
And there's a cryptically third index with unique numbers which are commited to action buttons.
Via onreceivedrag ... or the return value of GetActionInfo() for a standard buttons ... and such stuff.

For the Albino Drake in my Pet Journal list this ends in:
- A fixed mount index number: 2 (for use with C_MountJournal...)
- A Pet Journal mount list index number: 1 (MountJournal.cachedMounts[1] returns 2)
- A cryptically third index number: 268

I'm stucked.
Pre WoD I used type/spell and the spellID to summon a mount via my secure action buttons.
Now the only thing that is commited to my button is the "cryptically" index number. :/
 
08-08-14, 09:46 PM   #6
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
If your action buttons are tied to action slots then you can just call PlaceAction(slot) while the mount is on the cursor.

Otherwise I don't know how you'd tie the number to a mount journal index without looping through, putting each one on the cursor, and caching the result.

Last edited by semlar : 08-08-14 at 09:49 PM.
 
08-08-14, 09:49 PM   #7
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Originally Posted by semlar View Post
If your action buttons are tied to action slots then you can just call PlaceAction(slot) while the mount is on the cursor.
Thanks sir. But I can't. I'm not using type/action + ids. :/

The old GetCompanionInfo("MOUNT", index) returned the spellID.

Last edited by Duugu : 08-08-14 at 09:52 PM.
 
08-08-14, 09:58 PM   #8
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
What you could do, and I know this is hackish, but you could call "hooksecurefunc(C_MountJournal, 'Pickup', function(index) print(index, GetCursorInfo()) end)" and just store the number from GetCursorInfo() in a table as the key and the mount journal index (or spellID, or whatever you want) as the value, and just cross-reference that table for your button.
Lua Code:
  1. local MountID2JournalID = {}
  2. hooksecurefunc(C_MountJournal, 'Pickup', function(journalID)
  3.     local _, mountID = GetCursorInfo() -- might want to confirm this is actually holding a mount spell
  4.     MountID2JournalID[mountID] = journalID
  5. end)
This probably won't work when moving from an existing action button though.

You'd probably have to keep track of what every action slot contains, so if PickupAction is called you can figure out what spellID the mount is based on what was in that slot.

Last edited by semlar : 08-08-14 at 11:12 PM.
 
08-08-14, 10:12 PM   #9
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Lol. Nice one. I'll keep that in mind. Thanks.

But dragging a mount from any default action button to my custom button would remain a problem. :/
 
08-08-14, 10:15 PM   #10
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Originally Posted by semlar View Post
A dozen edits later: The number is used with the "summonmount" action, 268. Maybe you can set the "type" of your action button to "summonmount" and use that number?
Unfortunatly "mount"/"mount", "summonmount"/"mount", "summonmount"/"value" are not accepted as attributes. No surprise ... as Blizzard not even got flyout and such pretty old stuff into that list.
 
08-08-14, 10:18 PM   #11
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
Check my edit, I got it working.

Also, battle pets are summoned using the "summonpet" action with their GUID.
 
08-08-14, 10:58 PM   #12
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Originally Posted by semlar View Post
Check my edit, I got it working.
That sounds promising. But I can't get your example to work. :/

I've tried that, and the new button just triggers the action that is on action slot 1.
btn:SetAttribute('summonmount', 268) is still ignored.

Could it be possible that the mount in question is on your action slot 1 and your new button just fires this action slot? Does the new button still work if your action slot 1 is empty?

It looks as btn:SetAttribute('type', 'action') without setting "action" to slot number uses a default value of 1.
 
08-08-14, 11:08 PM   #13
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
Ah you're right it just looked like it was working because it was calling slot 1, oh well. I give up.

You can still hook PickupAction and compare the slot number to what used to be in the slot by keeping track of every action, and hook C_MountJournal.Pickup, and you should be able to come up with a temporary solution.
 
08-08-14, 11:19 PM   #14
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Thanks Semlar. I really appreciate your help.

You can still hook PickupAction
This or hard coding a pre build mount list into my addon. Or hoping for Blizzard explaining what these numbers are and where one could retrieve a spellid or something with them.
 
08-08-14, 11:25 PM   #15
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
Well, the numbers are definitely being used internally with the action "summonmount"; just put something on your bar and call GetActionInfo on it to check.

I couldn't find any way to use the number though.
 
08-09-14, 12:21 AM   #16
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
I've queried all mounts from the Mount Journal to get the related summonmount value (missing values indicate mounts I do not own).

The second list shows the same data sorted by the summonmount index column. It exposes that the summonmount index is ascending analogous to the spellID.

Does not help though. Just a funny insight.


Code:
C_MountJournal	spellID		summonmount	creatureName
index			 	index
1		48778				Acherus Deathcharger
2		60025		268		Albino Drake
3		98204		419		Amani Battle Bear
4		96503		412		Amani Dragonhawk
5		43688		199		Amani War Bear
6		138424		534		Amber Primordial Direhorn
7		123886		463		Amber Scorpion
8		16056				Ancient Frostsaber
9		16081		51		Arctic Wolf
10		66906				Argent Charger
11		63844		305		Argent Hippogryph
12		66907				Argent Warhorse
13		67466		341		Argent Warhorse
14		139595				Armored Bloodwing
15		142478				Armored Blue Dragonhawk
16		61230		277		Armored Blue Wind Rider
17		60116		270		Armored Brown Bear
18		60114				Armored Brown Bear
19		171621				Armored Clefthoof
20		171626				Armored Elekk
21		96491		410		Armored Razzashi Raptor
22		142266		548		Armored Red Dragonhawk
23		136400		530		Armored Skyscreamer
24		61229				Armored Snowy Gryphon
25		132117				Ashen Pandaren Phoenix
26		40192		183		Ashes of Al'ar
27		148428		560		Ashhide Mushan Beast
28		127170		478		Astral Cloud Serpent
29		123992		464		Azure Cloud Serpent
30		59567		246		Azure Drake
31		41514		187		Azure Netherwing Drake
32		127174		479		Azure Riding Crane
33		118089		449		Azure Water Strider
34		51412		230		Big Battle Bear
35		58983		243		Big Blizzard Bear
36		71342		352		Big Love Rocket
37		22719				Black Battlestrider
38		127286		492		Black Dragon Turtle
39		62048				Black Dragonhawk Mount
40		59650		253		Black Drake
41		35022		159		Black Hawkstrider
42		16055				Black Nightsaber
43		59572		251		Black Polar Bear
44		138642		539		Black Primal Raptor
45		59976		263		Black Proto-Drake
46		26656		122		Black Qiraji Battle Tank
47		25863				Black Qiraji Battle Tank
48		26655				Black Qiraji Battle Tank
49		6896				Black Ram
50		17461				Black Ram
51		130138		511		Black Riding Goat
52		127209				Black Riding Yak
53		64977		314		Black Skeletal Horse
54		470				Black Stallion
55		60119		272		Black War Bear
56		60118				Black War Bear
57		48027				Black War Elekk
58		22718		76		Black War Kodo
59		59788		255		Black War Mammoth
60		59785				Black War Mammoth
61		22720				Black War Ram
62		22721		79		Black War Raptor
63		22717				Black War Steed
64		22723				Black War Tiger
65		22724		82		Black War Wolf
66		578				Black Wolf
67		64658		310		Black Wolf
68		107842		442		Blazing Drake
69		74856		371		Blazing Hippogryph
70		127220		487		Blonde Riding Yak
71		72808		365		Bloodbathed Frostbrood Vanquisher
72		127287		493		Blue Dragon Turtle
73		61996				Blue Dragonhawk
74		59568		247		Blue Drake
75		35020		158		Blue Hawkstrider
76		10969				Blue Mechanostrider
77		33630				Blue Mechanostrider
78		59996		264		Blue Proto-Drake
79		25953		117		Blue Qiraji Battle Tank
80		171617				Blue Riding Clefthoof
81		39803		180		Blue Riding Nether Ray
82		129934		506		Blue Shado-Pan Riding Tiger
83		17463		66		Blue Skeletal Horse
84		64656		308		Blue Skeletal Warhorse
85		32244		134		Blue Wind Rider
86		138640		537		Bone-White Primal Raptor
87		142641		550		Brawler's Burly Mushan Beast
88		43899		201		Brewfest Ram
89		49378				Brewfest Riding Kodo
90		59569		248		Bronze Drake
91		171622				Brown Draenor Elekk
92		127288		494		Brown Dragon Turtle
93		34406				Brown Elekk
94		458				Brown Horse
95		18990		72		Brown Kodo
96		6899				Brown Ram
97		88748		398		Brown Riding Camel
98		130086		508		Brown Riding Goat
99		127213				Brown Riding Yak
100		17464		67		Brown Skeletal Horse
101		6654		20		Brown Wolf
102		58615				Brutal Nether Drake
103		124550				Cataclysmic Gladiator's Twilight Drake
104		75614				Celestial Steed
105		43927		203		Cenarion War Hippogryph
106		171846				Champion's Treadblade
107		23214				Charger
108		6648				Chestnut Mare
109		139448		543		Clutch of Ji-Kun
110		41515		188		Cobalt Netherwing Drake
111		138423		533		Cobalt Primordial Direhorn
112		39315		170		Cobalt Riding Talbuk
113		34896		153		Cobalt War Talbuk
114		170347				Core Hound
115		97560		417		Corrupted Fire Hawk
116		102514		433		Corrupted Hippogryph
117		169952				Creeping Carpet
118		127156		472		Crimson Cloud Serpent
119		73313		366		Crimson Deathcharger
120		129552				Crimson Pandaren Phoenix
121		140250		546		Crimson Primal Direhorn
122		127271				Crimson Water Strider
123		68188		345		Crusader's Black Warhorse
124		68187				Crusader's White Warhorse
125		171623				Dark Draenor Elekk
126		88990		401		Dark Phoenix
127		171616				Dark Riding Clefthoof
128		39316		171		Dark Riding Talbuk
129		34790		151		Dark War Talbuk
130		103081		434		Darkmoon Dancing Bear
131		63635		295		Darkspear Raptor
132		63637				Darnassian Nightsaber
133		64927				Deadly Gladiator's Frost Wyrm
134		126507		469		Depleted-Kyparium Rocket
135		6653		19		Dire Wolf
136		88335		392		Drake of the East Wind
137		88742		395		Drake of the North Wind
138		88744		396		Drake of the South Wind
139		88741		394		Drake of the West Wind
140		155741				Dread Raven
141		23161				Dreadsteed
142		148972				Dreadsteed
143		32239				Ebon Gryphon
144		149801				Emerald Hippogryph
145		132118				Emerald Pandaren Phoenix
146		8395		27		Emerald Raptor
147		142878				Enchanted Fey Dragon
148		73629				Exarch's Elekk
149		63639				Exodar Elekk
150		110039		445		Experiment 12-B
151		113120		447		Feldrake
152		148970				Felsteed
153		5784				Felsteed
154		36702		168		Fiery Warhorse
155		101542		425		Flametalon of Alysrazor
156		97359		413		Flameward Hippogryph
157		61451		285		Flying Carpet
158		44153		205		Flying Machine
159		63643		303		Forsaken Warhorse
160		84751		386		Fossilized Raptor
161		17460				Frost Ram
162		23509		108		Frostwolf Howler
163		75596		375		Frosty Flying Carpet
164		148626				Furious Ashhide Mushan
165		65439				Furious Gladiator's Frost Wyrm
166		171851				Garn Nighthowl
167		126508		470		Geosynchronous World Spinner
168		136505		532		Ghastly Charger
169		63638				Gnomeregan Mechanostrider
170		87090		388		Goblin Trike
171		87091		389		Goblin Turbo-Trike
172		123993		465		Golden Cloud Serpent
173		32235				Golden Gryphon
174		90621				Golden King
175		140249				Golden Primal Direhorn
176		127176		480		Golden Riding Crane
177		171436				Gorerider Gronnling
178		135416				Grand Armored Gryphon
179		135418		527		Grand Armored Wyvern
180		61465				Grand Black War Mammoth
181		61467		287		Grand Black War Mammoth
182		60140				Grand Caravan Mammoth
183		60136				Grand Caravan Mammoth
184		122708		460		Grand Expedition Yak
185		136163				Grand Gryphon
186		61469		288		Grand Ice Mammoth
187		61470				Grand Ice Mammoth
188		136164		529		Grand Wyvern
189		35710				Gray Elekk
190		18989		71		Gray Kodo
191		6777				Gray Ram
192		459				Gray Wolf
193		127295		498		Great Black Dragon Turtle
194		127302		499		Great Blue Dragon Turtle
195		35713				Great Blue Elekk
196		49379		226		Great Brewfest Kodo
197		127308		500		Great Brown Dragon Turtle
198		23249		103		Great Brown Kodo
199		73630				Great Exarch's Elekk
200		65641		322		Great Golden Kodo
201		23248		102		Great Gray Kodo
202		127293		497		Great Green Dragon Turtle
203		35712				Great Green Elekk
204		127310		501		Great Purple Dragon Turtle
205		35714				Great Purple Elekk
206		120822		453		Great Red Dragon Turtle
207		65637				Great Red Elekk
208		69826				Great Sunwalker Kodo
209		23247		101		Great White Kodo
210		120395		452		Green Dragon Turtle
211		18991		73		Green Kodo
212		15780				Green Mechanostrider
213		17453				Green Mechanostrider
214		138643		540		Green Primal Raptor
215		61294		278		Green Proto-Drake
216		26056		120		Green Qiraji Battle Tank
217		39798		176		Green Riding Nether Ray
218		129932		505		Green Shado-Pan Riding Tiger
219		17465		68		Green Skeletal Warhorse
220		32245		135		Green Wind Rider
221		171624				Grey Draenor Elekk
222		88750		400		Grey Riding Camel
223		171618				Grey Riding Clefthoof
224		127216		486		Grey Riding Yak
225		148619				Grievous Gladiator's Cloud Serpent
226		163025				Grinning Reaver
227		48025		219		Headless Horseman's Mount
228		110051				Heart of the Aspects
229		142073				Hearthsteed
230		127169				Heavenly Azure Cloud Serpent
231		127161		474		Heavenly Crimson Cloud Serpent
232		127164		475		Heavenly Golden Cloud Serpent
233		127165				Heavenly Jade Cloud Serpent
234		127158		473		Heavenly Onyx Cloud Serpent
235		171845				Hellscream's Hog
236		59799				Ice Mammoth
237		59797		258		Ice Mammoth
238		72807		364		Icebound Frostbrood Vanquisher
239		17459				Icy Blue Mechanostrider Mod A
240		124659				Imperial Quilen
241		72286		363		Invincible
242		153489				Iron Chimaera
243		63956		306		Ironbound Proto-Drake
244		63636				Ironforge Ram
245		17450		56		Ivory Raptor
246		10795				Ivory Raptor
247		113199		448		Jade Cloud Serpent
248		133023		521		Jade Pandaren Kite
249		121837		457		Jade Panther
250		138426		536		Jade Primordial Direhorn
251		120043		451		Jeweled Onyx Panther
252		93644		409		Kor'kron Annihilator
253		148417		559		Kor'kron Juggernaut
254		148396		558		Kor'kron War Wolf
255		107845		444		Life-Binder's Handmaiden
256		65917		328		Magic Rooster
257		66122				Magic Rooster
258		66123				Magic Rooster
259		66124				Magic Rooster
260		61309		279		Magnificent Flying Carpet
261		139407				Malevolent Gladiator's Cloud Serpent
262		55531		240		Mechano-Hog
263		60424				Mekgineer's Chopper
264		44317				Merciless Nether Drake
265		44744				Merciless Nether Drake
266		63796		304		Mimiron's Head
267		93623		408		Mottled Drake
268		16084		54		Mottled Red Raptor
269		103195				Mountain Horse
270		28828				Nether Drake
271		121820		455		Obsidian Nightwing
272		66846		336		Ochre Skeletal Warhorse
273		127154		471		Onyx Cloud Serpent
274		41513		186		Onyx Netherwing Drake
275		69395		349		Onyxian Drake
276		63640		300		Orgrimmar Wolf
277		16082				Palomino
278		130985				Pandaren Kite
279		118737		450		Pandaren Kite
280		88718		393		Phosphorescent Stone Drake
281		472				Pinto
282		60021		266		Plagued Proto-Drake
283		148620				Prideful Gladiator's Cloud Serpent
284		97493		415		Pureblood Fire Hawk
285		127289		495		Purple Dragon Turtle
286		35711				Purple Elekk
287		35018		157		Purple Hawkstrider
288		41516		189		Purple Netherwing Drake
289		39801		178		Purple Riding Nether Ray
290		23246		100		Purple Skeletal Warhorse
291		66090				Quel'dorei Steed
292		41252		185		Raven Lord
293		127290		496		Red Dragon Turtle
294		61997		292		Red Dragonhawk
295		59570		249		Red Drake
296		130092		509		Red Flying Cloud
297		34795		152		Red Hawkstrider
298		10873				Red Mechanostrider
299		138641		538		Red Primal Raptor
300		59961		262		Red Proto-Drake
301		26054		118		Red Qiraji Battle Tank
302		171620				Red Riding Clefthoof
303		39800		177		Red Riding Nether Ray
304		129935		507		Red Shado-Pan Riding Tiger
305		17462		65		Red Skeletal Horse
306		22722		80		Red Skeletal Warhorse
307		16080		50		Red Wolf
308		579				Red Wolf
309		127177		481		Regal Riding Crane
310		67336				Relentless Gladiator's Frost Wyrm
311		18363				Riding Kodo
312		30174		125		Riding Turtle
313		17481		69		Rivendare's Deathcharger
314		121838		458		Ruby Panther
315		63963		307		Rusted Proto-Drake
316		101821				Ruthless Gladiator's Twilight Drake
317		93326		407		Sandstone Drake
318		121836		456		Sapphire Panther
319		97581		418		Savage Raptor
320		64731		312		Sea Turtle
321		66087				Silver Covenant Hippogryph
322		39802		179		Silver Riding Nether Ray
323		39317		172		Silver Riding Talbuk
324		34898		155		Silver War Talbuk
325		63642		302		Silvermoon Hawkstrider
326		8980				Skeletal Horse
327		134359		522		Sky Golem
328		138425		535		Slate Primordial Direhorn
329		32240				Snowy Gryphon
330		130965		515		Son of Galleon
331		148392		557		Spawn of Galakras
332		136471		531		Spawn of Horridon
333		107516				Spectral Gryphon
334		92231				Spectral Steed
335		42776		196		Spectral Tiger
336		107517		441		Spectral Wind Rider
337		92232		406		Spectral Wolf
338		10789				Spotted Frostsaber
339		23510				Stormpike Battle Charger
340		63232				Stormwind Steed
341		66847				Striped Dawnsaber
342		8394				Striped Frostsaber
343		10793				Striped Nightsaber
344		98718		420		Subdued Seahorse
345		66088		330		Sunreaver Dragonhawk
346		66091		332		Sunreaver Hawkstrider
347		121839		459		Sunstone Panther
348		69820				Sunwalker Kodo
349		68057				Swift Alliance Steed
350		32242				Swift Blue Gryphon
351		23241		97		Swift Blue Raptor
352		43900		202		Swift Brewfest Ram
353		23238				Swift Brown Ram
354		58819				Swift Brown Steed
355		23229				Swift Brown Steed
356		23250		104		Swift Brown Wolf
357		65646		327		Swift Burgundy Wolf
358		102346		429		Swift Forest Strider
359		23221				Swift Frostsaber
360		23239				Swift Gray Ram
361		65640				Swift Gray Steed
362		23252		106		Swift Gray Wolf
363		32290				Swift Green Gryphon
364		35025		160		Swift Green Hawkstrider
365		23225				Swift Green Mechanostrider
366		32295		140		Swift Green Wind Rider
367		68056		342		Swift Horde Wolf
368		102350		431		Swift Lovebird
369		23219				Swift Mistsaber
370		65638				Swift Moonsaber
371		103196				Swift Mountain Horse
372		37015				Swift Nether Drake
373		23242		98		Swift Olive Raptor
374		23243		99		Swift Orange Raptor
375		23227				Swift Palomino
376		33660		146		Swift Pink Hawkstrider
377		32292				Swift Purple Gryphon
378		35027		161		Swift Purple Hawkstrider
379		65644		325		Swift Purple Raptor
380		32297		142		Swift Purple Wind Rider
381		24242		110		Swift Razzashi Raptor
382		32289				Swift Red Gryphon
383		65639		320		Swift Red Hawkstrider
384		32246		136		Swift Red Wind Rider
385		101573		426		Swift Shorestrider
386		55164				Swift Spectral Gryphon
387		42777		197		Swift Spectral Tiger
388		102349		430		Swift Springstrider
389		23338				Swift Stormsaber
390		23251		105		Swift Timber Wolf
391		65643				Swift Violet Ram
392		35028		162		Swift Warstrider
393		46628		213		Swift White Hawkstrider
394		23223				Swift White Mechanostrider
395		23240				Swift White Ram
396		23228				Swift White Steed
397		134573				Swift Windsteed
398		23222				Swift Yellow Mechanostrider
399		32296		141		Swift Yellow Wind Rider
400		49322		224		Swift Zhevra
401		48954				Swift Zhevra
402		96499		411		Swift Zulian Panther
403		24252		111		Swift Zulian Tiger
404		171844				Tan Dire Wolf
405		88749		399		Tan Riding Camel
406		39318		173		Tan Riding Talbuk
407		34899		156		Tan War Talbuk
408		32243		133		Tawny Wind Rider
409		18992		74		Teal Kodo
410		34767				Thalassian Charger
411		34769				Thalassian Warhorse
412		63641		301		Thunder Bluff Kodo
413		129918		504		Thundering August Cloud Serpent
414		139442		542		Thundering Cobalt Cloud Serpent
415		124408		466		Thundering Jade Cloud Serpent
416		148476		561		Thundering Onyx Cloud Serpent
417		132036		517		Thundering Ruby Cloud Serpent
418		580		14		Timber Wolf
419		60002		265		Time-Lost Proto-Drake
420		61425				Traveler's Tundra Mammoth
421		61447		284		Traveler's Tundra Mammoth
422		44151		204		Turbo-Charged Flying Machine
423		65642				Turbostrider
424		10796		36		Turquoise Raptor
425		59571		250		Twilight Drake
426		107844		443		Twilight Harbinger
427		107203				Tyrael's Charger
428		148618				Tyrannical Gladiator's Cloud Serpent
429		92155		404		Ultramarine Qiraji Battle Tank
430		17454				Unpainted Mechanostrider
431		75207		373		Vashj'ir Seahorse
432		49193				Vengeful Nether Drake
433		64659		311		Venomhide Ravasaur
434		41517		190		Veridian Netherwing Drake
435		101282				Vicious Gladiator's Twilight Drake
436		146622				Vicious Skeletal Warhorse
437		100332				Vicious War Steed
438		100333				Vicious War Wolf
439		146615				Vicious Warsaber
440		41518		191		Violet Netherwing Drake
441		132119				Violet Pandaren Phoenix
442		60024		267		Violet Proto-Drake
443		10799		38		Violet Raptor
444		88746		397		Vitreous Stone Drake
445		88331		391		Volcanic Stone Drake
446		163024				Warforged Nightmare
447		13819				Warhorse
448		171625				White Draenor Elekk
449		64657		309		White Kodo
450		15779				White Mechanostrider Mod B
451		54753		237		White Polar Bear
452		6898				White Ram
453		102488		432		White Riding Camel
454		171619				White Riding Clefthoof
455		130137		510		White Riding Goat
456		39319		174		White Riding Talbuk
457		123182				White Riding Yak
458		65645		326		White Skeletal Warhorse
459		468				White Stallion
460		16083				White Stallion
461		34897		154		White War Talbuk
462		98727				Winged Guardian
463		54729				Winged Steed of the Ebon Blade
464		581				Winter Wolf
465		17229				Winterspring Frostsaber
466		59793		257		Wooly Mammoth
467		59791				Wooly Mammoth
468		74918		372		Wooly White Rhino
469		71810				Wrathful Gladiator's Frost Wyrm
470		46197		211		X-51 Nether-Rocket
471		46199		212		X-51 Nether-Rocket X-TREME
472		75973		382		X-53 Touring Rocket
473		26055		119		Yellow Qiraji Battle Tank




Code:
C_PetJournal	spellID		summonmount	creatureName
index				index
418		580		14		Timber Wolf
135		6653		19		Dire Wolf
101		6654		20		Brown Wolf
146		8395		27		Emerald Raptor
424		10796		36		Turquoise Raptor
443		10799		38		Violet Raptor
307		16080		50		Red Wolf
9		16081		51		Arctic Wolf
268		16084		54		Mottled Red Raptor
245		17450		56		Ivory Raptor
305		17462		65		Red Skeletal Horse
83		17463		66		Blue Skeletal Horse
100		17464		67		Brown Skeletal Horse
219		17465		68		Green Skeletal Warhorse
313		17481		69		Rivendare's Deathcharger
190		18989		71		Gray Kodo
95		18990		72		Brown Kodo
211		18991		73		Green Kodo
409		18992		74		Teal Kodo
58		22718		76		Black War Kodo
62		22721		79		Black War Raptor
306		22722		80		Red Skeletal Warhorse
65		22724		82		Black War Wolf
351		23241		97		Swift Blue Raptor
373		23242		98		Swift Olive Raptor
374		23243		99		Swift Orange Raptor
290		23246		100		Purple Skeletal Warhorse
209		23247		101		Great White Kodo
201		23248		102		Great Gray Kodo
198		23249		103		Great Brown Kodo
356		23250		104		Swift Brown Wolf
390		23251		105		Swift Timber Wolf
362		23252		106		Swift Gray Wolf
162		23509		108		Frostwolf Howler
381		24242		110		Swift Razzashi Raptor
403		24252		111		Swift Zulian Tiger
79		25953		117		Blue Qiraji Battle Tank
301		26054		118		Red Qiraji Battle Tank
473		26055		119		Yellow Qiraji Battle Tank
216		26056		120		Green Qiraji Battle Tank
46		26656		122		Black Qiraji Battle Tank
312		30174		125		Riding Turtle
408		32243		133		Tawny Wind Rider
85		32244		134		Blue Wind Rider
220		32245		135		Green Wind Rider
384		32246		136		Swift Red Wind Rider
366		32295		140		Swift Green Wind Rider
399		32296		141		Swift Yellow Wind Rider
380		32297		142		Swift Purple Wind Rider
376		33660		146		Swift Pink Hawkstrider
129		34790		151		Dark War Talbuk
297		34795		152		Red Hawkstrider
113		34896		153		Cobalt War Talbuk
461		34897		154		White War Talbuk
324		34898		155		Silver War Talbuk
407		34899		156		Tan War Talbuk
287		35018		157		Purple Hawkstrider
75		35020		158		Blue Hawkstrider
41		35022		159		Black Hawkstrider
364		35025		160		Swift Green Hawkstrider
378		35027		161		Swift Purple Hawkstrider
392		35028		162		Swift Warstrider
154		36702		168		Fiery Warhorse
112		39315		170		Cobalt Riding Talbuk
128		39316		171		Dark Riding Talbuk
323		39317		172		Silver Riding Talbuk
406		39318		173		Tan Riding Talbuk
456		39319		174		White Riding Talbuk
217		39798		176		Green Riding Nether Ray
303		39800		177		Red Riding Nether Ray
289		39801		178		Purple Riding Nether Ray
322		39802		179		Silver Riding Nether Ray
81		39803		180		Blue Riding Nether Ray
26		40192		183		Ashes of Al'ar
292		41252		185		Raven Lord
274		41513		186		Onyx Netherwing Drake
31		41514		187		Azure Netherwing Drake
110		41515		188		Cobalt Netherwing Drake
288		41516		189		Purple Netherwing Drake
434		41517		190		Veridian Netherwing Drake
440		41518		191		Violet Netherwing Drake
335		42776		196		Spectral Tiger
387		42777		197		Swift Spectral Tiger
5		43688		199		Amani War Bear
88		43899		201		Brewfest Ram
352		43900		202		Swift Brewfest Ram
105		43927		203		Cenarion War Hippogryph
422		44151		204		Turbo-Charged Flying Machine
158		44153		205		Flying Machine
470		46197		211		X-51 Nether-Rocket
471		46199		212		X-51 Nether-Rocket X-TREME
393		46628		213		Swift White Hawkstrider
227		48025		219		Headless Horseman's Mount
400		49322		224		Swift Zhevra
196		49379		226		Great Brewfest Kodo
34		51412		230		Big Battle Bear
451		54753		237		White Polar Bear
262		55531		240		Mechano-Hog
35		58983		243		Big Blizzard Bear
30		59567		246		Azure Drake
74		59568		247		Blue Drake
90		59569		248		Bronze Drake
295		59570		249		Red Drake
425		59571		250		Twilight Drake
43		59572		251		Black Polar Bear
40		59650		253		Black Drake
59		59788		255		Black War Mammoth
466		59793		257		Wooly Mammoth
237		59797		258		Ice Mammoth
300		59961		262		Red Proto-Drake
45		59976		263		Black Proto-Drake
78		59996		264		Blue Proto-Drake
419		60002		265		Time-Lost Proto-Drake
282		60021		266		Plagued Proto-Drake
442		60024		267		Violet Proto-Drake
2		60025		268		Albino Drake
17		60116		270		Armored Brown Bear
55		60119		272		Black War Bear
16		61230		277		Armored Blue Wind Rider
215		61294		278		Green Proto-Drake
260		61309		279		Magnificent Flying Carpet
421		61447		284		Traveler's Tundra Mammoth
157		61451		285		Flying Carpet
181		61467		287		Grand Black War Mammoth
186		61469		288		Grand Ice Mammoth
294		61997		292		Red Dragonhawk
131		63635		295		Darkspear Raptor
276		63640		300		Orgrimmar Wolf
412		63641		301		Thunder Bluff Kodo
325		63642		302		Silvermoon Hawkstrider
159		63643		303		Forsaken Warhorse
266		63796		304		Mimiron's Head
11		63844		305		Argent Hippogryph
243		63956		306		Ironbound Proto-Drake
315		63963		307		Rusted Proto-Drake
84		64656		308		Blue Skeletal Warhorse
449		64657		309		White Kodo
67		64658		310		Black Wolf
433		64659		311		Venomhide Ravasaur
320		64731		312		Sea Turtle
53		64977		314		Black Skeletal Horse
383		65639		320		Swift Red Hawkstrider
200		65641		322		Great Golden Kodo
379		65644		325		Swift Purple Raptor
458		65645		326		White Skeletal Warhorse
357		65646		327		Swift Burgundy Wolf
256		65917		328		Magic Rooster
345		66088		330		Sunreaver Dragonhawk
346		66091		332		Sunreaver Hawkstrider
272		66846		336		Ochre Skeletal Warhorse
13		67466		341		Argent Warhorse
367		68056		342		Swift Horde Wolf
123		68188		345		Crusader's Black Warhorse
275		69395		349		Onyxian Drake
36		71342		352		Big Love Rocket
241		72286		363		Invincible
238		72807		364		Icebound Frostbrood Vanquisher
71		72808		365		Bloodbathed Frostbrood Vanquisher
119		73313		366		Crimson Deathcharger
69		74856		371		Blazing Hippogryph
468		74918		372		Wooly White Rhino
431		75207		373		Vashj'ir Seahorse
163		75596		375		Frosty Flying Carpet
472		75973		382		X-53 Touring Rocket
160		84751		386		Fossilized Raptor
170		87090		388		Goblin Trike
171		87091		389		Goblin Turbo-Trike
445		88331		391		Volcanic Stone Drake
136		88335		392		Drake of the East Wind
280		88718		393		Phosphorescent Stone Drake
139		88741		394		Drake of the West Wind
137		88742		395		Drake of the North Wind
138		88744		396		Drake of the South Wind
444		88746		397		Vitreous Stone Drake
97		88748		398		Brown Riding Camel
405		88749		399		Tan Riding Camel
222		88750		400		Grey Riding Camel
126		88990		401		Dark Phoenix
429		92155		404		Ultramarine Qiraji Battle Tank
337		92232		406		Spectral Wolf
317		93326		407		Sandstone Drake
267		93623		408		Mottled Drake
252		93644		409		Kor'kron Annihilator
21		96491		410		Armored Razzashi Raptor
402		96499		411		Swift Zulian Panther
4		96503		412		Amani Dragonhawk
156		97359		413		Flameward Hippogryph
284		97493		415		Pureblood Fire Hawk
115		97560		417		Corrupted Fire Hawk
319		97581		418		Savage Raptor
3		98204		419		Amani Battle Bear
344		98718		420		Subdued Seahorse
155		101542		425		Flametalon of Alysrazor
385		101573		426		Swift Shorestrider
358		102346		429		Swift Forest Strider
388		102349		430		Swift Springstrider
368		102350		431		Swift Lovebird
453		102488		432		White Riding Camel
116		102514		433		Corrupted Hippogryph
130		103081		434		Darkmoon Dancing Bear
336		107517		441		Spectral Wind Rider
68		107842		442		Blazing Drake
426		107844		443		Twilight Harbinger
255		107845		444		Life-Binder's Handmaiden
150		110039		445		Experiment 12-B
151		113120		447		Feldrake
247		113199		448		Jade Cloud Serpent
33		118089		449		Azure Water Strider
279		118737		450		Pandaren Kite
251		120043		451		Jeweled Onyx Panther
210		120395		452		Green Dragon Turtle
206		120822		453		Great Red Dragon Turtle
271		121820		455		Obsidian Nightwing
318		121836		456		Sapphire Panther
249		121837		457		Jade Panther
314		121838		458		Ruby Panther
347		121839		459		Sunstone Panther
184		122708		460		Grand Expedition Yak
7		123886		463		Amber Scorpion
29		123992		464		Azure Cloud Serpent
172		123993		465		Golden Cloud Serpent
415		124408		466		Thundering Jade Cloud Serpent
134		126507		469		Depleted-Kyparium Rocket
167		126508		470		Geosynchronous World Spinner
273		127154		471		Onyx Cloud Serpent
118		127156		472		Crimson Cloud Serpent
234		127158		473		Heavenly Onyx Cloud Serpent
231		127161		474		Heavenly Crimson Cloud Serpent
232		127164		475		Heavenly Golden Cloud Serpent
28		127170		478		Astral Cloud Serpent
32		127174		479		Azure Riding Crane
176		127176		480		Golden Riding Crane
309		127177		481		Regal Riding Crane
224		127216		486		Grey Riding Yak
70		127220		487		Blonde Riding Yak
38		127286		492		Black Dragon Turtle
72		127287		493		Blue Dragon Turtle
92		127288		494		Brown Dragon Turtle
285		127289		495		Purple Dragon Turtle
293		127290		496		Red Dragon Turtle
202		127293		497		Great Green Dragon Turtle
193		127295		498		Great Black Dragon Turtle
194		127302		499		Great Blue Dragon Turtle
197		127308		500		Great Brown Dragon Turtle
204		127310		501		Great Purple Dragon Turtle
413		129918		504		Thundering August Cloud Serpent
218		129932		505		Green Shado-Pan Riding Tiger
82		129934		506		Blue Shado-Pan Riding Tiger
304		129935		507		Red Shado-Pan Riding Tiger
98		130086		508		Brown Riding Goat
296		130092		509		Red Flying Cloud
455		130137		510		White Riding Goat
51		130138		511		Black Riding Goat
330		130965		515		Son of Galleon
417		132036		517		Thundering Ruby Cloud Serpent
248		133023		521		Jade Pandaren Kite
327		134359		522		Sky Golem
179		135418		527		Grand Armored Wyvern
188		136164		529		Grand Wyvern
23		136400		530		Armored Skyscreamer
332		136471		531		Spawn of Horridon
168		136505		532		Ghastly Charger
111		138423		533		Cobalt Primordial Direhorn
6		138424		534		Amber Primordial Direhorn
328		138425		535		Slate Primordial Direhorn
250		138426		536		Jade Primordial Direhorn
86		138640		537		Bone-White Primal Raptor
299		138641		538		Red Primal Raptor
44		138642		539		Black Primal Raptor
214		138643		540		Green Primal Raptor
414		139442		542		Thundering Cobalt Cloud Serpent
109		139448		543		Clutch of Ji-Kun
121		140250		546		Crimson Primal Direhorn
22		142266		548		Armored Red Dragonhawk
87		142641		550		Brawler's Burly Mushan Beast
331		148392		557		Spawn of Galakras
254		148396		558		Kor'kron War Wolf
253		148417		559		Kor'kron Juggernaut
27		148428		560		Ashhide Mushan Beast
416		148476		561		Thundering Onyx Cloud Serpent
1		48778				Acherus Deathcharger
8		16056				Ancient Frostsaber
10		66906				Argent Charger
12		66907				Argent Warhorse
14		139595				Armored Bloodwing
15		142478				Armored Blue Dragonhawk
18		60114				Armored Brown Bear
19		171621				Armored Clefthoof
20		171626				Armored Elekk
24		61229				Armored Snowy Gryphon
25		132117				Ashen Pandaren Phoenix
37		22719				Black Battlestrider
39		62048				Black Dragonhawk Mount
42		16055				Black Nightsaber
47		25863				Black Qiraji Battle Tank
48		26655				Black Qiraji Battle Tank
49		6896				Black Ram
50		17461				Black Ram
52		127209				Black Riding Yak
54		470				Black Stallion
56		60118				Black War Bear
57		48027				Black War Elekk
60		59785				Black War Mammoth
61		22720				Black War Ram
63		22717				Black War Steed
64		22723				Black War Tiger
66		578				Black Wolf
73		61996				Blue Dragonhawk
76		10969				Blue Mechanostrider
77		33630				Blue Mechanostrider
80		171617				Blue Riding Clefthoof
89		49378				Brewfest Riding Kodo
91		171622				Brown Draenor Elekk
93		34406				Brown Elekk
94		458				Brown Horse
96		6899				Brown Ram
99		127213				Brown Riding Yak
102		58615				Brutal Nether Drake
103		124550				Cataclysmic Gladiator's Twilight Drake
104		75614				Celestial Steed
106		171846				Champion's Treadblade
107		23214				Charger
108		6648				Chestnut Mare
114		170347				Core Hound
117		169952				Creeping Carpet
120		129552				Crimson Pandaren Phoenix
122		127271				Crimson Water Strider
124		68187				Crusader's White Warhorse
125		171623				Dark Draenor Elekk
127		171616				Dark Riding Clefthoof
132		63637				Darnassian Nightsaber
133		64927				Deadly Gladiator's Frost Wyrm
140		155741				Dread Raven
141		23161				Dreadsteed
142		148972				Dreadsteed
143		32239				Ebon Gryphon
144		149801				Emerald Hippogryph
145		132118				Emerald Pandaren Phoenix
147		142878				Enchanted Fey Dragon
148		73629				Exarch's Elekk
149		63639				Exodar Elekk
152		148970				Felsteed
153		5784				Felsteed
161		17460				Frost Ram
164		148626				Furious Ashhide Mushan
165		65439				Furious Gladiator's Frost Wyrm
166		171851				Garn Nighthowl
169		63638				Gnomeregan Mechanostrider
173		32235				Golden Gryphon
174		90621				Golden King
175		140249				Golden Primal Direhorn
177		171436				Gorerider Gronnling
178		135416				Grand Armored Gryphon
180		61465				Grand Black War Mammoth
182		60140				Grand Caravan Mammoth
183		60136				Grand Caravan Mammoth
185		136163				Grand Gryphon
187		61470				Grand Ice Mammoth
189		35710				Gray Elekk
191		6777				Gray Ram
192		459				Gray Wolf
195		35713				Great Blue Elekk
199		73630				Great Exarch's Elekk
203		35712				Great Green Elekk
205		35714				Great Purple Elekk
207		65637				Great Red Elekk
208		69826				Great Sunwalker Kodo
212		15780				Green Mechanostrider
213		17453				Green Mechanostrider
221		171624				Grey Draenor Elekk
223		171618				Grey Riding Clefthoof
225		148619				Grievous Gladiator's Cloud Serpent
226		163025				Grinning Reaver
228		110051				Heart of the Aspects
229		142073				Hearthsteed
230		127169				Heavenly Azure Cloud Serpent
233		127165				Heavenly Jade Cloud Serpent
235		171845				Hellscream's Hog
236		59799				Ice Mammoth
239		17459				Icy Blue Mechanostrider Mod A
240		124659				Imperial Quilen
242		153489				Iron Chimaera
244		63636				Ironforge Ram
246		10795				Ivory Raptor
257		66122				Magic Rooster
258		66123				Magic Rooster
259		66124				Magic Rooster
261		139407				Malevolent Gladiator's Cloud Serpent
263		60424				Mekgineer's Chopper
264		44317				Merciless Nether Drake
265		44744				Merciless Nether Drake
269		103195				Mountain Horse
270		28828				Nether Drake
277		16082				Palomino
278		130985				Pandaren Kite
281		472				Pinto
283		148620				Prideful Gladiator's Cloud Serpent
286		35711				Purple Elekk
291		66090				Quel'dorei Steed
298		10873				Red Mechanostrider
302		171620				Red Riding Clefthoof
308		579				Red Wolf
310		67336				Relentless Gladiator's Frost Wyrm
311		18363				Riding Kodo
316		101821				Ruthless Gladiator's Twilight Drake
321		66087				Silver Covenant Hippogryph
326		8980				Skeletal Horse
329		32240				Snowy Gryphon
333		107516				Spectral Gryphon
334		92231				Spectral Steed
338		10789				Spotted Frostsaber
339		23510				Stormpike Battle Charger
340		63232				Stormwind Steed
341		66847				Striped Dawnsaber
342		8394				Striped Frostsaber
343		10793				Striped Nightsaber
348		69820				Sunwalker Kodo
349		68057				Swift Alliance Steed
350		32242				Swift Blue Gryphon
353		23238				Swift Brown Ram
354		58819				Swift Brown Steed
355		23229				Swift Brown Steed
359		23221				Swift Frostsaber
360		23239				Swift Gray Ram
361		65640				Swift Gray Steed
363		32290				Swift Green Gryphon
365		23225				Swift Green Mechanostrider
369		23219				Swift Mistsaber
370		65638				Swift Moonsaber
371		103196				Swift Mountain Horse
372		37015				Swift Nether Drake
375		23227				Swift Palomino
377		32292				Swift Purple Gryphon
382		32289				Swift Red Gryphon
386		55164				Swift Spectral Gryphon
389		23338				Swift Stormsaber
391		65643				Swift Violet Ram
394		23223				Swift White Mechanostrider
395		23240				Swift White Ram
396		23228				Swift White Steed
397		134573				Swift Windsteed
398		23222				Swift Yellow Mechanostrider
401		48954				Swift Zhevra
404		171844				Tan Dire Wolf
410		34767				Thalassian Charger
411		34769				Thalassian Warhorse
420		61425				Traveler's Tundra Mammoth
423		65642				Turbostrider
427		107203				Tyrael's Charger
428		148618				Tyrannical Gladiator's Cloud Serpent
430		17454				Unpainted Mechanostrider
432		49193				Vengeful Nether Drake
435		101282				Vicious Gladiator's Twilight Drake
436		146622				Vicious Skeletal Warhorse
437		100332				Vicious War Steed
438		100333				Vicious War Wolf
439		146615				Vicious Warsaber
441		132119				Violet Pandaren Phoenix
446		163024				Warforged Nightmare
447		13819				Warhorse
448		171625				White Draenor Elekk
450		15779				White Mechanostrider Mod B
452		6898				White Ram
454		171619				White Riding Clefthoof
457		123182				White Riding Yak
459		468				White Stallion
460		16083				White Stallion
462		98727				Winged Guardian
463		54729				Winged Steed of the Ebon Blade
464		581				Winter Wolf
465		17229				Winterspring Frostsaber
467		59791				Wooly Mammoth
469		71810				Wrathful Gladiator's Frost Wyrm
 
08-09-14, 12:31 AM   #17
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
Here's probably as close to a complete list as you can get right now, extracted from the db2 cache.
Lua Code:
  1. Mounts = { -- [mount index] = spellID
  2.     [6] = 458, -- Brown Horse
  3.     [7] = 459, -- Gray Wolf
  4.     [8] = 468, -- White Stallion
  5.     [9] = 470, -- Black Stallion
  6.     [11] = 472, -- Pinto
  7.     [12] = 578, -- Black Wolf
  8.     [13] = 579, -- Red Wolf
  9.     [14] = 580, -- Timber Wolf
  10.     [15] = 581, -- Winter Wolf
  11.     [17] = 5784, -- Felsteed
  12.     [18] = 6648, -- Chestnut Mare
  13.     [19] = 6653, -- Dire Wolf
  14.     [20] = 6654, -- Brown Wolf
  15.     [21] = 6777, -- Gray Ram
  16.     [22] = 6896, -- Black Ram
  17.     [24] = 6898, -- White Ram
  18.     [25] = 6899, -- Brown Ram
  19.     [26] = 8394, -- Striped Frostsaber
  20.     [27] = 8395, -- Emerald Raptor
  21.     [28] = 8980, -- Skeletal Horse
  22.     [31] = 10789, -- Spotted Frostsaber
  23.     [34] = 10793, -- Striped Nightsaber
  24.     [35] = 10795, -- Ivory Raptor
  25.     [36] = 10796, -- Turquoise Raptor
  26.     [38] = 10799, -- Violet Raptor
  27.     [39] = 10873, -- Red Mechanostrider
  28.     [40] = 10969, -- Blue Mechanostrider
  29.     [41] = 13819, -- Warhorse
  30.     [42] = 15779, -- White Mechanostrider Mod B
  31.     [43] = 15780, -- Green Mechanostrider
  32.     [45] = 16055, -- Black Nightsaber
  33.     [46] = 16056, -- Ancient Frostsaber
  34.     [50] = 16080, -- Red Wolf
  35.     [51] = 16081, -- Arctic Wolf
  36.     [52] = 16082, -- Palomino
  37.     [53] = 16083, -- White Stallion
  38.     [54] = 16084, -- Mottled Red Raptor
  39.     [55] = 17229, -- Winterspring Frostsaber
  40.     [56] = 17450, -- Ivory Raptor
  41.     [57] = 17453, -- Green Mechanostrider
  42.     [58] = 17454, -- Unpainted Mechanostrider
  43.     [62] = 17459, -- Icy Blue Mechanostrider Mod A
  44.     [63] = 17460, -- Frost Ram
  45.     [64] = 17461, -- Black Ram
  46.     [65] = 17462, -- Red Skeletal Horse
  47.     [66] = 17463, -- Blue Skeletal Horse
  48.     [67] = 17464, -- Brown Skeletal Horse
  49.     [68] = 17465, -- Green Skeletal Warhorse
  50.     [69] = 17481, -- Rivendare's Deathcharger
  51.     [70] = 18363, -- Riding Kodo
  52.     [71] = 18989, -- Gray Kodo
  53.     [72] = 18990, -- Brown Kodo
  54.     [73] = 18991, -- Green Kodo
  55.     [74] = 18992, -- Teal Kodo
  56.     [75] = 22717, -- Black War Steed
  57.     [76] = 22718, -- Black War Kodo
  58.     [77] = 22719, -- Black Battlestrider
  59.     [78] = 22720, -- Black War Ram
  60.     [79] = 22721, -- Black War Raptor
  61.     [80] = 22722, -- Red Skeletal Warhorse
  62.     [81] = 22723, -- Black War Tiger
  63.     [82] = 22724, -- Black War Wolf
  64.     [83] = 23161, -- Dreadsteed
  65.     [84] = 23214, -- Charger
  66.     [85] = 23219, -- Swift Mistsaber
  67.     [87] = 23221, -- Swift Frostsaber
  68.     [88] = 23222, -- Swift Yellow Mechanostrider
  69.     [89] = 23223, -- Swift White Mechanostrider
  70.     [90] = 23225, -- Swift Green Mechanostrider
  71.     [91] = 23227, -- Swift Palomino
  72.     [92] = 23228, -- Swift White Steed
  73.     [93] = 23229, -- Swift Brown Steed
  74.     [94] = 23238, -- Swift Brown Ram
  75.     [95] = 23239, -- Swift Gray Ram
  76.     [96] = 23240, -- Swift White Ram
  77.     [97] = 23241, -- Swift Blue Raptor
  78.     [98] = 23242, -- Swift Olive Raptor
  79.     [99] = 23243, -- Swift Orange Raptor
  80.     [100] = 23246, -- Purple Skeletal Warhorse
  81.     [101] = 23247, -- Great White Kodo
  82.     [102] = 23248, -- Great Gray Kodo
  83.     [103] = 23249, -- Great Brown Kodo
  84.     [104] = 23250, -- Swift Brown Wolf
  85.     [105] = 23251, -- Swift Timber Wolf
  86.     [106] = 23252, -- Swift Gray Wolf
  87.     [107] = 23338, -- Swift Stormsaber
  88.     [108] = 23509, -- Frostwolf Howler
  89.     [109] = 23510, -- Stormpike Battle Charger
  90.     [110] = 24242, -- Swift Razzashi Raptor
  91.     [111] = 24252, -- Swift Zulian Tiger
  92.     [116] = 25863, -- Black Qiraji Battle Tank
  93.     [117] = 25953, -- Blue Qiraji Battle Tank
  94.     [118] = 26054, -- Red Qiraji Battle Tank
  95.     [119] = 26055, -- Yellow Qiraji Battle Tank
  96.     [120] = 26056, -- Green Qiraji Battle Tank
  97.     [121] = 26655, -- Black Qiraji Battle Tank
  98.     [122] = 26656, -- Black Qiraji Battle Tank
  99.     [123] = 28828, -- Nether Drake
  100.     [125] = 30174, -- Riding Turtle
  101.     [129] = 32235, -- Golden Gryphon
  102.     [130] = 32239, -- Ebon Gryphon
  103.     [131] = 32240, -- Snowy Gryphon
  104.     [132] = 32242, -- Swift Blue Gryphon
  105.     [133] = 32243, -- Tawny Wind Rider
  106.     [134] = 32244, -- Blue Wind Rider
  107.     [135] = 32245, -- Green Wind Rider
  108.     [136] = 32246, -- Swift Red Wind Rider
  109.     [137] = 32289, -- Swift Red Gryphon
  110.     [138] = 32290, -- Swift Green Gryphon
  111.     [139] = 32292, -- Swift Purple Gryphon
  112.     [140] = 32295, -- Swift Green Wind Rider
  113.     [141] = 32296, -- Swift Yellow Wind Rider
  114.     [142] = 32297, -- Swift Purple Wind Rider
  115.     [145] = 33630, -- Blue Mechanostrider
  116.     [146] = 33660, -- Swift Pink Hawkstrider
  117.     [147] = 34406, -- Brown Elekk
  118.     [149] = 34767, -- Thalassian Charger
  119.     [150] = 34769, -- Thalassian Warhorse
  120.     [151] = 34790, -- Dark War Talbuk
  121.     [152] = 34795, -- Red Hawkstrider
  122.     [153] = 34896, -- Cobalt War Talbuk
  123.     [154] = 34897, -- White War Talbuk
  124.     [155] = 34898, -- Silver War Talbuk
  125.     [156] = 34899, -- Tan War Talbuk
  126.     [157] = 35018, -- Purple Hawkstrider
  127.     [158] = 35020, -- Blue Hawkstrider
  128.     [159] = 35022, -- Black Hawkstrider
  129.     [160] = 35025, -- Swift Green Hawkstrider
  130.     [161] = 35027, -- Swift Purple Hawkstrider
  131.     [162] = 35028, -- Swift Warstrider
  132.     [163] = 35710, -- Gray Elekk
  133.     [164] = 35711, -- Purple Elekk
  134.     [165] = 35712, -- Great Green Elekk
  135.     [166] = 35713, -- Great Blue Elekk
  136.     [167] = 35714, -- Great Purple Elekk
  137.     [168] = 36702, -- Fiery Warhorse
  138.     [169] = 37015, -- Swift Nether Drake
  139.     [170] = 39315, -- Cobalt Riding Talbuk
  140.     [171] = 39316, -- Dark Riding Talbuk
  141.     [172] = 39317, -- Silver Riding Talbuk
  142.     [173] = 39318, -- Tan Riding Talbuk
  143.     [174] = 39319, -- White Riding Talbuk
  144.     [176] = 39798, -- Green Riding Nether Ray
  145.     [177] = 39800, -- Red Riding Nether Ray
  146.     [178] = 39801, -- Purple Riding Nether Ray
  147.     [179] = 39802, -- Silver Riding Nether Ray
  148.     [180] = 39803, -- Blue Riding Nether Ray
  149.     [183] = 40192, -- Ashes of Al'ar
  150.     [185] = 41252, -- Raven Lord
  151.     [186] = 41513, -- Onyx Netherwing Drake
  152.     [187] = 41514, -- Azure Netherwing Drake
  153.     [188] = 41515, -- Cobalt Netherwing Drake
  154.     [189] = 41516, -- Purple Netherwing Drake
  155.     [190] = 41517, -- Veridian Netherwing Drake
  156.     [191] = 41518, -- Violet Netherwing Drake
  157.     [196] = 42776, -- Spectral Tiger
  158.     [197] = 42777, -- Swift Spectral Tiger
  159.     [199] = 43688, -- Amani War Bear
  160.     [201] = 43899, -- Brewfest Ram
  161.     [202] = 43900, -- Swift Brewfest Ram
  162.     [203] = 43927, -- Cenarion War Hippogryph
  163.     [204] = 44151, -- Turbo-Charged Flying Machine
  164.     [205] = 44153, -- Flying Machine
  165.     [206] = 44317, -- Merciless Nether Drake
  166.     [207] = 44744, -- Merciless Nether Drake
  167.     [211] = 46197, -- X-51 Nether-Rocket
  168.     [212] = 46199, -- X-51 Nether-Rocket X-TREME
  169.     [213] = 46628, -- Swift White Hawkstrider
  170.     [219] = 48025, -- Headless Horseman's Mount
  171.     [220] = 48027, -- Black War Elekk
  172.     [221] = 48778, -- Acherus Deathcharger
  173.     [222] = 48954, -- Swift Zhevra
  174.     [223] = 49193, -- Vengeful Nether Drake
  175.     [224] = 49322, -- Swift Zhevra
  176.     [225] = 49378, -- Brewfest Riding Kodo
  177.     [226] = 49379, -- Great Brewfest Kodo
  178.     [230] = 51412, -- Big Battle Bear
  179.     [236] = 54729, -- Winged Steed of the Ebon Blade
  180.     [237] = 54753, -- White Polar Bear
  181.     [238] = 55164, -- Swift Spectral Gryphon
  182.     [240] = 55531, -- Mechano-Hog
  183.     [241] = 58615, -- Brutal Nether Drake
  184.     [242] = 58819, -- Swift Brown Steed
  185.     [243] = 58983, -- Big Blizzard Bear
  186.     [246] = 59567, -- Azure Drake
  187.     [247] = 59568, -- Blue Drake
  188.     [248] = 59569, -- Bronze Drake
  189.     [249] = 59570, -- Red Drake
  190.     [250] = 59571, -- Twilight Drake
  191.     [251] = 59572, -- Black Polar Bear
  192.     [253] = 59650, -- Black Drake
  193.     [254] = 59785, -- Black War Mammoth
  194.     [255] = 59788, -- Black War Mammoth
  195.     [256] = 59791, -- Wooly Mammoth
  196.     [257] = 59793, -- Wooly Mammoth
  197.     [258] = 59797, -- Ice Mammoth
  198.     [259] = 59799, -- Ice Mammoth
  199.     [262] = 59961, -- Red Proto-Drake
  200.     [263] = 59976, -- Black Proto-Drake
  201.     [264] = 59996, -- Blue Proto-Drake
  202.     [265] = 60002, -- Time-Lost Proto-Drake
  203.     [266] = 60021, -- Plagued Proto-Drake
  204.     [267] = 60024, -- Violet Proto-Drake
  205.     [268] = 60025, -- Albino Drake
  206.     [269] = 60114, -- Armored Brown Bear
  207.     [270] = 60116, -- Armored Brown Bear
  208.     [271] = 60118, -- Black War Bear
  209.     [272] = 60119, -- Black War Bear
  210.     [273] = 60136, -- Grand Caravan Mammoth
  211.     [274] = 60140, -- Grand Caravan Mammoth
  212.     [275] = 60424, -- Mekgineer's Chopper
  213.     [276] = 61229, -- Armored Snowy Gryphon
  214.     [277] = 61230, -- Armored Blue Wind Rider
  215.     [278] = 61294, -- Green Proto-Drake
  216.     [279] = 61309, -- Magnificent Flying Carpet
  217.     [280] = 61425, -- Traveler's Tundra Mammoth
  218.     [284] = 61447, -- Traveler's Tundra Mammoth
  219.     [285] = 61451, -- Flying Carpet
  220.     [286] = 61465, -- Grand Black War Mammoth
  221.     [287] = 61467, -- Grand Black War Mammoth
  222.     [288] = 61469, -- Grand Ice Mammoth
  223.     [289] = 61470, -- Grand Ice Mammoth
  224.     [291] = 61996, -- Blue Dragonhawk
  225.     [292] = 61997, -- Red Dragonhawk
  226.     [293] = 62048, -- Black Dragonhawk Mount
  227.     [294] = 63232, -- Stormwind Steed
  228.     [295] = 63635, -- Darkspear Raptor
  229.     [296] = 63636, -- Ironforge Ram
  230.     [297] = 63637, -- Darnassian Nightsaber
  231.     [298] = 63638, -- Gnomeregan Mechanostrider
  232.     [299] = 63639, -- Exodar Elekk
  233.     [300] = 63640, -- Orgrimmar Wolf
  234.     [301] = 63641, -- Thunder Bluff Kodo
  235.     [302] = 63642, -- Silvermoon Hawkstrider
  236.     [303] = 63643, -- Forsaken Warhorse
  237.     [304] = 63796, -- Mimiron's Head
  238.     [305] = 63844, -- Argent Hippogryph
  239.     [306] = 63956, -- Ironbound Proto-Drake
  240.     [307] = 63963, -- Rusted Proto-Drake
  241.     [308] = 64656, -- Blue Skeletal Warhorse
  242.     [309] = 64657, -- White Kodo
  243.     [310] = 64658, -- Black Wolf
  244.     [311] = 64659, -- Venomhide Ravasaur
  245.     [312] = 64731, -- Sea Turtle
  246.     [313] = 64927, -- Deadly Gladiator's Frost Wyrm
  247.     [314] = 64977, -- Black Skeletal Horse
  248.     [317] = 65439, -- Furious Gladiator's Frost Wyrm
  249.     [318] = 65637, -- Great Red Elekk
  250.     [319] = 65638, -- Swift Moonsaber
  251.     [320] = 65639, -- Swift Red Hawkstrider
  252.     [321] = 65640, -- Swift Gray Steed
  253.     [322] = 65641, -- Great Golden Kodo
  254.     [323] = 65642, -- Turbostrider
  255.     [324] = 65643, -- Swift Violet Ram
  256.     [325] = 65644, -- Swift Purple Raptor
  257.     [326] = 65645, -- White Skeletal Warhorse
  258.     [327] = 65646, -- Swift Burgundy Wolf
  259.     [328] = 65917, -- Magic Rooster
  260.     [329] = 66087, -- Silver Covenant Hippogryph
  261.     [330] = 66088, -- Sunreaver Dragonhawk
  262.     [331] = 66090, -- Quel'dorei Steed
  263.     [332] = 66091, -- Sunreaver Hawkstrider
  264.     [333] = 66122, -- Magic Rooster
  265.     [334] = 66123, -- Magic Rooster
  266.     [335] = 66124, -- Magic Rooster
  267.     [336] = 66846, -- Ochre Skeletal Warhorse
  268.     [337] = 66847, -- Striped Dawnsaber
  269.     [338] = 66906, -- Argent Charger
  270.     [339] = 66907, -- Argent Warhorse
  271.     [340] = 67336, -- Relentless Gladiator's Frost Wyrm
  272.     [341] = 67466, -- Argent Warhorse
  273.     [342] = 68056, -- Swift Horde Wolf
  274.     [343] = 68057, -- Swift Alliance Steed
  275.     [344] = 68187, -- Crusader's White Warhorse
  276.     [345] = 68188, -- Crusader's Black Warhorse
  277.     [349] = 69395, -- Onyxian Drake
  278.     [350] = 69820, -- Sunwalker Kodo
  279.     [351] = 69826, -- Great Sunwalker Kodo
  280.     [352] = 71342, -- Big Love Rocket
  281.     [358] = 71810, -- Wrathful Gladiator's Frost Wyrm
  282.     [363] = 72286, -- Invincible
  283.     [364] = 72807, -- Icebound Frostbrood Vanquisher
  284.     [365] = 72808, -- Bloodbathed Frostbrood Vanquisher
  285.     [366] = 73313, -- Crimson Deathcharger
  286.     [367] = 73629, -- Exarch's Elekk
  287.     [368] = 73630, -- Great Exarch's Elekk
  288.     [371] = 74856, -- Blazing Hippogryph
  289.     [372] = 74918, -- Wooly White Rhino
  290.     [373] = 75207, -- Vashj'ir Seahorse
  291.     [375] = 75596, -- Frosty Flying Carpet
  292.     [376] = 75614, -- Celestial Steed
  293.     [382] = 75973, -- X-53 Touring Rocket
  294.     [386] = 84751, -- Fossilized Raptor
  295.     [388] = 87090, -- Goblin Trike
  296.     [389] = 87091, -- Goblin Turbo-Trike
  297.     [391] = 88331, -- Volcanic Stone Drake
  298.     [392] = 88335, -- Drake of the East Wind
  299.     [393] = 88718, -- Phosphorescent Stone Drake
  300.     [394] = 88741, -- Drake of the West Wind
  301.     [395] = 88742, -- Drake of the North Wind
  302.     [396] = 88744, -- Drake of the South Wind
  303.     [397] = 88746, -- Vitreous Stone Drake
  304.     [398] = 88748, -- Brown Riding Camel
  305.     [399] = 88749, -- Tan Riding Camel
  306.     [400] = 88750, -- Grey Riding Camel
  307.     [401] = 88990, -- Dark Phoenix
  308.     [403] = 90621, -- Golden King
  309.     [404] = 92155, -- Ultramarine Qiraji Battle Tank
  310.     [405] = 92231, -- Spectral Steed
  311.     [406] = 92232, -- Spectral Wolf
  312.     [407] = 93326, -- Sandstone Drake
  313.     [408] = 93623, -- Mottled Drake
  314.     [409] = 93644, -- Kor'kron Annihilator
  315.     [410] = 96491, -- Armored Razzashi Raptor
  316.     [411] = 96499, -- Swift Zulian Panther
  317.     [412] = 96503, -- Amani Dragonhawk
  318.     [413] = 97359, -- Flameward Hippogryph
  319.     [415] = 97493, -- Pureblood Fire Hawk
  320.     [417] = 97560, -- Corrupted Fire Hawk
  321.     [418] = 97581, -- Savage Raptor
  322.     [419] = 98204, -- Amani Battle Bear
  323.     [420] = 98718, -- Subdued Seahorse
  324.     [421] = 98727, -- Winged Guardian
  325.     [422] = 100332, -- Vicious War Steed
  326.     [423] = 100333, -- Vicious War Wolf
  327.     [424] = 101282, -- Vicious Gladiator's Twilight Drake
  328.     [425] = 101542, -- Flametalon of Alysrazor
  329.     [426] = 101573, -- Swift Shorestrider
  330.     [428] = 101821, -- Ruthless Gladiator's Twilight Drake
  331.     [429] = 102346, -- Swift Forest Strider
  332.     [430] = 102349, -- Swift Springstrider
  333.     [431] = 102350, -- Swift Lovebird
  334.     [432] = 102488, -- White Riding Camel
  335.     [433] = 102514, -- Corrupted Hippogryph
  336.     [434] = 103081, -- Darkmoon Dancing Bear
  337.     [435] = 103195, -- Mountain Horse
  338.     [436] = 103196, -- Swift Mountain Horse
  339.     [439] = 107203, -- Tyrael's Charger
  340.     [440] = 107516, -- Spectral Gryphon
  341.     [441] = 107517, -- Spectral Wind Rider
  342.     [442] = 107842, -- Blazing Drake
  343.     [443] = 107844, -- Twilight Harbinger
  344.     [444] = 107845, -- Life-Binder's Handmaiden
  345.     [445] = 110039, -- Experiment 12-B
  346.     [446] = 110051, -- Heart of the Aspects
  347.     [447] = 113120, -- Feldrake
  348.     [448] = 113199, -- Jade Cloud Serpent
  349.     [449] = 118089, -- Azure Water Strider
  350.     [450] = 118737, -- Pandaren Kite
  351.     [451] = 120043, -- Jeweled Onyx Panther
  352.     [452] = 120395, -- Green Dragon Turtle
  353.     [453] = 120822, -- Great Red Dragon Turtle
  354.     [455] = 121820, -- Obsidian Nightwing
  355.     [456] = 121836, -- Sapphire Panther
  356.     [457] = 121837, -- Jade Panther
  357.     [458] = 121838, -- Ruby Panther
  358.     [459] = 121839, -- Sunstone Panther
  359.     [460] = 122708, -- Grand Expedition Yak
  360.     [462] = 123182, -- White Riding Yak
  361.     [463] = 123886, -- Amber Scorpion
  362.     [464] = 123992, -- Azure Cloud Serpent
  363.     [465] = 123993, -- Golden Cloud Serpent
  364.     [466] = 124408, -- Thundering Jade Cloud Serpent
  365.     [467] = 124550, -- Cataclysmic Gladiator's Twilight Drake
  366.     [468] = 124659, -- Imperial Quilen
  367.     [469] = 126507, -- Depleted-Kyparium Rocket
  368.     [470] = 126508, -- Geosynchronous World Spinner
  369.     [471] = 127154, -- Onyx Cloud Serpent
  370.     [472] = 127156, -- Crimson Cloud Serpent
  371.     [473] = 127158, -- Heavenly Onyx Cloud Serpent
  372.     [474] = 127161, -- Heavenly Crimson Cloud Serpent
  373.     [475] = 127164, -- Heavenly Golden Cloud Serpent
  374.     [476] = 127165, -- Heavenly Jade Cloud Serpent
  375.     [477] = 127169, -- Heavenly Azure Cloud Serpent
  376.     [478] = 127170, -- Astral Cloud Serpent
  377.     [479] = 127174, -- Azure Riding Crane
  378.     [480] = 127176, -- Golden Riding Crane
  379.     [481] = 127177, -- Regal Riding Crane
  380.     [484] = 127209, -- Black Riding Yak
  381.     [485] = 127213, -- Brown Riding Yak
  382.     [486] = 127216, -- Grey Riding Yak
  383.     [487] = 127220, -- Blonde Riding Yak
  384.     [488] = 127271, -- Crimson Water Strider
  385.     [492] = 127286, -- Black Dragon Turtle
  386.     [493] = 127287, -- Blue Dragon Turtle
  387.     [494] = 127288, -- Brown Dragon Turtle
  388.     [495] = 127289, -- Purple Dragon Turtle
  389.     [496] = 127290, -- Red Dragon Turtle
  390.     [497] = 127293, -- Great Green Dragon Turtle
  391.     [498] = 127295, -- Great Black Dragon Turtle
  392.     [499] = 127302, -- Great Blue Dragon Turtle
  393.     [500] = 127308, -- Great Brown Dragon Turtle
  394.     [501] = 127310, -- Great Purple Dragon Turtle
  395.     [503] = 129552, -- Crimson Pandaren Phoenix
  396.     [504] = 129918, -- Thundering August Cloud Serpent
  397.     [505] = 129932, -- Green Shado-Pan Riding Tiger
  398.     [506] = 129934, -- Blue Shado-Pan Riding Tiger
  399.     [507] = 129935, -- Red Shado-Pan Riding Tiger
  400.     [508] = 130086, -- Brown Riding Goat
  401.     [509] = 130092, -- Red Flying Cloud
  402.     [510] = 130137, -- White Riding Goat
  403.     [511] = 130138, -- Black Riding Goat
  404.     [515] = 130965, -- Son of Galleon
  405.     [516] = 130985, -- Pandaren Kite
  406.     [517] = 132036, -- Thundering Ruby Cloud Serpent
  407.     [518] = 132117, -- Ashen Pandaren Phoenix
  408.     [519] = 132118, -- Emerald Pandaren Phoenix
  409.     [520] = 132119, -- Violet Pandaren Phoenix
  410.     [521] = 133023, -- Jade Pandaren Kite
  411.     [522] = 134359, -- Sky Golem
  412.     [523] = 134573, -- Swift Windsteed
  413.     [526] = 135416, -- Grand Armored Gryphon
  414.     [527] = 135418, -- Grand Armored Wyvern
  415.     [528] = 136163, -- Grand Gryphon
  416.     [529] = 136164, -- Grand Wyvern
  417.     [530] = 136400, -- Armored Skyscreamer
  418.     [531] = 136471, -- Spawn of Horridon
  419.     [532] = 136505, -- Ghastly Charger
  420.     [533] = 138423, -- Cobalt Primordial Direhorn
  421.     [534] = 138424, -- Amber Primordial Direhorn
  422.     [535] = 138425, -- Slate Primordial Direhorn
  423.     [536] = 138426, -- Jade Primordial Direhorn
  424.     [537] = 138640, -- Bone-White Primal Raptor
  425.     [538] = 138641, -- Red Primal Raptor
  426.     [539] = 138642, -- Black Primal Raptor
  427.     [540] = 138643, -- Green Primal Raptor
  428.     [541] = 139407, -- Malevolent Gladiator's Cloud Serpent
  429.     [542] = 139442, -- Thundering Cobalt Cloud Serpent
  430.     [543] = 139448, -- Clutch of Ji-Kun
  431.     [544] = 139595, -- Armored Bloodwing
  432.     [545] = 140249, -- Golden Primal Direhorn
  433.     [546] = 140250, -- Crimson Primal Direhorn
  434.     [547] = 142073, -- Hearthsteed
  435.     [548] = 142266, -- Armored Red Dragonhawk
  436.     [549] = 142478, -- Armored Blue Dragonhawk
  437.     [550] = 142641, -- Brawler's Burly Mushan Beast
  438.     [551] = 142878, -- Enchanted Fey Dragon
  439.     [554] = 146615, -- Vicious Warsaber
  440.     [555] = 146622, -- Vicious Skeletal Warhorse
  441.     [557] = 148392, -- Spawn of Galakras
  442.     [558] = 148396, -- Kor'kron War Wolf
  443.     [559] = 148417, -- Kor'kron Juggernaut
  444.     [560] = 148428, -- Ashhide Mushan Beast
  445.     [561] = 148476, -- Thundering Onyx Cloud Serpent
  446.     [562] = 148618, -- Tyrannical Gladiator's Cloud Serpent
  447.     [563] = 148619, -- Grievous Gladiator's Cloud Serpent
  448.     [564] = 148620, -- Prideful Gladiator's Cloud Serpent
  449.     [565] = 148626, -- Furious Ashhide Mushan
  450.     [566] = 148970, -- Felsteed
  451.     [567] = 148972, -- Dreadsteed
  452.     [568] = 149801, -- Emerald Hippogryph
  453.     [571] = 153489, -- Iron Chimaera
  454.     [593] = 163024, -- Warforged Nightmare
  455.     [594] = 163025, -- Grinning Reaver
  456.     [600] = 155741, -- Dread Raven
  457.     [603] = 169952, -- Creeping Carpet
  458.     [606] = 170347, -- Core Hound
  459.     [607] = 171436, -- Gorerider Gronnling
  460.     [608] = 171616, -- Dark Riding Clefthoof
  461.     [609] = 171617, -- Blue Riding Clefthoof
  462.     [610] = 171618, -- Grey Riding Clefthoof
  463.     [611] = 171619, -- White Riding Clefthoof
  464.     [612] = 171620, -- Red Riding Clefthoof
  465.     [613] = 171621, -- Armored Clefthoof
  466.     [614] = 171622, -- Brown Draenor Elekk
  467.     [615] = 171623, -- Dark Draenor Elekk
  468.     [616] = 171624, -- Grey Draenor Elekk
  469.     [617] = 171625, -- White Draenor Elekk
  470.     [618] = 171626, -- Armored Elekk
  471.     [650] = 171844, -- Tan Dire Wolf
  472.     [651] = 171845, -- Hellscream's Hog
  473.     [652] = 171846, -- Champion's Treadblade
  474.     [657] = 171851, -- Garn Nighthowl
  475. }

Last edited by semlar : 08-09-14 at 12:38 AM.
 
08-09-14, 12:13 PM   #18
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
If you also need the index from the mount journal I would generate a table in-game with [spellID] = journalIndex, because it appears to be an alphabetically sorted list rather than a static value and I wouldn't trust it to be the same across localizations.

Something like this..
Lua Code:
  1. local SpellToJournal = {} -- [spellID] = journalIndex
  2. for i = 1, C_MountJournal.GetNumMounts() do
  3.     local _, spellID = C_MountJournal.GetMountInfo(i)
  4.     SpellToJournal[spellID] = i
  5. end

Edit: Nimhfree confirmed that the indexes are definitely not the same in different languages.

Last edited by semlar : 08-09-14 at 12:32 PM.
 
09-29-14, 05:14 AM   #19
Alternator
A Fallenroot Satyr
 
Alternator's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 20
They keep us on our toes.
So far
Macros
Equip Sets
Battle Pets
And Mounts
each have a unique system for keying to them...
Equip sets are great for user generated items with a fixed unique id (and name for that matter). And Battle pets use a GUID, so I'm not sure why they've taken a step backwards to using Index again (although in this case a static index that might change when new mounts are added to the game?!).


Anyway... I think I'll be updating ButtonForge to use hooksecurefunc off the Mount Journal. I'm 50/50 about hooksecurefunc on PickupAction though, since it requires tracking all the action slots - something your addon can't be guaranteed to be able to do given it might not always be running.


That said I do have an alternative idea for detecting the Action Button mount. My thought is that the texture might usable... There are several catches of course (uniqueness, and still having to track the action slots during the session); the main advantage though is you wouldn't have to track the Action Button slots across sessions... Still a PitA, but I thought I'd throw it out there (like I said I'm 50/50 on bothering in that scenario, I might look into if it's workable tomorrow).

Last edited by Alternator : 09-29-14 at 02:49 PM.
 
09-29-14, 06:05 AM   #20
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Right now I'm iterating the full mounts list on SPELLS_CHANGED to build a list of mount names/spellIDs and passing that list to the secure environement:

Lua Code:
  1. for i = 1, 1000 do
  2.     ClearCursor()
  3.     local Mname, spellID = C_MountJournal.GetMountInfo(i)
  4.     C_MountJournal.Pickup(i)
  5.     local _, cnum = GetCursorInfo()
  6.     if cnum then
  7.         tSpellRepositoryString = tSpellRepositoryString..","..Mname.."-"..spellID
  8.     end
  9. end
  10. for i, v in pairs(BAB.DB.Bars) do
  11.     v.header:SetAttribute("SpellRepository", tSpellRepositoryString)
  12. end

Then I'm using the list to find a mounts spellID for use with type/spell on my action button:
Lua Code:
  1. local tSpellRepository = self:GetParent():GetAttribute('SpellRepository')
  2. if tSpellRepository then
  3.     for spell in string.gmatch(self:GetParent():GetAttribute('SpellRepository'), '([^%,]+)') do
  4.         local tn, ti = string.match(spell, '(.+)-(.+)')
  5.         if tn == buttonAction then
  6.             buttonAction = ti
  7.         end
  8.     end
  9. end

Clearly not the best approach.
But I'll definetly not touch this black hole again before WoD is in a final state. Who knows what they come up with next?

Last edited by Duugu : 09-29-14 at 06:23 AM.
 
 

WoWInterface » Site Forums » Archived Beta Forums » WoD Beta archived threads » Secure action buttons OnReceiveDrag and mounts

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off