Page 1 of 1

[Rseding91] [2.0.23] "Automatic requests from space platforms" not saved in blueprint string exports

Posted: Mon Dec 09, 2024 9:50 pm
by CyberShadow
Steps to reproduce:

1. Build a rocket silo
2. Enable "Automatic requests from space platforms" on it
3. Copy it
4. Drop the blueprint in the hotbar
5. Open the blueprint
6. Click "Export to string", "Copy"
7. Close the blueprint
8. Click "Import string", "Paste", "Import"
9. Place the blueprint

Expected behaviour:

Pasted rocket silo should preserve the "Automatic requests from space platforms" as enabled.

Actual behaviour:

Pasted rocket silo seems to always have "Automatic requests from space platforms" off.

This seems to apply only to exported blueprints. Simply copying and pasting an entity or using a blueprint preserves the flag.

Re: [2.0.23] "Automatic requests from space platforms" not saved in blueprint string exports

Posted: Thu Dec 12, 2024 3:22 pm
by Rseding91
Thanks for the report. This is now fixed for the next release.

Re: [Rseding91] [2.0.23] "Automatic requests from space platforms" not saved in blueprint string exports

Posted: Fri Dec 20, 2024 1:34 pm
by Zulan
I'm afraid it is not fixed. Instead, now the "Automatic requests from space platforms" is always on for ex-/imported blueprints.

Tested in 2.0.27

Re: [Rseding91] [2.0.23] "Automatic requests from space platforms" not saved in blueprint string exports

Posted: Fri Dec 20, 2024 1:44 pm
by Rseding91
I see, looking at the logic the original “export to string” code was completely wrong and I re-used some of it for the new fixed version. Except the broken old logic is still partially broken in how it’s working when exporting.