Jump 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.

[2.3.77] [Mirror 1.09] Bank.withdraw() not scrolling

Featured Replies

All there is to it. Using bank.withdraw() just hangs with the bank open until I manually scroll to the item.

Edited by Valkyr

I just tried it and it withdrew the requested item fine. Are you still having problems with it?

 

 

 

I am having a lot of trouble with bank.withdraw(item, int)... like gets the wrong amount like 50% of the time.

Code:

@Override
    public int onLoop() throws InterruptedException {
        System.out.println(bank.withdraw("Air rune", 1));
        return 5000;
    }

Result:

[iNFO][bot #1][07/08 10:49:24 AM]: Loaded 3 built-in random solvers!
[iNFO][bot #1][07/08 10:49:24 AM]: Started script : Skeletor

[iNFO][bot #1][07/08 10:49:27 AM]: Started random solver : BankPin Solver
[iNFO][bot #1][07/08 10:49:30 AM]: Random solver exited : BankPin Solver
true
true
true
[iNFO][bot #1][07/08 10:49:52 AM]: Script Skeletor has paused!
[iNFO][bot #1][07/08 10:50:09 AM]: Script Skeletor has resumed!
true
[iNFO][bot #1][07/08 10:50:13 AM]: Script Skeletor has paused!
[iNFO][bot #1][07/08 10:50:25 AM]: Script Skeletor has resumed!
true
[iNFO][bot #1][07/08 10:50:28 AM]: Terminating script Skeletor...
[iNFO][bot #1][07/08 10:50:28 AM]: Script Skeletor has exited!

 

 

1. Item placed at the top of the bank, bottom of the bank, and in the center; each passed

2. Item placed in a separate tab; passed

3. Hid tab bar for bank; passed

 

Please post your SSCCE.

 

  • Author

SSCCE?

I'm about to head out, I'll mock up a quick test later today. I was using the same method, and it wouldn't actually withdraw the item until I manually scrolled to it. I have the method encapsulated within another, but there's no reason my code should behave in such a way.

It seems to be working perfectly for me as well as navigating tabs as required.

It does sometimes click 'withdraw 10' instead of 'withdraw X' but thats probably just down to misclicks and server lag

I'll post again if I come into any problems though.

I just tried it and it withdrew the requested item fine. Are you still having problems with it?

 

I can confirm this happends rarely. I couldn't figure out why this happends bcs the rate this actually happends sad.png

This is why I tell my users to put items at the top of the bank. 

 

Khaleesi

Edited by Khaleesi

  • Author

ah! 

 

So this rarely if ever happens on normal client, but doesn't scroll on mirror client ^^

 

apa

 

 

I hope this is not being tested against mirror mode.

Yes, it is with mirror mode, my bad. I generally refuse to use the injection client.

 

Edit: Confirmed working on regular client, mirror is having problems scrolling. Broken hook?

Also noticed it trying what appears to be clicking widgets that simply don't exist.

Edited by Valkyr

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

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.