Hi guy's !
Can I save the game with LUA command because I play in Multiplayer with dédicated serveur, and if the server reboot, he restart with the last save, but this save is the map beginning
So we can do update this save with the LUA command for save the game before disconnecting ?
Thanks you for your time.
If it not possible, please KOVAREX add this command Thanks you
Save game LUA command ?
Re: Save game LUA command ?
Haven't tried the following but according to the doc, it should be something you want:
server_save(name)
Instruct the server to save the map.
Parameters
name :: string (optional): Save name. If not specified, writes into the currently-running save.
http://lua-api.factorio.com/latest/LuaG ... erver_save
Code: Select all
/c game.server_save()
Instruct the server to save the map.
Parameters
name :: string (optional): Save name. If not specified, writes into the currently-running save.
http://lua-api.factorio.com/latest/LuaG ... erver_save
Re: Save game LUA command ?
Thanks You