Jump to content

Lecune

Members
  • Posts

    2
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Lecune

  1. hello i kinda wrote whole script over so i can learn from it but my problem is now that it doesnt run to the bank but the currentState says it is at that state this is what i got: if (getInventory().isFull()) { if (bankTile.distance(myPlayer().getPosition()) <= 2) { currentState = "Banking"; hb(); } else { currentState = "Running to Bank"; getWalking().webWalk(bankTile); } public void hb() throws InterruptedException { if (getBank().getDepositBox().open()) { Sleep.sleepUntil(() -> getBank().getDepositBox().isOpen(), 9000); if (getBank().getDepositBox().isOpen()) { getBank().getDepositBox().depositAll(); if (getBank().getDepositBox().close()) { Sleep.sleepUntil(() -> !getBank().getDepositBox().isOpen(), 8000); } } } } its the Deposit box at BA..
×
×
  • Create New...