Train doesn't go to next stop while disabling current if current has no path

Things that has been reported already before.
Post Reply
TheUnknown007
Fast Inserter
Fast Inserter
Posts: 129
Joined: Sun May 03, 2015 9:17 pm
Contact:

Train doesn't go to next stop while disabling current if current has no path

Post by TheUnknown007 »

As the title says:
When a train is pathing to a stop that it has no path to and that stop gets disabled, it doesn't go to the next stop.

Reproduction steps:
Setup:
1. Set up a train on a rail loop that can reach train stop A and B.
2. Put a train stop C somewhere unreachable.
3. Put a train on the rails with schedule A B C (no leave conditions necessary)

Actual expected behaviour:
4. disable station C (connect to logistic network, wooden chest < 0)
5. start train
The train will run between stop A and B without considering C as it is disabled.

Actual buggy behaviour:
6. enable stop C again (disconnect from logistics)
Train will stop at stop B and display "no path"
7. disable stop C (reconnect to logistics)
Train will continue trying to go to train stop C (i.e. stay stopped at stop B), even though all train stops C are disabled.

Expected behaviour:
After disabling stop C in step 7, the train starts running between A and B again.

Reason:
I use something like this for wireless data transfer: disabling a station at ore sorting instantly disables all ore outposts without a need for circuit wires to all my outposts.

Save file:
This save file is after step 7. You can:
- redo steps 6 and 7 to see the buggy behaviour
- send the train to A or B to get it back to the state after step 5
Attachments
_bug_train_no_next_stop_if_current_disabled_but_no_path.zip
(1.63 MiB) Downloaded 71 times


TheUnknown007
Fast Inserter
Fast Inserter
Posts: 129
Joined: Sun May 03, 2015 9:17 pm
Contact:

Re: Train doesn't go to next stop while disabling current if current has no path

Post by TheUnknown007 »

RIP GTS, sometime 2018 - August 2019

Post Reply

Return to “Duplicates”