Open zSidz20 opened 1 year ago
The issue is that EC does not check whether the target of retaliation damage has health, which is not the case when, for example, a crashing logibot (from the SE dependency Robot Attrition) procs retaliation.
I also suggest replacing Krashtorio2 with Krastorio2, that sounds more conducive to stable play
For anyone facing this particular issue, I followed the steps mentioned here and my game hasn't crashed again yet. https://github.com/ReikaKalseki/EndgameCombat/pull/14
2544.053 Error MainLoop.cpp:1395: Exception at tick 5649672: The mod Endgame Combat (1.152.1) caused a non-recoverable error. Please report this error to the mod author.
Error while running event EndgameCombat::on_entity_damaged (ID 103) Target must have health. stack traceback: [C]: in function 'create_entity' EndgameCombat/functions.lua:445: in function 'doRetaliation' EndgameCombat/control.lua:590: in function <EndgameCombat/control.lua:556>
I get this issue when under attack. One of the sources suggested Radar Retaliation causes this but I've removed the radars and the issue is still present. Using Space Exploration and Krashtorio2 mods aswell.
Do let me know if you need any more files, New to reporting errors therefore I dont know what to submit and what not to submit.
Thanks for your patience! Kindly do help!