News:

SimuTranslator
Make Simutrans speak your language.

R3919 - pre-signal issue (possibly)

Started by jamespetts, October 29, 2010, 01:00:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jamespetts

I notice that with the Standard nightly R3919 (same behaviour with Experimental), pre-signals do not behave in the way in which they did before (probably following the change to the block management system recently), with the result that, on the demo.sve for pak128.Britain (both the latest version and the second latest version), trains get permanently stuck at the pre-signal at the Christminster North station, whereas they did not before. I am currently unsure whether this is a bug with the current code, or a badly designed signalling system that only worked owing to a bug with the previous code that has now been fixed.
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.

Lmallet

I've had issues with pre-signals not evaluating the next choosesignal, causing jams.  As jamespetts said, I don't know if this is a bug or a feature.  :)

Spike

Prissi wrote in the German forum, that he is currently rewriting the presignal code in order to fix some bugs. Maybe this one was one of those. or maybe it was the result of the rewrite, which is not quite complete yet, as I understood.

prissi

The presignals did simple not work as presignals, they only worked, when you cascaded two presignals and also did not work with a pre-signal followed by either a choose or long_block_signals. Now these (albeit seldom used combinations) should work. And there was still a bug with reversing convois, which reserved a tile too many under certain circumstances.

Dwachs

Does not work in 3920 too. Here is a simple setup causign the problem. Presignals are placed at station tiles.
Parsley, sage, rosemary, and maggikraut.

Dwachs

Patch attached. Imho, the problem was that there was a presignal at the destination tile, which could not look ahead simply because the route ends at the signal.
Parsley, sage, rosemary, and maggikraut.

Erik

Quote from: prissi on October 29, 2010, 07:02:46 PM
The presignals did simple not work as presignals, they only worked, when you cascaded two presignals and also did not work with a pre-signal followed by either a choose or long_block_signals. Now these (albeit seldom used combinations) should work. And there was still a bug with reversing convois, which reserved a tile too many under certain circumstances.

How is it with the progress of the reprogramming?

I'm building a .pak set of dutch train signals.
http://forum.simutrans.com/index.php?topic=6239.0
But i don't really understand how a pre_signal has meant to work in Simutrans.


Dwachs

The re-implementing is done.

Did you read the wiki about presignals?

Please ask your question in the help-request board again. Maybe searching the forum can answer this question, too.
Parsley, sage, rosemary, and maggikraut.