Page 1 of 1

[0.9.8] Modded rail on the same tile causes unloadable save

Posted: Mon Jun 02, 2014 5:02 am
by JamesOFarrell
If you mod in more rail of the same bending_type and place it on the same tile in the same orientation it will cause the save game to become unloadable with the error "Error when creating segment ####, found rail already connected to segment ####"

Re: [0.9.8] Modded rail on the same tile causes unloadable s

Posted: Wed Jun 11, 2014 5:35 pm
by kovarex
Hello, I fixed that two different rail entities could be built over each other.

There is concept of RailCategories, but it wasn't never used, so there is some work on our side to be done to allow to have different rail types with different wagons compatible for those and I bet my hat, that there are other bugs related to different types of rails waiting.

Re: [0.9.8] Modded rail on the same tile causes unloadable s

Posted: Mon Jun 23, 2014 11:33 pm
by JamesOFarrell
I actually discovered a lot of little bugs to do with rail, networks and entities while messing with the mod API, should I just create a single thread for each one or do you want me to lump them all together in one?

Re: [0.9.8] Modded rail on the same tile causes unloadable s

Posted: Tue Jun 24, 2014 7:18 am
by kovarex
Rail modding is problematic, and we consider it known issue. Making rail pieces with different sizes for example will lead to trouble for sure.

Having just different rail with different category might be possible, but we would need to finish some programming to make it possible.

I would preffer to make a single thread for it in the "Modding interface requests" thread instead.