on_post_entity_died.corpses missing character-corpse [0.18.18]

This subforum contains all the issues which we already resolved.
klugemonkey
Inserter
Inserter
Posts: 24
Joined: Tue Jun 12, 2018 5:07 am
Contact:

on_post_entity_died.corpses missing character-corpse [0.18.18]

Post by klugemonkey »

Try to get a corpse for a player that died. In the latest experimental version [0.18.18] I've tried using the on_post_entity_died event to get the corpses table, but the corpses table is nil.

When handling the on_post_entity_died event, the corpses table is not populated with a character-corpse for any character prototype.
The character-corpse does actually exist on the surface at/near the reported position.
And all other entity prototypes seem to be working (i.e unit, tree) and put an entry in the corpses table with their respective corpses.

Happens consistently and confirmed by another person on the Factorio Discord channel.

Rseding91
Factorio Staff
Factorio Staff
Posts: 14150
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: on_post_entity_died.corpses missing character-corpse [0.18.18]

Post by Rseding91 »

Ok, I changed it so it's included for the next release.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”