Page MenuHomeFeedback Tracker

[BUG] Garbage collector and respective SQF commands are bugged
New, NormalPublic

Description

Issues:

  1. Dead bodies do not get removed at all or after a long delay
  2. Vehicles get removed despite limit in certain situations
  3. SQF commands have no affect or not always

Setup:

respawn = 3;//BASE
respawnDelay = 5;
respawnVehicleDelay = 5;

//respawnTemplates[] = { "Counter", "Wave" };

//Sets the mode for corpse removal manager.
//0 = None - None of the units are managed by the manager
//1 = All - All units are managed by the manager
//2 = None_But_Respawned - Only units that can respawn are managed by the manager
//3 = All_But_Respawned - All units are managed by the manager with exception of respawned (opposite to mode 2)
corpseManagerMode = 1; // Default: 0 for SP, 2 for MP

//Corpse limit before which ( <= ) corpseRemovalMaxTime applies and after which ( > ) corpseRemovalMinTime applies.
corpseLimit = 5; // Default: 15

//Remove all bodies that have been dead longer than corpseRemovalMinTime when corpseLimit is reached.
corpseRemovalMinTime = 30; // seconds. Default: 10

//Maximum time a corpse can remain on the ground if total number of corpses is equal or under corpseLimit.
corpseRemovalMaxTime = 60; // seconds. Default: 3600

//Sets the mode for wreck removal manager.
//0 = None - None of the vehicles are managed by the manager
//1 = All - All vehicles are managed by the manager
//2 = None_But_Respawned - Only vehicles that can respawn are managed by the manager
//3 = All_But_Respawned - All vehicles are managed by the manager with exception of respawned (opposite to mode 2)
wreckManagerMode = 1; // Default: 0 for SP, 2 for MP

//Vehicle wreck limit before which ( <= ) wreckRemovalMaxTime applies and after which ( > ) wreckRemovalMinTime applies .
wreckLimit = 5; // seconds. Default: 15

//Remove all wrecks that have existed longer than wreckRemovalMinTime when wreckLimit is breached.
wreckRemovalMinTime = 30; // seconds. Default: 10

//Maximum time a wreck can remain on the ground if total number of wrecks is equal or under wreckLimit.
wreckRemovalMaxTime = 60; // seconds. Default: 36000 (10 hours)

//The minimum distance between corpse or wreck and nearest player before the corpse or wreck is allowed to be removed by the garbage collector.
minPlayerDistance = 50; // meters. Default: 0

Ref:

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce

Repro:

  1. Load attached mission in Eden (SP), Hosted or DS
  2. It spawns AI and empty vehicles
  3. Top right hint shows stats (isInRemainsCollector count in brackets)
  4. Use 0-0-3 to toggle spawning more
  5. Use 0-0-1/2 to kill the infantry/destroyed the vehicles
  6. Use time acceleration for quicker checking

Notice:
How vehicles get removed as expected (after 30s and only beyond the set 50m)
How infantry do not go removed or just sparingly one by one 30s/after a few minutes.

One can also toggle addToRemainsCollector/removeFromRemainsCollector for newly created/killed entities, or add all units/deadMen/vehilces to either one.

Notice:
How addToRemainsCollector for destroyed vehicles / once already destroyed, doesnt seem to do anything. Even though isInRemainsCollector lists them.
The same for dead bodies

You can also toggle the unit creation for the player group 0-0-6.

Notice:
How dead bodies suddenly get removed after the player has become aware of their dead.

You can also toggle auto reveal of death of infantry or vehicles vi 0-0-5.

Notice:
How this does not help with dead body removal.

Additional Information

Event Timeline

kju-PvPscene updated the task description. (Show Details)
kju-PvPscene edited Additional Information. (Show Details)Apr 29 2023, 1:03 PM
kju-PvPscene renamed this task from [BUG] Garbage collector and respective SQF are FUBAR to [BUG] Garbage collector and respective SQF commands are bugged.