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 Failed to resolve a refactored name for game class atc

Joined
May 4, 2015
Messages
66
I am receiving an error when attempting to open the bank chest for the second time. It seems to work the first time but throws the following error when attempting it again.

[SDK Debug] Failed to resolve a refactored name for the game class atc
[SDK Debug] Unidentified entity of type atc encountered on rs3 gamepack a956a63506378d2d34a6e2fc1cd22b9d4fd0ebfd.
Code:
if (!Inventory.contains(UNTANNED_HIDE)) {
    withdrawDragonhides();
}
private void withdrawDragonhides() {
    System.out.println("Withdrawing untanned hides...");
    if (!Bank.isOpen()) {
        openBank();
    }
    if (Bank.getQuantity(PORTABLE_NAME) > 0) {
        Bank.withdraw(UNTANNED_HIDE, 28);
        while (Bank.isOpen()) {
            Bank.close();
        }
    }
}
private void openBank() {    // Loops until the bank is open
    System.out.println("Attempting to open bank...");
    while (!Bank.isOpen()) {
        Bank.open();
    }
}

The sections in the code above are in three separate methods.
 
12 year old normie
Joined
Jan 8, 2015
Messages
2,768
Not regarding the issue, but please don't use while loops. The different frameworks for bots already have some sort of loop implemented. Whether that be looping bot, task bot or tree bot.
 
Top