Crash "Satellite" Cannot send any Rockets

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.
User avatar
hummer1997
Burner Inserter
Burner Inserter
Posts: 9
Joined: Tue Jan 31, 2017 7:38 pm
Contact:

Crash "Satellite" Cannot send any Rockets

Post by hummer1997 »

hi,
Im not able to send any Rockets, game crashes immediately:


Error while running event level::on_rocket_launched (ID 10)
Unknown item name: satellite
stack traceback:
[C]: in function 'get_item_count'
_level/control.lua:22: in function <level_/control.lua:20>



Also i have a "old" field: Unknown Key (this field exists since release 1.0) and yes i play this map since 2016 :D

this happens since i bought Space Age
Can someone maybe Help?
Attachments
image.png
image.png (295.43 KiB) Viewed 623 times
image1.png
image1.png (168.85 KiB) Viewed 623 times
User avatar
hummer1997
Burner Inserter
Burner Inserter
Posts: 9
Joined: Tue Jan 31, 2017 7:38 pm
Contact:

Re: Crash "Satellite" Cannot send any Rockets

Post by hummer1997 »

Fixed the Crash myself, changed some things in the Lua file.


but theres still the "unknown Key" window
Zaflis
Filter Inserter
Filter Inserter
Posts: 514
Joined: Sun Apr 24, 2016 12:51 am
Contact:

Re: Crash "Satellite" Cannot send any Rockets

Post by Zaflis »

hummer1997 wrote: Tue Oct 22, 2024 4:19 am but theres still the "unknown Key" window
That's a missing locale (translation files).
User avatar
hummer1997
Burner Inserter
Burner Inserter
Posts: 9
Joined: Tue Jan 31, 2017 7:38 pm
Contact:

Re: Crash "Satellite" Cannot send any Rockets

Post by hummer1997 »

Zaflis wrote: Tue Oct 22, 2024 8:38 am
hummer1997 wrote: Tue Oct 22, 2024 4:19 am but theres still the "unknown Key" window
That's a missing locale (translation files).
how can i fix this? i have this since years
Zaflis
Filter Inserter
Filter Inserter
Posts: 514
Joined: Sun Apr 24, 2016 12:51 am
Contact:

Re: Crash "Satellite" Cannot send any Rockets

Post by Zaflis »

hummer1997 wrote: Wed Oct 23, 2024 3:35 am how can i fix this? i have this since years
The GUI says Unknown key: "gui-silo-script.frame-caption".
The "gui-silo-script" is a category, and "frame-caption" is a key that needs value.

I don't know if you use english language ingame, but look (inside the scenario) for a \locale\en\locale.cfg (maybe yours is folder \de\ ?)
Then there should be something like:

Code: Select all

[gui-silo-script]
frame-caption=This is what the frame should say
sent-label=Another text
If these don't exist then create them.
User avatar
hummer1997
Burner Inserter
Burner Inserter
Posts: 9
Joined: Tue Jan 31, 2017 7:38 pm
Contact:

Re: Crash "Satellite" Cannot send any Rockets

Post by hummer1997 »

Zaflis wrote: Wed Oct 23, 2024 6:25 am
hummer1997 wrote: Wed Oct 23, 2024 3:35 am how can i fix this? i have this since years
The GUI says Unknown key: "gui-silo-script.frame-caption".
The "gui-silo-script" is a category, and "frame-caption" is a key that needs value.

I don't know if you use english language ingame, but look (inside the scenario) for a \locale\en\locale.cfg (maybe yours is folder \de\ ?)
Then there should be something like:

Code: Select all

[gui-silo-script]
frame-caption=This is what the frame should say
sent-label=Another text
If these don't exist then create them.
i tried it, its not gone. now, since version 2.0.20 my game crashes again. last working version was 2.0.15 Same error as i posted a sceenshot. any ideas?

I think the Unknown Keys do i need to remove in the Savegame somewhere, they are old relicts from old, very old versions...
User avatar
Silari
Filter Inserter
Filter Inserter
Posts: 533
Joined: Sat Jan 27, 2018 10:04 pm
Contact:

Re: Crash "Satellite" Cannot send any Rockets

Post by Silari »

