imancity Posted June 9, 2016 Share Posted June 9, 2016 Has it been removed in .62? If so, what work-around is there 1 Quote Link to comment Share on other sites More sharing options...
Chris Posted June 9, 2016 Share Posted June 9, 2016 (edited) Removed. Edited June 9, 2016 by Christopher 1 Quote Link to comment Share on other sites More sharing options...
Alek Posted June 9, 2016 Share Posted June 9, 2016 What do you need INodeRouteFinder for? @Christopher - That's a really bad way to use WebWalkEvent. 1 Quote Link to comment Share on other sites More sharing options...
Chris Posted June 9, 2016 Share Posted June 9, 2016 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); Quote Link to comment Share on other sites More sharing options...
imancity Posted June 9, 2016 Author Share Posted June 9, 2016 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. Quote Link to comment Share on other sites More sharing options...
Chris Posted June 9, 2016 Share Posted June 9, 2016 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. 1 Quote Link to comment Share on other sites More sharing options...
Alek Posted June 9, 2016 Share Posted June 9, 2016 @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. 2 Quote Link to comment Share on other sites More sharing options...
Chris Posted June 9, 2016 Share Posted June 9, 2016 @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. Quote Link to comment Share on other sites More sharing options...
Explv Posted June 9, 2016 Share Posted June 9, 2016 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. 1 Quote Link to comment Share on other sites More sharing options...