News:

SimuTranslator
Make Simutrans speak your language.

circuit block behavior for normal_danger=0

Started by Vladki, February 14, 2016, 10:56:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Vladki

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.

jamespetts

I think that I have fixed this - do you care to re-test?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Vladki

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 ?

jamespetts

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?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Vladki

Quote from: jamespetts 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?
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.

jamespetts

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.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Vladki

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