News:

Simutrans Sites
Know our official sites. Find tools and resources for Simutrans.

Bug: Directional reservation cannot across the single track station

Started by Ranran(retired), July 11, 2018, 03:25:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ranran(retired)

In this saved game, you can see that two trains collide around 1:26:00. (´・ω・`)

The cause of this is directional reservation cannot across the single track station in some case like this.





However, make St. James brhh Lake station smaller to 1 tile like this just after loading the save.


Then directional reservation heading east will be able to pass through the station even if train is scheduled to stop at the station.

I think that this is correct behavior, but the station got smaller ::'(

However, even in this case the reservation of heading west is broken and no directional reservation is created.


The heading east reservation works properly so you can avoid collisions occurring around 1:26:00 :thumbsup: but this solution is not practical. ::(


In the depot there is a freight train of Line (2) which scheduled to pass through the St. James brhh Lake station.
When passing through St. James brhh Lake station, the signal works the same as if the station made small to 1 tile.
ひめしという日本人が開発者達の助言を無視して自分好みの機能をextendedに"強引に"実装し、
コードをぐちゃぐちゃにしてメンテナンスを困難にし(とりわけ道路と建物関連)、
挙句にバグを大量に埋め込み、それを知らんぷりして放置し(隠居するなどと言って)別のところに逃げ隠れて自分のフォーク(OTRP)は開発を続けている
その事実と彼の無責任さに日本人プレイヤーは目を向けるべき。らんらんはそれでやる気をなくした(´・ω・`)
他人の振り見て我が振り直せ。ひめしのようにならないために、らんらんが生み出したバグや問題は自分で修正しなくちゃね(´・ω・`)

jamespetts

Thank you for your report. I have found the immediate cause of the problem: the signal at 101,40 is incorrectly coded with the direction "North" rather than "East and West". Rebuilding the signal fixes this problem.

However, I cannot reproduce the circumstances in which building this signal encodes the incorrect direction in the first place, and saving/loading the game with the corrected signal confirms that the corrected direction remains encoded, so I cannot reproduce the ultimate cause of this so as to effect a fix to the code.
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.

Ranran(retired)

It is a mystery how I made the direction of that signal "north"... That signal look like a bidirectional signal though.
I think that I built the track, the signal and the station as usual...
ひめしという日本人が開発者達の助言を無視して自分好みの機能をextendedに"強引に"実装し、
コードをぐちゃぐちゃにしてメンテナンスを困難にし(とりわけ道路と建物関連)、
挙句にバグを大量に埋め込み、それを知らんぷりして放置し(隠居するなどと言って)別のところに逃げ隠れて自分のフォーク(OTRP)は開発を続けている
その事実と彼の無責任さに日本人プレイヤーは目を向けるべき。らんらんはそれでやる気をなくした(´・ω・`)
他人の振り見て我が振り直せ。ひめしのようにならないために、らんらんが生み出したバグや問題は自分で修正しなくちゃね(´・ω・`)

jamespetts

Very odd. If you can ever reproduce the conditions in which the incorrect direction of signal gets built, I should be grateful if you could post this in a bug report.
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.