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
  • Getting Data off Minigame Widget.


    Zibele

    Recommended Posts

    Hey guys i am trying to figure out how to get data off screen,like the points i currently have in a mini-game?

     

    Is there a way i can get the text from a widget by identifying the ID of the widget using the GameDebugger and returning the text of the ID?

    Link to comment
    Share on other sites

    • 3 months later...
    getWidgets().getWidgetChild(120,2).getText();
    

     

    Man, im doing this 

     

     

    String widgetsText = getWidgets().getWidgetChild(245, 7, 5).getText();

     

    and the string is returning null, but im sure this ID widget child is correct and before it, i made the localplayer open the Tab needed to turn this widgetchild visible.

     

     

    Edit: Solved, i was trying to .getText() before widgetChild initiate

    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.