Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Try asking for help in the chatbox
  • Using getBank().scroll(Item,Bank.Scroll)?


    Recommended Posts

    Looks like Bank.Scroll is an enum, you can choose b/w Bank.Scroll.WHEEL and Bank.Scroll.CLICK.

    That is what I've been trying. I just can't get it to work.

    Link to comment
    Share on other sites

    You can try:

    getMouse().scrollWhile(false, 30000, () -> getBank().isSlotVisible(ITEM))

    You might want to test isSlotVisible() first b/c it may be broken hook.

    Link to comment
    Share on other sites

    • 2 months later...

    Assuming you are trying to use getBank().scroll(String, BankScroll type)


    It aks for:


    String name = item name, E.G "Willow logs"

    BankScroll type = the method of scrolling you would like to use, E.G BankScroll.CLICK / BankScroll.WHEEL


    The last one is pretty easy, either you want to scroll by clicking the scroll bar, or scrolling using the mouse wheel.


    To complete this method:


    getBank().scroll("Willow logs", BankScroll.WHEEL);



    Hope this helps!




    Tested in IDE, gave me no errors.

    Edited by Cardozz
    Link to comment
    Share on other sites


    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.