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
  • Script selector remains open


    Kristoffer

    Recommended Posts

    Posted

    When I add 

    if (!gui.getStart()) return 2000;
    
    

    in my loop the script selector remains open when I press start, so I'm guessing because my gui doesn't open the start boolean remains false so the script doesn't start. I use the same method on another client and it works so I guess this client works differently.

     

    Any suggestions on how I should go about this? If you need to see any code let me know.

    Posted

    Sounds odd, what does your onStart look like?

     

    I don't have one.  :P

    Posted

    Open the client using a terminal, and check for any errors when starting the script.

    Posted

    It's showing you have an initializer exception, show me GUI.java line 40 :)

    barTypeJCB.setModel(new DefaultComboBoxModel<Object>(Data.bars));
    

    and this is barTypeJCB:

    private static JComboBox<Object> barTypeJCB;
    
    Posted
    barTypeJCB.setModel(new DefaultComboBoxModel<Object>(Data.bars));
    

    and this is barTypeJCB:

    private static JComboBox<Object> barTypeJCB;
    

     

    Are you initializing that combobox anywhere?

    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.