Azgaar / Fantasy-Map-Generator

Web application generating interactive and highly customizable maps
https://azgaar.github.io/Fantasy-Map-Generator
Other
4.64k stars 671 forks source link

Map load error + Cannot Save #1142

Closed aersult closed 2 months ago

aersult commented 2 months ago

I am trying to load a saved file and receive the following error: An error is occured on map loading. Select a different file to load, generate a new random map or cancel the loading. Map version: 1.105.2. Generator version: 1.105.3.

TypeError: Lakes.getHeight is not a function addFeature@features.js?v=1.104.0:176:32 markupPack@features.js?v=1.104.0:131:21 parseLoadedData@load.js?v=1.104.12:371:16 showUploadMessage@load.js?v=1.104.12:190:20 uploadMap/fileReader.onloadend@load.js?v=1.104.12:130:28

If I press cancel, the map behaves strangely (does not fit screen right, can't move around easily).

If I try to save, I receive the following error: An error is occured on map saving. If the issue persists, please copy the message below and report it on GitHub.

TypeError: items is undefined prepareMapData@save.js?v=1.100.00:115:21 saveMap@save.js?v=1.100.00:9:21 onclick@:1:8

I've tried closing and rebooting my browser. I have not encountered such an error previous to the new version

Steps to reproduce

  1. Click on Load and Machine
  2. Select file (saved before version 1.105.3
  3. See the above error
  4. Click Save and Browser
  5. See the above error

.map file New Prima 2024-09-22-23-53.zip

System

aersult commented 2 months ago

Clear cache and it works