News:

Want to praise Simutrans?
Your feedback is important for us ;D.

[FATAL] Tram way can be abused to destroy other companies' tracks

Started by Ranran(retired), February 06, 2021, 04:54:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ranran(retired)

Players can disconnect the railroad tracks of other companies at any time. (´・ω・`)

How to destroy the tracks of other companies:
(1) Make a crossing by laying a road on the railroad tracks of another company
(2) Lay a tram track on the railroad crossing
At this point, the railroad tracks of another company on the railroad crossing tiles have already been demolished. You have succeeded in sabotage.




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

jamespetts

Thank you for your report. My home internet is down currently, and I am accessing the internet using a 5g hotspot in my shed. I will look into this when my internet is restored.
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.

DrSuperGood

I do not think it is possible to have the tram tracks cross the rails like that due to limitations with the Simutrans engine (only 1 kind of rail per tile). However it should be possible to detect cases of players trying to do this and so deny them permission to build the tram lines.

jamespetts

Quote from: DrSuperGood on February 07, 2021, 10:15:05 AM
I do not think it is possible to have the tram tracks cross the rails like that due to limitations with the Simutrans engine (only 1 kind of rail per tile). However it should be possible to detect cases of players trying to do this and so deny them permission to build the tram lines.

This is correct: this is the nature of the solution that I plan to implement when I am able to do so.
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)

I think I've fixed this bug.
I made the change so that only the owner of the railroad track can create a crossing between the tram and the railroad track on the road with the destruction of the railroad track (by removing the crossing).
Therefore, it is the player's own responsibility, since only the player who does it can carry out the kind of disruption of train operations mentioned in the first post. :p
Please check the pull request #475.
ひめしという日本人が開発者達の助言を無視して自分好みの機能をextendedに"強引に"実装し、
コードをぐちゃぐちゃにしてメンテナンスを困難にし(とりわけ道路と建物関連)、
挙句にバグを大量に埋め込み、それを知らんぷりして放置し(隠居するなどと言って)別のところに逃げ隠れて自分のフォーク(OTRP)は開発を続けている
その事実と彼の無責任さに日本人プレイヤーは目を向けるべき。らんらんはそれでやる気をなくした(´・ω・`)
他人の振り見て我が振り直せ。ひめしのようにならないために、らんらんが生み出したバグや問題は自分で修正しなくちゃね(´・ω・`)

jamespetts

Excellent, thank you: now incorporated.

One odd side effect, however, is that, after trying to build the tram line, the other player's railway lines are now connected to one another at the point of the crossing.
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.