Milestones

by Wiwiweb

Keep track of your progress in a fun way by finding out how fast you created key items. Look back on your factory's history, compare with your friends, or challenge yourself. Supports any list of items and comes with presets for popular big mods. Can be added to existing games.

Utilities
a month ago
1.1
214K

b [Fixed] Gamecrash in milestones_confirm_settings(ID 222)

1 year, 8 months ago

Hello, I am getting the following game crash: https://i.imgur.com/nPTcSrl.jpeg
Modlist: https://hastebin.com/ofijakiwux.json
Mod-Settings and copy of save-game: https://file.io/WpTL1SYEEiNV

Happens when loaded in SP and also as hosted save game and on linux headless server.
Maybe you know a lua-code to trace ID222 for that setting which is doing some wired stuff here to exclude as many external mods as possible
and maybe directly find the culprit.

1 year, 8 months ago
(updated 1 year, 8 months ago)

I'm able to load the save file you sent but it does not crash for me.
Does it crash for you as soon as you load the save file?

I'm not sure what could cause this... as a workaround you can use the /milestones-reinitialize-gui command and I think that should fix your issue, though I wish I knew what caused it in the first place.

1 year, 8 months ago
(updated 1 year, 8 months ago)

I would like to know that too. Maybe you can filter for that specific ID which where mentioned?
It happends randomly but not when I open up the GUI of you mod, which is interesting.

1 year, 8 months ago

I used the command which you toled me to use but the error occured again and I have no idea what is triggering it.

1 year, 8 months ago
(updated 1 year, 8 months ago)

I maybe found the culprit ... it could be this sleeping mod which we use in our savegame.

You have a button with a moon on it left to the RPG Systems "Player Level" Button. When it is dark/night hit it and you are going to make day.
If so, part of the GUI disappears. It is that part which shows Evolution, Pollution and so on. If you then try to hit ESC or try to open your mods
GUI or any other stuff the error gets triggered.

For now this is the only way I could trigger it and I tested it twice and for a few nights. Without your command above it is unfixable.

Possible culprit: https://mods.factorio.com/mod/time-to-sleep

1 year, 8 months ago

This is now a different ones: https://i.imgur.com/eP5hvXn.jpeg

Every time I load the game and hooling up the mineral water it causes the error above. Will try too look if this can be fixed.

1 year, 8 months ago

Using your command /milestones-reinitialize-global helped with the error above good thanks for such commands :)

I hope that a little fix in the sleeping mod will "kill" these problems :)

1 year, 8 months ago

I'm pretty sure this is the same issue as https://mods.factorio.com/mod/Milestones/discussion/62fe9da281abfee6054bb169
Next release should have this fixed.

New response