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
  • Retriewing string form game window.


    VladX

    Recommended Posts

    Posted

    Is there any way to check string displayed in top left corner of the game window?

    Im talking about string "Take Ashes / 2 more options" like i show in image below.

    I look in the api for it amd don't find nothing reasonable.

    Widget hoower also don't respond with that area.

    ashes.png

     

    Posted

    Couple of things, i get information from it about object state.

    Posted

    Could any of the GroundItem methods help you? Such as hasAction(), or getActions(), getID getName etc

    Posted

    the main problem is that actions of items are changing. it depends on item state. if you select item in inventory like meal then fire has action use.

    I found that getMenu().getDefaultAction() can handle some of problems but not all.

    Posted

    I was going to say, look at getMenu().getMenuRows or something along those lines.
    Default action should return the action that is on the left click of the mouse (hence: default)

    Posted

    Thanks for hint and yes there are all things that i need.

    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.