CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.65k stars 4.18k forks source link

Error when creating new character, new map #56920

Closed dhasial closed 1 year ago

dhasial commented 2 years ago

Describe the bug

Lab tech + some more skills, freeform points: DEBUG : switch does not handle case f_null FUNCTION : Id mapgen_value::switch_source::get(const mapgendata&) const [with Id = int_id] FILE : src/mapgen.cpp LINE : 1323 VERSION : e9e4d30

Steps to reproduce

  1. Try to put a Lab Technician character in the Bottom of Labs
  2. Get first error + game crash

Expected behavior

I expect that I could put a Lab Tech character in a specific map and also be able to add freeform skill points to them without it crashing. It seems to still error without changing any points, but the game still loads. Trying to apply points, skills, etc. causes the above error and a complete crash. I wouldn't be surprised if the mods were causing this, I'm going to try and test without mods when I can.

Screenshots

No response

Versions and configuration

Additional context

No response

ZhilkinSerg commented 2 years ago

Try to reproduce the issue without any third party mods.

dhasial commented 2 years ago

I can confirm that it doesn't happen when all mods including stock are disabled. So it's definitely a mod and not the core game's problem. Now to figure out which mod it is..

github-actions[bot] commented 1 year ago

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.