News:

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

[r9274] crashed with 4x4 multi tile city building

Started by koa_jp, September 10, 2021, 11:49:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

koa_jp

Hi.

I made 4x4 city building addon (makeobj version 60.5).
But simutrans.exe (r9274) is crashed when addons loaded.
2x2 and 3x3 are worked.
What's the cause?

Dwachs

I would guess that only sizes up to 3x3 are supported. But this can change. Can you please upload this pak file?
Parsley, sage, rosemary, and maggikraut.

prissi

A 4x4 city building is not recommended, since th\is will screw up all further citygrowth. Max size in the code allowed is 3x3

koa_jp


Dwachs

Parsley, sage, rosemary, and maggikraut.

prissi

Such large buildings are not tested, maybe there is a problem next to the map borders. However, most easy would be if you upload your pak file for testing.

koa_jp

Attached file is 4x4 city building pak file.

prissi

Actually, SImutrans crashes when displaying the error message on loading: "Maximum city building size 3x3", because of an error in the format string. It could load larger buildings, but they will be never ever built, because the city rules usually only check 3x3 places. So better make it a cur indeed.