June 7, 20196 yr 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); }
June 7, 20196 yr Author Fixed it with this: else if(chaosTemplate.contains(myPlayer())) { RS2Object ladder = objects.closest("Ladder"); ladder.interact("Climb"); }
June 8, 20196 yr 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.
June 8, 20196 yr 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 }
June 8, 20196 yr Author 9 hours ago, FuryShark said: add a if(ladder != null) { interact } Done, thanks
Create an account or sign in to comment