Mumble Posted January 10, 2017 Share Posted January 10, 2017 I was looking over Pandemic's guide on a simple mining script http://osbot.org/forum/topic/29924-pandemics-scripting-series-part-ii-path-walking-and-simple-banking-updated-for-osbot-2/?hl=banking And it was all making sense to me except when it had finally come together I had some errors, import org.osbot.rs07.utility.Area; This line was couldn't be resolved, this ended up effecting any othertime when the word Area was used. The guide was written in 2014 and OSBot has been updated since then, I'm not sure how to use the Area function. Thanks for any help you can provide! Quote Link to comment Share on other sites More sharing options...
Quotations Posted January 10, 2017 Share Posted January 10, 2017 change it to import org.osbot.rs07.api.map.Area; you establish/declare an area like so :: private Area lumbridgeGoblins = new Area(3244, 3243, 3249, 3241); then i would use webwalking to walk to ur area seeing as it auto handles doors/steps/etc getWalking().webWalk(lumbridgeGoblins); 1 Quote Link to comment Share on other sites More sharing options...
Mumble Posted January 10, 2017 Author Share Posted January 10, 2017 change it to import org.osbot.rs07.api.map.Area; you establish/declare an area like so :: private Area lumbridgeGoblins = new Area(3244, 3243, 3249, 3241); then i would use webwalking to walk to ur area seeing as it auto handles doors/steps/etc getWalking().webWalk(lumbridgeGoblins); So would all of the walking using positions be unnecessary since webwalking would just handle that? Or how does webwalking specifically work? Quote Link to comment Share on other sites More sharing options...
Quotations Posted January 10, 2017 Share Posted January 10, 2017 So would all of the walking using positions be unnecessary since webwalking would just handle that? Or how does webwalking specifically work? it works just as i showed you. don't need each position that you want to click and walk. just need the end area/position. walks there from wherever you are 1 Quote Link to comment Share on other sites More sharing options...
Ayylmao420 Posted January 10, 2017 Share Posted January 10, 2017 (edited) import org.osbot.rs07.api.map.Area; Area area= new Area(x1, y1, x2, y2);getWalking().webWalk(area); Edited January 10, 2017 by Ayylmao420 Quote Link to comment Share on other sites More sharing options...
Mumble Posted January 10, 2017 Author Share Posted January 10, 2017 it works just as i showed you. don't need each position that you want to click and walk. just need the end area/position. walks there from wherever you are Thanks so much man! I thought I was going to need to walk between every single area that I needed to go! Quote Link to comment Share on other sites More sharing options...
Chris Posted January 10, 2017 Share Posted January 10, 2017 So would all of the walking using positions be unnecessary since webwalking would just handle that? Or how does webwalking specifically work? walk.walkPath() - walks a given path you set. walk.walk() - walks to a local tile that is on the minimap or gamescreen. Usually for short distances only. walking.webwalk() - creates its own advanced path to a given tile. It can use boatLinks, questLinks, and more. Mainly used for long distances or walking with a lot of obstacles. -Chris 2 Quote Link to comment Share on other sites More sharing options...