Stormillidan Posted April 22, 2013 Share Posted April 22, 2013 (edited) How do i make the bot deposit everything EXCEPT 1 item? By that i mean a specific item(im trying to make a WC bot , so how to make it deposit everything except the hatchet?) Edited April 22, 2013 by Stormillidan Link to comment Share on other sites More sharing options...
Xyssto Posted April 22, 2013 Share Posted April 22, 2013 client.getBank().depositAllExcept(item_ids); Link to comment Share on other sites More sharing options...
beef Posted April 22, 2013 Share Posted April 22, 2013 Well everything besides the hatchet would all be the same item right? Maybe you could open the bank and do something like: selectInventoryOption(client.getInventory().getSlotForId(id_of_log), "Depost-all"); Link to comment Share on other sites More sharing options...
Stormillidan Posted April 22, 2013 Author Share Posted April 22, 2013 client.getBank().depositAllExcept(item_ids); Need to find out why after it banks everything , it keeps the hatchet but it doesnt go in the next state Well everything besides the hatchet would all be the same item right? Maybe you could open the bank and do something like: selectInventoryOption(client.getInventory().getSlotForId(id_of_log), "Depost-all"); Good replacement for now , tho i would want it to be a deposit all - 1 item,cause if the bot would accidentally chop/pickup/etc other items i would have to be there to manually store the items. Link to comment Share on other sites More sharing options...
Krulvis Posted April 22, 2013 Share Posted April 22, 2013 Or you could make an array of the items you do not want to deposit (all the different hatchets) and make something like this: int slot = client.getInventory().getFirstNonEmptySlot(items);selectInventoryOption(slot, "Store All"); Link to comment Share on other sites More sharing options...