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 Checking if items are within the bank keeps breaking

Joined
Dec 31, 2015
Messages
602
As of one of the most recent patches I know @Cloud and @Party did some work on making the Bank work properly for empty banks.

Code:
int quantity = Bank.getQuantity(coal);
if (Bank.isOpen() && quantity <= 28 && !Bank.newQuery().results().isEmpty()) {
    bot().getLogger().info("Found " + quantity + " Coal, stopping!");
    bot().setStopReason("Ran out of Coal");
    bot().setShutdown(true);
    return false;
}

On various occasions in Blast Furnace this will result in my bot stopping when its not out of coal.

This is a big problem, and writing failsafes sure is good practice, but this is still unexpected behaviour. This always used to work and I've had absolutely no issue with this up until around 1-1/2 weeks ago.
 
Joined
Apr 21, 2015
Messages
389
Posting here again because the issue still seems to be happening. The issue seems to be most common when using presets. Just a heads up.

Sent from my SM-G935T using Tapatalk
 
Top