News:

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

Cant build powerlines longer than 40 tiles

Started by dYxFDaYuos2KZHokYuM5, May 14, 2026, 07:52:32 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

dYxFDaYuos2KZHokYuM5

Playing with Simutrans124.4.1 - r 11930 I can't build powerlines longer than 40 tiles. Building seperate parts of 39 tiles or less works, however I can't build any longer stretches of powerline.
See attachted images:
Image 1: I clicked somewhere on the map to start building
Image 2: It then dragged it 39 tiles or so away, that works fine
Image 3: I clicked somewhere on the map to start building, then dragged it 41 tiles away. Then the to be build powerline just dissappears the same way it would if it's impossible to build somewhere
Image 4:  I clicked somewhere on the map to start building, then clicked somewhere  more than 40 tiles away. I then get the message that a building blocks the construction.

(I see the image aren't posted in order, but the filenames match my descriptions)

For this test I started simutrans without any addon packs, only pack64.

Andarix

This seems to affect only newly created maps.

pak64.german start map works.

dYxFDaYuos2KZHokYuM5

Quote from: Andarix on May 14, 2026, 08:15:38 PMThis seems to affect only newly created maps.
Yes, with older savegames I can build longer powerlines

prissi

#3
Strangely, the straight way builder (+Control) can build long stretches, and building longer tracks works too. So it is not the actual route finder. Very weird.

The powerline treated each tile like leaving a powerline, accumulating high cost which exeeced the max_route_steps r11952 fixes this. (And also the stupid error message).

dYxFDaYuos2KZHokYuM5

It's fixed in the newest nightly, thank you! My companies can turn their lights on again

ceeac

The fix causes cities in new maps to be generated without city roads (and therefore without houses). This also causes the automated tests to fail.