News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

City build forbidden road over double heights slopes

Started by makie, June 25, 2026, 06:51:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

makie

Ever since road construction has involved more extensive terrain modification, the city has been literally eating its way into the mountains.This creates also double heights slopes.The city blithely builds roads over them.

In Pak128.german, roads over double heights slopes are prohibited. There are no graphics for this either, which leads to graphical glitches.

Cities should not build such streets.

[DE]
Seit beim Straßenbau mehr Geländeanpassungen gemacht werden, frisst sich die Stadt buchstäblich in die Berge. Dabei entstehen auch Slopes mit doppelter Höhe. Die Stadt baut darüber unbekümmert Straßen.

Im Pak128.german sind Straßen über doppelte Höhen verboten. Es gibt dazu auch keine Grafiken. Was zu Grafikfehlern führt.

Die Städte sollten solche Straßen nicht bauen.



prissi

It will build epi canyons and walls bigger than the great wall, but r12041 does not longer use double slopes in cities if not defined.

makie

I don't know if it's related, but there was a crash right during the first test.
Quote#0  0x00007f1e34a9d97c in __pthread_kill_implementation () from /lib64/libc.so.6
#1  0x00007f1e34a424c6 in raise () from /lib64/libc.so.6
#2  0x00007f1e34a293a0 in abort () from /lib64/libc.so.6
#3  0x00007f1e34a2a402 in __libc_message_impl.cold () from /lib64/libc.so.6
#4  0x00007f1e34a3a135 in __assert_fail () from /lib64/libc.so.6
#5  0x0000000000425553 in way_desc_t::get_diagonal_image_id (this=<optimized out>, ribi=<optimized out>, season=<optimized out>, front=false)
    at src/simutrans/obj/way/../../descriptor/way_desc.h:188
#6  weg_t::set_images (this=this@entry=0x371dd190, typ=typ@entry=weg_t::image_diagonal, ribi=<optimized out>, snow=<optimized out>, switch_nw=switch_nw@entry=0 '\000')
    at src/simutrans/obj/way/weg.cc:409
#7  0x0000000000685110 in weg_t::check_season (calc_only_season_change=false, this=0x371dd190) at src/simutrans/obj/way/weg.cc:458
#8  weg_t::check_season (this=0x371dd190, calc_only_season_change=<optimized out>) at src/simutrans/obj/way/weg.cc:421
#9  0x0000000000477307 in objlist_t::check_season (this=<optimized out>, calc_only_season_change=<optimized out>) at src/simutrans/dataobj/objlist.cc:1480
#10 0x00000000008754e9 in grund_t::check_season_snowline (this=<optimized out>, season_change=false, snowline_change=true) at src/simutrans/world/../world/../ground/grund.h:283
#11 0x000000000089406c in karte_t::step (this=0x31f34500) at src/simutrans/world/simworld.cc:3240
#12 0x00000000008952cf in karte_t::interactive (this=this@entry=0x31f34500, quit_month=quit_month@entry=2147483647) at src/simutrans/world/simworld.cc:6269
#13 0x00000000007ea5b3 in simu_main (argc=argc@entry=5, argv=argv@entry=0xf5a4730) at src/simutrans/simmain.cc:1710
#14 0x00000000007f3170 in sysmain (argc=5, argv=<optimized out>) at src/simutrans/sys/simsys.cc:1541
#15 0x00007f1e34a2b33e in __libc_start_call_main () from /lib64/libc.so.6
#16 0x00007f1e34a2b46b in __libc_start_main_impl () from /lib64/libc.so.6
#17 0x0000000000434fe5 in _start () at ../sysdeps/x86_64/start.S:115

Ups, new map 512x512 start year 1950 just try to let the city grow.

Quote#0  0x00007f54dc89d97c in __pthread_kill_implementation () from /lib64/libc.so.6
#1  0x00007f54dc8424c6 in raise () from /lib64/libc.so.6
#2  0x00007f54dc8293a0 in abort () from /lib64/libc.so.6
#3  0x00007f54dc82a402 in __libc_message_impl.cold () from /lib64/libc.so.6
#4  0x00007f54dc83a135 in __assert_fail () from /lib64/libc.so.6
#5  0x0000000000425553 in way_desc_t::get_diagonal_image_id (this=<optimized out>, ribi=<optimized out>, season=<optimized out>, front=false)
    at src/simutrans/obj/way/../../descriptor/way_desc.h:188
#6  weg_t::set_images (this=this@entry=0x4596f840, typ=typ@entry=weg_t::image_diagonal, ribi=<optimized out>, snow=<optimized out>, switch_nw=switch_nw@entry=0 '\000')
    at src/simutrans/obj/way/weg.cc:409
#7  0x0000000000685110 in weg_t::check_season (calc_only_season_change=false, this=0x4596f840) at src/simutrans/obj/way/weg.cc:458
#8  weg_t::check_season (this=0x4596f840, calc_only_season_change=<optimized out>) at src/simutrans/obj/way/weg.cc:421
#9  0x000000000047721a in objlist_t::check_season (this=<optimized out>, calc_only_season_change=false) at src/simutrans/dataobj/objlist.cc:1465
#10 0x00000000008754e9 in grund_t::check_season_snowline (this=<optimized out>, season_change=true, snowline_change=true) at src/simutrans/world/../world/../ground/grund.h:283
#11 0x000000000089406c in karte_t::step (this=0x3fb1c000) at src/simutrans/world/simworld.cc:3240
#12 0x00000000008950c4 in karte_t::interactive (this=this@entry=0x3fb1c000, quit_month=quit_month@entry=2147483647) at src/simutrans/world/simworld.cc:6382
#13 0x00000000007ea5b3 in simu_main (argc=argc@entry=5, argv=argv@entry=0x1d18c730) at src/simutrans/simmain.cc:1710
#14 0x00000000007f3170 in sysmain (argc=5, argv=<optimized out>) at src/simutrans/sys/simsys.cc:1541
#15 0x00007f54dc82b33e in __libc_start_call_main () from /lib64/libc.so.6
#16 0x00007f54dc82b46b in __libc_start_main_impl () from /lib64/libc.so.6
#17 0x0000000000434fe5 in _start () at ../sysdeps/x86_64/start.S:115
(g

prissi

This is an error on the season change image. Did not see it on mine. Which pak128.german?

makie

There have been no significant changes in this area over the last few years.
https://pak128-german.de/PAK128.german_2.5_beta.zip

Ok r12043 works

makie