widelands icon indicating copy to clipboard operation
widelands copied to clipboard

Random Map Generator doesn't always find viable player starting positions.

Open bunnybot opened this issue 5 years ago • 2 comments

When creating random maps setting of player positions fails. Sometimes they are on uncommon terrain like water or mountains, sometimes no position is found at all.


Imported from Launchpad using lp2gh.

  • date created: 2016-05-12T07:15:26Z
  • owner: gunchleoc
  • the launchpad url was https://bugs.launchpad.net/bugs/1580892

bunnybot avatar Sep 09 '19 07:09 bunnybot

I have just played a random game where the two players' starting positions were on top of each other. And recently in a game the HQs were only about five fields away from each other so the conquer areas overlapped. At least an extra check for such extreme cases needs to be implemented.

Noordfrees avatar Nov 10 '20 18:11 Noordfrees

The more urgent situation of random matches was fixed with #4592; the actual logic change can wait for v1.1

Noordfrees avatar Jan 07 '21 10:01 Noordfrees