Thanks very much. As far as I can see this does not yet allow routefinding across the world, routes returned are null...
Position catherby = new Position(2808, 3439, 0);
Position varrock = new Position(3253, 3420, 0);
INodeRouteFinder router = INodeRouteFinder.createSimple();
List<IDirection> route = router.route(varrock, catherby);
System.out.println(route); // returns null
Am I doing something wrong, or is this stuff just too immature at the moment? I know these classes are currently undergoing development... I see the createAdvanced() throws RuntimeException: not implemented yet.
Just to be clear, I require a routing function that can return a route if there exists one purely on foot, otherwise null.
For example:
RouteFrom(Lumbridge, Ardougne) -> returns a valid route walking via white wolf mountain.
RouteFrom(Varrock, Varrock Sewers) -> returns null since there is no way to walk from A to B, a "teleport" (ladder) must be used.
Ideally this class would work with or without an active client.
What I described appears to be the desired functionality of NodeRouteFinder in 2.4.29, however I assume there were issues that meant it has been removed as opposed to simply being marked deprecated...