ECH0 Posted June 7, 2019 Share Posted June 7, 2019 Hello, I'm trying to make a bot to walk to a position, which is on the second floor on the map, but with the webWalk it doesn't find the route. Any help? Code snippet to walk there (it first walks to an area nearby, then attempts walk ladder up, but it doesnt move from that area and in debugger it writes, that no rout found to destination) else if(chaosTemplate.contains(myPlayer())) { getWalking().webWalk(stealerPosition); } Quote Link to comment Share on other sites More sharing options...
ECH0 Posted June 7, 2019 Author Share Posted June 7, 2019 Fixed it with this: else if(chaosTemplate.contains(myPlayer())) { RS2Object ladder = objects.closest("Ladder"); ladder.interact("Climb"); } Quote Link to comment Share on other sites More sharing options...
Gunman Posted June 8, 2019 Share Posted June 8, 2019 3 hours ago, ECH0 said: Hello, I'm trying to make a bot to walk to a position, which is on the second floor on the map, but with the webWalk it doesn't find the route. Any help? Code snippet to walk there (it first walks to an area nearby, then attempts walk ladder up, but it doesnt move from that area and in debugger it writes, that no rout found to destination) else if(chaosTemplate.contains(myPlayer())) { getWalking().webWalk(stealerPosition); } 2 hours ago, ECH0 said: Fixed it with this: else if(chaosTemplate.contains(myPlayer())) { RS2Object ladder = objects.closest("Ladder"); ladder.interact("Climb"); } That's because the second floor of the chaos temple is not in webwalking. I learned this when I made a telegrabber. Quote Link to comment Share on other sites More sharing options...
FuryShark Posted June 8, 2019 Share Posted June 8, 2019 4 hours ago, ECH0 said: Fixed it with this: else if(chaosTemplate.contains(myPlayer())) { RS2Object ladder = objects.closest("Ladder"); ladder.interact("Climb"); } add a if(ladder != null) { interact } 1 Quote Link to comment Share on other sites More sharing options...
Juggles Posted June 8, 2019 Share Posted June 8, 2019 null check and add a sleep condition Quote Link to comment Share on other sites More sharing options...
ECH0 Posted June 8, 2019 Author Share Posted June 8, 2019 9 hours ago, FuryShark said: add a if(ladder != null) { interact } Done, thanks Quote Link to comment Share on other sites More sharing options...