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.

getBank().getWithdrawMode() returns wrong value

Featured Replies

1. OSBot Version 2.4.121

2. The getBank().getWithdrawMode() sometimes return the wrong value, for instance, if I want to withdraw noted items I check if the withdraw mode is WITHDRAW_NOTED and if it isnt, it should select noted form. However, about 30% of the time that I use the script it returns WITHDRAW_ITEM even though it is not.

3. Are you receiving any errors in the client canvas or the logger?  No.

4. How can you replicate the issue?

Just use the method and see if it returns the right value.

5. Has this issue persisted through multiple versions? If so, how far back?

Not sure, recently came back but I have never experienced this problem before.

  • Author

The config that tells us what mode it is is the following: 115. Usually, 4 stand for withdraw item and 5 stands for withdraw noted but apparently, in some cases it returns other values, 0 also stands for withdraw item and 1 stands for withdraw noted. 

On 4/22/2017 at 8:07 AM, Sumo said:

The config that tells us what mode it is is the following: 115. Usually, 4 stand for withdraw item and 5 stands for withdraw noted but apparently, in some cases it returns other values, 0 also stands for withdraw item and 1 stands for withdraw noted. 

So you're saying that config 115 can have the following values:
Withdraw Item: 4, 0
Withdraw Note: 5, 1

I tested and it's working for me, just trying to figure out when this happens. Let me know if I'm understanding what you are saying. 

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.