KaukausInsurgency / ki-dcs

Kaukasus Insurgency
5 stars 2 forks source link

Transport.dll Crashes - Set AI Dispersion Under Fire to OFF #229

Closed Igneous01 closed 6 years ago

Igneous01 commented 6 years ago

https://forums.eagle.ru/showthread.php?t=202156&page=3

Ciribob and Drexx have confirmed that disabling this option fixes the crashes from occurring.

Add configurable code to disable this setting on each spawned group that is called.

Igneous01 commented 6 years ago

Added new config option in KI_Config.lua called KI.Config.TransportDLLCrashDisableAIDispersionUnderFire - if this is set to true, it will disable ai dispersion under fire for all code that spawns groups, including mission restart spawns. Tested on my local environment to confirm no errors occur with this change - I have not yet tried a stress test with leaving the server running for a few hours, so please try it out and give feedback on how your servers have been.