Your save has an old version of the scenario control.lua/freeplay.lua files. It's supposed to get updated by the game when it loads the save in a new version, but sometimes that fails. Fixing it isn't difficult, but you need to alter your save file to fix it.

1) back up your save game somewhere safe, in case the fix fails.
2) open up the .zip file and delete the control.lua and freeplay.lua files. You may need to unzip it first, then rezip it after.
3) Load the save in Factorio and save it to a new save.
4) Open up the zip of the new save - it should have new control.lua and freeplay.lua files.

That's usually enough to resolve the issue.

Sometimes you need to manually replace the files with the correct versions - in that case you'd need to make a brand new game and save it, then copy the control.lua and freeplay.lua files from that new save into your old save.
User avatar
hummer1997
Burner Inserter
Burner Inserter
Posts: 9
Joined: Tue Jan 31, 2017 7:38 pm
Contact:

Re: Crash "Satellite" Cannot send any Rockets

Post by hummer1997 »

Silari wrote: Wed Nov 20, 2024 1:27 am Your save has an old version of the scenario control.lua/freeplay.lua files. It's supposed to get updated by the game when it loads the save in a new version, but sometimes that fails. Fixing it isn't difficult, but you need to alter your save file to fix it.

1) back up your save game somewhere safe, in case the fix fails.
2) open up the .zip file and delete the control.lua and freeplay.lua files. You may need to unzip it first, then rezip it after.
3) Load the save in Factorio and save it to a new save.
4) Open up the zip of the new save - it should have new control.lua and freeplay.lua files.

That's usually enough to resolve the issue.

Sometimes you need to manually replace the files with the correct versions - in that case you'd need to make a brand new game and save it, then copy the control.lua and freeplay.lua files from that new save into your old save.
It does not work. Whatever i try.


i cannot upload the Savegame here because its too big. U can get it from this link, if u have a change to chek it please try it. Last working version is still 2.0.15

its 267Mb now :lol:

https://www.swisstransfer.com/d/32a85de ... ea3ba8363f
User avatar
Silari
Filter Inserter
Filter Inserter
Posts: 533
Joined: Sat Jan 27, 2018 10:04 pm
Contact:

Re: Crash "Satellite" Cannot send any Rockets

Post by Silari »

I can't test it fully cause I don't have Space Age, but it looks like that did stop the crashes. The GUI elements are still there, and there's nothing to clean them up, BUT you can do that manually really easily.

Run the following three commands in order and it should get rid of the three GUI items - the button and the two boxes.

Removes the button in the top left

Code: Select all

/c game.player.gui['top']['mod_gui_button_flow']['silo_gui_sprite_button'].destroy()
Removes gui-silo-script frame

Code: Select all

/c game.player.gui['left']['mod_gui_frame_flow']['silo_gui_frame'].destroy()
Removes rocket score GUI

Code: Select all

/c game.player.gui['left']['rocket_score'].destroy()

Hopefully that'll get everything working. If not, afraid I can't help anymore.
User avatar
hummer1997
Burner Inserter
Burner Inserter
Posts: 9
Joined: Tue Jan 31, 2017 7:38 pm
Contact:

Re: Crash "Satellite" Cannot send any Rockets

Post by hummer1997 »

Silari wrote: Fri Nov 22, 2024 2:15 am I can't test it fully cause I don't have Space Age, but it looks like that did stop the crashes. The GUI elements are still there, and there's nothing to clean them up, BUT you can do that manually really easily.

Run the following three commands in order and it should get rid of the three GUI items - the button and the two boxes.

Removes the button in the top left

Code: Select all

/c game.player.gui['top']['mod_gui_button_flow']['silo_gui_sprite_button'].destroy()
Removes gui-silo-script frame

Code: Select all

/c game.player.gui['left']['mod_gui_frame_flow']['silo_gui_frame'].destroy()
Removes rocket score GUI

Code: Select all

/c game.player.gui['left']['rocket_score'].destroy()

Hopefully that'll get everything working. If not, afraid I can't help anymore.
You are Great! GUI is gone and i fixed the Map crash.

i just converted the map in a Scenario and started playing. Saved the Game and loaded the Map in Singleplayer. No crash and fixed GUI from ur Commands.

Thank you sooooo much you are awesome!


btw why did u not get the Spaceage? its great :D
Post Reply

Return to “Technical Help”