Combat Robots Overhaul

by Wannie

Overhaul of Factorio's Combat Robots behaviour to make them more useful by automatically attacking enemies.

Tweaks
9 hours ago
1.1 - 2.0
10.5K
Combat

g non recoverable error

2 months ago

The mod Combat Robot Overhaul (2.1.24) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event CombatRobotsOverhaul::on_nth_tick(60)
real number expected got nan.
stack traceback:
[C]: in function 'find_entities_filtered'
CombatRobotsOverhaul/scripts/basegroup.lua:118: in function 'search_for_enemy_near_position'
CombatRobotsOverhaul/scripts/defendergroup.lua:216: in function 'update'
CombatRobotsOverhaul/control.lua:298: in function <CombatRobotsOverhaul/control.lua:295>

2 months ago

There was a similar crash a few months ago. The function "find_entities_filtered" is provided by factorio itself. For it to return NaN is highly unusual. Do you by chance have a save file for me to debug? Because otherwise I can't do much. Last time the issue resolved itself as the error didn't happen again.

New response