Latest Posts

Topic: Combination of diking and ports causes game crashes.

MarkMcWire
Avatar
Topic Opener
Joined: 2017-02-08, 21:06
Posts: 321
Ranking
Tribe Member
Location: Eisenach, Germany
Posted at: 2023-05-21, 18:12

I have a terraformer in my "European" tribe, which can expand the coast by diking. However, if there is a port on the coast, it will diking up the port and the game will then crash with the error message that no usable waters were found for the port.

Can you solve the problem somehow in the code of the game? For example, the navigable waters near ports cannot be terraformed by diking.

Thx.


My widelands project: https://github.com/widelands/wl_addons_server/tree/master/addons/europeans_tribe.wad

Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 18:07
Posts: 1927
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2023-05-21, 18:41

Changing water terrain, whether by diking or scripting, and seafaring/ferries work terribly together. They simply were never really intended to be combined.

For the fri06 scenario I am working on making ship fleets respond appropriately to dikers terraforming near their paths, and I can also try to integrate a fix for this situation there. This will not be part of v1.2 though; and I would be reluctant to make a quickfix since will be a lot of related problems (e.g. port might become unreachable by being turned into a lagoon), so a fix is still some time away, sorry face-sad.png


Top Quote
MarkMcWire
Avatar
Topic Opener
Joined: 2017-02-08, 21:06
Posts: 321
Ranking
Tribe Member
Location: Eisenach, Germany
Posted at: 2023-05-22, 19:06

Then I change the starting conditions of the Europeans so that you can choose between seafaring or diking, but not both things are activated at the same time.


My widelands project: https://github.com/widelands/wl_addons_server/tree/master/addons/europeans_tribe.wad

Top Quote