phate09 / ToDoChores

a mod for the game Don't Starve Together
6 stars 3 forks source link

screens/modconfigurationscreen not found by Amnesiac #25

Closed taichunmin closed 6 years ago

taichunmin commented 6 years ago

Had to disable this mod today, my world randomly started crashing, and was fixed by removing only this mod :(

apparently klei did a hotfix recently that has something to do with the optionsscreen.lua:

"They removed scripts/screens/optionsscreen.lua, which was old code (had been replaced by scripts/screens/redux/optionsscreen.lua a while ago with the UI update for The Forge). I still had some code trying to modify optionsscreen.lua. They did a hotfix that added optionsscreen back, though. I removed the code referring to it in 2.2.4 (second update today)."


Found what is causing the crash,

in scripts/components/choreshelpers.lua

require = GLOBAL.require Inspect = require("components/inspect") ModConfigurationScreen = require "screens/modconfigurationscreen"

apparently they must have removed screens/modconfigurationscreen because its showing as missing in the crash log I posted in your bug report discussion.

I fixed it by disabling the requirement for it, but it will crash if I try to open the options in-game. Hopefully you can fix :)