Page 1 of 1

[0.10.8][kovarex] CTD while loading savegame

Posted: Sat Aug 23, 2014 8:37 am
by drs9999
I got a bug-report for my treefarm mod + a savegame[*] to reproduce it.

As soon as I tried to load the save-game factorio crashed to desktop. The savegame uses a lot of mods, so I went ahead and downloaded most of them and was finally able to load it.
So I did more testing and discovered that the least amount of mods that have to be turned on are dytech-core and dytech-automation (and of course base). However if I save the game again (only with these 3 mods turned on), I get a CTD while loading it no matter what.

[*] https://www.dropbox.com/s/92xz5drzw4egc8g/bbb4.zip?dl=0

Re: [0.10.8] CTD while loading savegame

Posted: Sun Aug 24, 2014 7:07 pm
by kovarex
Does some of the mod contains electric poles? We found out, that removing mod-related electric poles when loading save game is not working properly.

Re: [0.10.8] CTD while loading savegame

Posted: Sun Aug 24, 2014 8:16 pm
by drs9999
So far I found none. But when I used the debugger it points to some energy-migration function if I remember it correctly, which makes much more sense to me now.

I'll try it again tomorrow.

Re: [0.10.8][kovarex] CTD while loading savegame

Posted: Tue Aug 26, 2014 5:28 pm
by kovarex
It took me some effort, but it is loadable without mods in 0.10.9.

The problem was in the ElectricEnergySource manipulation, that is always complicated because of the brute force memory cache locality optimisations.