Tasemu Posted September 19, 2018 Share Posted September 19, 2018 I currently have intellij to build a .jar artifact within the osbot/scripts folder. I have noticed that whenever I build the jar and try to run the script in osbot, the script appears to not update with the changes. For example when I have commented out my entire loop, the bot still tries to kill chickens. I am sure that the .jar is building... and I am pressing refresh in the script manager. What am I missing here? Quote Link to comment Share on other sites More sharing options...
Explv Posted September 19, 2018 Share Posted September 19, 2018 21 minutes ago, Tasemu said: I currently have intellij to build a .jar artifact within the osbot/scripts folder. I have noticed that whenever I build the jar and try to run the script in osbot, the script appears to not update with the changes. For example when I have commented out my entire loop, the bot still tries to kill chickens. I am sure that the .jar is building... and I am pressing refresh in the script manager. What am I missing here? You're most likely building the wrong .jar Or you somehow have two scripts with the same name in your scripts folder, so it's always picking up the old one. Try moving everything out of your scripts folder and rebuilding. Quote Link to comment Share on other sites More sharing options...
Tasemu Posted September 19, 2018 Author Share Posted September 19, 2018 Hrm, i still havent tracked down why it's not updating yet. I am running it through the intellij debugger, and it works when i remove everything from the folder, but then returns to not updating on future builds. Quote Link to comment Share on other sites More sharing options...
Apaec Posted September 19, 2018 Share Posted September 19, 2018 Are you pressing the refresh button in the script list? -Apa 1 Quote Link to comment Share on other sites More sharing options...