- Thread Author
- #1
I've been working on a bot for cowhides in the nw of lumby with banking in draynor, All I keep getting is path is null from getlogger.
The only real WebPath I get to work is a leaf that I have set up with the same code above, yet the bot is already within the area and has no problems moving around in the area.
The problem i'm having is area to area, aka loot area to bank and bank to loot area. I sent a message to cloud, but am wondering if anyone else is having this issue and if so might there be a fix?
Code:
// Set's the path coordinate
Area.Rectangular GoOutterBankArea = new Area.Rectangular(new Coordinate(3087, 3263, 0), new Coordinate(3170, 3239, 0));
// Build's the path
WebPath OutterBankPath = Traversal.getDefaultWeb().getPathBuilder().buildTo(GoOutterBankArea.getRandomCoordinate());
if(OutterBankPath != null) { // Make's sure the path is real.
OutterBankPath.step(); // Steps down that path.
Execution.delay(5000,7000);
} else getLogger().warn("Could not generate webPath in GOBA");
The only real WebPath I get to work is a leaf that I have set up with the same code above, yet the bot is already within the area and has no problems moving around in the area.
The problem i'm having is area to area, aka loot area to bank and bank to loot area. I sent a message to cloud, but am wondering if anyone else is having this issue and if so might there be a fix?