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.

[vanilla] something is fundamentaly wrong with the barrens-to-1k elevator

  • Version: All
  • Product: WRobot General
  • Type: Bug
  • Status: Not a Bug

I'm not even sure what is going on here the interaction of the bot with this elevator is messed up in so many ways.
It seems like the navigation-system is completely broken when interacting with this elevatore, but maybe it even only has to do with freewind post and it's elevator.

Let's say the bot is somewhere in 1k-needles and wants to take the flightmaster or doing a townrun (with freewind post being the nearest) then in some cases it walks up the slope to freewindpost and in some cases it runs to the elevator
to the barrens.It will take the elevator up to the barrens then and try to walk down again through the entrance aread of razorfen downs, which of cause is filled with elite mods and if you level is not significantly higher will result in a dieing loop.

from what i have observed this seems to be what is going on but sometimes the "going up to barrend walking into elites"-thingy even happen in other cases.
worst thing is while babysitting the bot it is even hard to get the bot to stop that shit, because most of the time it will run back to that shitty elevator from the weirdest places.

User Feedback

Recommended Comments

eniac86

Members

I'm not shure if this is the log, but at least i'm being attacked by a razorfen battleguard in it, so it should be ^^

5 Mai 2018 16H50.log.html

Matenia

Elite user
(edited)

This is a feature of my plugin, that must've broken in one of the recent updates.
wRobot can not take elevators or anything by default.

From what I can tell, it's a bug/problem with wRobot not resetting movement correctly. Once I've taken the elevator, I want wRobot to calculate a new path from scratch whereever it needs to go. So I pause the bot and unpause it. Then it tries to go back to the last spot it was at/wanted to go to before and probably takes the elevator back down. This used to work just fine, but seems to not work well anymore. Maybe Droidz can shed some light on how to reset movement entirely.

That being said, without the plugin you'd run into the elites 100% of the time.

Edited by Matenia

On 5/11/2018 at 10:15 AM, Matenia said:

This is a feature of my plugin, that must've broken in one of the recent updates.
wRobot can not take elevators or anything by default.

From what I can tell, it's a bug/problem with wRobot not resetting movement correctly. Once I've taken the elevator, I want wRobot to calculate a new path from scratch whereever it needs to go. So I pause the bot and unpause it. Then it tries to go back to the last spot it was at/wanted to go to before and probably takes the elevator back down. This used to work just fine, but seems to not work well anymore. Maybe Droidz can shed some light on how to reset movement entirely.

That being said, without the plugin you'd run into the elites 100% of the time.

Use offmeshconnection and action, by sample for thunder bluff, I use in WRobot code:

            // Thunder bluff elevator
            new PathFinder.OffMeshConnection(new List<Vector3>
            {
                new Vector3(-1280.236, 196.0687, 68.55207),
                new Vector3(-1286.483, 189.3813, 68.87579) {Action = "c#: Logging.WriteNavigator(\"[OffMeshConnection] Thunder Bluff > Wait Elevator\"); while (Conditions.InGameAndConnectedAndProductStartedNotInPause) { var elevator = ObjectManager.GetWoWGameObjectByEntry(4170).OrderBy(o => o.GetDistance).FirstOrDefault(); if (elevator != null && elevator.IsValid && elevator.Position.Z <= 69) break; Thread.Sleep(10); }"},
                new Vector3(-1285.303, 179.1285, 129.9943) {Action = "c#: Logging.WriteNavigator(\"[OffMeshConnection] Thunder Bluff > Wait to leave Elevator\"); while (Conditions.InGameAndConnectedAndProductStartedNotInPause) { var elevator = ObjectManager.GetWoWGameObjectByEntry(4170).OrderBy(o => o.GetDistance).FirstOrDefault(); if (elevator != null && elevator.IsValid && elevator.Position.Z >= 130f) break; Thread.Sleep(10); }"},
            }, (int)ContinentId.Kalimdor),
            new PathFinder.OffMeshConnection(new List<Vector3>
            {
                new Vector3(-1285.303, 179.1285, 129.9943),
                new Vector3(-1286.483, 189.3813, 130.1201) {Action = "c#: Logging.WriteNavigator(\"[OffMeshConnection] Thunder Bluff > Wait Elevator\"); while (Conditions.InGameAndConnectedAndProductStartedNotInPause) { var elevator = ObjectManager.GetWoWGameObjectByEntry(4170).OrderBy(o => o.GetDistance).FirstOrDefault(); if (elevator != null && elevator.IsValid && elevator.Position.Z >= 130) break; Thread.Sleep(10); }"},
                new Vector3(-1280.236, 196.0687, 68.55207) {Action = "c#: Logging.WriteNavigator(\"[OffMeshConnection] Thunder Bluff > Wait to leave Elevator\"); while (Conditions.InGameAndConnectedAndProductStartedNotInPause) { var elevator = ObjectManager.GetWoWGameObjectByEntry(4170).OrderBy(o => o.GetDistance).FirstOrDefault(); if (elevator != null && elevator.IsValid && elevator.Position.Z <= 69) break; Thread.Sleep(10); }"},
            }, (int)ContinentId.Kalimdor),

 

Matenia

Elite user
(edited)

How can I know which coordinate the path ends by? The problem with the barrens elevator is that wRobot can make a path. But the path goes through a bunch of highlevel elite. So from what I understand, it will never even load OffMeshConnection.
Same problem for Darnassus portal and ships, the bot will just try to swim or walk up a wall. Doesn't realize there is no path available. 

Edited by Matenia

Yes if WRobot think than he can make path you cannot use offmeshconnection.

I quickly looked your code, try to use codes like (before to exit "MovementEventsOnOnMovementPulse" if you have used elevator)

GoToTask.ToPosition(points.Last());
cancelable.Cancel = true;

or

var p = PathFinder.FindPath(points.Last());
points.Clear();
points.AddRange(p);

I'll try to go to the barrens elevator 

Matenia

Elite user

I updated my plugin, hopefully this resolves it.
Canceling the event alone seems to be enough.

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.