Panakotta00 / FicsIt-Networks

Control, Monitor, Manage and Automate your Satisfactory.
https://ficsit.app/mod/FicsItNetworks
GNU General Public License v3.0
161 stars 51 forks source link

Lua code in EEPROM from Blueprint is reset on first save/load #255

Open ForsakenShell opened 1 year ago

ForsakenShell commented 1 year ago

When placing a blueprint with a computer complete with EEPROM and Lua code, a placed instance of the blueprint will have the code and operate properly until the first time the game is loaded after saving the first time. When the game is loaded, any blueprinted computer will "forget" their code although the console log will still retain it's contents.

Basic setup to replicate: i) Build a computer in a bluprinter: Computer Frame, Lua CPU, RAM, EEPROM ii) Load the EEPROM with some code such as print( 'hello world' ) iii) Place the blueprint iv) Save v) Load vi) Observe the Lua code window on the computer is now empty

Placed computer now has no Lua code anymore. Loading it with code now, it will retain the code between saves.

Panakotta00 commented 1 year ago

This comes from a game bug I already reported here.

You could help to up-vote and give some pressure on that matter ^^

ForsakenShell commented 1 year ago

Thanks, for now I will simply not pre-load the blueprinted setup with a coded EEPROM (indeed, or any EEPROM).