Jump to content
Tanks

Trouble with WebWalking

Recommended Posts

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

Link to comment
Share on other sites

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

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