September 22, 20169 yr 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 >:|
September 22, 20169 yr Area dest = new Area(x1,y1,x2,y2); getWalking.webWalk(dest.getRandomPosition());
September 22, 20169 yr 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, 20169 yr by Elm lane mob
September 23, 20169 yr 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.
September 23, 20169 yr Author 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.
September 23, 20169 yr 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.
September 23, 20169 yr 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, 20169 yr by Trees
Create an account or sign in to comment