- Joined
- Nov 18, 2013
- Messages
- 126
- Thread Author
- #1
Hi,
I'm trying to create a path to a tile using webwalking. When I attempt to create a path, this is the error I get.
Here's my code
I'm new to RuneMate, coming from a different botting site and haven't written bots in almost 2 years now. Any help is appreciated.
I'm trying to create a path to a tile using webwalking. When I attempt to create a path, this is the error I get.
Code:
java.lang.ArrayIndexOutOfBoundsException: 1
at nul.iIiIIIiiIiII.short(hob:199)
at nul.iIiIIIiiIiII.void(hob:174)
at nul.iIIiiIiiIIIi.void(veb:82)
at nul.iIiIIIiiIiII.void(hob:81)
at nul.iIIIIIiiiiIi.void(whb:216)
at nul.iIiIIIiiiIIi.void(edb:153)
at com.runemate.game.api.hybrid.location.navigation.web.WebPathBuilder.build(sya:138)
at com.runemate.game.api.hybrid.location.navigation.web.WebPathBuilder.buildTo(sya:98)
at com.arckos.bots.spiderspawner.main.webWalkTo(main.java:292)
at com.arckos.bots.spiderspawner.main.onLoop(main.java:100)
at com.runemate.game.api.script.framework.LoopingBot.run(tbb:180)
at com.runemate.game.api.script.framework.AbstractBot.start(sab:208)
at nul.iIIiIIiIIIii.run(zlb:28)
Here's my code
Code:
private void webWalkTo(Coordinate destination) {
final WebPath path = Traversal.getDefaultWeb().getPathBuilder().buildTo(destination);
if (path != null) {
path.step();
}
}
I'm new to RuneMate, coming from a different botting site and haven't written bots in almost 2 years now. Any help is appreciated.