News:

Simutrans Forum Archive
A complete record of the old Simutrans Forum.

Hack tooltips when the finance dialog is in the foreground

Started by Ranran(retired), February 01, 2021, 01:08:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ranran(retired)

I don't speak English, so please forgive me for explaining with images. (´・ω・`)

First of all, pay attention to what is displayed in the tooltip of the toolbar.

When you open the finance window and it is in the foreground, their contents are hacked by the finance window and all tooltips are replaced with the tooltip that should be in the Building HQ.

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

prissi

This is due to a static string for all tooltips. It is usually no problem, until a later window overwrite an earlier tooltip. As a hack r9596 will use its own buffer for headquarter tools.

Ranran(retired)

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