[0.15.26] Save corrupted when uninstalling mod

This subforum contains all the issues which we already resolved.
Post Reply
evildogbot100
Fast Inserter
Fast Inserter
Posts: 152
Joined: Sun Dec 18, 2016 3:02 pm
Contact:

[0.15.26] Save corrupted when uninstalling mod

Post by evildogbot100 »

I make a test mod with a modded straight-rail entity that have no collision_mask. To reproduce the bug, simply load the mod, place 2-3 length vanilla rail, place modded rails completely covering the vanilla rail, then save. After that, remove mod and load the save. The save is now unloadable without the mod.
Attachments
Bugged-mod_0.1.0.zip
(1.27 KiB) Downloaded 35 times

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.15.26] Save corrupted when uninstalling mod

Post by kovarex »

So it seems that our check to not allow any rails on the same location is failing in this case, it needs to be fixed.

evildogbot100
Fast Inserter
Fast Inserter
Posts: 152
Joined: Sun Dec 18, 2016 3:02 pm
Contact:

Re: [0.15.26] Save corrupted when uninstalling mod

Post by evildogbot100 »

Is it related to this viewtopic.php?f=23&t=49820

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.15.26] Save corrupted when uninstalling mod

Post by kovarex »

Hello, i fixed this bug in a way you might not like. I just disallowed specifying different rail categories.
It never worked, it was rather a "plan to make it work someday" than a functionality. We have too many other things on our hands than making this, sorry.

evildogbot100
Fast Inserter
Fast Inserter
Posts: 152
Joined: Sun Dec 18, 2016 3:02 pm
Contact:

Re: [0.15.26] Save corrupted when uninstalling mod

Post by evildogbot100 »

Do I just accidentally killed my own mod? Btw, this bug doesn't happen only for different rail category, normal rail category also bugged.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.15.26] Save corrupted when uninstalling mod

Post by kovarex »

evildogbot100 wrote:Do I just accidentally killed my own mod?
Well, it wouldn't work anyway, so you saved some time.

evildogbot100
Fast Inserter
Fast Inserter
Posts: 152
Joined: Sun Dec 18, 2016 3:02 pm
Contact:

Re: [0.15.26] Save corrupted when uninstalling mod

Post by evildogbot100 »

Nah, it's submitted already. I'm not saving any time, sadly.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.15.26] Save corrupted when uninstalling mod

Post by kovarex »

evildogbot100 wrote:Nah, it's submitted already. I'm not saving any time, sadly.
Sorry for that. One day, we might make make different rail types possible.

Post Reply

Return to “Resolved Problems and Bugs”