Bilka2 / ChangeMapSettings

Factorio mod that allows to change map and map generation settings at any time
https://mods.factorio.com/mod/ChangeMapSettings
MIT License
7 stars 2 forks source link

Error while running event ChangeMapSettings::on_gui_click (ID 1) Value (inf) outside of range. #11

Open rpdelaney opened 2 years ago

rpdelaney commented 2 years ago
The mod Change Map Settings (5.0.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event ChangeMapSettings::on_gui_click (ID 1)
Value (inf) outside of range. The data type allows values from -340282346638528942488602606004204804240.000000 to 340282346638528942488602606004204804240.000000 in property tree at ROOT.terrain_segmentation
stack traceback:
    [C]: in function '__newindex'
    __ChangeMapSettings__/control.lua:143: in function 'change_map_gen_settings'
    __ChangeMapSettings__/control.lua:173: in function <__ChangeMapSettings__/control.lua:153>

2022-04-18_1920x1080

altiummm commented 3 months ago

I encountered the same problem when applying settings at the beginning of the game, with many mods, is there a solution to this problem?

Bilka2 commented 3 months ago

You can use the map editor instead of this mod. Use /editor in the console, switch to the surface tab and edit the map gen settings there.