Jump to content

WebWalking Error


chwyn

Recommended Posts

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

 

 

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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