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
  • Widgets not working?


    Cardozz

    Recommended Posts

    Posted

    Hi there,

     

    I've been trying to use widgets, but the numbers are quite weird.

     

     

    I got a widget via the client that is like: P 372, C 0 367. The weird thing is the space inbetween at the child widget.

     

    Is this ok? and how would i use that child widget? or is number 367 a subchild widget and 0 the child widget??

     

    Im confused, would love some help!

     

    Thanks in advance,

    Cardozz

    Posted

    I would assume the widget is 372, component 0 and the 367 component of that component.

     

    In code: widget(372).component(0).component(367)

     

    If that doesn't work just try widget(372).component(367) and play around with it until it finds the right component.

    Posted

    372 is the parent ID of the widget

    Widget w = getWidgets().get(372);

    0 is the WidgetChild ID of the widget.

    WidgetChild wc = w.getChild(0);

    I honestly have no idea what 367 is. Eric made that. >_>

    Posted

    Thanks guys for the feedback. Ill try it out now and see if it works, will post in a sec

     

     

    Edit: Hmm.. Not really, i have the idea the wisdgets are a bit screwed up lol.

    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.