.19 Two bugs when raiding party captures colonists

Started by Storm63, September 10, 2018, 05:21:22 PM

Previous topic - Next topic

Storm63

I had a siege event by pirates that I lost.  The pirates decided to capture my colonists and run off.

1st bug (admittedly a nice one):
The pirates dropped my captured colonists at the edge of the map instead of carrying them off.

2nd bug:
I was able to rescue most of my previously captured colonists (two bled out) but one that I rescued apparently is now a member of the pirate faction.  I do not have the option to tend to her nor can I capture her.

Tynan

Which mods are you running?

Do you have a savegame before any of this occurred?
Tynan Sylvester - @TynanSylvester - Tynan's Blog

Storm63

No mods were used. I was playing on  permadeath so I don't have a save before it happened but I did copy the save after I realized what happened.  https://drive.google.com/file/d/1EbimBWta_f6Oui7hg_wkOL198GeSTqf8/view?usp=sharing

Tynan

Was the savegame originally created on an earlier version of the game?
Tynan Sylvester - @TynanSylvester - Tynan's Blog

ison

I couldn't reproduce the first bug, and it's difficult to tell what happened without the logfile.

The second bug is very weird. How did this enemy end up in your bed? I've tried capturing enemies and changing bed designations but the "take to bed" job was always correctly interrupted.

Storm63

This game was started on .19, so that wasn't it.  I'm not sure exactly how the prisoner wound up in my hospital bed as I didn't notice that she was no longer part of my faction until I couldn't heal her.  I'm pretty sure though that I rescued her, I would have noticed if the option instead was capture.  One of the pirates bled out while carrying a prisoner before he reached the edge of the map but I didn't notice anything else unusual that might have caused these bugs.  Let me know if there is anything else I can do to help.

ison

Thanks for the info! Do you remember how those ex-colonists entered the map? (so you could rescue them). Was it a "refugee drop pod crash" incident? Or did they arrive in a raid?

Storm63

They never actually left the map.  This was a siege event that went horribly bad (I severely underestimated the damage of chain and pump shotguns).  I had about 4 colonists up and retreating carrying some wounded while I left behind about 6 colonists who were downed.  Then the message popped up saying something to the effect that the raiders were going to capture what colonists they could and leave.  They then captured those 6 downed colonists and took them to the edge of the map. 

But instead of leaving with them, they dropped the colonists right before they left.  That's when I rescued who I could, including the colonist who was now a member of the pirate faction. The other 5 remained part of my faction and I had no problem rescuing then tending to them (except for the two that bled out; you can see their corpses on the bottom edge of the map).  The 6th colonist I was able to rescue but I couldn't tend to her and that's when I saw that she was a member of the pirate faction.

ison

Alright, thanks for the info.

The reason your pawn has changed his faction is because RimWorld thinks he's still kidnapped, so he was simply recruited by the enemy. This happened because there was an exception thrown somewhere after kidnapping the pawn but before despawning the enemy. The only method called between these events is Notify_ColonistUnavailable(), but I don't see why it would ever throw. I've added an extra try/catch block to catch such errors in the future.

If it happens again, then please upload a logfile. It should say exactly where the exception was thrown.