chwyn Posted September 22, 2016 Share Posted September 22, 2016 Hey guys Im having trouble with webWalking in my script. It stopped working after the update this morning. I suspect its just broken atm. this portion of code simply runs north. the position is available to walk to aswell. Position dest = new Position(3102+random(-4,5),3543+random(-3,9),0); log("walking up"); //webwalking not working for position getWalking().webWalk(dest); The script will click the minimap to run up then stop working. accompanied by this error: [iNFO][bot #1][09/22 01:49:42 PM]: walking up[ERROR][bot #1][09/22 01:49:49 PM]: Error in bot executor!java.lang.AbstractMethodError: client.getDestinationX()I at org.osbot.rs07.api.Map.getDestination(sg:183) at org.osbot.rs07.event.WebWalkEvent$2.condition(vo:518) at org.osbot.rs07.utility.ConditionalSleep.sleep(if:87) at org.osbot.rs07.event.WebWalkEvent.execute(vo:529) at org.osbot.rs07.event.EventExecutor$2.run(wm:106) at org.osbot.rs07.event.EventExecutor.execute(wm:59) at org.osbot.rs07.script.MethodProvider.execute(qg:495) at org.osbot.rs07.api.Walking.webWalk(mh:211) at NattyCraft.inwild(NattyCraft.java:137) at NattyCraft.onLoop(NattyCraft.java:115) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ao:83) at java.lang.Thread.run(Unknown Source) line 137: getWalking().webWalk(dest); I really hope client.getDestinationX()I <- thats not a random I that got put in there >:| Quote Link to comment Share on other sites More sharing options...
Elm lane mob Posted September 22, 2016 Share Posted September 22, 2016 same here :[ Quote Link to comment Share on other sites More sharing options...
chwyn Posted September 22, 2016 Author Share Posted September 22, 2016 same here :[ okay its just broken then. Quote Link to comment Share on other sites More sharing options...
LoudPacks Posted September 22, 2016 Share Posted September 22, 2016 Area dest = new Area(x1,y1,x2,y2); getWalking.webWalk(dest.getRandomPosition()); Quote Link to comment Share on other sites More sharing options...
Elm lane mob Posted September 22, 2016 Share Posted September 22, 2016 (edited) okay its just broken then. yea i seen someone else post something about this and they said we have to wait for osbot update or something so its time to okay its just broken then. yea i seen someone else post something about this and they said we have to wait for osbot update or something so its time to play legit Edited September 22, 2016 by Elm lane mob 1 Quote Link to comment Share on other sites More sharing options...
Precise Posted September 22, 2016 Share Posted September 22, 2016 getDestination is broken atm, wait until it is fixed. 3 Quote Link to comment Share on other sites More sharing options...
Alek Posted September 23, 2016 Share Posted September 23, 2016 Well besides web walker not working right now, your code won't work anyways. Position dest = new Position(3102+random(-4,5),3543+random(-3,9),0); If you can't reach that random position, web walking will say that your destination is null. Just use an area. Quote Link to comment Share on other sites More sharing options...
Mr Pro Pop Posted September 23, 2016 Share Posted September 23, 2016 Yh you better use an area! Quote Link to comment Share on other sites More sharing options...
chwyn Posted September 23, 2016 Author Share Posted September 23, 2016 Well besides web walker not working right now, your code won't work anyways. Position dest = new Position(3102+random(-4,5),3543+random(-3,9),0); If you can't reach that random position, web walking will say that your destination is null. Just use an area. Yh you better use an area! All the tiles are free for the specified range, what are the advantages to using an area? Im also using webwalker for the abyss objects because getWalking().walk(obj) wont stop trying to walk once inside the inner ring. I could form an area around the object then walk to that but it seems like the same thing. Quote Link to comment Share on other sites More sharing options...
Trees Posted September 23, 2016 Share Posted September 23, 2016 All the tiles are free for the specified range, what are the advantages to using an area? Im also using webwalker for the abyss objects because getWalking().walk(obj) wont stop trying to walk once inside the inner ring. I could form an area around the object then walk to that but it seems like the same thing. I'm not exactly sure if this is the case, but from what I've noticed if you webwalk to a point directly, it will not always walk to that tile directly and will use a random one around it. So maybe if you use an area it can choose a random point from inside the area instead. Quote Link to comment Share on other sites More sharing options...
Mr Pro Pop Posted September 23, 2016 Share Posted September 23, 2016 Could you please tell me what you are using this on ? Quote Link to comment Share on other sites More sharing options...
Trees Posted September 23, 2016 Share Posted September 23, 2016 (edited) Could you please tell me what you are using this on ? Seems to be a nature runecrafter that uses the abyss as per the error logs. Edited September 23, 2016 by Trees Quote Link to comment Share on other sites More sharing options...