Scheduled saving or save on exit

  1. 6 years ago

    There's been a few threads about this, but I haven't seen a definitive conclusion and I remember a conversation in Discord about it.

    We're currently saving locally on the server and I would like to be able either schedule a save every x amount of hours, or better yet if there could be an option to run a local save whenever the last person leaves the server that would be awesome.

    Very much like we can set up so when the last person leaves the modules shut down/pause, an option to do a server save at the same time could be very useful.

  2. I put

    64800 call ALiVE_fnc_AutoSave_PNS

    in the init.sqf and I think it works lol.

  3. I assume the 64800 is an 18 hour save period?

  4. yup!

  5. Friznit

    20 Nov 2017 Administrator

    It's on here: http://alivemod.com/wiki/index.php/Persistence

    I imagine with some BIS sort of server side (player !=player) trickery you could run a script that saves the game when nobody is around.

    Pausing ALiVE when players aren't on the server is an option in the modules already.

  6. Cool thanks guys.

    I know we can pause the modules already, I was just wondering if there was some way to add an option to save at the same time is all.

 

or Sign Up to reply!