Rampant, fixed


Based on Rampant 1.1.1 (new AI and enemies). - New types of enemies - Works on SA planets, can control biters, demolishers, Gleba units - Can mutate existing nests - Can attack from afar - Improved search for a passage in the defense - Some new mechanics

Content
2 days ago
1.1 - 2.0
44.6K
Enemies

b Crash - On Entity Died

2 years ago

The mod Rampant, fixed (1.7.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event RampantFixed::on_entity_died (ID 4)
Attack target has no health.
stack traceback:
[C]:in function 'set_multi_command'
RampantFixed/libs/SquadDefense.lua:109:in function 'retreatUnits'
RampantFixed/control.lua:708:in function
<RampantFixed/control.lua:645>

2 years ago
(updated 2 years ago)

As far as I know, this is a factorio bug before version 1.1.81
https://forums.factorio.com/viewtopic.php?f=3&t=105959


"Fixed a crash when unit has a composite command with a dead unit group. (105935)"

What version do you have?

Also, it confuses me that the biter tries to attack the target without health (such targets are invulnerable). Guess I need your save

2 years ago

Hi, I just encountered same error as above on 1.1.89. Unfortunately I tried but couldn't reproduce it, but at the time I was in editor extensions with a 3 biter nests placed down and a couple of biters were around it, I was testing bio land mine launcher ammo from rampant arsenal fired from light artillery from a distance. Several shots were fired without an error and biters were going to attack it / attacking it, then on one of the shots that error appeared. I think (not sure) error happened on mine detonation, but as I said I couldn't reproduce it. Maybe the description helps.

2 years ago

Okay, doesn't seem to be related to land mines. Save: https://easyupload.io/z0iwsz

Just run down inside turret walls immediately and let turrets shoot. Reload and try again if no error, errors 80% of time for me.

2 years ago

Thank you. I'll see what's up

2 years ago

Thanks for the great example
Looks like we've found a factorio bug. If you give a command to the biters when they die at the same time, then there will be an error.
Until fixed, biters will not try to escape on mass death - this removes the error

2 years ago

Glad you found it. I'd been pulling my hair out trying to reproduce.

New response