Jump to content

WebWalking Error


Recommended Posts

Posted

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 >:|

 

 

Posted (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 by Elm lane mob
  • Like 1
Posted

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.

Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...