View Issue Details

IDProjectCategoryView StatusLast Update
0011764Dwarf FortressMiscellaneous Crashespublic2021-06-07 19:13
Reportersquamous Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
OSWindowsOS VersionWindows 10 
Product Version0.47.05 
Summary0011764: Creatures with the CAN_LEARN tag randomly CTD the game (modding bug only I think)
DescriptionI have inadvertently screwed something up, and now any creature with the CAN_LEARN tag will randomly have a chance to crash the game when it is loaded into the player's game map.
Steps To ReproduceUse the save provided here:

open it in arena mode, and just keep spawning humans. Eventually the game will CTD. Using any other CAN_LEARN creature will work as well.
TagsNo tags attached.

Activities

squamous

2021-06-07 16:54

reporter   ~0041076

Whoops I forgot to provide the save: https://dffd.bay12games.com/file.php?id=15566

Shonai_Dweller

2021-06-07 17:26

reporter   ~0041077

Surely this is a question for the modding forum to help with. Has any actual DF bug been identified as the cause?

squamous

2021-06-07 17:30

reporter   ~0041078

Last edited: 2021-06-07 17:42

Well I'm not really sure about that is the thing. see here:

https://puu.sh/HN7aN/feeb12beba.png

this is what my raw folder looks like after trying to isolate the cause. The crash still happens even after pruning it to this degree, so I'm not entirely sure if its a raw problem or a DF problem. It could be a raw problem, but it might have something to do with a hardcoded feature of DF as well, I'm just not sure. I have also changed nothing besides worldgen parameters and some init settings which have always worked fine before, so I don't think I could have messed something up outside of this folder. The errorlog also provides no explanation, so I have very little to go on. It could be an issue that only modding the game incurs, but is impossible to actually determine the cause of using the knowledge available to the public, so I am reporting it on the off chance it is that sort of situation.

squamous

2021-06-07 19:13

reporter   ~0041079

Last edited: 2021-06-07 19:14

Alright, I actually think I have figured it out, I'll leave it to others whether this counts as a bug or not.

in my particular case, at least, the issue is that my mod did not have shields. Apparently, if a mod gets rid of shields, clothing, weapons, or some other such thing, the game will periodically crash (I think it has something to do with preferences)

So basically, if you want your mod to not have shields for example, you still need to have them in the raw files but never use them. Deleting them will cause these crashes. Even if it's not a bug, I've never heard of this before so at the very least its rare info.

Add Note

Note

Issue History

Date Modified Username Field Change
2021-06-07 16:53 squamous New Issue
2021-06-07 16:54 squamous Note Added: 0041076
2021-06-07 17:26 Shonai_Dweller Note Added: 0041077
2021-06-07 17:30 squamous Note Added: 0041078
2021-06-07 17:32 squamous Note Edited: 0041078
2021-06-07 17:34 squamous Note Edited: 0041078
2021-06-07 17:36 squamous Note Edited: 0041078
2021-06-07 17:38 squamous Note Edited: 0041078
2021-06-07 17:42 squamous Note Edited: 0041078
2021-06-07 19:13 squamous Note Added: 0041079
2021-06-07 19:14 squamous Note Edited: 0041079