Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Tutorial Webwalking

Joined
Nov 15, 2013
Messages
339
I saw some one asking how does one use web walking with RuneMate, well, its simple!
Code:
Traversal.getDefaultWeb().getPathBuilder().buildTo(new Coordinate(tile_x, tile_y))
This piece of code returns a WebPath which is simple to traverse, all you need to do is invoke the method called 'step'.
Code:
final WebPath path = Traversal.getDefaultWeb().getPathBuilder().buildTo(new Coordinate(tile_x, tile_y));
        path.step(true);
 
Author of MaxiBots
Joined
Dec 3, 2013
Messages
7,032
Just a quick note, this is using the built in web. You can also build your own web and use that if you wish.
Nice quick tutorial though :)
 
Top