Creep Cleaner

by ccsla

Slowly remove biter nests creep over time after destruction.

Tweaks
3 years ago
1.1
15.1K

Changelog

Version: 0.0.24
Date: 2021.10.09
  Bugfixes:
    - Fixed crash when loading save caused by missing LP migration.
Version: 0.0.23
Date: 2021.10.09
  Changes:
    - Changed hardcoded HP and MP ttl to automatically generated.
    - Changed LP multiplier and added hardcoded LP ttl.
    - Changed CL frequency to be (mostly) asynchronous.
    - Changed LP queue type to array.
  Optimizations:
    - Reworked LP logic to use new LP queue type and make better use of ghosts.
    - Improved LP logic to dispatch tasks to ghosts.
    - Improved HP, MP, LP and CL performance.
    - Improved on_entity_died event performance.
    - Improved cc-stats command performance.
  Bugfixes:
    - Fixed migrations offset.
Version: 0.0.22
Date: 2021.09.25
  Changes:
    - Doubled weight of non-root decoratives matches in CL.
    - Small optimization in MP feed.
    - Optimized LP logic (up to 100% performance gain in some cases).
  Bugfixes:
    - Fixed offset in LP slicing.
    - Fixed invalid unpacked pending size report in cc-stats command.
Version: 0.0.21
Date: 2021.09.22
  Bugfixes:
    - Fixed remaining debug code.
Version: 0.0.20
Date: 2021.09.22
  Features:
    - Added experimental command 'cc-clean' to clean decoratives of an existing savegame.
  Bugfixes:
    - Fixed desync when changing runtime mod settings.
    - Fixed ghosts were inflating past max queue size.
Version: 0.0.19
Date: 2021.09.19
  Bugfixes:
    - Fixed migrations applying when adding the mod to an existing save.
  Changes:
    - Improved decoratives sanity check in addSpawner.
Version: 0.0.18
Date: 2021.09.11
  Bugfixes:
    - Fixed Krastorio2 creep setting broken since 0.0.8 (?!).
    - Fixed overlook in 0.0.8 migration.
Version: 0.0.17
Date: 2021.09.04
  Bugfixes:
    - Fixed tasks duplication bug moving tasks from LP to MP (will clear itself).
    - Fixed broken 0.0.17 migration.
Version: 0.0.16
Date: 2021.09.03
  Features:
    - Added a setting to set the maximum size of the tasks queue.
    - Added a setting to set the time unit for the cleanup frequency.
  Changes:
    - Moved migrations to on_configuration_changed.
    - Rewritten (several times) the task scheduler.
    - Updated 'cc-stats' command.
    - Misc changes/optimizations.
    - Removed backlog check.
  Bugfixes:
    - Fix for broken 0.0.8 migration (was only affecting Krastorio2).
Version: 0.0.12
Date: 2021.08.24
  Changes:
    - Reverted task scheduler changes from 0.0.8 + optimizations.
    - Adjusted 'cc-stats' command to reflect new scheduler logic.
Version: 0.0.11
Date: 2021.08.22
  Features:
    - Added 'cc-stats' command to display some backlog informations.
  Changes:
    - Removed invalid tasks from threshold tracking.
  Bugfixes:
    - Fixed backlog check using wrong time unit.
Version: 0.0.10
Date: 2021.08.15
  Bugfixes:
    - Fixed a crash in Krastorio2 compatibility module.
    - Fixed inconsistency in on_entity_died event + slight optimizations.
Version: 0.0.9
Date: 2021.08.06
  Bugfixes:
    - Fixed some issues with the backlog check.
    - Fixed and cleaned up some control stage logic.
  Others:
    - Added changelog dates.
Version: 0.0.8
Date: 2021.07.16
  Features:
    - Added new setting: cleanup threshold.
  Changes:
    - Settings can now be changed at runtime.
    - Reworked mod datas.
    - Optimization pass for better efficiency and better performance.
Version: 0.0.7
Date: 2021.06.03
  Features:
    - Added some settings.
Version: 0.0.6
Date: 2021.05.21
  Bugfixes:
    - Fixed a source of desync in multiplayer (thanks Xorimuth)
Version: 0.0.5
Date: 2021.05.20
  Compatibility:
    - Added Krastorio 2 support.
    - Added migration script.
  Changes:
    - Added tile cleaning.
    - Improved mod datas storage.
    - Reworked task scheduler for better flexibility, performance(?) and memory footprint.
Version: 0.0.4
Date: 2021.05.03
  Change:
    - Fixed issue when removing decoratives.
Version: 0.0.3
Date: 2021.05.01
  Change:
    - Added Explosive Biters support.
Version: 0.0.2
Date: 2021.04.30
  Change:
    - Added Cold Biters support.
Version: 0.0.1
Date: 2021.04.30
  Info:
    - Initial release.