Aeonx Posted February 11, 2016 Share Posted February 11, 2016 Hello, I've used webwalking to walk into a specific area. While it says it should come to the nearest tile, it always comes to the same tile in that area, clicking on it multiple time, making it look very bot like. Would anyone know what's causing that? I've used positions then, shuffled them, but it says that's deprecated. Any solutions would be appreciated, thanks! Quote Link to comment Share on other sites More sharing options...
BloodRush20 Posted February 12, 2016 Share Posted February 12, 2016 From what I can see the spam clicking can't be helped unless you create you own walking assistant class and adding in rules to prevent such actions. Quote Link to comment Share on other sites More sharing options...
sonda Posted February 12, 2016 Share Posted February 12, 2016 Are you using one end destination? Or multiple coordinates. Quote Link to comment Share on other sites More sharing options...
BloodRush20 Posted February 12, 2016 Share Posted February 12, 2016 I also remembered you could get the position everytime you call the method and randomly add it to the coordinate number. You must be aware this wont fix the spam clicking the last tile. Quote Link to comment Share on other sites More sharing options...
lisabe96 Posted February 12, 2016 Share Posted February 12, 2016 Are you using one end destination? Or multiple coordinates. I have this issue with walking to an area, always takes the same tile and spams it Quote Link to comment Share on other sites More sharing options...
Reflexd Posted February 12, 2016 Share Posted February 12, 2016 You can chuck getRandomPosition onto the end of your area like this: getWalking().webWalk(yourArea.getRandomPosition()) It will randomize the position it ends up in, but it still spam clicks the last tile. Quote Link to comment Share on other sites More sharing options...
lisabe96 Posted February 12, 2016 Share Posted February 12, 2016 You can chuck getRandomPosition onto the end of your area like this: getWalking().webWalk(yourArea.getRandomPosition()) It will randomize the position it ends up in, but it still spam clicks the last tile. And what if the tile is not walkable, that would result in errors because there are no other tiles it can use. Quote Link to comment Share on other sites More sharing options...
BloodRush20 Posted February 12, 2016 Share Posted February 12, 2016 And what if the tile is not walkable, that would result in errors because there are no other tiles it can use. If I understand webwalking correctly, which i'm not 100% on I've only glanced over it. Webwalking will simply find the closest way to reach that tile. maybe the next walk-able tile closest to your destination. Quote Link to comment Share on other sites More sharing options...
lisabe96 Posted February 12, 2016 Share Posted February 12, 2016 If I understand webwalking correctly, which i'm not 100% on I've only glanced over it. Webwalking will simply find the closest way to reach that tile. maybe the next walk-able tile closest to your destination. I've had the issue of getting errors because my tile was not walkable. I think it was MGI that told me that I have to define an area or multiple positions. If it takes a random position within that area and can't walk to it it will take the closest one that is walkable. But this was a few updates ago, maybe this has been updated already Quote Link to comment Share on other sites More sharing options...