ownage999 Posted November 3, 2017 Share Posted November 3, 2017 Nice Quote Link to comment Share on other sites More sharing options...
Imrabid Posted January 1, 2018 Share Posted January 1, 2018 What have i done wrong? Quote Link to comment Share on other sites More sharing options...
Apaec Posted January 1, 2018 Author Share Posted January 1, 2018 28 minutes ago, Imrabid said: What have i done wrong? Hey! Firstly, you have created a new class above imports which cannot be done. If you want both classes in the same file, you will have to move the top one down below imports. Secondly, both classes are named 'main', which is also not allowed. Choose a different name! Thirdly, by convention, classes should start with a capital letter, e.g 'Main' instead of 'main'. It's just convention so it doesn't make any difference in terms of execution, but conventions are good to stick to! (I realise I stupidly named it with a lowercase in the tutorial, i've been meaning to rewrite this tutorial for a while now!) In short, to fix your problem, just remove the top 'public class main { }'. GL! Apa Quote Link to comment Share on other sites More sharing options...
Imrabid Posted January 1, 2018 Share Posted January 1, 2018 Fixed Thanks! 1 Quote Link to comment Share on other sites More sharing options...
jller12 Posted January 4, 2018 Share Posted January 4, 2018 Thanks! im trying the guide right now! Quote Link to comment Share on other sites More sharing options...
jller12 Posted January 6, 2018 Share Posted January 6, 2018 (edited) get this error when starting up my eclipse just installed jdk 9 and stuff Edited January 6, 2018 by jller12 Quote Link to comment Share on other sites More sharing options...
Apaec Posted January 6, 2018 Author Share Posted January 6, 2018 No idea what's gone on there. For the record, OSBot doesn't yet support java 9, stick with java 8 for now! 8 minutes ago, jller12 said: get this error when starting up my eclipse just installed jdk 9 and stuff Quote Link to comment Share on other sites More sharing options...
jller12 Posted January 6, 2018 Share Posted January 6, 2018 probably that is the problem, i will switch back Quote Link to comment Share on other sites More sharing options...
Pryzm Posted March 1, 2018 Share Posted March 1, 2018 Going to sweat this out over the weekend, thanks for the resources apa. Quote Link to comment Share on other sites More sharing options...
Apaec Posted April 25, 2018 Author Share Posted April 25, 2018 Hi there folks! Just spent a couple of hours revamping the content of this guide. I did not change the download guide (I plan to update this in the near future). I only updated the interesting stuff Take a look, best of luck! Apa 1 Quote Link to comment Share on other sites More sharing options...
Taylorr Posted April 25, 2018 Share Posted April 25, 2018 27 minutes ago, Apaec said: Hi there folks! Just spent a couple of hours revamping the content of this guide. I did not change the download guide (I plan to update this in the near future). I only updated the interesting stuff Take a look, best of luck! Apa Hey APA appreciate it. I have been eyeing this thread curious if it was still up to date seeing as it was written back in 14. Thanks! 1 Quote Link to comment Share on other sites More sharing options...
pathwayp Posted April 25, 2018 Share Posted April 25, 2018 (edited) 6 hours ago, Apaec said: Hi there folks! Just spent a couple of hours revamping the content of this guide. I did not change the download guide (I plan to update this in the near future). I only updated the interesting stuff Take a look, best of luck! Apa Was looking to get into scripting.. thank you for updating this you are a god send Edited April 25, 2018 by pathwayp Quote Link to comment Share on other sites More sharing options...
Apaec Posted April 26, 2018 Author Share Posted April 26, 2018 10 hours ago, pathwayp said: Was looking to get into scripting.. thank you for updating this you are a god send Good luck! Let me know if you need anything Quote Link to comment Share on other sites More sharing options...
FuryShark Posted May 7, 2018 Share Posted May 7, 2018 (edited) Tried exporting a very simple script to see if it would work but it doesn't appear when i load osbot. Not runnable jar , saved to right place, refreshed and restarted osbot. any idea? edit: Gave .Jar to someone "i decompiled your code, copy pasted it, recompiled and it worked" ??????? Edited May 7, 2018 by FuryShark Quote Link to comment Share on other sites More sharing options...
Apaec Posted May 8, 2018 Author Share Posted May 8, 2018 13 hours ago, FuryShark said: Tried exporting a very simple script to see if it would work but it doesn't appear when i load osbot. Not runnable jar , saved to right place, refreshed and restarted osbot. any idea? edit: Gave .Jar to someone "i decompiled your code, copy pasted it, recompiled and it worked" ??????? Most likely you've got multiple jars in your scripts folder with the same script manifest name ? You can test this by moving all your local scripts elsewhere (e.g your desktop), and only having your simple script in the directory. Then start OSBot and see if it shows up. If it still does not, let me know! -Apa Quote Link to comment Share on other sites More sharing options...