Jump to content
  • [Bug] MovementManager


    Sye24
    • Version: All Product: WRobot General Type: Bug Status: Fixed
     Share

    Hello @Droidz While i was working on my solo projects, i came acoss a bug, if you die in FOS / POS / HOR and you release you get a ghost type mount to fly back to, it is not a vehicle, nor have i been able to figure it out. i am building my own product further and my code works for dead run back but not for these three dungeons.

    it keeps spamming

    D] 23:59:20 - [MovementManager]  You try to use flying/swimming path but you cannot fly/swim here, try to use ground mouvement...

    other dungeons work fine, it runs back with the path i added, i tried adding a 

    i tried using 

    MovementManager.MoveTo(LongMove.DecollideFlightPath(run.PathLoop[num]));
    ClickToMove.CGPlayer_C__ClickToMove(run.PathLoop[num].X, run.PathLoop[num].Y, run.PathLoop[num].Z, 0, (int)ClickToMoveType.Move, 0.5f);

    These do not work still same problem and it will spaze out,

    any ideas for this one?


     Share


    User Feedback

    Recommended Comments

    1 hour ago, Droidz said:

    what is result of "all memory info" (when dead)?

    
    ==================================
    PLAYER INFO:
    ==================================
    Name = n/A
    MeCreatureTrack = None
    MeObjectTrack = None
    IsCast = False
    CanMove = True
    GetDurabilityPercent = 100
    GetWeaponDurabilityPercent = 100
    GetLowerItemDurabilityPercent = 100
    Experience = 15188
    ExperienceMax = 0
    LevelDecimal = 80
    PositionCorpse = 5792.425 ; 2072.991 ; 636.064 ; "None"
    IsDead = True
    IsDeadMe = True
    InCombat = False
    InvSlots = System.Collections.Generic.List`1[System.UInt64]
    IsMountedWhenInTransport = True
    IsMounted = True
    Runes = 6
    MapPositionLua = System.String[]
    GetMoneyCopper = 695035
    Gender = Female
    GetHonorPoint = 0
    PlayerUsingVehicle = False
    IsInPetBattle = False
    IsPartyMember = True
    IsInParty = True
    IsInGroup = True
    GlobalCooldownEnabled = False
    GlobalCooldownTimeLeft = 0
    BreathTimerLeft = 0
    BreathActive = False
    FatigueTimerLeft = 0
    FatigueActive = False
    HasNewMail = False
    HasFocus = False
    FocusGuid = 0
    FocusObj =  (Object) : 0 : 0x00000000 : 0 : 0
    HasMouseOver = False
    MouseOverGuid = 0
    MouseOverObj =  (Object) : 0 : 0x00000000 : 0 : 0
    WowRace = Tauren
    PlayerFaction = Horde
    IsHorde = True
    IsAlliance = False
    IsNeutral = False
    PlayerRace = Tauren
    PlayerRaceString = Tauren
    BarTwo = 0
    BarTwoMax = 18831
    PowerType = Mana
    BarTwoPercentage = 0
    ComboPoint = 0
    GetEquipedItem = 50734
    Eclipse = 0
    MaxEclipse = 100
    MinEclipse = -100
    EclipsePercentage = 50
    GetDynamicFlags = 0
    GetUnitDynamicFlags = None
    WowClass = Druid
    IsLocalPlayer = True
    IsBlacklisted = False
    Position = 7163.812 ; 2272.599 ; 570.8381 ; "Flying"
    PositionWithoutType = 7163.812 ; 2272.599 ; 570.8381 ; "None"
    PositionRelativeWithoutType = 7163.812 ; 2272.599 ; 570.8381 ; "None"
    Health = 1
    MaxHealth = 17837
    MyCharacterInFrontHim = False
    HealthPercent = 0
    HealthRatio = 0
    IsGoodInteractDistance = True
    InteractDistance = 4.3
    CombatReach = 1.5
    IsSwimming = False
    IsFlying = True
    IsStunned = False
    AggroDistance = 0
    Rotation = 2.471018
    Pitch = 0.04450602
    CreatureTypeTarget = 
    FactionTemplate = wManager.Wow.Helpers.WoWFactionTemplate
    Mana = 0
    MaxMana = 18831
    ManaPercentage = 0
    Rage = 0
    MaxRage = 100
    RagePercentage = 0
    Focus = 0
    MaxFocus = 0
    FocusPercentage = 0
    Energy = 100
    MaxEnergy = 100
    EnergyPercentage = 100
    Chi = 0
    MaxChi = 0
    ChiPercentage = 0
    MaxRunes = 6
    RunesPercentage = 100
    RunicPower = 0
    MaxRunicPower = 100
    RunicPowerPercentage = 0
    SoulShards = 17837
    MaxSoulShards = 1106984899
    SoulShardsPercentage = 0
    UnitClassification = normal
    IsElite = False
    IsWorldBoss = False
    HolyPower = 1000
    MaxHolyPower = 0
    HolyPowerPercentage = 0
    Alternate = 0
    MaxAlternate = 0
    AlternatePercentage = 0
    DarkForce = 100
    MaxDarkForce = 0
    DarkForcePercentage = 0
    LightForce = 0
    MaxLightForce = 0
    LightForcePercentage = 0
    ShadowOrbs = 0
    MaxShadowOrbs = 0
    ShadowOrbsPercentage = 0
    BurningEmbers = 1000
    MaxBurningEmbers = 0
    BurningEmbersPercentage = 0
    DemonicFury = 1106984899
    MaxDemonicFury = 0
    DemonicFuryPercentage = 0
    ArcaneCharges = 0
    MaxArcaneCharges = 0
    ArcaneChargesPercentage = 0
    Faction = 6
    DisplayId = 60
    GetMove = False
    SpeedMoving = 0
    GetDistance = 0
    GeHitBoxtDistance = 0
    GetDistance2D = 0
    GetDistanceZ = 0
    IsAlive = False
    IsLootable = False
    IsTaggedByOther = False
    TaggedByMe = False
    IsTapDenied = False
    IsMyPet = False
    HasTarget = False
    IsTargetingMe = False
    IsTargetingMyPet = False
    IsTargetingPartyMember = False
    IsTargetingMeOrMyPet = False
    IsTargetingMeOrMyPetOrPartyMember = False
    IsMyTarget = False
    IsMyPetTarget = False
    IsPartyMemberTarget = False
    IsMeOrMyPetTarget = False
    IsMeOrMyPetOrPartyMemberTarget = False
    Target = 0
    TargetObject =  (Object) : 0 : 0x00000000 : 0 : 0
    Level = 80
    IsBoss = False
    PetNumber = 0
    DBCacheRow = 0
    UnitFlags = PlayerControlled, Mounted
    UnitNPCFlags = None
    Skinnable = False
    IsNpcSpiritHealer = False
    IsNpcRepair = False
    IsNpcVendor = False
    IsFlightMaster = False
    IsNpcInnkeeper = False
    IsNpcVendorFood = False
    IsAuctioneer = False
    IsNpcTrainer = False
    IsNpcWildPets = False
    Summon = 0
    CreatedBy = 0
    CreatedBySpell = 0
    SummonedBy = 0
    IsPet = False
    PetOwnerGuid = 0
    InCombatFlagOnly = False
    InCombatWithMe = False
    CastingSpellId = 0
    CastingSpell =  (Id found: 0, Name found: , NameInGame found: , Know = False, IsSpellUsable = False)
    CastingTimeLeft = 0
    CanInterruptCasting = False
    MountDisplayId = 26691
    TransportGuid = 0
    TransportObject =  (Object) : 0 : 0x00000000 : 0 : 0
    InTransport = False
    Reaction = Friendly
    IsTracked = False
    IsOnTaxi = False
    NotSelectable = False
    IsAttackable = False
    PlayerControlled = True
    Silenced = False
    Rooted = False
    Influenced = False
    Confused = False
    Pacified = False
    Fleeing = False
    Possessed = False
    NpcMarkerId = 0
    NpcFlightMastrerIsDiscover = True
    NpcMarker = None
    IsOutdoors = True
    IsIndoors = False
    IsPartyLeader = False
    GetBaseAddress = 894439184
    IsValid = True
    GetDescriptorStartAddress = 894445672
    Guid = 504403158268404223
    Type = Player
    Entry = 0
    Scale = 1
    ForceIsCast = False
    RuneIsReady(1) = True
    RuneIsReady(2) = True
    RuneIsReady(3) = True
    RuneIsReady(4) = True
    RuneIsReady(5) = True
    RuneIsReady(6) = True
    Skill.GetValue(SkillLine.Herbalism)/Skill.GetMaxValue(SkillLine.Herbalism) = 0/0
    Skill.GetValue(SkillLine.Mining)/Skill.GetMaxValue(SkillLine.Mining) = 0/0
    BuffStack("Ghost") = 0
    HaveBuff("Ghost") = True
    BuffCastedBy("Ghost") = 504403158268404223
    Auras:
     -  Ghost: ID=8326, Stack=0, TimeLeft=0 ms, Owner=504403158268404223
     -  Swift Spectral Gryphon: ID=55164, Stack=0, TimeLeft=0 ms, Owner=504403158268404223
     
    ==================================
    TARGET INFO:
    ==================================
    Target no valid.
     
    ==================================
    PET INFO:
    ==================================
    Target no valid.
     
    ==================================
    NEAR GAMEOBJECT INFO:
    ==================================
    IsBlacklisted = False
    CreatedBy = 0
    DisplayId = 8254
    FlagsInt = 40
    Flags = Transport, DoesNotDespawn
    Position = 7389.954 ; 1554.094 ; 595.4691 ; "None"
    Name = The Skybreaker
    GetDistance = 753.6555
    GetDistance2D = 753.2529
    GetDistanceZ = 24.63098
    ParentRotation = 0
    Data0 = 1094
    Data1 = 2
    Data8 = 0
    GOType = MoTransport
    IsMailbox = False
    LockEntry = 0
    CanOpen = False
    SkillLineRequired = None
    IsOutdoors = True
    IsIndoors = False
    Matrix = [[M11:-0.8402112 M12:-0.5422577 M13:-0.001290962 M14:0] [M21:0.5422423 M22:-0.8402014 M23:0.00591186 M24:0] [M31:-0.00429042 M32:0.004267198 M33:0.9999817 M34:0] [M41:7389.954 M42:1554.094 M43:595.4691 M44:1]]
    IsMDXCollidable = True
    IsGoodInteractDistance = False
    InteractDistanceByEntry = System.Collections.Generic.Dictionary`2[System.Int32,System.Single]
    InteractDistance = 3.7
    GetBaseAddress = 1380659160
    IsValid = True
    GetDescriptorStartAddress = 1380659696
    Guid = 2287828610704211987
    Type = GameObject
    Entry = 192242
    Scale = 1
    Rotation() = 3.71472
     
    ==================================
    RANDOM ITEM INFO:
    ==================================
    Name = Rock Chip
    GetItemInfo = wManager.Wow.Class.ItemInfo
    StackCount = 4
    Durability = 0
    MaxDurability = 0
    Owner = 504403158268404223
    ContainedIn = 4611686018501652397
    InBag = False
    IsEquippableItem = False
    GetBaseAddress = 987165944
    IsValid = True
    GetDescriptorStartAddress = 987166936
    Guid = 4611686018779620802
    Type = Item
    Entry = 5741
    Scale = 1
    Position = 0 ; 0 ; 0 ; "None"
    GetDistance = 0
    ItemEquipLoc = 
    ItemLevel = 1
    ItemLink = |cff9d9d9d|Hitem:5741:0:0:0:0:0:0:0:80|h[Rock Chip]|h|r
    ItemMinLevel = 0
    ItemName = Rock Chip
    ItemRarity = 0
    ItemSellPrice = 111
    ItemStackCount = 20
    ItemSubType = Junk
    ItemTexture = Interface\Icons\INV_Stone_10
    ItemType = Miscellaneous
     
    ==================================
    BAG INFO:
    ==================================
    GetBagItem() = Warped Leather Bracers : 1504, Rock Chip : 5741, Coarse Stone : 2836, Lifeless Stone : 4784, Veteran Bracers : 3213, Worn Mail Gloves : 1734, Gelatinous Goo : 3669, Worn Hatchet : 1516, Minor Mana Potion : 2455, Linen Cloth : 2589, Haunch of Meat : 2287, Warped Leather Gloves : 1506, Pattern: Red Linen Bag : 5771, Warped Cloak : 1505, Calico Bracers : 3375, War Torn Handgrips : 15484, Crystalline Cuffs : 14148, Slimy Ichor : 3676, Native Sandals : 14110, Lesser Healing Potion : 858, Fisherman Knife : 2763, Red-speckled Mushroom : 4605, Formula: Enchant Chest - Minor Mana : 6342, Greater Cosmic Essence : 34055, Old Spices : 44114, Wrathful Gladiator's Kodohide Legguards : 51422, Wild Spineleaf : 44605, Preserved Holly : 21213, Willow Bracers : 6543, Infinite Dust : 34054, Hallowed Helm : 33292, Ice Cold Milk : 1179, Recipe: Haunted Herring : 43510, Twisted Puzzle-Ring : 37822, Hallowed Wand - Skeleton : 20411, Shadow Jade Focusing Lens : 42421, Dense Stone : 12365, Hearthstone : 6948, White Leather Bag : 5574, Blue Leather Bag : 856
    GetContainerNumFreeSlots = 48
    GetContainerNumFreeSlotsNormalType = 48
    GetContainerNumFreeSlotsHerbBags = 999
    GetContainerNumFreeSlotsMiningBags = 999
     
    ==================================
    BATTLEGROUNDER INFO:
    ==================================
    IsInBattleground() = False
    GetCurrentBattleground() = None
    BattlegroundIsStarted() = True
    IsFinishBattleGround() = False
     
    ==================================
    CTM INFO:
    ==================================
    GetClickToMovePosition() = 0 ; 0 ; 0 ; "None"
    GetClickToMoveTypePush() = None
     
    ==================================
    PARTY INFO:
    ==================================
    Party.IsInGroup() = True
    Party.IsInGroupHome() = True
    Party.IsInGroupInstance() = True
    Party.CurrentPlayerIsLeader() = False
    Party.GetPartyNumberPlayers() = 6
    Party.GetPartyGUIDHomeAndInstance() = 504403158265556392 - 504403158268404223 - 504403158272572817 - 504403158268724792 - 504403158271244731 - 504403158270972553 - 504403158265556392 - 504403158272719871 - 504403158272688780 - 504403158272286264 - 504403158272572817 - 504403158270353947 - 504403158272401219 - 504403158270713947 - 504403158272679261 - 504403158272617975 - 504403158271163479 - 504403158268724792 - 504403158271477820 - 504403158269444583 - 504403158272295864 - 504403158272521669 - 504403158272713287 - 504403158266652575 - 504403158272697296 - 504403158265713167 - 504403158272708155 - 504403158271244731 - 504403158270972553 - 504403158272126071 - 504403158268404223 - 
     
    ==================================
    FIGHTCLASS INFO:
    ==================================
    IsAliveCustomClass = False
    GetRange = 4.5
     
    ==================================
    COMBAT INFO:
    ==================================
    InCombat = False
    GetNumberAttackPlayer() = 0
    GetUnitAttackPlayer() =
     
    ==================================
    EQUIPED ITEMS INFO:
    ==================================
    GetEquippedItems() = Blood Queen's Crimson Choker : 50724, Stiffened Corpse Shoulderpads : 50449, Epic Purple Shirt : 45037, Merlin's Robe : 47604, Crushing Coldwraith Belt : 50613, Leggings of Woven Death : 49891, Plague Scientist's Boots : 50699, Bracers of Fiery Night : 54582, Phylactery of the Nameless Lich : 50365, Charred Twilight Scale : 54588, Cloak of Burning Dusk : 54583, Royal Scepter of Terenas II : 50734, Shriveled Heart : 50309, Idol of Lunar Fury : 47670
     
    ==================================
    USERFULS INFO:
    ==================================
    LastHardwareAction = 603997
    InGame = True
    IsLoadingOrConnecting = False
    IsFlyableArea = True
    Latency = 300
    LatencyReal = 80
    RealmName = Icecrown
    MapZoneName = Icecrown
    SubMapZoneName = 
    ContinentNameMpq = Northrend
    ContinentId = 571
    AreaId = -1
    WowVersion = 12340
    Usefuls.FrameTime_GetCurTimeMs() = 621813
    Usefuls.WowAddon() = ACP
     
    ==================================
    OBJECTMANAGER INFO:
    ==================================
    ObjectManager.BlackListGetUnitAttackPlayerGuidTime.Count = 0
    ObjectManager.BlackListObjectManagerGuid.Count = 0
     
    ==================================
    Execute time: 1734
    ==================================
    

     

    Link to comment
    Share on other sites

    Also my code i am using : 

        public static bool Launch()
        {
            if (Profile.Path.Count < 0 || ProfileName == null || ObjectManager.Me.IsAlive || Usefuls.IsLoadingOrConnecting)
                return false;
    
            if (MovementExecutor == null)
            {
                MovementExecutor = new MovementLoop
                {
                    PathLoop = Profile.Path,
                    IsLoop = Profile.isLoop,
                };
            }
            if (ObjectManager.Me.IsDead)
            {
                int GetNearestVector = robotManager.Helpful.Math.NearestVector3OfListVectors3(MovementExecutor.PathLoop, ObjectManager.Me.Position);
                if (MovementExecutor.PathLoop[GetNearestVector].DistanceTo(ObjectManager.Me.Position) > 4f)
                {
                    if (MovementExecutor.PathLoop[GetNearestVector].IsSwimming())
                    {
                        MovementManager.Go(PathFinder.FindPath(MovementExecutor.PathLoop[GetNearestVector]));
                        MovementManager.GoUnderWater();
                    }
                    else
                    if (MovementExecutor.PathLoop[GetNearestVector].IsFlying())
                    {
                        //MovementManager.MoveTo(LongMove.DecollideFlightPath(run.PathLoop[num]));
                        //ClickToMove.CGPlayer_C__ClickToMove(run.PathLoop[num].X, run.PathLoop[num].Y, run.PathLoop[num].Z, 0, (int)ClickToMoveType.Move, 0.5f);
                    }
                    else
                    {
                        MovementManager.Go(PathFinder.FindPath(MovementExecutor.PathLoop[GetNearestVector]));
                    }
                    return true;
                }
                if (!MovementExecutor.IsLoop && GetNearestVector != 0)
                {
                    MovementExecutor.PathLoop.RemoveRange(0, GetNearestVector);
                }
                MovementExecutor.Run();
            }
            return true;
        }

     

    Link to comment
    Share on other sites

    @Droidz i created my own path and Serializer to a xml file, but idk why its causing problems, here is the path, thank you for helping

    new Vector3(6450.345f, 2057.408f, 564.9907f, "None"),
                                            new Vector3(6432.247f, 2065.161f, 584.7175f, "Flying"),
                                            new Vector3(6408.851f, 2071.087f, 593.6752f, "Flying"),
                                            new Vector3(6383.793f, 2077.004f, 600.3458f, "Flying"),
                                            new Vector3(6358.852f, 2083.263f, 607.1487f, "Flying"),
                                            new Vector3(6333.899f, 2089.482f, 613.9517f, "Flying"),
                                            new Vector3(6308.897f, 2095.714f, 620.7682f, "Flying"),
                                            new Vector3(6283.995f, 2101.92f, 627.5576f, "Flying"),
                                            new Vector3(6259.018f, 2108.146f, 634.3673f, "Flying"),
                                            new Vector3(6234.091f, 2114.359f, 641.1635f, "Flying"),
                                            new Vector3(6209.139f, 2120.578f, 647.9664f, "Flying"),
                                            new Vector3(6184.162f, 2126.803f, 654.7761f, "Flying"),
                                            new Vector3(6159.235f, 2133.016f, 661.5723f, "Flying"),
                                            new Vector3(6134.283f, 2139.235f, 668.3752f, "Flying"),
                                            new Vector3(6109.281f, 2145.466f, 675.1918f, "Flying"),
                                            new Vector3(6084.379f, 2151.673f, 681.9811f, "Flying"),
                                            new Vector3(6059.402f, 2157.898f, 688.7908f, "Flying"),
                                            new Vector3(6034.475f, 2164.111f, 695.587f, "Flying"),
                                            new Vector3(6009.498f, 2170.336f, 702.3967f, "Flying"),
                                            new Vector3(5984.546f, 2176.555f, 709.1996f, "Flying"),
                                            new Vector3(5959.594f, 2182.774f, 716.0026f, "Flying"),
                                            new Vector3(5934.642f, 2188.993f, 722.8055f, "Flying"),
                                            new Vector3(5910.089f, 2195.112f, 729.4996f, "Flying"),
                                            new Vector3(5884.738f, 2201.431f, 736.4114f, "Flying"),
                                            new Vector3(5860.046f, 2207.253f, 744.3358f, "Flying"),
                                            new Vector3(5835.564f, 2212.692f, 753.201f, "Flying"),
                                            new Vector3(5811.27f, 2217.118f, 761.8267f, "Flying"),
                                            new Vector3(5785.883f, 2216.652f, 770.9116f, "Flying"),
                                            new Vector3(5761.803f, 2212.347f, 781.3053f, "Flying"),
                                            new Vector3(5738.982f, 2207.156f, 793.9058f, "Flying"),
                                            new Vector3(5714.489f, 2201.338f, 801.6143f, "Flying"),
                                            new Vector3(5702.682f, 2178.094f, 800.9771f, "Flying"),
                                            new Vector3(5695.391f, 2152.526f, 801.2399f, "Flying"),
                                            new Vector3(5688.349f, 2126.866f, 802.2007f, "Flying"),
                                            new Vector3(5675.563f, 2104.603f, 803.4431f, "Flying"),
                                            new Vector3(5651.386f, 2093.626f, 803.0369f, "Flying"),
                                            new Vector3(5641.941f, 2070.132f, 803.3401f, "Flying"),
                                            new Vector3(5647.185f, 2044.459f, 802.6985f, "Flying"),
                                            new Vector3(5660.103f, 2021.227f, 802.1962f, "Flying"),
                                            new Vector3(5675.607f, 1999.613f, 802.1801f, "Flying"),

      if you need, i can dm you my full source code.

    Link to comment
    Share on other sites

    List<Vector3> Path = new List<Vector3>
    {
        //new Vector3(6450.345f, 2057.408f, 564.9907f, "None"),
        new Vector3(6432.247f, 2065.161f, 584.7175f, "Flying"),
        new Vector3(6408.851f, 2071.087f, 593.6752f, "Flying"),
        new Vector3(6383.793f, 2077.004f, 600.3458f, "Flying"),
        new Vector3(6358.852f, 2083.263f, 607.1487f, "Flying"),
        new Vector3(6333.899f, 2089.482f, 613.9517f, "Flying"),
        new Vector3(6308.897f, 2095.714f, 620.7682f, "Flying"),
        new Vector3(6283.995f, 2101.92f, 627.5576f, "Flying"),
        new Vector3(6259.018f, 2108.146f, 634.3673f, "Flying"),
        new Vector3(6234.091f, 2114.359f, 641.1635f, "Flying"),
        new Vector3(6209.139f, 2120.578f, 647.9664f, "Flying"),
        new Vector3(6184.162f, 2126.803f, 654.7761f, "Flying"),
        new Vector3(6159.235f, 2133.016f, 661.5723f, "Flying"),
        new Vector3(6134.283f, 2139.235f, 668.3752f, "Flying"),
        new Vector3(6109.281f, 2145.466f, 675.1918f, "Flying"),
        new Vector3(6084.379f, 2151.673f, 681.9811f, "Flying"),
        new Vector3(6059.402f, 2157.898f, 688.7908f, "Flying"),
        new Vector3(6034.475f, 2164.111f, 695.587f, "Flying"),
        new Vector3(6009.498f, 2170.336f, 702.3967f, "Flying"),
        new Vector3(5984.546f, 2176.555f, 709.1996f, "Flying"),
        new Vector3(5959.594f, 2182.774f, 716.0026f, "Flying"),
        new Vector3(5934.642f, 2188.993f, 722.8055f, "Flying"),
        new Vector3(5910.089f, 2195.112f, 729.4996f, "Flying"),
        new Vector3(5884.738f, 2201.431f, 736.4114f, "Flying"),
        new Vector3(5860.046f, 2207.253f, 744.3358f, "Flying"),
        new Vector3(5835.564f, 2212.692f, 753.201f, "Flying"),
        new Vector3(5811.27f, 2217.118f, 761.8267f, "Flying"),
        new Vector3(5785.883f, 2216.652f, 770.9116f, "Flying"),
        new Vector3(5761.803f, 2212.347f, 781.3053f, "Flying"),
        new Vector3(5738.982f, 2207.156f, 793.9058f, "Flying"),
        new Vector3(5714.489f, 2201.338f, 801.6143f, "Flying"),
        new Vector3(5702.682f, 2178.094f, 800.9771f, "Flying"),
        new Vector3(5695.391f, 2152.526f, 801.2399f, "Flying"),
        new Vector3(5688.349f, 2126.866f, 802.2007f, "Flying"),
        new Vector3(5675.563f, 2104.603f, 803.4431f, "Flying"),
        new Vector3(5651.386f, 2093.626f, 803.0369f, "Flying"),
        new Vector3(5641.941f, 2070.132f, 803.3401f, "Flying"),
        new Vector3(5647.185f, 2044.459f, 802.6985f, "Flying"),
        new Vector3(5660.103f, 2021.227f, 802.1962f, "Flying"),
        new Vector3(5675.607f, 1999.613f, 802.1801f, "Flying")
    };
    wManager.Events.MovementEvents.OnMoveToLoop += () =>
    {
        if (ObjectManager.Me.IsDead &&
            Usefuls.ContinentId == 571 &&
            ObjectManager.Me.IsMounted &&
            ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(5670, 2003, 0)) < 60 &&
            (!MovementManager.InMovement || !robotManager.Helpful.Math.SameListVectors3(MovementManager.CurrentPathOrigine, Path)))
            
        {
            Logging.WriteDebug("move bypass");
            if (!ObjectManager.Me.IsFlying)
            {
                Move.JumpOrAscend(Move.MoveAction.DownKey);
                Thread.Sleep(Others.Random(300, 700));
                Move.JumpOrAscend(Move.MoveAction.UpKey);
            }
            LongMove.StopLongMove();
            MovementManager.Go(Path);
        }
    };

    This code works for me

    Link to comment
    Share on other sites



    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...