Freediver72 Posted March 27 Posted March 27 While researching something else I found a suggestion that mission creators should run occasional cleanups. That ran me down a rabbit hole of how to do them. In that I found removeJunk. I then read it was crashing servers. The latest thing I can find on it was in Dec '24 that there was a fix in the changelog, but I can not find any discussion on it. Someone asked me why clean just zones, why not one sphere for the entire map? So, I tried it and it worked for me, but it was just me on the server crashing into the ground over and over and watching debris disappear. The most I have on a server I can control is me and friend. Not mush of a use case for the function. One server owner I asked about asked someone in the community and they told him they don't trust it, but not sure if they have tested it. Has anyone tested it lately, is it viable? If anyone want to try them or give feedback they are located here: https://github.com/chrisneal72/DCS-removeJunk-Scripts
HC_Official Posted March 27 Posted March 27 I tried this when it first came out ................. but it was crashing dedicated servers so I stopped using it dunno if ED ever fixed it 1 No more pre-orders Click here for tutorials for using Virpil Hardware and Software Click here for Virpil Flight equipment dimensions and pictures. .
Freediver72 Posted March 28 Author Posted March 28 17 hours ago, HC_Official said: I tried this when it first came out ................. but it was crashing dedicated servers so I stopped using it dunno if ED ever fixed it According changelog DCS 2.9.11.4686 24 Dec 24 "Scripting API. Experimental fix for server crash after world.removeJunk being used (hosters please test, we are looking for feedback)"
Freediver72 Posted March 28 Author Posted March 28 GrInDmEtAl made some alterations and reported he had no crashes: https://github.com/GrInDmEtAl/DCS-JUNK-CLEANER 1
Freediver72 Posted April 8 Author Posted April 8 (edited) After using this for a week on a Fox3 server, here is what I found. Without the script running, the server stays paused, it does not go offline. The script runs and it removes junk just fine. However, once we leave the server and DCS server pauses, eventually the server goes offline and has to be rebooted to use it again. It does not give an error, it just quiet quits. Edit: without the removeJunk script the Fox3 server had the same issue, it failed to unpause and then went offline. I will be re-enabling and using the script. Edited April 16 by Freediver72
Recommended Posts