The International Simutrans Forum

Simutrans Extended => Simutrans-Extended bug reports => Simutrans-Extended development => Simutrans-Extended closed bug reports => Topic started by: Ranran(retired) on May 13, 2018, 08:49:18 PM

Title: Current signal method switch to "drive by sight" when schedule is changed
Post by: Ranran(retired) on May 13, 2018, 08:49:18 PM
Since another issue was found in this thread (https://forum.simutrans.com/index.php/topic,18174.0.html), so I separate and repost it for tracking the fixing of this issue.

Current signal working method switch from "Token block" to "drive by sight" when schedule is changed.

The confirmation procedure is the same as this post (https://forum.simutrans.com/index.php/topic,18174.msg172830.html#msg172830)
Quote1. load the saved game Ranran_testing_signal-2 (https://simutrans-germany.com/files/upload/Ranran_testing_signal-2.sve)
2. change locomotive's assignment scheduled line to (3).
3. When the train is running from Left station to Right station and passing by the middle point between Station c and B, then open its schedule window and change it goes to Left station.
Note that this does not occur if train is left side of station c and too close to the station c.

The train will reverse, then its speed will be restricted to 1 km/h for one tile, and current signal method will switch to drive by sight when acceleration is started.

The point is that:
Is it correct to switch to drive by sight? It's not reservation cancel, just reversing (by changing schedule).
This also happens when you use "Go to depot" command instead.

Thank you. (´・ω・`)
Title: Re: Current signal method switch to "drive by sight" when schedule is changed
Post by: jamespetts on June 10, 2018, 03:56:16 PM
Apologies for the delay in replying. Unless fragments of reservation are left behind causing deadlocks, this is the correct behaviour, as the program has no way of knowing whether, on changing a schedule, the train will have to take a different route and will thus need a different reservation. Therefore, the signalling method will have to be reset to drive by sight; however, this will be changed to a different method when a signal or sign should be encountered.
Title: Re: Current signal method switch to "drive by sight" when schedule is changed
Post by: Ranran(retired) on June 11, 2018, 11:17:22 AM
Quote from: jamespetts on June 10, 2018, 03:56:16 PMas the program has no way of knowing whether, on changing a schedule, the train will have to take a different route and will thus need a different reservation.
Ahh, that's right. Thank you for explaining.
I will try to be aware of deadlocks when changing the schedule.