Opened 5 years ago

Closed 5 years ago

#5630 closed defect (duplicate)

Danubis sometimes fails to generate.

Reported by: Freagarach Owned by:
Priority: Must Have Milestone:
Component: Maps Keywords:
Cc: Patch:

Description

Sometimes the Danubis map fails to generate:

Creating island metal mines...ERROR: JavaScript error: maps/random/rmgen/library.js line 172
TypeError: pickRandom(...) is undefined
  createObjectGroupsByAreas/placeFunc@maps/random/rmgen/library.js:172:38
  retryPlacing@maps/random/rmgen/library.js:100:16
  createObjectGroupsByAreas@maps/random/rmgen/library.js:176:9
  @maps/random/danubius.js:474:1
ERROR: CMapGeneratorWorker::Run: Failed to load RMS 'maps/random/danubius.js'
terminate called after throwing an instance of 'PSERROR_Game_World_MapLoadFailed'
  what():  Error generating random map.
Check application log for details.
Aborted (core dumped)

The attached replay gives this error on non-visual replay as well.

Attachments (1)

commands.txt (1.6 KB ) - added by Freagarach 5 years ago.

Download all attachments as: .zip

Change History (3)

by Freagarach, 5 years ago

Attachment: commands.txt added

comment:1 by Freagarach, 5 years ago

Summary: Danubis fails to generate.Danubis sometimes fails to generate.

comment:2 by elexis, 5 years ago

Keywords: regression removed
Milestone: Backlog
Resolution: duplicate
Status: newclosed

Duplicate of #5112 (first result of createObjectGroupsByAreas). But thanks for the report (better a duplicate than no report). Also not a regression (also not a regression in the a23 rewrite IIRC), (it happens when there are no islands placed, so it fails to pick an island to put mines on and requires some philosophy to decide either way, also me to enter that rabbithole again which I preferred to schedule until after Im done with that current folder :/).

Note: See TracTickets for help on using tickets.