June 9, 20169 yr What do you need INodeRouteFinder for? @Christopher - That's a really bad way to use WebWalkEvent.
June 9, 20169 yr What do you need INodeRouteFinder for? @Christopher - That's a really bad way to use WebWalkEvent. Thanks for letting me know WebWalkEvent event = new WebWalkEvent(position); PathPreferenceProfile ppp = new PathPreferenceProfile(); ppp.setAllowTeleports(true); event.setPathPreferenceProfile(ppp); event.prefetchRequirements(bot.getMethods()); execute(event);
June 9, 20169 yr Author What do you need INodeRouteFinder for? @Christopher - That's a really bad way to use WebWalkEvent. Explv helped me with my looter and used it to generate new random paths to look for loot on the ground if none was nearby I believe.
June 9, 20169 yr Explv helped me with my looter and used it to generate new random paths to look for loot on the ground if none was nearby I believe. INodeRouteFinder is for internal client use now.
June 9, 20169 yr @Christopher - It was bad because of the way web walking is designed. 1. There are internal distance checks to the destination which are NOT arbitrary numbers, but based on the pathing algorithm. 2. If he's using an area as the destination, I wrote it so it returns if the player is in the area... not checking distance to some random position. 3. It's kind of spaghetti, not really checking and using events properly. Not trying to bash, hopefully that clears some things up.
June 9, 20169 yr @Christopher - It was bad because of the way web walking is designed. 1. There are internal distance checks to the destination which are NOT arbitrary numbers, but based on the pathing algorithm. 2. If he's using an area as the destination, I wrote it so it returns if the player is in the area... not checking distance to some random position. 3. It's kind of spaghetti, not really checking and using events properly. Not trying to bash, hopefully that clears some things up. I can take anything you throw at me. I learn by being bashed! Thanks for the helpful information.
June 9, 20169 yr Explv helped me with my looter and used it to generate new random paths to look for loot on the ground if none was nearby I believe. You can still use WebWalkEvent. You just no longer need INodeRouteFinder. So just remove that from your code.
Create an account or sign in to comment