Page 1 of 1

Pbs problems

Posted: 29 Nov 2005 04:46
by WWTBAM
The known bug of a train not being able to reverse. open train 4

Posted: 29 Nov 2005 16:31
by Rob
That's no bug.
It's a feature, to avoid traincrashes.

Posted: 29 Nov 2005 16:46
by Patchman
I haven't had time to look at it yet, but if a "Train soandso can't reverse" message, it should be considered a bug I think.

Posted: 29 Nov 2005 16:57
by Rob
I have those messages quite often.
They appear when my network is overloaded and trains are starting to turn around at signals after the signalwaittime has expired.
If a train is waiting with his rearend partly in a PBS block which is already occupied by another waiting train then the first train can't reserve a path when ttrying to turn around, because it would intersect with the path of the other train.
The thing that is a bug about this, is that the train that can't reveres releases it's path so that another train is cabable to crash into the first train.
I already reported this bug.

Posted: 29 Nov 2005 17:01
by Patchman
Oh right. The problem with fixing that is if the train doesn't release its own path, it's impossible to find a path because its original path interferes. So I'd have to save the current path, release it, check if it can reverse, and if not restore the old path... not exactly trivial :)