CleverRaven / CleverRaven/Cataclysm-DDA

NPC's randomly appearing dead without reason after activities.

Open
#79,094 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

(S2 - Confirmed)
Dominant language
C++
Stars
13.2k
Forks
4.6k
Avg merge
2d 1h
Merged PRs (30d)
205

Description

Describe the bug

NPCs sent to chop wood (not through the campsite) sometimes appear dead after some time. In every situation where I used them, I sent 2 NPCs to chop wood (or logs) and entered the SHELTER to perform crafting (brigantine or other crafts).

After crafting until TIRED, the NPCs sometimes appear dead for no apparent reason. In the current save version, only ONE of the two NPCs appeared dead, which is an unprecedented situation. The area is very clean of MOBS, with no sightings of any within the reality bubble.

NPCs can die during the day or at night. NPC Needs is disabled. Magiclysm is being used. I tried clarifying the issue in the official Discord, but no one could identify the cause. There were times when they died just from converting logs into planks (ruling out the possibility of dying from falling trees).

Attach save file

Walkerton.zip

Steps to reproduce

Send the NPCs (in this case, the last survivor) to chop wood or logs.
Enter the shelter and craft items.
Check if the NPC is alive. If they are, repeat the process.

Expected behavior

Sometimes, the NPC will be dead. Other times, they won’t. I couldn’t identify what causes the NPCs’ occasional death, only that, even with weeks of difference, this eventually happens.

Screenshots

No response

Versions and configuration

Windows 10, Version 40a53b3 - Tiles with sound. English Language
Mods in world:
image

Additional context

I'm on Discord "emycavendish". Starting a new save and keeping that to avoid messing with the save. Any questions or more information feel free to ping me on the discord

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by loading the attached Walkerton.zip save and reproducing the sequence of sending NPCs to chop wood, entering the shelter, and crafting until tired. Inspect the NPC activity and death handling around woodcutting and crafting, using the reported one-of-two NPC death as the case to explain. Done means the unexpected NPC death is reproduced with a known cause or corrected and verified through the same sequence.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.