Page 1 of 1

[1.1.4] Script error opening/importing 1.0.0 save

Posted: Thu Dec 03, 2020 9:50 pm
by akapulko
I have an old save game from version 1.0.0.
I get an error when trying to open this save game.
And the focus of the interface shifts to the last loaded save.

Re: [1.1.4] Script error opening/importing 1.0.0 save

Posted: Sun Dec 06, 2020 3:59 pm
by joulester
I have the same problem. Did you solve it or are we still waiting on a solution?

Re: [1.1.4] Script error opening/importing 1.0.0 save

Posted: Sun Dec 06, 2020 4:01 pm
by Klonan
joulester wrote:
Sun Dec 06, 2020 3:59 pm
I have the same problem. Did you solve it or are we still waiting on a solution?
Can you provide your save game too?

Re: [1.1.4] Script error opening/importing 1.0.0 save

Posted: Sun Dec 06, 2020 4:03 pm
by Klonan
akapulko wrote:
Thu Dec 03, 2020 9:50 pm
I have an old save game from version 1.0.0.
I get an error when trying to open this save game.
And the focus of the interface shifts to the last loaded save.
You save game has some old control script

Just unzip the save, remove the 'control.lua' and 'script.dat', then zip it up, it should work

Re: [1.1.4] Script error opening/importing 1.0.0 save

Posted: Sun Dec 06, 2020 4:27 pm
by akapulko
Klonan wrote:
Sun Dec 06, 2020 4:03 pm
akapulko wrote:
Thu Dec 03, 2020 9:50 pm
I have an old save game from version 1.0.0.
I get an error when trying to open this save game.
And the focus of the interface shifts to the last loaded save.
You save game has some old control script

Just unzip the save, remove the 'control.lua' and 'script.dat', then zip it up, it should work
I still hope that the new version of the game will independently solve such problems. :)

Re: [1.1.4] Script error opening/importing 1.0.0 save

Posted: Sun Dec 06, 2020 4:40 pm
by joulester
It did not solve my problem. I removed the control.lua' and 'script.dat' but still have the problem. save file https://easyupload.io/m4bvuu

Re: [1.1.4] Script error opening/importing 1.0.0 save

Posted: Sun Dec 06, 2020 4:59 pm
by Klonan
akapulko wrote:
Sun Dec 06, 2020 4:27 pm
I still hope that the new version of the game will independently solve such problems. :)
It looks like you started the game as a custom scenario, 'ForBigBase',
In which case our script reloading system won't run, because it thinks you are playing your own custom scenario

Re: [1.1.4] Script error opening/importing 1.0.0 save

Posted: Sun Dec 06, 2020 5:02 pm
by Klonan
joulester wrote:
Sun Dec 06, 2020 4:40 pm
It did not solve my problem. I removed the control.lua' and 'script.dat' but still have the problem. save file https://easyupload.io/m4bvuu
Also delete the script-init.dat, it works fine when I delete that as well,
So delete all control.lua, script.dat, and script-init.dat

Re: [1.1.4] Script error opening/importing 1.0.0 save

Posted: Sun Dec 06, 2020 8:35 pm
by akapulko
Klonan wrote:
Sun Dec 06, 2020 4:59 pm
akapulko wrote:
Sun Dec 06, 2020 4:27 pm
I still hope that the new version of the game will independently solve such problems. :)
It looks like you started the game as a custom scenario, 'ForBigBase',
In which case our script reloading system won't run, because it thinks you are playing your own custom scenario
Thanks.
Removing this scenario helped run the save game.

Re: [1.1.4] Script error opening/importing 1.0.0 save

Posted: Mon Dec 07, 2020 6:28 pm
by joulester
Klonan wrote:
Sun Dec 06, 2020 5:02 pm
joulester wrote:
Sun Dec 06, 2020 4:40 pm
It did not solve my problem. I removed the control.lua' and 'script.dat' but still have the problem. save file https://easyupload.io/m4bvuu
Also delete the script-init.dat, it works fine when I delete that as well,
So delete all control.lua, script.dat, and script-init.dat
I tryed your solution but it wont work for me. I do use 1.1.5 if that changes anything?

Re: [1.1.4] Script error opening/importing 1.0.0 save

Posted: Mon Dec 07, 2020 8:47 pm
by Klonan
joulester wrote:
Mon Dec 07, 2020 6:28 pm
Klonan wrote:
Sun Dec 06, 2020 5:02 pm
joulester wrote:
Sun Dec 06, 2020 4:40 pm
It did not solve my problem. I removed the control.lua' and 'script.dat' but still have the problem. save file https://easyupload.io/m4bvuu
Also delete the script-init.dat, it works fine when I delete that as well,
So delete all control.lua, script.dat, and script-init.dat
I tryed your solution but it wont work for me. I do use 1.1.5 if that changes anything?
Can you provide the save game?

Re: [1.1.4] Script error opening/importing 1.0.0 save

Posted: Wed Dec 09, 2020 8:42 pm
by joulester
Klonan wrote:
Mon Dec 07, 2020 8:47 pm
joulester wrote:
Mon Dec 07, 2020 6:28 pm
Klonan wrote:
Sun Dec 06, 2020 5:02 pm
joulester wrote:
Sun Dec 06, 2020 4:40 pm
It did not solve my problem. I removed the control.lua' and 'script.dat' but still have the problem. save file https://easyupload.io/m4bvuu
Also delete the script-init.dat, it works fine when I delete that as well,
So delete all control.lua, script.dat, and script-init.dat
I tryed your solution but it wont work for me. I do use 1.1.5 if that changes anything?
Can you provide the save game?
I already did but here it is https://easyupload.io/m4bvuu

