Joseph Posted June 29, 2014 Share Posted June 29, 2014 (edited) created my own method, because the osbot api once is bugged. public boolean bankWithdrawModeAsItem() { return script.configs.get(115) == 0; } public boolean setBankWithdrawMode(boolean asItem) { if (script.bank.isOpen()) { int parent = 12; int child = asItem ? 19: 21; if (script.interfaces.getChild(parent, child) != null) return script.interfaces.getChild(parent, child).interact("item", "note"); } return false; } Edited June 29, 2014 by josedpay 1 Link to comment Share on other sites More sharing options...
Botre Posted June 29, 2014 Share Posted June 29, 2014 You should consider sending these fixes to the sdn managers ;) 1 Link to comment Share on other sites More sharing options...
Joseph Posted June 29, 2014 Author Share Posted June 29, 2014 You should consider sending these fixes to the sdn managers i mean i like to post them up so everybody could see it. Maybe even for one of the managers @Ericthecmh to see them. Link to comment Share on other sites More sharing options...
Botre Posted July 4, 2014 Share Posted July 4, 2014 Slightly modded this (ChildInterface is a custom class): public static boolean setBankWithdrawMode(Script script, boolean asItem) throws InterruptedException { ChildInterface modeInterface = new ChildInterface(script, 12, asItem ? 19 : 21); if (modeInterface.exists() && modeInterface.interact(null)) { MethodProvider.sleep(MethodProvider.random(300, 600)); return asItem ? BankingMethods.isBankWithdrawModeItem(script) : !BankingMethods.isBankWithdrawModeItem(script); } return false; } 1 Link to comment Share on other sites More sharing options...
ProtectedForum Posted July 24, 2014 Share Posted July 24, 2014 thats alot the guy above me ^ Link to comment Share on other sites More sharing options...
Joseph Posted July 24, 2014 Author Share Posted July 24, 2014 thats alot the guy above me ^ mine is pretty simple Link to comment Share on other sites More sharing options...