[2.0.66] Pasting train stop settings allows train to bypass limit

This subforum contains all the issues which we already resolved.
urquelle
Burner Inserter
Burner Inserter
Posts: 6
Joined: Thu Oct 31, 2019 2:04 pm
Contact:

[2.0.66] Pasting train stop settings allows train to bypass limit

Post by urquelle »

1. I used copy-paste settings (shift+RMB) to copy train station name and limit to another train stop (video included).
2. Settings are copied correctly, however, trains ignore the train station limit initially (as if they were dispatched before the limit was applied).
3. I wanted the train station limit to be applied before any train can possibly be dispatched.
4. It happens always on copy-paste settings tool.

I uploaded the video showcasing this bug on my google drive, since the site rejects .mkv files: https://drive.google.com/file/d/1TPAiLW ... sp=sharing

I have also included my save file.
Attachments
multi.zip
(93.98 MiB) Downloaded 8 times
naahuc
Burner Inserter
Burner Inserter
Posts: 18
Joined: Thu Dec 03, 2020 8:33 pm
Contact:

Re: [2.0.66] Pasting train stop settings allows train to bypass limit

Post by naahuc »

Attached a minimal example.

Repro:
Bottom right are two stations Set and Up.
Trains are waiting at the stops to the north.
Trains are waiting to go to Set, but Train Limit is 0 so they are waiting for a station to free up.
Up has a train limit > 0

When copying Set to Up, both trains will be dispatched immediately towards the former Up station.
This even happens with the game paused.

I could guess that the dispatcher is operating on an intermediate state before all the data has been fully copied over and it's not limited by tick barriers, hence the dispatch on the same tick as the change is happening. But in the end it's not even an educated guess.
Attachments
680417.zip
(1.14 MiB) Downloaded 8 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4174
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.66] Pasting train stop settings allows train to bypass limit

Post by boskid »

Thanks for the report. I did some tiny adjustments to the train stop copy logic and the issue should be now fixed for 2.0.67.
Post Reply

Return to “Resolved Problems and Bugs”