Closed PineCone227 closed 1 month ago
The GC script force exits if the param is disabled, so it may be the mission file that has GC enabled. Did you get hints like "Last Garbage Clean was X ago. Keep track of it."?
Did you get hints like "Last Garbage Clean was X ago. Keep track of it."?
Nope, no such hint ever appeared.
That would explain why changing the parameter has no effect then, because the Antistasi GC isn't doing anything at all.
Which map did this occur on?
Stale issue, re-open if you have any extra info
I can confirm that this occurs on Altis. I strongly suspect it's the vanilla mission GC doing it, as corpses disappear individually, likely based on how long each individual corpse has existed, as the vanilla system does it. It also takes a long time, about maybe an hour, just like the default value for the vanilla system.
One might think an hour is ample time, but for some people and some battles it isn't sufficient, especially with the fact that stuff that died at the start of the battle has had it's timer ticking the entire fight.
I really think it might be worth adding some of these commands to the Description.ext
Btw I've noticed that when I set the vanilla GC to disabled in the in-game Eden editor it still functions, however I believe that's due to the Eden Editor UI not explicitly setting the value in the mission.sqm, resulting in it defaulting to enabled in multiplayer.
So, I've added this commit to my personal fork, and it seems to have had no effect. On top of that, running [str isInRemainsCollector _this] remoteExec ["systemChat", (owner commanderX)];
in "Targeted Exec" with Zeus Enhanced returns false, so I'm starting to lean more towards it being a feature of Antistasi that's doing this.
I doubt it is the fn_garbageCleaner functions, they give a hint whenever they run.
If you want to test if they are the ones doing it regardless, set Antistasi GC to disabled and log level to debug.
When a "garbage clean" runs, it should log messages such as "Cleaning garbage..."
, "Moving dead solders out of vehicles..."
Apart from that I don't know what else would be doing it, are you running any extra mods?
I am running other mods, I can't fully recall if I tested with the modpack in a custom mission or not. But I'm definitely not blaming the garbage cleaner function you're talking about, as it's set to be run manually on my server, and the bodies and vehicles don't disappear all at once like they would with that function. I'll have to test again sometime this morning in a custom mission.
Describe the bug
Garbage collection threshold is disabled in save settings before starting game. Despite this, after large battles the majority of disabled equipment and bodies will despawn before they can be collected (or even before the battle itself ends). Example: Had AAF(Aegis) and AFRF(Aegis) agression on Extreme, massive attacks happened on opposite sides of the map resulting in tens of vehicles (tanks, IFV's, helicopters) being downed or destroyed and hundreds of AI killed. By the time the attacks were over, all vehicles we had managed to disable without complete destruction with the intent of later recovery, were gone. Players also reported bodies they were looting disappearing from in front of them together with the weapons and gear they were trying to recover.
Expected behaviour: Garbage collection set to "Disabled" should leave all bodies and vehicles laying around until the commander/admin manually presses the cleanup button.
How to reproduce
-Play as normal, kick off some agression-raising act to provoke a large response -Attack/Defend military installation and fight off large numbers of enemies -Dead enemies and empty vehicles despawn when the clutter piles up, becoming unrecoverable.
Version
10.5
Have you altered the code?
No
What i have changed
No response
Map
Altis
What server?
Private dedicated server with Headless client(s)
Time bug occured (Server time/UTC)
No response
Mods
Additional context
arma3serverprofiling_x64_2024-03-28_20-11-07.txt