futurepasts Posted January 4, 2016 Share Posted January 4, 2016 Hello guys maybe sombody know why my bot isn't walking ? I tried these methods but once my player is in 1st or 2nd or 3rd floor at any buiding any of these methods that i tried isn't working.First i check if my player is in area using if(AREA.contains(myPlayer())){ walking.walk() localWalker.walkPath(); getWalking().webWalk(new Position(x,z,y)); Remember that these methods works if my player isn't in some kind of 2nd or 1st floor it works great when im for example at varrock bank but it stops working once i get into building like that one in quest Romeo and juliet. Hope sombody could help me.Thanks Quote Link to comment Share on other sites More sharing options...
Explv Posted January 4, 2016 Share Posted January 4, 2016 walking.walk() You are passing it a position right walking.walk(position); Quote Link to comment Share on other sites More sharing options...
futurepasts Posted January 4, 2016 Author Share Posted January 4, 2016 Yep Quote Link to comment Share on other sites More sharing options...
ni562 Posted January 4, 2016 Share Posted January 4, 2016 Remember that these methods works if my player isn't in some kind of 2nd or 1st floor When you are no longer on the ground floor, you must do AREA.setPlane(1) or AREA.setPlane(2) or AREA.setPl..... for ever floor that you climb. Hope this helps Quote Link to comment Share on other sites More sharing options...
futurepasts Posted January 4, 2016 Author Share Posted January 4, 2016 (edited) Can u give me example ? can't really understand where that must contain Edited January 4, 2016 by futurepasts Quote Link to comment Share on other sites More sharing options...
Vilius Posted January 4, 2016 Share Posted January 4, 2016 Well, afaik, the webwalker or any walking event doesn't walk between different planes, you need to make your own ladder/stair handler until support is added. Quote Link to comment Share on other sites More sharing options...
ni562 Posted January 4, 2016 Share Posted January 4, 2016 Can u give me example ? can't really understand where that must contain setPlane() is setting the Z axis for you're Area. Here is an example. Ground floor is on plane(0)...Lumbridge bank is 2 Floor's above the ground floor so the plane is 2. final Area LUMBRIDGE_BANK = new Area(3205, 3208, 3216, 3229); LUMBRIDGE_BANK.setPlane(2); if(LUMBRIDGE_BANK.contains(myPlayer())){ log("Player is on the 3rd of lumbridge castle"); } Quote Link to comment Share on other sites More sharing options...
Explv Posted January 9, 2016 Share Posted January 9, 2016 setPlane() is setting the Z axis for you're Area. Here is an example. Ground floor is on plane(0)...Lumbridge bank is 2 Floor's above the ground floor so the plane is 2. final Area LUMBRIDGE_BANK = new Area(3205, 3208, 3216, 3229); LUMBRIDGE_BANK.setPlane(2); if(LUMBRIDGE_BANK.contains(myPlayer())){ log("Player is on the 3rd of lumbridge castle"); } Or you can just do private final Area LUMBRIDGE_BANK = new Area(new Position(3205, 3208, 2), new Position(3216, 3229, 2)); 2 Quote Link to comment Share on other sites More sharing options...