You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BkCommonLib Version (/train version): v1.19.3-v2-SNAPSHOT (build: 1288)
TrainCarts Version (/train version): v1.19.3-v2-SNAPSHOT (build: 1453)
Server Type and Version (/version): git-Paper-39 (MC: 1.19)
Bug
Description
Sometimes I find that trains will get stuck causing a big queue of trains behind it. It often happens before a station marked "continue", as if the train has left the station in the wrong direction and ended up deadlocked facing another train that is itself deadlocked facing the stuck train.
I used to change the station sign to have an explicit departure direction, but since switching to tccoaster node signs directions don't seem reliable, so I went back to "continue".
Having discovered /train status I can see that a train appears to have swapped direction at a station, and only moved about a block (in the wrong direction) before halting waiting for a train that should be considered behind it.
I'm unsure what triggers the behaviour. The server does automatically shut down when not in use, so its conceivable its related to saving & reloading train state when a train is at a station.
Possibly related, my trains are made of carts which are constructed programmatically using flipped so that the end carts face opposite direction.
Steps to reproduce
A station with "continue"
A train spawner firing trains towards the station every so often (and destroy at the other end)
Trains set to wait for other trains
Probably some other condition I haven't quite figured out, since it doesn't always happen.
The text was updated successfully, but these errors were encountered:
Just don't use continue. You were using an explicit departure direction before. Use that. The directions are very reliable.
Make sure you use the latest version of BKCommonLib and TrainCarts.
Info
Please provide the following information:
/train version
): v1.19.3-v2-SNAPSHOT (build: 1288)/train version
): v1.19.3-v2-SNAPSHOT (build: 1453)/version
): git-Paper-39 (MC: 1.19)Bug
Description
Sometimes I find that trains will get stuck causing a big queue of trains behind it. It often happens before a station marked "continue", as if the train has left the station in the wrong direction and ended up deadlocked facing another train that is itself deadlocked facing the stuck train.
I used to change the station sign to have an explicit departure direction, but since switching to tccoaster node signs directions don't seem reliable, so I went back to "continue".
Having discovered
/train status
I can see that a train appears to have swapped direction at a station, and only moved about a block (in the wrong direction) before halting waiting for a train that should be considered behind it.I'm unsure what triggers the behaviour. The server does automatically shut down when not in use, so its conceivable its related to saving & reloading train state when a train is at a station.
Possibly related, my trains are made of carts which are constructed programmatically using flipped so that the end carts face opposite direction.
Steps to reproduce
The text was updated successfully, but these errors were encountered: