The International Simutrans Forum

 

Author Topic: circuit block behavior for normal_danger=0  (Read 2719 times)

0 Members and 1 Guest are viewing this topic.

Offline Vladki

  • Devotee
  • *
  • Posts: 3441
    • My addons, mostly roadsigns, pak128.cs
  • Languages: EN, CS
circuit block behavior for normal_danger=0
« on: February 14, 2016, 10:56:10 PM »
I have made a test line with 3-aspect signals - https://uran.webstep.net/~vladki/simutrans/test2.sve - see the line 2 - sawmill - brewery - grain farm. Enable track reservations and watch.
The signals return to caution/clear only when the block in front of them is not reserved. Otherwise, they change aspect only when the block behind the signal is reserved. Could be easily watched at the double track part from sawmill to brewery.

There are other glitches, with directional reservations, and choose signals, but I'm not able to describe them right now. I was also reading a lot about signalling the single track lines, and have a complete mess in my head... I have to sort it out somehow, I just have the feeling that there is something fundamentally wrong with the new signalling.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 20267
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: circuit block behavior for normal_danger=0
« Reply #1 on: February 20, 2016, 11:12:25 AM »
I think that I have fixed this - do you care to re-test?

Offline Vladki

  • Devotee
  • *
  • Posts: 3441
    • My addons, mostly roadsigns, pak128.cs
  • Languages: EN, CS
Re: circuit block behavior for normal_danger=0
« Reply #2 on: February 20, 2016, 07:15:35 PM »
Seems to be fixed partially. It does not work well on the first signal on double track (in either direction).

There's also non-consistent behavior of choose signals. The one at forest, chooses the alternative path quite early (two blocks in advance), while the signal at brewery - on approach from double track, chooses only when the train arrives very close to it - as if it is simulating "approach release". Although "approach release" is specific for UK (in CZ we use speed signalling instead), i dont mind it. It is just about consistency. Either do it always or never. Or is there some hidden rule ?

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 20267
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: circuit block behavior for normal_danger=0
« Reply #3 on: February 20, 2016, 10:51:32 PM »
Can you explain a little more of what you mean about the first signal on double track?

As to the second issue, I think that I have fixed this - do you care to re-test?

Offline Vladki

  • Devotee
  • *
  • Posts: 3441
    • My addons, mostly roadsigns, pak128.cs
  • Languages: EN, CS
Re: circuit block behavior for normal_danger=0
« Reply #4 on: February 20, 2016, 11:27:34 PM »
Can you explain a little more of what you mean about the first signal on double track?

See this screenshot: https://uran.webstep.net/~vladki/simutrans/simscr06.jpg
There are two signals at caution, the train at bottom is leaving the station at brewery.


Quote
As to the second issue, I think that I have fixed this - do you care to re-test?
Yes, now they seem to behave consistently - reserve the path in advance.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 20267
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: circuit block behavior for normal_danger=0
« Reply #5 on: February 21, 2016, 01:44:42 PM »
I think that I have fixed this now, too (signals were sometimes incorrectly marked as not being automatic signals). Could you re-test? Thank you.

Offline Vladki

  • Devotee
  • *
  • Posts: 3441
    • My addons, mostly roadsigns, pak128.cs
  • Languages: EN, CS
Re: circuit block behavior for normal_danger=0
« Reply #6 on: February 22, 2016, 09:08:26 PM »
This seems to be fixed, I'll dare continue here with further bugs - they are all demonstrated in the savegame in first post. Now let's move to the single track section from brewery to grain farm:

Trains departing from grain farm reserve two blocks ahead, but do not make the directional reservation - I tried to make a deadlock, but did not succeed. Anyway it makes bad display of signals. The signals ahead of the train are: caution, clear (here the reservation end), all remaining signals to next station are at danger, showing clear in the opposite direction.

When the train apporaches the first bidirectional signal, it makes the blue reservation, up to the choose signal at the next station. However, it does not turn all signals to clear/caution, and at moment you can see two signals at caution in row: https://uran.webstep.net/~vladki/simutrans/simscr07.jpg

When the train comes closer and reserves the path to the platform, it makes directional reservation beond the platform, up to a nearby one-way sign: https://uran.webstep.net/~vladki/simutrans/simscr08.jpg

On the way back, from brewery to grain farm, the directional reservation is made as soon as the train leaves the brewery station, but the first teo signals ahead are at caution (there the red reservation ends), then two signals clear, and finally choose signal at danger. When the train passes a few tiles, the first signal turns clear.
https://uran.webstep.net/~vladki/simutrans/simscr10.jpg