Page 1 of 1

[1.1.35] Custom World Gen Preset does not take using Factorio Server to generate.

Posted: Sat Jul 03, 2021 1:39 am
by Berserker55
(For testing I ripped out everything unrelated from the mod, including locale)

As you can see here:
Image
the preset works perfectly fine in Single-Player/ Gui
However, if it's created via..
`Factorio.exe --create test --preset archipelago`
then the resulting world looks to be a Default preset, ignoring the custom preset entirely.
However, trying to name a preset that does not exist, does result in an error that the preset was not found.

Mod attached.

Re: [1.1.35] Custom World Gen Preset does not take using Factorio Server to generate.

Posted: Sun Jul 11, 2021 4:17 pm
by Klonan
I just tested it and it works completely fine for me, I edited your preset to be a bit extreme, and creating the save with the command line works fine:
factorio-run_2021-07-11_18-16-47.png
factorio-run_2021-07-11_18-16-47.png (54.18 KiB) Viewed 1346 times

Re: [1.1.35] Custom World Gen Preset does not take using Factorio Server to generate.

Posted: Tue Jul 13, 2021 1:40 am
by Berserker55
Yeah, can confirm a mistake on my part. For the mod a script launches the server 4 times (create empty world, launch empty world; rcon-communicate with mod, create mod-embedded world, launch mod-embedded world; rcon-communicate and begin gameplay) And the preset was applied on first step instead of step 3. Thank you for looking into it.