Page 1 of 1

[0.9.1] Rail related crash

Posted: Mon Feb 24, 2014 9:52 pm
by syneris
Internal error: Carriage::moveFrontJointForward frontRail rollingStockCount != 0

Save: https://dl.dropboxusercontent.com/u/107 ... lCrash.zip

Take the train right (west) and the game crashes. It appears to crash at a few pieces of track that can not be mined.

Edit: ps. Can this save be fixed? I could build around that section, but would rather play a different map for a while instead of having a bugged section of track in the midst of everything.

Re: [0.9.1] Rail related crash

Posted: Thu Feb 27, 2014 12:57 pm
by kovarex
Hello, I will take a look.
You can remove the rail with this command while you have the rail selected:

Code: Select all

game.player.selected.destroy()

Re: [0.9.1] Rail related crash

Posted: Thu Feb 27, 2014 1:09 pm
by kovarex
You can press F4, and select rollig_stock_count in the basic tab, then, when you press f5, you see rails that should have some rolling stock (rail vehicles) on top of it.
I can see two areas in you rsave that have this without the train on top of it.
This was hard to detect bug for a long time, and we thought it is already solved, but appereantly it is not.
Did you do anything non standard with trains on the locations where it is marked?

Re: [0.9.1] Rail related crash

Posted: Thu Feb 27, 2014 7:58 pm
by kovarex
I have been playing with that almost all day, and I was able to reproduce some of it, and I maybe found and fixed one problem that might have caused it, so I'm moving this to resolved bugs.

Re: [0.9.1] Rail related crash

Posted: Fri Feb 28, 2014 4:16 am
by syneris
The only thing I can think of is ghost building. I'll look for the other problem area and see it there are any connections between the two spots. You can see that this isn't a typical factory setup because of something I am not using.

Re: [0.9.1] Rail related crash

Posted: Fri Feb 28, 2014 11:55 pm
by syneris
Using rolling_stock_count, I can confirm that ghost building a locomotive can cause this. Looks like it leaves behind a true ghost train ;)

Re: [0.9.1] Rail related crash

Posted: Sat Mar 01, 2014 7:30 am
by kovarex
syneris wrote:Using rolling_stock_count, I can confirm that ghost building a locomotive can cause this. Looks like it leaves behind a true ghost train ;)
OOOOOHHHH, thank you :)

Re: [0.9.1] Rail related crash

Posted: Sat Jun 13, 2015 5:49 am
by A_Factorio457
Hi, I have the same issue with my map. I destroyed the two tracks that caused the issue with the command you gave but every save after that gave me a deserialization error and a multiplayer invalid state 2 and a crash. Please help me