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
  • Is there a way to shift drop when using the slotInteract(int, string) method?


    Recommended Posts

    Hi, I just started with osrs bot programming today and am unfamiliar with the api, I'm wondering if there is a way to have the method slotInteract(int slot, java.lang.String action) from Inventory shift drop. I saw that Inventory has a shouldShift( ) method but I'm not exactly sure if that enforces shift dropping or not and if it can work with the method I'm working with. Anyway, if someone knows and can help me out I would really appreciate it!

    Link to comment
    Share on other sites

    I think Inventory API already does that for you. You can use the Inventory.drop() method; if you have shift-drop enabled, it'll just do that. If not, it'll just drop items the usual "right-click drop" way.

    So implement a node that checks for settings on your account, and if it detects that shift drop isn't enabled -- that it would enable it.

    Link to comment
    Share on other sites


    This topic is now archived and is closed to further replies.

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