GaetanoH Posted May 18, 2016 Share Posted May 18, 2016 Yes, to generate the source code just 'make' the project. Hit Ctrl F9 or Go to Build -> Make Project You helped me out a lot already thanks man Quote Link to comment Share on other sites More sharing options...
Expels Posted May 19, 2016 Share Posted May 19, 2016 When I run the script it doesn't actually start, it just exits and doesn't display anything in the log. Quote Link to comment Share on other sites More sharing options...
Acerd Posted May 19, 2016 Share Posted May 19, 2016 When I run the script it doesn't actually start, it just exits and doesn't display anything in the log. Somethings wrong with your script , show us the source. Quote Link to comment Share on other sites More sharing options...
Expels Posted May 19, 2016 Share Posted May 19, 2016 (edited) Somethings wrong with your script , show us the source. // Edited May 19, 2016 by Expels Quote Link to comment Share on other sites More sharing options...
Explv Posted May 19, 2016 Author Share Posted May 19, 2016 (edited) public NPC target = npcs.closest(getNPC); It's because of this line ^^^^^^^^^^^^^^ See this post where I explain the same issue to another user: http://osbot.org/forum/topic/98340-in-need-of-some-help/?p=1092959 Edited May 19, 2016 by Explv 1 Quote Link to comment Share on other sites More sharing options...
fishnugget Posted May 23, 2016 Share Posted May 23, 2016 thx!! Quote Link to comment Share on other sites More sharing options...
Pure_ Posted May 26, 2016 Share Posted May 26, 2016 For future reference, I don't think it's currently possible to make GUIs using JavaFX for OSBot. If I had known this I would have saved myself a lot of trouble! Quote Link to comment Share on other sites More sharing options...
Explv Posted May 26, 2016 Author Share Posted May 26, 2016 For future reference, I don't think it's currently possible to make GUIs using JavaFX for OSBot. If I had known this I would have saved myself a lot of trouble! I think it is possible, just maybe not using FXML. Support may be added in the future by OSBot devs, but for now it is easier to just use Swing. Quote Link to comment Share on other sites More sharing options...
Pure_ Posted May 26, 2016 Share Posted May 26, 2016 I think it is possible, just maybe not using FXML. Support may be added in the future by OSBot devs, but for now it is easier to just use Swing. That's silly because it negates a large aim of JavaFX (separating logic code from design code). I hope they can support it soon to encourage good programming habits. Quote Link to comment Share on other sites More sharing options...
fatpoop Posted June 20, 2016 Share Posted June 20, 2016 (edited) I copied the complete code in step 10 and I got a bunch of errors, what's wrong? e cannot be resolved to a variable Syntax error on ">", invalid ( e cannot be resolved to a variable Syntax error on tokens, expected ( instead Syntax error, insert ")" to complete the Expression Syntax error on tokens, delete these tokens Edited June 20, 2016 by fatpoop Quote Link to comment Share on other sites More sharing options...
Explv Posted June 20, 2016 Author Share Posted June 20, 2016 (edited) I copied the complete code in step 10 and I got a bunch of errors, what's wrong? e cannot be resolved to a variable Syntax error on ">", invalid ( e cannot be resolved to a variable Syntax error on tokens, expected ( instead Syntax error, insert ")" to complete the Expression Syntax error on tokens, delete these tokens You need to make sure the Java language level in your IDE is set to Java 8. Edited June 20, 2016 by Explv Quote Link to comment Share on other sites More sharing options...
fatpoop Posted June 21, 2016 Share Posted June 21, 2016 (edited) Not sure what I'm missing EDIT: I had wrong one and was blind apparently Edited June 21, 2016 by fatpoop Quote Link to comment Share on other sites More sharing options...
Abyssal Service Posted September 16, 2016 Share Posted September 16, 2016 this is helping me alot thank you Quote Link to comment Share on other sites More sharing options...
Mr Pro Pop Posted September 19, 2016 Share Posted September 19, 2016 I am using eclipse windows builder myself its more better and easier to create my own customized jframe design but nice tutorial bro! Quote Link to comment Share on other sites More sharing options...
Explv Posted September 20, 2016 Author Share Posted September 20, 2016 I am using eclipse windows builder myself its more better and easier to create my own customized jframe design but nice tutorial bro! Yes most people do use gui builders, and I recommend using one. This tutorial is so that people understand the basics, so that they don't just use a gui builder and have no idea what any of the code it generates does. 1 Quote Link to comment Share on other sites More sharing options...