nickeb0i Posted January 20, 2016 Posted January 20, 2016 I get this error [iNFO][bot #1][01/20 07:40:25 em]: WebWalkingEvent; Could not execute! next = Walk => [x=3013, y=3332, z=0]; ready = { [] } when trying to walk this area Area(3022, 3314, 3018, 3318)
Acerd Posted January 20, 2016 Posted January 20, 2016 I don't think you can use a WebWalkingEvent for an area?Unless you did WebWalkingEvent e = new WebWalkingEvent(area.getRandomPosition());
Precise Posted January 20, 2016 Posted January 20, 2016 (edited) I don't think you can use a WebWalkingEvent for an area? Unless you did WebWalkingEvent e = new WebWalkingEvent(area.getRandomPosition()); Not right now, but once the dev build with the latest webwalker is out you'll be able to, it is recommended too. and OP: could you post the code you're using? are you sure that tile is walkable/reachable? Edited January 20, 2016 by Precise
Eagle Scripts Posted January 20, 2016 Posted January 20, 2016 I don't think you can use a WebWalkingEvent for an area? Unless you did WebWalkingEvent e = new WebWalkingEvent(area.getRandomPosition()); I get this error [iNFO][bot #1][01/20 07:40:25 em]: WebWalkingEvent; Could not execute! next = Walk => [x=3013, y=3332, z=0]; ready = { [] } when trying to walk this area Area(3022, 3314, 3018, 3318) walking.webWalk(ASSAREA.getRandomPosition()); should work
nickeb0i Posted January 20, 2016 Author Posted January 20, 2016 (edited) I'm using getWalking().webWalk(WCAREA1.getRandomPosition()); Edited January 20, 2016 by nickeb0i
Developer MGI Posted January 20, 2016 Developer Posted January 20, 2016 I'm using getWalking().webWalk(WCAREA1.getRandomPosition()); do not use .getRandomPosition() because it might return a tile that is unreachable. With new dev build you can and should use http://osbot.org/api/org/osbot/rs07/api/Walking.html#webWalk-org.osbot.rs07.api.map.Area...- 2
nickeb0i Posted January 20, 2016 Author Posted January 20, 2016 do not use .getRandomPosition() because it might return a tile that is unreachable. With new dev build you can and should use http://osbot.org/api/org/osbot/rs07/api/Walking.html#webWalk-org.osbot.rs07.api.map.Area...- Alright, thanks MGI.
Alek Posted January 20, 2016 Posted January 20, 2016 We're going to be releasing a new stable version soon. As MGI pointed out above, start switching over to: Walking.webWalk(Area) 1