GaetanoH Posted May 18, 2016 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
Expels Posted May 19, 2016 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.
Acerd Posted May 19, 2016 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.
Expels Posted May 19, 2016 Posted May 19, 2016 (edited) Somethings wrong with your script , show us the source. // Edited May 19, 2016 by Expels
Explv Posted May 19, 2016 Author 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
Pure_ Posted May 26, 2016 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!
Explv Posted May 26, 2016 Author 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.
Pure_ Posted May 26, 2016 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.
fatpoop Posted June 20, 2016 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
Explv Posted June 20, 2016 Author 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
fatpoop Posted June 21, 2016 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
Abyssal Service Posted September 16, 2016 Posted September 16, 2016 this is helping me alot thank you
Mr Pro Pop Posted September 19, 2016 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!
Explv Posted September 20, 2016 Author 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