RaikerZ2 3 Share Posted November 9, 2019 Hey! Currently trying to compile a script that I'm working on but can't because IntelliJ won't overwrite the .JAR that's being locked by DreamBot. Only way to compile and update my script is to full restart DreamBot. This would be exceptionally tedious for small changes such as ver #s and stuff is there any workaround for this? Watching tutorials it seems some others don't have this issue, how are y'all overwriting open JARs? Link to comment Share on other sites More sharing options...
Manly 879 Share Posted November 9, 2019 Sometimes I get the warning but its a warning, and you can ignore those. It usually says so but it still works. Link to comment Share on other sites More sharing options...
RaikerZ2 3 Author Share Posted November 9, 2019 2 minutes ago, Man16 said: Sometimes I get the warning but its a warning, and you can ignore those. It usually says so but it still works. Unfortunately it won't overwrite regardless of me refreshing and ignoring the warning. I'm not sure if it's just locking the current version? The time modified changes, so I know the new JAR is getting through, but the version number stays the same and any new logic I build in doesn't come in to effect unless I hard restart the entire client. Link to comment Share on other sites More sharing options...
NovaGTX 106 Share Posted November 9, 2019 Eclipse Link to comment Share on other sites More sharing options...
yeeter 522 Share Posted November 9, 2019 8 minutes ago, NovaGTX said: Eclipse #EclipseGang Link to comment Share on other sites More sharing options...
RaikerZ2 3 Author Share Posted November 9, 2019 Yeah that's fair, I should probably stop using IntelliJ Link to comment Share on other sites More sharing options...
NovaGTX 106 Share Posted November 9, 2019 4 minutes ago, RaikerZ2 said: Yeah that's fair, I should probably stop using IntelliJ IntelliJ isnt bad lol, it has to be something you've mis-configured. It's a perfectly fine IDE. Have you followed the video instruction on how to compile and export the jar that is posted somewhere on the forum? Link to comment Share on other sites More sharing options...
RaikerZ2 3 Author Share Posted November 9, 2019 1 minute ago, NovaGTX said: IntelliJ isnt bad lol, it has to be something you've mis-configured. It's a perfectly fine IDE. Have you followed the video instruction on how to compile and export the jar that is posted somewhere on the forum? Never said it was bad, just should probably use an IDE I am more familiar with is all. Yes, I've set it up to compile and export the JAR to the proper folders based on this video: So unless there's something wrong there, which there doesn't seem to be, I'm not sure exactly what I'm doing wrong. File is exporting and mod. info is changing, but the JAR is locked to by Java SE and will not change regardless of what I do. Link to comment Share on other sites More sharing options...
Nuclear Nezz 2055 Share Posted November 9, 2019 I use IntelliJ, compiles jars fine for me. Its probably something in your ide settings. Even if I get the warning, the script still gets replaced. When you go back to your client, make sure to refresh the scripts (go to like free scripts and back to local scripts or something) to make sure they're updated as well. Link to comment Share on other sites More sharing options...
RaikerZ2 3 Author Share Posted November 9, 2019 1 minute ago, Nuclear Nezz said: I use IntelliJ, compiles jars fine for me. Its probably something in your ide settings. Even if I get the warning, the script still gets replaced. When you go back to your client, make sure to refresh the scripts (go to like free scripts and back to local scripts or something) to make sure they're updated as well. "make sure to refresh the scripts (go to like free scripts and back to local scripts or something)" <----- This is what I was missing, thanks man I really appreciate it! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.