hero3128 Posted March 20, 2015 Share Posted March 20, 2015 Okay so i build my .jar in IntelliJ and test out the script etc. When i want to build the .jar again it keeps saying Warning:Artifacts builder: Cannot delete file 'OSBot/Scripts/hScripts.jar' Is their a workaround for this? The script is not running while im trying to rebuild it. Its frustrating having to re-open the client each new build. Quote Link to comment Share on other sites More sharing options...
drutism Posted March 20, 2015 Share Posted March 20, 2015 You can select your script's root directory in the project's view, hit F4, go to Artifacts, and change the "Name" at the top and it overwrite your old jar. This issue stems from the fact that the client loads the local script jars into memory or constantly is using them somehow therefore Intellij cannot overwrite them. Quote Link to comment Share on other sites More sharing options...
drutism Posted March 20, 2015 Share Posted March 20, 2015 (edited) [Double Posted] Edited March 20, 2015 by drutism Quote Link to comment Share on other sites More sharing options...
hero3128 Posted March 20, 2015 Author Share Posted March 20, 2015 (edited) You can select your script's root directory in the project's view, hit F4, go to Artifacts, and change the "Name" at the top and it overwrite your old jar. This issue stems from the fact that the client loads the local script jars into memory or constantly is using them somehow therefore Intellij cannot overwrite them. Okay so by the logic, even if i do what you told me i still would have to restart the client each time i want to test out the script for bug fixes etc... So its OSBot's fault? Is there no workaround for this? Edited March 20, 2015 by hero3128 Quote Link to comment Share on other sites More sharing options...
drutism Posted March 22, 2015 Share Posted March 22, 2015 Okay so by the logic, even if i do what you told me i still would have to restart the client each time i want to test out the script for bug fixes etc... So its OSBot's fault? Is there no workaround for this? Did you try my workaround I posted above? Quote Link to comment Share on other sites More sharing options...
Pegasus Posted April 7, 2018 Share Posted April 7, 2018 this issue is suck Quote Link to comment Share on other sites More sharing options...
liverare Posted April 7, 2018 Share Posted April 7, 2018 Quote Link to comment Share on other sites More sharing options...