Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SpellManager.GetFlyMountName

  • Version: All
  • Product: WRobot General
  • Type: Bug
  • Status: Cannot Reproduce

1. fresh Demon Hunter, Horde, Blood Elf, Male, Blonde.

2. mounts: http://www.wowhead.com/spell=200175/felsaber

http://www.wowhead.com/spell=32244/blue-wind-rider

http://www.wowhead.com/spell=32297/swift-purple-wind-rider

3. code

        var settings = wManager.wManagerSetting.CurrentSetting;
        settings.GroundMountName = SpellManager.GetGroudMountName();
        settings.FlyingMountName = SpellManager.GetFlyMountName();
        settings.AquaticMountName = SpellManager.GetAquaticMountName();
        Logging.Write("Mounts updated. ground: " + settings.GroundMountName + " flying: " + settings.FlyingMountName + " aquatic: " + settings.AquaticMountName);

and flying mount choosed as http://www.wowhead.com/spell=32292/swift-purple-gryphon

if felsaber not randomed - choosed gryphon too for ground mount.

and vise versa with alliance DH NE Male got randomed mounts as Wind Riders.

 

Official/EU/RU client

 

[D] 02:05:45 - [Quester] New step (6): UpdateMounts>Pulse
02:05:45 - [Questing] Mounts updated. ground: Саблезуб Скверны flying: Стремительный лиловый грифон aquatic: 
[D] 02:05:46 - [Quester] If[8] (ObjectManager.Me.IsAlliance) | Result: False
[D] 02:05:46 - [Quester] If[19] (ObjectManager.Me.IsHorde) | Result: True
[D] 02:05:46 - [Quester] New step (20): AudiencewiththeWarchiefH>PickUp
02:05:46 - [Mount] Mounting fly mount Стремительный лиловый грифон
[N] 02:05:47 - [MovementManager] Long Move distance: 198,7587
02:05:48 - [Mount] Mounting fly mount Стремительный лиловый грифон
[N] 02:05:49 - [MovementManager] Long Move distance: 198,7587
02:05:49 - [Mount] Mounting fly mount Стремительный лиловый грифон
[N] 02:05:50 - [MovementManager] Long Move distance: 198,7587
02:05:51 - [Mount] Mounting fly mount Стремительный лиловый грифон
02:05:51 - [Mount] Mounting failed
[D] 02:05:51 - [StuckResolver] Flying mode.
[D] 02:05:59 - [StuckResolver] done.
[N] 02:05:59 - [MovementManager] Long Move distance: 196,7859
02:05:59 - [Mount] Mounting fly mount Стремительный лиловый грифон
02:06:00 - [Mount] Mounting failed
[D] 02:06:00 - [StuckResolver] Flying mode.
[D] 02:06:04 - [StuckResolver] done.
[N] 02:06:04 - [MovementManager] Long Move distance: 178,2636
02:06:04 - [Mount] Mounting fly mount Стремительный лиловый грифон
02:06:05 - [Mount] Mounting failed
[D] 02:06:05 - [StuckResolver] Flying mode.
[D] 02:06:08 - [StuckResolver] done.
02:06:08 - [Quester] Stopped

 

User Feedback

Recommended Comments

camelot10

Elite user

sometimes its works. dont know whats. seems like 50/50. 50% horde 50% alliance version

Hello, I am not sure to understand.

GetFlyMountName() and GetFlyMountName() return random avalable Flying/ground mount name. Seem to works.

        public static string GetGroudMountName()
        {
            try
            {
                var mountList =
                    GetCompanionInfo()
                        .Where(
                            c =>
                            c.MountFlags == MountFlags.Ground && !string.IsNullOrWhiteSpace(c.Spell.NameInGame)).ToArray();
                if (mountList.Length > 0)
                {
                    return mountList[Others.Random(0, mountList.Length - 1)].Spell.NameInGame;
                }
            }
            catch (Exception exception)
            {
                Logging.WriteError("GetGroudMountName(): " + exception);
            }
            return "";
        }

 

Pudge

WRobot user

image.thumb.png.e44f3057b0a6c562dcda8eb044a0fb34.png

 

SpellManager.GetCompanionInfo () always returns 0;

On 5/12/2017 at 4:45 PM, Droidz said:

GetFlyMountName() and GetFlyMountName() return random avalable Flying/ground mount name. Seem to works.

returns nothing

3.3.5a

image.thumb.png.ee7d8a23d489dd71ecbb9dadce70c987.png

image.thumb.png.ae01fe6da544b8ed5ff97ea086faf31a.png

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.