Re: [1.1.4] Script error opening/importing 1.0.0 save

Posted: Sun Dec 13, 2020 10:38 am
by Klonan
joulester wrote:
Wed Dec 09, 2020 8:42 pm
I already did but here it is https://easyupload.io/m4bvuu
Yes right, yours was the first,
You also need to delete the level-init.dat.

Basically delete all these files

Re: [1.1.4] Script error opening/importing 1.0.0 save

Posted: Sun Dec 13, 2020 7:53 pm
by joulester
Klonan wrote:
Sun Dec 13, 2020 10:38 am
joulester wrote:
Wed Dec 09, 2020 8:42 pm
I already did but here it is https://easyupload.io/m4bvuu
Yes right, yours was the first,
You also need to delete the level-init.dat.

Basically delete all these files
Sorry but that din´t work. I will send it again the link is gone https://easyupload.io/1s5o6b

still get the error.

Code: Select all

Error while running reload_script: ...Data/Roaming/Factorio/temp/currently-playing/control.lua:24: attempt to call field 'get_events' (a nil value)
stack traceback:
	...Data/Roaming/Factorio/temp/currently-playing/control.lua:24: in main chunk

Re: [1.1.4] Script error opening/importing 1.0.0 save

Posted: Sun Dec 13, 2020 10:32 pm
by Klonan
Do you have the scenario 'poppes2019' on your local machine?

It might be restoring it from the local scenario file

In any case, can you copy the freeplay control.lua and freeplay.lua into the save game after deleting all those files

Re: [1.1.4] Script error opening/importing 1.0.0 save

Posted: Mon Dec 14, 2020 6:53 pm
by joulester
Thank you that worked! I also removed the senario from my local machine.
Keep up the good work!

Re: [1.1.4] Script error opening/importing 1.0.0 save

Posted: Sun Feb 07, 2021 5:01 pm
by <NO_NAME>
I have the same problem.
It may help that my save file is really small because I made it in the map editor only to create a picture for my mod and I didn't move the character from the spawn. Yeah, there is a mod there but I don't think it changes much. The mod replaces textures and the only thing it does on runtime is forcing the map to redraw.
Ore image 2.zip
the save file
(1.31 MiB) Downloaded 83 times
I did update the save to the version 1.0 before switching to 1.1 (it still works in 1.0). I did forgot to update the scenario, though.
Removing the scenario now doesn't change anything. I also tried going back to version 1.0 and updating the scenario. It also didn't work, even when I updated it to 1.1 in yet another try.

The error is:

Code: Select all

Error AppManagerStates.cpp:1589: /home/piotr/.factorio/temp/currently-playing/control.lua:24: attempt to call field 'get_events' (a nil value)

Re: [1.1.4] Script error opening/importing 1.0.0 save

Posted: Sun Feb 07, 2021 5:57 pm
by Klonan
<NO_NAME> wrote:
Sun Feb 07, 2021 5:01 pm
I have the same problem.
It may help that my save file is really small because I made it in the map editor only to create a picture for my mod and I didn't move the character from the spawn. Yeah, there is a mod there but I don't think it changes much. The mod replaces textures and the only thing it does on runtime is forcing the map to redraw. Ore image 2.zip

I did update the save to the version 1.0 before switching to 1.1 (it still works in 1.0). I did forgot to update the scenario, though.
Removing the scenario now doesn't change anything. I also tried going back to version 1.0 and updating the scenario. It also didn't work, even when I updated it to 1.1 in yet another try.

The error is:

Code: Select all

Error AppManagerStates.cpp:1589: /home/piotr/.factorio/temp/currently-playing/control.lua:24: attempt to call field 'get_events' (a nil value)
What version of the game are you running? Can you try the latest 1.1.21 experimental?

Re: [1.1.4] Script error opening/importing 1.0.0 save

Posted: Mon Feb 08, 2021 6:24 am
by <NO_NAME>
Klonan wrote:
Sun Feb 07, 2021 5:57 pm
<NO_NAME> wrote:
Sun Feb 07, 2021 5:01 pm
I have the same problem.
It may help that my save file is really small because I made it in the map editor only to create a picture for my mod and I didn't move the character from the spawn. Yeah, there is a mod there but I don't think it changes much. The mod replaces textures and the only thing it does on runtime is forcing the map to redraw. Ore image 2.zip

I did update the save to the version 1.0 before switching to 1.1 (it still works in 1.0). I did forgot to update the scenario, though.
Removing the scenario now doesn't change anything. I also tried going back to version 1.0 and updating the scenario. It also didn't work, even when I updated it to 1.1 in yet another try.

The error is:

Code: Select all

Error AppManagerStates.cpp:1589: /home/piotr/.factorio/temp/currently-playing/control.lua:24: attempt to call field 'get_events' (a nil value)
What version of the game are you running? Can you try the latest 1.1.21 experimental?
Right, I didn't notice it the first time but the version 1.1.21 gives a slightly different error.

Code: Select all

Error AppManagerStates.cpp:1589: /home/piotr/.factorio/temp/currently-playing/control.lua:69: attempt to call field 'add_commands' (a nil value)