Opened 3 years ago

Closed 3 years ago

#6227 closed defect (fixed)

Unknown map - random landscape FAIL

Reported by: Langbart Owned by: wraitii
Priority: Release Blocker Milestone: Alpha 25
Component: UI – Game setup Keywords:
Cc: Patch: Phab:D4173

Description

Playing the RC1 [25799] I got an error starting an unknown map

0 A.D. (0.0.25) Main log (warnings and errors only)
ERROR: JavaScript error: maps/random/unknown.js line 111 global[("unknown" + landscape)] is not a function createUnknownMap@maps/random/unknown.js:111:31 @maps/random/unknown.js:1075:1

ERROR: CMapGeneratorWorker::Run: Failed to load RMS 'maps/random/unknown.js'

Attachments (1)

commands.txt (1.4 KB ) - added by Langbart 3 years ago.

Download all attachments as: .zip

Change History (4)

by Langbart, 3 years ago

Attachment: commands.txt added

comment:1 by Langbart, 3 years ago

Patch: Phab:D4173

comment:2 by Freagarach, 3 years ago

This seems a more specific (i.e. duplicate) ticket of #6180?

comment:3 by wraitii, 3 years ago

Owner: set to wraitii
Resolution: fixed
Status: newclosed

In 25800:

Fix bug with map-dependent random settings

Settings like Landscape, Daytime & team placement are map dependent. If "random" map is chosen, we first must select the map before selecting these.
This wasn't done correctly and so starting "random" map that picked e.g. Unknown could fail.

Biomes were already correctly handled.

Reported by: langbart

Fixes #6227

Differential Revision: https://code.wildfiregames.com/D4173

Note: See TracTickets for help on using tickets.