Jump to content

Trouble with WebWalking


Recommended Posts

Posted

Hi im having problems with webwalking. Im making a script that kills hobgoblins, loots, then banks and returns. The code im using for the walking is here ...

	case WALKTOBANK:
    			if(!faladorBank.contains(myPlayer()))
    				getWalking().webWalk(cropField, airAltar, faladorBank);

    	case WALKTOHOBS:
    			if(!hobgoblinSpawn.contains(myPlayer()))
    				getWalking().webWalk(faladorGuards, airAltar, hobgoblinSpawn);

I created some other areas to guide the walking as it heads to and from the hobgoblins/bank, as when I don't do that it takes bad routes/doesn't reach the area. 

 

My problem is that when it gets to a location in the parameters (usually first or second) it will stop walking. In the logger it says "We have reached the final destination" over and over.

 

Any help?  thanks

Posted

Hi im having problems with webwalking. Im making a script that kills hobgoblins, loots, then banks and returns. The code im using for the walking is here ...

	case WALKTOBANK:
    			if(!faladorBank.contains(myPlayer()))
    				getWalking().webWalk(cropField, airAltar, faladorBank);

    	case WALKTOHOBS:
    			if(!hobgoblinSpawn.contains(myPlayer()))
    				getWalking().webWalk(faladorGuards, airAltar, hobgoblinSpawn);

I created some other areas to guide the walking as it heads to and from the hobgoblins/bank, as when I don't do that it takes bad routes/doesn't reach the area. 

 

My problem is that when it gets to a location in the parameters (usually first or second) it will stop walking. In the logger it says "We have reached the final destination" over and over.

 

Any help?  thanks

 

If you input 3 positions it will just walk to the closest possible.

You just have to input the end position

  • Like 1

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