
[0.8.8] Creating really long train can crash the game
[0.8.8] Creating really long train can crash the game
Building wagons to tail end while driving forward. At least over 150 wagons.

Test mode
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
-
- 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
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.
Re: [0.8.8] Creating really long train can crash the game
Tested this for third time and I got to full track (315). I was more carefull with my mouse movements this times.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.
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
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
Re: [0.8.8] Creating really long train can crash the game
Hello, is it reporoducible? Can you provide save before this happens?
Re: [0.8.8] Creating really long train can crash the game
I'm having hard time reproduce this its seems bit random. This might work reproducing it.kovarex wrote:Hello, is it reporoducible? Can you provide save before this happens?
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). Here is also unreleased version of testmode. 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
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
-
- 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
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
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.

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.
Re: [0.8.8] Creating really long train can crash the game
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.