Page 1 of 1

freeplay script error

Posted: Mon Oct 21, 2024 10:51 pm
by oReLaF
Hello, after the [2.0.7] update I encountered a problem, after loading a save from the [1.1.110] version it gives an error:
Error while running event level::on_configuration_changed
__level__/freeplay.lua:220: attempt to index global 'global' (a nil value)
stack traceback:
__level__/freeplay.lua:220: in function 'on_configuration_changed'
__core__/lualib/event_handler.lua:87: in function <__core__/lualib/event_handler.lua:84>
The save was created from a normal game script with a slightly modified map. I would like to restore the save without losing the replay.

Re: freeplay script error

Posted: Wed Oct 23, 2024 2:23 pm
by Ice138
Identical, except the first two numbers after freeplay.lua: are 53.
Please help us.

Re: freeplay script error

Posted: Wed Oct 23, 2024 2:49 pm
by vinzenz
Please include the save and log file in your reports.

Re: freeplay script error

Posted: Wed Oct 23, 2024 2:50 pm
by vinzenz
This issue can be caused by mods that are not compatible with 2.0, you can download older releases from our website.

Re: freeplay script error

Posted: Wed Oct 23, 2024 2:59 pm
by Ice138
Thanks for the quick response, I have no mods.

Re: freeplay script error

Posted: Wed Oct 23, 2024 3:02 pm
by vinzenz
Your steam cloud is full, please move old saves out of your application directory. https://wiki.factorio.com/Application_directory

Re: freeplay script error

Posted: Wed Oct 23, 2024 5:02 pm
by Ice138
I can't seem to upload my save. I deleted all but 2 of them and the cloud kept replacing them, so I went in game and deleted all but 2. Still won't load, same error.

Re: freeplay script error

Posted: Wed Oct 23, 2024 6:33 pm
by vinzenz
The log still shows Steam Storage Quota: 23146/23841, are you able to launch the game when you disable the steam cloud integration? (Right click on Factorio in Steam Library -> General -> Steam Cloud.

Re: freeplay script error

Posted: Wed Oct 23, 2024 7:21 pm
by Ice138
I deleted a save file, crashed on load, then disabled steam integration. Game launches just fine, still crashes on load.
Thanks for sticking with me on this.

Re: freeplay script error

Posted: Wed Oct 23, 2024 11:22 pm
by Ice138
I was able to load up my save but I had to revert back to v1.1.110. 2.08 or 2.09 won't let me load my save, with or without steam cloud on.

Re: freeplay script error

Posted: Thu Oct 24, 2024 2:48 pm
by Ice138
On the modern version, 2.10, I was able to start a new game, save it, and load it without issue. I just can't load my world from 1.1.110. This doesn't seem like a steam cloud issue.

Re: freeplay script error

Posted: Thu Oct 24, 2024 7:56 pm
by vinzenz
Please attach the save file it’s failing to load to this thread

Re: freeplay script error

Posted: Thu Oct 24, 2024 8:27 pm
by Ice138
I was having a nightmare of a time uploading my save, I eventually had to split it into 2 rar files (file was too big I guess?). Splitting in winzip caused a file format that can't be uploaded. I hope this works for you, thanks for your patience.

Re: freeplay script error

Posted: Fri Oct 25, 2024 10:05 am
by vinzenz
Ice138 wrote: Thu Oct 24, 2024 8:27 pm I was having a nightmare of a time uploading my save, I eventually had to split it into 2 rar files (file was too big I guess?). Splitting in winzip caused a file format that can't be uploaded. I hope this works for you, thanks for your patience.
Hey there, for some reason your save file couldn't get automatically migrated. I was able to fix it and uploaded it here: https://wube.software/tmp/transfer_fixed_2.zip

Re: freeplay script error

Posted: Fri Oct 25, 2024 3:01 pm
by Ice138
That was it. Thank you so much I can't wait to play the new content.

Re: freeplay script error

Posted: Fri Oct 25, 2024 5:40 pm
by Lida
vinzenz wrote: Fri Oct 25, 2024 10:05 am
Ice138 wrote: Thu Oct 24, 2024 8:27 pm I was having a nightmare of a time uploading my save, I eventually had to split it into 2 rar files (file was too big I guess?). Splitting in winzip caused a file format that can't be uploaded. I hope this works for you, thanks for your patience.
Hey there, for some reason your save file couldn't get automatically migrated. I was able to fix it and uploaded it here: https://wube.software/tmp/transfer_fixed_2.zip
I’m experiencing the same issue, and disabling Steam Cloud didn’t resolve it.
I haven’t used any mods either. Could you help me fix the problem? I’ve attached the world file and log for reference.