duane wrote:
I pushed a change to explicitly close the files opened during caching. It shouldn't make any difference, since they should be closed when they fall out of scope, but who knows? If that doesn't fix it, I've no idea what's going wrong.
That fixed the issue: now I have 23 books in the folder and everything is fine, yesterday I had to remove 9 of them to prevent the crash.
When there are many books (around 1000-3000) to register, it takes a while to start the game and causes a lot of lag, due to each different book being registered as a separate craftitem. Is there a way to rewrite this so there is only one item registered that has the book number stored as metadata instead ?