News:

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

[BUG] game crashes when opening minimap in some cases

Started by Mariculous, May 17, 2020, 12:26:16 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mariculous

I had already mentioned this in the recent minimap feature thread, but I guess this bugreport deserves its own thread.
I am not even sure if it is related to latest changes or not.

How to reproduce?
1. connect to stephenson-siemens
2. disconnect from stephenson-siemens
3. connect to Bridgewater
4. open the minimap
5. crash.

I hope this works for you, otherwise I'll have to dig deeper. The above did always crash for me.

Ranran(retired)

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

Mariculous

I guess I got it reproduced reliably now. The above description is correct, but there is one essential step missing in it, I was not aware of. Anyways, it's also reproducible with offline saves, so here is a slightly different description not involving connecting to any server.

How to reproduce?
1. create a savegame of a large map, like Bridgewater and make sure the minimap is not opened when you save the game!
2. load a savegame of a small map.
3. open the minimap
4. zoom in as far as you can
5. load the large map again
6. open the minimap
7. crash (oh well, 7 being the bad luck number :P)

Ranran(retired)

It seems to be caused by inheriting the zoom factor of the minimap from another map. We should either not inherit this over or check the zoom cap again when opening the minimap.
Does this have the same problem with standard?
ひめしという日本人が開発者達の助言を無視して自分好みの機能をextendedに"強引に"実装し、
コードをぐちゃぐちゃにしてメンテナンスを困難にし(とりわけ道路と建物関連)、
挙句にバグを大量に埋め込み、それを知らんぷりして放置し(隠居するなどと言って)別のところに逃げ隠れて自分のフォーク(OTRP)は開発を続けている
その事実と彼の無責任さに日本人プレイヤーは目を向けるべき。らんらんはそれでやる気をなくした(´・ω・`)
他人の振り見て我が振り直せ。ひめしのようにならないために、らんらんが生み出したバグや問題は自分で修正しなくちゃね(´・ω・`)

Mariculous


ceeac

Quote from: Ranran on May 17, 2020, 02:23:16 PMDoes this have the same problem with standard?
No, I just checked and could not reproduce the crash.