Search found 3 matches

by Rdjrjqouqcu2
Sun Mar 26, 2023 7:00 am
Forum: Modding interface requests
Topic: Add a local_save equivalent
Replies: 4
Views: 1652

Re: Add a local_save equivalent


I am surprised server_save doesn't work in singleplayer, seeing as the player is the server. I would have reported this bit as a bug.


If someone confirms this is a bug, I'll be willing to create a bug report. I'm fairly certain this wouldn't make sense, because with a server and twenty logged ...
by Rdjrjqouqcu2
Sun Mar 26, 2023 6:46 am
Forum: Resolved Problems and Bugs
Topic: [1.1.78] game.auto_save fails when writing to a subfolder
Replies: 5
Views: 2758

[1.1.78] game.auto_save fails when writing to a subfolder

In a clean version of 1.1.78 (no mods), running the following command will cause the screenshotted notice to pop up.


/c game.auto_save("foo/bar")


Based on the docs, I would expect this to attempt to create the save in 'saves/_autosave-foo/bar.zip'.

If the second '_autosave-foo' folder is ...
by Rdjrjqouqcu2
Sun Mar 26, 2023 3:52 am
Forum: Modding interface requests
Topic: Add a local_save equivalent
Replies: 4
Views: 1652

Add a local_save equivalent

Hi, I'm setting up a mod to auto-save the game at specific intervals to be used with the FactorioMaps Timelapse mod. ( https://mods.factorio.com/mod/L0laapk3_FactorioMaps )

Currently 'game.server_save(name)' only saves the game if running on a multiplayer server.
I can use 'game.auto_save(name)' to ...

Go to advanced search