Jump to content

Recommended Posts

Seems like it happens because of bad mesh.
It happens often. Most of the times, Bot just adds this place to blacklist, which is annoying but that's it.
But sometimes, you can't add a place to blacklist, because it's the only path to go. So how do i upgrade mesh? Have tried to create offmesh connection, it did nothing. Is it working for vanilla or still not?

Hello,

to use elevator you can use this sample: https://wrobot.eu/forums/topic/2681-snippets-codes-for-quest-profiles/?do=findComment&comment=24442

In WRobot code, I use offmeshconnection for that like: 

            new PathFinder.OffMeshConnection(new List<Vector3>
            {
                new Vector3(1900.185, -4362.321, 43.23154),
                new Vector3(1901.796, -4370.77, 44.39288) {Action = "c#: Logging.WriteNavigator(\"[OffMeshConnection] Ogrimmar > Wait Elevator\"); while (Conditions.InGameAndConnectedAndProductStartedNotInPause) { var elevator = ObjectManager.GetWoWGameObjectByEntry(206609).OrderBy(o => o.GetDistance).FirstOrDefault(); if (elevator != null && elevator.IsValid && elevator.Position.Z <= 44) break; Thread.Sleep(10); }"},
                new Vector3(1903.901, -4382.015, 105.6566) {Action = "c#: Logging.WriteNavigator(\"[OffMeshConnection] Ogrimmar > Wait to leave Elevator\"); while (Conditions.InGameAndConnectedAndProductStartedNotInPause) { var elevator = ObjectManager.GetWoWGameObjectByEntry(206609).OrderBy(o => o.GetDistance).FirstOrDefault(); if (elevator != null && elevator.IsValid && elevator.Position.Z >= 105) break; Thread.Sleep(10); }"},
            }, (int)ContinentId.Kalimdor),

 

Thank you for your answer. Unfortunately this will not work. Elevator distance is always the same in vanilla, so we can't detect is it here or not, it's just static. But i will try to build a workaround, using your sample, thank you.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...