Cataclysm-DDA icon indicating copy to clipboard operation
Cataclysm-DDA copied to clipboard

Game tends to crash when speaking to NPC's

Open Satellite-SLickers opened this issue 1 year ago • 3 comments

Describe the bug

sometimes games become pseduo-softlocked due to the fact that talking with NPC's will cause the game to crash, I have not discovered what causes it to happen but is not random

Attach save file

Emigrant Gap-trimmed.tar.gz

Steps to reproduce

-Load save -Interact with npc in the room -game should crash at this point

Expected behavior

I expect the game to not crash and to instead open the usual npc dialogue

Screenshots

No response

Versions and configuration

  • OS: Linux
    • OS Version: Distributor ID: Linuxmint; Description: Linux Mint 21.3; Release: 21.3; Codename: virginia;
  • Game Version: cdda-experimental-2024-06-24-1652 3b97827 [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [ Dark Days Ahead [dda], Disable NPC Needs [no_npc_food], Portal Storms Ignore NPCs [personal_portal_storms], Slowdown Fungal Growth [no_fungal_growth], Magiclysm [magiclysm], Mind Over Matter [mindovermatter], Xedra Evolved [xedra_evolved], Bombastic Perks [bombastic_perks], Crazy Cataclysm [crazy_cataclysm], DinoMod [DinoMod] ]

Additional context

crash.log debug.log Emigrant Gap.tar.gz

Satellite-SLickers avatar Jun 25 '24 03:06 Satellite-SLickers

Failed to repeat it in 4 attempts using freshly downloaded and compiled master code.

  • OS: Windows
    • OS Version: 10.0.19045.4529 (22H2)
  • Game Version: 0.G-10437-gf0d983a141 [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [ Dark Days Ahead [dda], Disable NPC Needs [no_npc_food], Portal Storms Ignore NPCs [personal_portal_storms], Slowdown Fungal Growth [no_fungal_growth], Magiclysm [magiclysm], Mind Over Matter [mindovermatter], Xedra Evolved [xedra_evolved], Bombastic Perks [bombastic_perks], Crazy Cataclysm [crazy_cataclysm], DinoMod [DinoMod] ]

PatrikLundell avatar Jun 25 '24 07:06 PatrikLundell

ive solved this personally using c++'s deprecated (and in c++21, removed) std::codecvt_utf8<wchar_t>, nothing crashes compared to the c version it uses right now

it happens for computers too which makes to easy reproduce just start default scenario and use the computer

deltanedas avatar Jun 25 '24 20:06 deltanedas

ive solved this personally using c++'s deprecated (and in c++21, removed) std::codecvt_utf8<wchar_t>, nothing crashes compared to the c version it uses right now

it happens for computers too which makes to easy reproduce just start default scenario and use the computer

ive managed to replicate the computer thing a few times, although it seems rather inconsistent as to whether or not the computer will work or cause a crash

Satellite-SLickers avatar Jun 26 '24 06:06 Satellite-SLickers

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

github-actions[bot] avatar Jul 26 '24 06:07 github-actions[bot]