Page 1 of 1

[0.12.34] Biters on player force disappear

Posted: Sun May 29, 2016 3:52 am
by Versepelles
When spawning small-biters on the player's force into two closed areas without valid paths to the player, then attacking one group, the other group often despawns. The issue does not occur if the small-biters are spawned on the "neutral" force.

Please see this video for a demonstration: https://www.youtube.com/watch?v=OlpU3Z4ltj8

This is the code used to generate the small-biters:
/c local surface = game.local_player.surface; local pos = game.local_player.position; surface.create_entity({name="small-biter", force=game.forces.player, position={pos.x, pos.y+3}})

Re: [0.12.34] Biters on player force disappear

Posted: Sun May 29, 2016 8:39 am
by WIZ4
I noticed another problem, сonstruction robot repair damaged biter

Re: [0.12.34] Biters on player force disappear

Posted: Sun May 29, 2016 8:53 am
by steinio
Seems you are shooting so damaging the biter?
Hard to see precisely.

Re: [0.12.34] Biters on player force disappear

Posted: Sun May 29, 2016 1:27 pm
by Klonan
Thanks for the report,

This isn't a bug, but an optimization

When you shoot the biters, they start to attack you, but since they can't path to you, they are destroyed to save processing time

Re: [0.12.34] Biters on player force disappear

Posted: Sun May 29, 2016 1:44 pm
by Versepelles
Klonan wrote:Thanks for the report,

This isn't a bug, but an optimization

When you shoot the biters, they start to attack you, but since they can't path to you, they are destroyed to save processing time
"Features." Thanks for the quick reply; using dummy forces will solve my particular problem, so no worries.