- Thread Author
- #1
I've been having issues getting pathing to work. Building a path using the default web to any coordinate always returns a null value.
What I've tried:
This is what I reproduce my problem with:
Does anyone have any ideas as to why it's not working for me?
What I've tried:
- Reinstalling RuneMate, Java, OSRS, also clearing caches
- Running this on different computer on a different network
- Pathing to a coordinate in different areas (Varrock, Falador, Lumbridge)
- Pathing at different lengths (10 tiles away to a whole town away)
- Running an old bot which used to work years ago, however now cannot find a path.
This is what I reproduce my problem with:
Code:
public class ExampleBot extends LoopingBot {
@Override
public void onLoop() {
Coordinate coordinate = new Coordinate(3235, 3218, 0); // Any reachable coordinate doesn't work
Path path = Traversal.getDefaultWeb().getPathBuilder().buildTo(coordinate);
if (path == null) {
Environment.getLogger().println(BotLogger.Level.DEBUG, "This is always logged.");
} else {
Environment.getLogger().println(BotLogger.Level.DEBUG, "This is never logged.");
}
}
}
Does anyone have any ideas as to why it's not working for me?