Edit Map Settings

by morsk

Allows you to change your map and map generation settings at any time you want. Fork of Bilka's "Change Map Settings". Note that map generation changes only apply to new chunks.

Utilities
7 months ago
2.0
13.3K
Environment

b Crashing on apply

9 months ago

https://paste.pics/d4e4c38d860fa113ef940f453cab0367

Hi, im crashing when trying to edit settings, as i click the "Apply Map Settings" button.
Playing on Factorio-2.0.20-3

Please let me know if you would like any logs/saves/modlists-etc

9 months ago
(updated 9 months ago)

Yes, the save would help. The error looks like the UI is not constructing correctly at all and don't know what could interfere with it. I might add more code to reset the UI if it notices something wrong but it would help to have an example from the save.

edit: I could always fix this by making the UI discard itself when hidden, and restore when opened, as it is unnecessary to keep it around between uses. I was saving this for a rewrite. But either way the save will help me test to make sure it solves this.

9 months ago
(updated 9 months ago)

I updated the game to the latest version + updated mods, and that fixed the issue. But I tried to load a earlier save of the game on the 2.0.20 version with "local" mods and i didnt get the problem anymore so im not sure how to reproduce the error now.

Here is the save for the correct version, the later saves was overwritten with 2.0.21 and i cant load them in 2.0.20
https://drive.google.com/file/d/1KuQZWp8n7dpJQn0YQFZrlgzjFfcQe1gY/view?usp=sharing

9 months ago

I couldn't get it to happen in 2.0.20 either. Maybe some other mod updated in 2.0.20 and it changed things. I can save a copy of this though in case a similar crash happens in the future.

New response