Page 1 of 1

[1.1.25] Lua crashes with rocket silo (no mods)

Posted: Thu Feb 18, 2021 10:24 am
by Gummiente27
Happens when clicking on the top left corner rocket silo button.
Image

Also see Unknown key: gui-silo-script.frame-caption in the top left.
Hovering the icon gives Unknown key: gui-silo-script.button-tooltip

Happens when waiting until rocket 997 is launched (happens shortly after loading save):
Image

Map loaded was loaded last time with 1.0.0 version (and was first generated when version 0.15.34 was new and got upgraded many, many times as factorio got updates without problems so far).

Logs: https://gist.github.com/Janmm14/8967eff ... d2ae1ac544
Save: https://drive.google.com/file/d/1h-3vgK ... sp=sharing

Re: [1.1.25] Lua crashes with rocket silo (no mods)

Posted: Thu Feb 18, 2021 10:59 am
by Klonan
Can you follow the steps listed here:
viewtopic.php?f=49&t=95422

Re: [1.1.25] Lua crashes with rocket silo (no mods)

Posted: Thu Feb 18, 2021 11:35 am
by Gummiente27
I did what was desribed in the thread, but it did not help.

As I looked in the file Factorio\temp\currently-playing\control.lua it did not change to the new 3-liner one for whatever reason.

While the folder Factorio\temp\currently-playing is gone when not having factorio open, the control.lua file is reported as last edited 27.10.2018 when opening my save and still contains the old lua.

I rechecked my save zip and it does still contain the new control.lua 3-liner, it is saved to steam cloud. Also freeplay.lua is identical to the one in C:\Program Files (x86)\Steam\steamapps\common\Factorio\data\base\scenarios\freeplay

Looking into the factorio log, it now shows two different checksums for control.lua script while loading:

Code: Select all

  32.654 Checksum for script C:/Users/Jan/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1735894310
  32.755 Checksum for script C:/Users/Jan/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 3602540928
The second one is the same checksum as in the old log.

Whole new log: https://gist.github.com/Janmm14/de46b01 ... 12c413e06b
Edited save: https://drive.google.com/file/d/1ILxJSX ... sp=sharing

Re: [1.1.25] Lua crashes with rocket silo (no mods)

Posted: Thu Feb 18, 2021 12:01 pm
by Klonan
Do you have any custom scenarios? It is most likely repopulating the save with the old script from the scenario

Re: [1.1.25] Lua crashes with rocket silo (no mods)

Posted: Thu Feb 18, 2021 12:39 pm
by Gummiente27
Klonan wrote:
Thu Feb 18, 2021 12:01 pm
Do you have any custom scenarios? It is most likely repopulating the save with the old script from the scenario
Ah thats it. I updated control.lua in the scenario's folder and it's fixed now.