- Joined
- Dec 16, 2017
- Messages
- 3
- Thread Author
- #1
RuneMate Version : Windows 10 x64bit Developer Mode running IntelliJ
Affected Games : OSRS
Code Used:
Issue seems to be that the WebPath is not handling different planes when trying to move from
Takes arguments, no return errors, simply Path is null! in debug.
Happens from top of lumbridge bank trying to go to the cooking range below. Will traverse UP the stairs, will not go back down.
@kazemanie I have been informed this was incorrectly posted please Lock/remove
Request - [Megathread] Request Additions/Changes to Web Here
Affected Games : OSRS
Code Used:
Code:
public static void traverse(Area destinationArea)
{
Path newPath = Traversal.getDefaultWeb().getPathBuilder().buildTo(destinationArea.getRandomCoordinate());
if(newPath != null)
{
if(!newPath.getNext().getPosition().isVisible())
{
Camera.concurrentlyTurnTo(newPath.getNext());
System.out.println("Changing Camera");
}
if(newPath.getNext().getPosition().isVisible())
{
System.out.println("Path is visible! Moving!");
newPath.step();
Execution.delay(Random.nextInt(200,600));
}
}
else
{
System.out.println("Path is null!");
}
}
}
Issue seems to be that the WebPath is not handling different planes when trying to move from
Code:
private Area bankArea = new Area.Rectangular(new Coordinate(3207, 3220, 2), new Coordinate(3210, 3218, 2));
private Area cookingArea = new Area.Rectangular(new Coordinate(3210, 3216, 0), new Coordinate(3211, 3213, 0));
Takes arguments, no return errors, simply Path is null! in debug.
Happens from top of lumbridge bank trying to go to the cooking range below. Will traverse UP the stairs, will not go back down.
@kazemanie I have been informed this was incorrectly posted please Lock/remove
Request - [Megathread] Request Additions/Changes to Web Here