Closed lassefolkersen closed 1 month ago
Ok, seems like this one needs more work. The tests are failing, which is odd - because actually the real game save/load seems to work
Ok, this should work. Give it a look and a ✅ - maybe also do a more full tests yourself first, I only tried once, in a real game - not many edge-cases tested.
Ok, seems like this one needs more work. The tests are failing, which is odd - because actually the real game save/load seems to work
So you tested it and were able to load a game properly? Big step forward if so, I can test on linux as well. Just to be sure.
If this works then I will be super happy!
And GUI will probably be my next focus. Along with taking some time to just play it again. (And maybe work on a manual, guide, user documentation, etc.)
Yes, exactly. Tested on mac. But the problem didn't seem platform specific, it was because threading had been introduced later, and that broke the saving. So just had to stop threading while saving and then restarting.
Multi-threading can be hard to deal with but speed things up a lot, no wonder I couldn't fix it back when I tried a couple years ago.
OK let's, and let's see if that segmentation fault happens again, and if so make a new issue out of it. I haven't seen that (yet)
If I spot it come up again rather than a 1-off I will make an issue.
Hmmmm....seems like something introduced back when threading was done. It seems I literally just needed to stop the thread, save, and then restart it after.