Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tailor plugin crashes the game #2006

Closed
HunterZ opened this issue Feb 5, 2022 · 6 comments
Closed

Tailor plugin crashes the game #2006

HunterZ opened this issue Feb 5, 2022 · 6 comments

Comments

@HunterZ
Copy link

HunterZ commented Feb 5, 2022

Using PeridexisErrant's Starter Pack 0.47.05-r06, which comes with DFHack version 0.47.05-r3 (release) on x86_64 and Dwarf Fortress 0.47.05 x64.

I enabled the tailor plugin, but it seemed to never do anything.

I then tried increasing bookkeeper accuracy (n then highlight bookkeeper then s) from the lowest setting to any higher setting, and the game consistently crashes within a few minutes.

Attaching a debugger indicates that the tailor plugin caused an out of range exception:
image

@myk002
Copy link
Member

myk002 commented Feb 5, 2022

The tailor plugin will normally not do anything until clothing starts to wear out and there aren't enough extra clothes lying around, so it might be expected to do nothing, depending on the conditions of your fort. The crash, however, needs investigation.

@myk002
Copy link
Member

myk002 commented Feb 21, 2022

Could you possibly upload your savegame? It would help in reproducing the problem.

@myk002
Copy link
Member

myk002 commented Mar 3, 2022

I have been unable to reproduce this, and looking through the tailor plugin code, I don't see any reason why changing the bookkeeper precision should cause a crash. I can look into it more if you can provide a savegame.

@HunterZ
Copy link
Author

HunterZ commented Mar 4, 2022

Need details on how I'd go about doing that, but honestly my game has progressed so far beyond that point that my current save may not be any help either. It would probably be better for me to start a new world and try to replicate it again.

@myk002
Copy link
Member

myk002 commented Mar 4, 2022

You can upload savegames to https://dffd.bay12games.com/category.php?id=20
Any cloud storage provider (e.g Google Drive) would work too, as long as you give the file public download permissions. Compress the data/save/region1 folder and upload it.

@myk002 myk002 added this to In Progress in 0.47.05-r5 Mar 10, 2022
@myk002 myk002 moved this from In Progress to To Do in 0.47.05-r5 Mar 10, 2022
@myk002 myk002 removed this from To Do in 0.47.05-r5 May 1, 2022
@myk002
Copy link
Member

myk002 commented May 9, 2022

@HunterZ could you reopen this bug if you see this again?

@myk002 myk002 closed this as completed May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants