Page 1 of 1

[0.11.22] [kovarex] Train crashes Game (rollingStockCount)

Posted: Tue May 05, 2015 6:08 pm
by TechnicianLP
After buildin my first bits of rail i wanted to test my train (1 locomotive and 1 cargo) but as i accelerate the train the game says something about an error (Internal Error: Carriage::moveFrontJoinForward frontRail rollingStockCount != 1) and sends me to menu; but when i try to pickup the cargo the game crashes completly
factorio-Current.log
EDIT1:
It seems to be caused by a rail because when i mine the frontRail it gives me this crash:
Log
EDIT2:
Tried removing cargo n rails via lua both crashes

EIDT3:
Hitting Esc on the accelerating error and saving fixed the problem; now there are only 3 rails left that can't be mined

Re: Train crashes Game

Posted: Tue May 05, 2015 7:30 pm
by quinor
Post the savegame (it may be corrupted) somewhere, then devs will be able to find out what's wrong with these rails. Just place character near them, save, upload somewhere and post it there.

Re: Train crashes Game

Posted: Tue May 05, 2015 7:44 pm
by TechnicianLP
Dropbox Link to save before (most of) trials to remove: https://www.dropbox.com/s/xdkjj0s6gsbys ... l.zip?dl=0

Re: Train crashes Game

Posted: Tue May 05, 2015 7:45 pm
by TechnicianLP
Removed the rails with lua (now without crash) the only problem is it can' find target with id 12 on worldload (can't load world)

Re: Train crashes Game

Posted: Tue May 05, 2015 8:25 pm
by TechnicianLP
Game crash on cargo removal only happens when train is connected (is further up the rail)

Re: [0.11.22] Train crashes Game (rollingStockCount)

Posted: Thu Aug 06, 2015 6:49 pm
by kovarex
Do you have a way to reproduce it in 0.12?

Re: [0.11.22] Train crashes Game (rollingStockCount)

Posted: Fri Aug 07, 2015 8:16 am
by codewarrior
I seem to recall a crash similar to this in 0.11. I took a few minutes and was able to reproduce it in 0.12.

http://imgur.com/p4IIA7R

There is a junction with straight and curved tracks. The front engine is fully on the straight track. The rear engine is just starting to turn onto the curved track. When I get into the front engine and press G, I get the pictured "rollingStockCount" error and the game returns to the title screen.

Re: [0.11.22] Train crashes Game (rollingStockCount)

Posted: Mon Aug 10, 2015 3:35 pm
by kovarex
codewarrior wrote:I seem to recall a crash similar to this in 0.11. I took a few minutes and was able to reproduce it in 0.12.

http://imgur.com/p4IIA7R

There is a junction with straight and curved tracks. The front engine is fully on the straight track. The rear engine is just starting to turn onto the curved track. When I get into the front engine and press G, I get the pictured "rollingStockCount" error and the game returns to the title screen.
Great, I was able to reproduce it, and therefore fix it for 0.12.4.

Thx for the help.