Welcome!

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

Sign up now!

Bug Lodestone problem?

Joined
Mar 6, 2017
Messages
52
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).

4b96be0db5ee682c9aeb56d7f005b4d3.png


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);
            }
        }
    }
}
 
Top