1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Bug Failed to resolve a refactored name for game class atc

Discussion in 'Developer Support' started by itsghostgaming, Dec 4, 2016.

  1. itsghostgaming

    Joined:
    May 4, 2015
    Messages:
    66
    Likes Received:
    10
    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 (Text):
    1. if (!Inventory.contains(UNTANNED_HIDE)) {
    2.     withdrawDragonhides();
    3. }
    4. private void withdrawDragonhides() {
    5.     System.out.println("Withdrawing untanned hides...");
    6.     if (!Bank.isOpen()) {
    7.         openBank();
    8.     }
    9.     if (Bank.getQuantity(PORTABLE_NAME) > 0) {
    10.         Bank.withdraw(UNTANNED_HIDE, 28);
    11.         while (Bank.isOpen()) {
    12.             Bank.close();
    13.         }
    14.     }
    15. }
    16. private void openBank() {    // Loops until the bank is open
    17.     System.out.println("Attempting to open bank...");
    18.     while (!Bank.isOpen()) {
    19.         Bank.open();
    20.     }
    21. }

    The sections in the code above are in three separate methods.
     
    Savior likes this.
  2. Derk

    Derk 12 year old normie

    Joined:
    Jan 8, 2015
    Messages:
    2,766
    Likes Received:
    1,339
    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.
     
  3. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Shouldn't crash it in the next release.
     

Share This Page

Loading...