March 20, 201510 yr 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.
March 20, 201510 yr 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.
March 20, 201510 yr Author 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, 201510 yr by hero3128
March 22, 201510 yr 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?
Create an account or sign in to comment