Skip to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

depositAllExcept(java.lang.String... excludedItems)

Featured Replies

client.getBank().depositAllExcept("Thread", "Needle", "Item im crafting");  Still works in my script. It does fail sometimes, so I have a check to make sure it worked and I will just recall it till it deposits them all, but I haven't noticed a problem with it depositing the items I told it. I have had someone else report this happeneing with my script but I have done 5k+ crafts without it depositing the thread or needle.

 

Edited by Deck

  • Author

client.getBank().depositAllExcept("Thread", "Needle", "Item im crafting");  Still works in my script. It does fail sometimes, so I have a check to make sure it worked and I will just recall it till it deposits them all, but I haven't noticed a problem with it depositing the items I told it. I have had someone else report this happeneing with my script but I have done 5k+ crafts without it depositing the thread or needle.

I am starting to notice it sometimes deposits all and sometimes deposits all but the excluded.

Just wondering, are you trying to close the bank using client.getBank().close();  then clicking the items it is not supposed to deposit? I had to write my own close bank method, because it would sometimes fail and then the client.getBank().isOpen(); would tell me the bank was closed. so it would click the thread and needle depositing them. I haven't tried the banks close method in about a week so it may be fixed, but I know I was having trouble with stuff getting deposited till I wrote my own method to close the bank.

  • Author

Just wondering, are you trying to close the bank using client.getBank().close();  then clicking the items it is not supposed to deposit? I had to write my own close bank method, because it would sometimes fail and then the client.getBank().isOpen(); would tell me the bank was closed. so it would click the thread and needle depositing them. I haven't tried the banks close method in about a week so it may be fixed, but I know I was having trouble with stuff getting deposited till I wrote my own method to close the bank.

I use close() after I am done depositing and withdrawing. close() seems to work fine for me.

  • 4 weeks later...

People using my scripts are reporting the same thing.Sometimes it works and sometimes it doesn't.

  • Author

You can easily create your own method. smile.png

I know you can, but a broken method in the API is just ugly.

 

People using my scripts are reporting the same thing.Sometimes it works and sometimes it doesn't.

I hope @Laz gets to this.

client.getBank().depositAllExcept("Thread", "Needle", "Item im crafting");  Still works in my script. It does fail sometimes, so I have a check to make sure it worked and I will just recall it till it deposits them all, but I haven't noticed a problem with it depositing the items I told it. I have had someone else report this happeneing with my script but I have done 5k+ crafts without it depositing the thread or needle.

Yeah same here for a few of mine. It seems to only happen when you use multiple items. I also used a simple failsafe to withdraw the items that are needed if they aren't in the inventory.

My banking method right now is about 100 lines long. I loaded it with failsafes, now my script runs foreverr. :D

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.