CleverRaven / CleverRaven/Cataclysm-DDA
Shadow lieutenant. The game freezes, no crashing
- Dominant language
- C++
- Stars
- 13.2k
- Forks
- 4.6k
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 205
Description
### Describe the bug
I don't know why this happens. The game hangs 100% kernel load and stops responding to commands. If you minimize and maximize, the screen goes black.
I assume the lieutenant jumps dives into a pile of my junk and/or furniture. And the game fails to do a good job of calculating the consequences. Or I press alt+F4 earlier.
### Attach save file
[Госпорт-trimmed.tar.gz](https://github.com/CleverRaven/Cataclysm-DDA/files/15098374/-trimmed.tar.gz)
The save was made after the event. https://github.com/CleverRaven/Cataclysm-DDA/issues/73242.
### Steps to reproduce
This is not an exact recipe.
1. Walk toward the car
2. Hide in the shadow of the horn
3. Kill the enemies that have followed you
4. Wait for the blood to stop
5. Get out of the shadows and walk towards the Lieutenant's supposed location (to the right)
6. Turn on the flashlight.
If possible, control the CPU load.

Some steps are clearly unnecessary. But I almost always had freezes. In the last attempt, the freezes occurred on step 4.
### Expected behavior
n/a
### Screenshots
_No response_
### Versions and configuration
- OS: Windows
- OS Version: 10.0.19043 (21H1)
- Game Version: cdda-experimental-2024-04-23-1301 9251ce4 [64-bit]
- Graphics Version: Tiles
- Game Language: Русский (90.0%) [ru]
- Mods loaded: [
Тёмные Дни Впереди [dda],
Отключить потребности у НПС [no_npc_food],
Портальные штормы игнорируют НПС [personal_portal_storms],
Медленный рост фунгалоидов [no_fungal_growth]
]
### Additional context
_No response_
Contributor guide
Research direction
Start by loading the attached trimmed save and following the reported encounter steps around the lieutenant, flashlight, and freeze; compare it with issue #73242. The report names no source files, tests, or entry points, so the work is done when the hang's cause is identified and the fix is verified against the save or a reliable reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100