- Thread Author
- #1
For some reason, my bot sometimes clicks on Taverly instead of Burthope. It doesn't fix itself, until I do something, like move my mouse. This happens after every hour or so, random times, but not often (I caught both my accounts doing this a few times already).
My code:
My code:
Code:
@Override
public void execute() {
if (Lodestone.BURTHORPE.teleport()) {
Npc gnomeBanker = Npcs.newQuery().names("Gnome Banker").actions("Bank").results().nearest();
if (gnomeBanker != null) {
BresenhamPath lodestoneToBank = BresenhamPath.buildTo(gnomeBanker.getPosition().randomize(2, 2));
if (lodestoneToBank != null) {
lodestoneToBank.step(false);
}
}
}
}