Page 1 of 1

[0.17.79] Crash when loading modded map (TransportLine IntrusiveList corruption)

Posted: Sun Dec 22, 2019 11:04 am
by ReRetriever
===============================================
(not sure how to mark as solved, if mods could mark/move this it would be great.)
Solution:

Somehow mini-loader mod was uninstalled/deleted/corrupted(?). the map will not work at all if mini-loader is missing and instead crashes. I have reinstalled miniloader and the map works again. This may be related to another issue since other mods seem to revert when removed.

===============================================

Please see bug below. I can't decipher the attached log. I have attempted to run Factorio as an admin with no success.


What did you do?
- Game starts regularly and works with at least two other maps. linked map below does not work due to attached error log
What happened?
- Game crashes upon loading bar reaching 100%
What did you expect to happen instead? It might be obvious to you, but do it anyway!
- Game did not load as expected.

1. Start Factorio
2. load map
3. game crashes


Save file located at the link below:
https://drive.google.com/file/d/10apqyA ... sp=sharing

Modpack located at the link below:
https://drive.google.com/file/d/1VxYFF3 ... sp=sharing

Edit: updated the log to show the crash. accidentally uploaded the wrong log.

Re: [0.17.79] Crash when loading modded map

Posted: Sun Dec 22, 2019 11:27 am
by Loewchen
The log does neither show a crash nor loading of a map.

Re: [0.17.79] Crash when loading modded map

Posted: Sun Dec 22, 2019 11:56 am
by boskid
This is super weird, i can load this save file under 0.17.79 without crash, consistency passes here, but this save file when loading under 0.18.0 without any mods will crash 25% of times, while 75% of times it loads fine. Crash i have is inside "TransportLineManager::update (67)"

Re: [0.17.79] Crash when loading modded map

Posted: Mon Dec 23, 2019 1:00 am
by ReRetriever
Loewchen wrote: Sun Dec 22, 2019 11:27 am The log does neither show a crash nor loading of a map.
Apologies. i uploaded the wrong log. I have updated the original post to show the correct log.

Re: [0.17.79] Crash when loading modded map (TransportLine IntrusiveList corruption)

Posted: Mon Dec 23, 2019 10:07 am
by boskid
I narrowed this issue down to one mod: "miniloader"

Code: Select all

/c game.player.teleport{-108.5, -154.5}
79200.png
79200.png (40.08 KiB) Viewed 5008 times
This save file should work fine as long as miniloader mod is enabled. Fixing this issue may break miniloader.

Re: [0.17.79] Crash when loading modded map (TransportLine IntrusiveList corruption)

Posted: Tue Dec 24, 2019 2:29 am
by ReRetriever
after re-installing and enabling miniloader mod the map seems to work.

Re: [0.17.79] Crash when loading modded map (TransportLine IntrusiveList corruption)

Posted: Tue Jan 07, 2020 9:11 pm
by Rseding91
After talking about this internally we decided on a fix. So, I've "fixed" this issue for the next version of the game by restricting loaders to a belt_distance of 0.5 and adding a new loader prototype type (loader-1x1) that has a fixed belt_distance of 0.

This means that mods like miniloader can continue to work but they won't corrupt save file when they get removed. It unfortunately means that if anyone was setting the value to something > 1 it's no longer supported.

As unfortunate as that might be, it was corrupting save files so not corrupting save files being no longer supported isn't really a big deal.

Re: [0.17.79] Crash when loading modded map (TransportLine IntrusiveList corruption)

Posted: Mon Jan 20, 2020 5:14 pm
by Impatient
Rseding91 wrote: Tue Jan 07, 2020 9:11 pm ... and adding a new loader prototype type (loader-1x1) ...
Will it be able to filter?

Re: [0.17.79] Crash when loading modded map (TransportLine IntrusiveList corruption)

Posted: Mon Jan 20, 2020 6:53 pm
by Rseding91
Impatient wrote: Mon Jan 20, 2020 5:14 pm
Rseding91 wrote: Tue Jan 07, 2020 9:11 pm ... and adding a new loader prototype type (loader-1x1) ...
Will it be able to filter?
It functions identically to how the loader works now just with a hard-coded distance of a 1x1 loader.