News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

Strange reorder of freight train

Started by Ranran(retired), March 10, 2019, 11:17:31 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ranran(retired)

Wagon may carry out strange reorder when it reversed.

Place the brake van right after the locomotive and at the end of the train like this.




In this example, reordering the brake van should be unnecessary.
However, It will reorder some times and the two brake vans will move to the middle of train. And never comes again to the end. (´・ω・`)
ひめしという日本人が開発者達の助言を無視して自分好みの機能をextendedに"強引に"実装し、
コードをぐちゃぐちゃにしてメンテナンスを困難にし(とりわけ道路と建物関連)、
挙句にバグを大量に埋め込み、それを知らんぷりして放置し(隠居するなどと言って)別のところに逃げ隠れて自分のフォーク(OTRP)は開発を続けている
その事実と彼の無責任さに日本人プレイヤーは目を向けるべき。らんらんはそれでやる気をなくした(´・ω・`)
他人の振り見て我が振り直せ。ひめしのようにならないために、らんらんが生み出したバグや問題は自分で修正しなくちゃね(´・ω・`)

jamespetts

Thank you for your report. Can you upload the saved game that you used for testing?
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)

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

Ranran(retired)

#3
For your information


I am now testing a patch that shows the formation of the train.
Since I have not changed the re-order algorithm, the reorder behavior is the same as the release build.
This will help to review the reorder algorithm.

EDIT:
This type of freight train formation (make wagon a sandwich with brake van) does not require a brake van rearrangement if the direction of travel changes, such as a switchback.
For this reason, this is the composition of freight trains often found in the 20th century Japanese countryside. (Currently extinct by motorization)

(btw, this is still a draft version so car's no will be fixed....(´・ω・`))

EDIT2: distinguished wagon by color


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

jamespetts

#4
Thank you for that. It is difficult at present to work out whether it is sensible to work on a basic fix now or put somewhere in the truly gargantuan list of tasks needing to be done (on which no progress has been made since early 2018 because all the time has been spent fixing bugs) a more fundamental recoding of how this system works.

Edit: For reference, I should note that the straightforward option would involve accommodating new specific cases; anything more general or abstract would require a major rewrite. If anyone else would like to do this, of course, that would be most welcome, but we would need to discuss in some detail how that would work.
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)

#5
I think this needs to be fixed at least when implementing recombination system.
If the vehicle formation is broken in an unexpected order when convoy returns back from the terminal end, it will cause great confusion in the next schedule(e.g. separation of two convoys).
Vehicles that should originally be in convoy A may be included in convoy B.

However, if you ignore the strangeness of recombination, the design of the recombination system may absorb inconsistencies.
e.g. The misplaced vehicle is teleported from Convoy A to Convoy B.
But it will disappoint players who enjoy watching the train. (´・ω・`)
ひめしという日本人が開発者達の助言を無視して自分好みの機能をextendedに"強引に"実装し、
コードをぐちゃぐちゃにしてメンテナンスを困難にし(とりわけ道路と建物関連)、
挙句にバグを大量に埋め込み、それを知らんぷりして放置し(隠居するなどと言って)別のところに逃げ隠れて自分のフォーク(OTRP)は開発を続けている
その事実と彼の無責任さに日本人プレイヤーは目を向けるべき。らんらんはそれでやる気をなくした(´・ω・`)
他人の振り見て我が振り直せ。ひめしのようにならないために、らんらんが生み出したバグや問題は自分で修正しなくちゃね(´・ω・`)