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
  • how to use Droppattern


    awad87

    Recommended Posts

    hi 

    is drop pattern is another way to drop inventory ?

    any example for using drop pattern thanks.

    Inventory.drop(set drop pattern);

    Link to comment
    Share on other sites

    Use the Inventory#setDropPattern to set the drop pattern for Inventory#dropAll methods.

    kuva.png

    What Hosfad said about it not working is that he used dropAllExcept which at that time didn't use the drop pattern. I'm not sure if it uses it now.

    You can use StandardDropPattern to give the slot ids like Hosfad did, or you can provide a custom function to create the pattern like I did in the above image.

    Link to comment
    Share on other sites

    18 hours ago, Hashtag said:

    Use the Inventory#setDropPattern to set the drop pattern for Inventory#dropAll methods.

    kuva.png

    What Hosfad said about it not working is that he used dropAllExcept which at that time didn't use the drop pattern. I'm not sure if it uses it now.

    You can use StandardDropPattern to give the slot ids like Hosfad did, or you can provide a custom function to create the pattern like I did in the above image.

    Can confirm that it works with Inventory.dropAllExcept() now :) 

    Link to comment
    Share on other sites

    Archived

    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.