Thread Tools Display Modes
02-26-24, 09:37 AM   #1
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,961
It sounds feasible and could give the new dragonriding able mounts a new lease for life.

What I was envisioning was a single moveable button ( think ExtraAction or ZoneAbility ) that would randombly pick one of the mounts from a list and reselect another everytime the button is used for next time.

But, seeing as I know I am used to clicking the same button to dismount as well, maybe have the next mount be chosen after you dismount.

I've bookmarked the thread but, will wait to see if someone else wants to give this a go. It sounds relatively simple to do.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote
02-26-24, 11:25 AM   #2
thepariah
A Deviate Faerie Dragon
Join Date: Aug 2018
Posts: 13
Originally Posted by Xrystal View Post
It sounds feasible and could give the new dragonriding able mounts a new lease for life.

What I was envisioning was a single moveable button ( think ExtraAction or ZoneAbility ) that would randombly pick one of the mounts from a list and reselect another everytime the button is used for next time.

But, seeing as I know I am used to clicking the same button to dismount as well, maybe have the next mount be chosen after you dismount.

I've bookmarked the thread but, will wait to see if someone else wants to give this a go. It sounds relatively simple to do.
That would be amazing! I will wait with anticipation.
  Reply With Quote
03-01-24, 05:14 AM   #3
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,961
Good news and Bad news

Good news - button works ( it moves, it toggles etc )

Bad news - apparently the dragonriding mounts don't get selected when listing mounts. And none of the mounts that are listed show up as dragonriding able.

Code used:
Lua Code:
  1. local function BuildDynamicFlightMountsList()
  2.    
  3.     local mountIDs = C_MountJournal.GetMountIDs()
  4.    
  5.     for i = 1,#mountIDs do
  6.         local name, spellID, icon, isActive, isUsable, sourceType, isFavorite, isFactionSpecific, faction, shouldHideOnChar, isCollected, mountID, isForDragonriding = C_MountJournal.GetMountInfoByID(i)
  7.  
  8.         XMount_MountList[i] = {
  9.             ["index"] = i,
  10.             ["mountID"] = mountID,
  11.             ["name"] = name,
  12.             ["spellID"] = spellID,
  13.             ["icon"] = icon,
  14.             ["isActive"] = isActive,
  15.             ["isUsable"] = isUsable,
  16.             ["isCollected"] = isCollected,
  17.             ["isForDragonriding"] = isForDragonriding,
  18.         }
  19.     end    
  20.  
  21. end

It returned an over 9000 line table list containing over 1000 entries ( many blank ) and my Dragonriding Proto-Drakes weren't there ( I have 2 on my max level warlock ). And none of the other mounts are showing as Dragonriding.

I even went to Stormwind ( an annoying option as I haven't got the portal set up on the Dragon Isles ) and even resorted to simplifying the code to

Lua Code:
  1. XMount_MountList[i] = C_MountJournal.GetMountInfoByID(i)

In case they had changed the return values

Neither of my Dragonriding mounts are in the mount list generated. Despite being in my mount screen when selecting collected known dragonriding as filters.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote
03-01-24, 12:48 PM   #4
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,961
Aha, problem solved.. I was using the index rather than the mountID to get the info.

I also found this one while searching for options
local mountIDs = C_MountJournal.GetCollectedDragonridingMounts()

This would streamline that list down considerably.


Back to work

Edit:
Okay, finally got it working the way I expected.

Just need to build the combat related protection into it. And find somewhere where it will trigger an error so I can test the fallback for it.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818

Last edited by Xrystal : 03-01-24 at 02:29 PM.
  Reply With Quote
03-06-24, 01:29 PM   #5
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,961
And .. drum roll .....

https://www.wowinterface.com/downloa...micFlight.html

Give it a test run. You might see something or do stuff in a different way to me and it may need some adjustments.

The files have plenty of comments and at present little to no language requirements ( apart from the keybinding text ).
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Random dragonriding mount?

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