Joseph Posted June 29, 2014 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
Botre Posted June 29, 2014 Posted June 29, 2014 You should consider sending these fixes to the sdn managers ;) 1
Joseph Posted June 29, 2014 Author 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.
Botre Posted July 4, 2014 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
Joseph Posted July 24, 2014 Author Posted July 24, 2014 thats alot the guy above me ^ mine is pretty simple