Kristoffer 23 Share Posted February 15, 2015 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. Link to comment Share on other sites More sharing options...
Pandemic 2469 Share Posted February 15, 2015 Sounds odd, what does your onStart look like? Link to comment Share on other sites More sharing options...
Kristoffer 23 Author Share Posted February 15, 2015 Sounds odd, what does your onStart look like? I don't have one. Link to comment Share on other sites More sharing options...
Pandemic 2469 Share Posted February 15, 2015 Open the client using a terminal, and check for any errors when starting the script. Link to comment Share on other sites More sharing options...
Kristoffer 23 Author Share Posted February 15, 2015 Open the client using a terminal, and check for any errors when starting the script. http://postimg.org/image/o0bj5f061/ Link to comment Share on other sites More sharing options...
Nuclear Nezz 1995 Share Posted February 16, 2015 http://postimg.org/image/o0bj5f061/ Don't run the launcher through the terminal, run the client itself. You can find it in C:\users\username\dreambot\botdata\client.jar Link to comment Share on other sites More sharing options...
Kristoffer 23 Author Share Posted February 16, 2015 Don't run the launcher through the terminal, run the client itself. You can find it in C:\users\username\dreambot\botdata\client.jar http://postimg.org/image/kyaljnhsj/ Link to comment Share on other sites More sharing options...
Pandemic 2469 Share Posted February 16, 2015 http://postimg.org/image/kyaljnhsj/ It's showing you have an initializer exception, show me GUI.java line 40 Link to comment Share on other sites More sharing options...
Kristoffer 23 Author Share Posted February 16, 2015 (edited) 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; Edited February 16, 2015 by Kristoffer Link to comment Share on other sites More sharing options...
Pandemic 2469 Share Posted February 16, 2015 barTypeJCB.setModel(new DefaultComboBoxModel<Object>(Data.bars)); and this is barTypeJCB: private static JComboBox<Object> barTypeJCB; Are you initializing that combobox anywhere? Link to comment Share on other sites More sharing options...
Recommended Posts