LeeHoffman Posted December 31, 2017 Share Posted December 31, 2017 How would I add scripts I've created to the OSBot client? Quote Link to comment Share on other sites More sharing options...
H0rn Posted December 31, 2017 Share Posted December 31, 2017 Put them in C:\Users\YOURNAME\OSBot\Scripts in jar form Quote Link to comment Share on other sites More sharing options...
DeadPk3r Posted December 31, 2017 Share Posted December 31, 2017 (edited) When you have a script created that is in .jar format you would add it to your script folder here C:\Users\YOURPCNAME\OSBot\Scripts, then open osbot and you should see the script there if you've set it up properly. Edit: little late on my post lol, but gl. Edited December 31, 2017 by DeadPk3r Quote Link to comment Share on other sites More sharing options...
liverare Posted December 31, 2017 Share Posted December 31, 2017 If your files are .java, then they need to be compiled to .class. If your files are .class, then they need to be put into OSBot's script folder (C:/users/you/osbot/scripts). If you've compiled and packaged your script as a .jar, then that needs to go in there as well. Also, if you're using Eclipse, check this out: 1 Quote Link to comment Share on other sites More sharing options...
Everonimo Posted September 22, 2020 Share Posted September 22, 2020 I have it in Jar form in C:\Users\***\OSBot\Scripts. I was forced to update eclipse and had it working before hand. It no longer shows up in the scripts even though an executable jar file is in the scripts folder. So I deleted everything to do with eclipse and osbot then reinstalled it. I've followed the setting up eclipse and created a new project but it still doesn't work, any thoughts on what the problem is would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
Gunman Posted September 22, 2020 Share Posted September 22, 2020 2 hours ago, Everonimo said: I have it in Jar form in C:\Users\***\OSBot\Scripts. I was forced to update eclipse and had it working before hand. It no longer shows up in the scripts even though an executable jar file is in the scripts folder. So I deleted everything to do with eclipse and osbot then reinstalled it. I've followed the setting up eclipse and created a new project but it still doesn't work, any thoughts on what the problem is would be greatly appreciated. Something in the code then. Make sure you have the script manifest and everything set to use java 8. Quote Link to comment Share on other sites More sharing options...
Everonimo Posted October 6, 2020 Share Posted October 6, 2020 On 9/21/2020 at 10:14 PM, Gunman said: Something in the code then. Make sure you have the script manifest and everything set to use java 8. It wasn't the code it ended up being the java version. Not sure how it got switched up but that fixed it. Thank you. 1 Quote Link to comment Share on other sites More sharing options...