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
  • Collecting GE items in noted form


    Recommended Posts

    Does the API offer a simple way to collect items from completed GE offers in noted form? Normally, if you hit the collect button on the main GE interface, all collectables (items and gold) from all offers will be collected (assuming you have inventory space). By default, items collected in this way will be collected in unnoted form if the quantity collected is 1. If greater than 1, the item will be collected in noted form.

    However, if you actually open the corresponding slot interface where the item has completed an offer, you can right click and select "Collect-note" the item. I was wondering if the API offer support for this. It would be useful for certain situations.


    Link to comment
    Share on other sites

    I guess you could do it with finding the Widget of the Item to collect, and then click on it.

    I dont think that the API Supports that.

    Edited by TheRevelo
    Link to comment
    Share on other sites

    The Widget for the two collection slots is 465, 23, 2 for the first slot (left) and 465, 23, 2 for the second slot (right)

    WidgetChild collectionSlot1 = getWidgets().getWidgetChild(465, 23, 2);
    WidgetChild collectionSlot2 = getWidgets().getWidgetChild(465, 23, 3);
    Link to comment
    Share on other sites

    Sorry I can't seem to edit my posts.  You'd want to check the actions available for each collection slot Widget before interacting, check for nulls and make sure the interact() with the Widget returns true so you know that it worked.  

    In the DB2 client under Tools -> Debugging you can turn on the Widet Hover tool to get the WidgetChild information.


    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

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