[0.8.8] Creating really long train can crash the game

This subforum contains all the issues which we already resolved.
User avatar
rk84
Filter Inserter
Filter Inserter
Posts: 556
Joined: Wed Feb 13, 2013 9:15 am
Contact:

[0.8.8] Creating really long train can crash the game

Post by rk84 »

Building wagons to tail end while driving forward. At least over 150 wagons. :)
factoriocrash.PNG
factoriocrash.PNG (745.91 KiB) Viewed 3090 times
Test mode
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
SilverWarior
Filter Inserter
Filter Inserter
Posts: 559
Joined: Mon Mar 04, 2013 9:23 am
Contact:

Re: [0.8.8] Creating really long train can crash the game

Post by SilverWarior »

Using your method I just managed to build train with one locomotive and 376 cargo cars. I could have probably make it longer if I wouldn't have run out of track. But I havent encountered any crash.
User avatar
rk84
Filter Inserter
Filter Inserter
Posts: 556
Joined: Wed Feb 13, 2013 9:15 am
Contact:

Re: [0.8.8] Creating really long train can crash the game

Post by rk84 »

SilverWarior wrote:Using your method I just managed to build train with one locomotive and 376 cargo cars. I could have probably make it longer if I wouldn't have run out of track. But I havent encountered any crash.
Tested this for third time and I got to full track (315). I was more carefull with my mouse movements this times.
In the end of it I tested one quick swipe. Some wagons did not connect. I removed one wagon, tried to add again and it crashed.
Test mode
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.8.8] Creating really long train can crash the game

Post by kovarex »

Hello, is it reporoducible? Can you provide save before this happens?
User avatar
rk84
Filter Inserter
Filter Inserter
Posts: 556
Joined: Wed Feb 13, 2013 9:15 am
Contact:

Re: [0.8.8] Creating really long train can crash the game

Post by rk84 »

kovarex wrote:Hello, is it reporoducible? Can you provide save before this happens?
I'm having hard time reproduce this its seems bit random. This might work reproducing it.
1. Drive train forward.
2. Build wagons in front of train.
2. Ram over wagons with your train while building more wagons

Here is one save. Over 600 wagons with one invisible wagon (becomes visible when you load the game. See save preview picture).
peacefulltraintest2.zip
(1.93 MiB) Downloaded 127 times
Here is also unreleased version of testmode.
testingmode.zip
unreleased version 0.8.3
(1.18 MiB) Downloaded 680 times
Also I forgot to mention its in sandbox.
Test mode
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
SilverWarior
Filter Inserter
Filter Inserter
Posts: 559
Joined: Mon Mar 04, 2013 9:23 am
Contact:

Re: [0.8.8] Creating really long train can crash the game

Post by SilverWarior »

Done some more testing and managed to make train with 24 locomotives and over 1000 of cargo cars. You need a bunch of locomotives if you want for such a long train to be even able to move :D

Based on error message I suspected that I could reproduce the bug by going realy fast when starting to place new cargo cars (game tries to conec new rail cart toe the one whose object wasn't fully initialized yet). So far I no luck with this as it sems game is able to place the cars fast enough. Maybe my computer is to fast for this.

I also thought that this might be caused due to low memory isue but doing the testing I haven't encountered any significant increase in memory usage which could lead to this.

So at this moment I have no clue of what to try next in order to be able to reproduce this.
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.8.8] Creating really long train can crash the game

Post by kovarex »

I made some fixes (some of them for 0.9.2), and this should not happen anymore, if it happens anymore for 0.9.2 please let me know.
Post Reply

Return to “Resolved Problems and Bugs”