[2.0.11] Trying to port saves to 2.0

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
sw0924
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Jul 18, 2025 8:06 pm
Contact:

[2.0.11] Trying to port saves to 2.0

Post by sw0924 »

After I changed the content of control.lua according to the instructions, a new issue occurred when loading. I also tried replacing "global" with "storage", but the issue remained the same, as shown in the following image

Code: Select all

Error while running event level::on_configuration_changed
__level__/control.lua:40: attempt to index global 'global' (a nil value)
stack traceback:
 __level__/control.lua:40: in function <__level__/control.lua:39>
stuff
Thanks a lot
Loewchen
Global Moderator
Global Moderator
Posts: 10248
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [2.0.11] Trying to port saves to 2.0

Post by Loewchen »

This is impossible to understand without the context of your other post, either you stick to the comment in the other topic or you need to start from the beginning. So explain exactly what you want to do, what you did so far and post your original save file.
sw0924
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Jul 18, 2025 8:06 pm
Contact:

Re: [2.0.11] Trying to port saves to 2.0

Post by sw0924 »

加载我的沙盒自定义存档时最开始出现的错误提示是

Code: Select all

Error while running event level::on_configuration_changed
__level__/control.lua:40: attempt to index global 'global' (a nil value)
stack traceback:
 __level__/control.lua:40: in function <__level__/control.lua:39>
于是我找了相关的帖子和回复,首先我将新版本所保存下来的存档中的control.lua替换了我需要加载的旧存档,并且根据提示内容及提出解决办法的帖子内容将"global" 全部换成了 "storage",最后重新压缩了存档,放到存档目录下,进入游戏重新加载存档时提示level.dat not found,但是我查看我的存档压缩包,该文件是存在的,于是我不知道如何解决了,在这里发表求助,非常抱歉我使用中文,因为我的英文很差,不能表达清楚,不好意思,再次感谢各位专家。
附件是我自定义存档
sw0924
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Jul 18, 2025 8:06 pm
Contact:

Re: [2.0.11] Trying to port saves to 2.0

Post by sw0924 »

附件
Attachments
0914.zip
(21.26 MiB) Downloaded 3 times
Loewchen
Global Moderator
Global Moderator
Posts: 10248
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [2.0.11] Trying to port saves to 2.0

Post by Loewchen »

Loads fine after replacing the file contents as instructed.
Attachments
0914Fixed.zip
(21.05 MiB) Downloaded 2 times
sw0924
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Jul 18, 2025 8:06 pm
Contact:

Re: [2.0.11] Trying to port saves to 2.0

Post by sw0924 »

非常感谢,太厉害了,我称你为宇宙级别的专家人才,该存档真的运行起来了,如果有机会真想当面感谢你!!!!
Post Reply

Return to “Technical Help”