Skip to content

Enable the creation of named save while server is active. #401

@Squelch

Description

@Squelch

Background

On the Saves page, the user is prevented from creating a save while the server is running. Factorio now allows the console command /c server-save This will save the game as the currently loaded filename in the same manner as Save and Stop Server on the Controls page. However, a non documented feature of this command is that it also allows a named save to be created ie /c server save 123 with .zip extension being appended automattically.
Cannot-save-while-running

Suggestion

Instead of displaying the message that saves are not possible, branch the code from using system IO file creation while game is not running, to issuing an RCON command to save the savegame name entered in the field while the game is running.
Save-while-running

Expected result:

Save-Complete

The same result can be achieved from the console page, or by issuing the command ingame of course, but this suggestion would appear more intuitive, and remove the suggestion that no save while running is not possible.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions