Is it possible to stop the AutoSave?

salva

Friendly self-taught developer
Administrator
Jan 31, 2016
577
612
63
Using Rust ++ and having these settings ..
Autosave_enabled = false
Autosave_interval = 60000
The server continues to save every 10min.

How to stop the autosave? Anyone knows?


upload_2017-6-25_5-11-20.png
 

Jakkee

Retired Staff
Retired Staff
Plugin Developer
Jul 28, 2014
1,465
932
113
Australia
just looked at the Rust++ Code and it doesn't look the AutoSave feature is even "Coded" in.
I mean the function is there but nothing sets off the timer to autosave.

It must be just the default auto save timer
You can add it to your commandline: save.autosavetime "amount" default is 600, 600 Seconds maybe?
Why do you need this turned off by the way?
 

salva

Friendly self-taught developer
Administrator
Jan 31, 2016
577
612
63
just looked at the Rust++ Code and it doesn't look the AutoSave feature is even "Coded" in.
I mean the function is there but nothing sets off the timer to autosave.

It must be just the default auto save timer
You can add it to your commandline: save.autosavetime "amount" default is 600, 600 Seconds maybe?
Why do you need this turned off by the way?
Hi @Jakkee thanks for replying, I really want to turn off the auto save, because I have done tests and I think I have the solution to do a autosave with 0% lag. I have also been looking at rust ++ and although the autosave is there it is not possible to disable it. Any idea?
 

Jakkee

Retired Staff
Retired Staff
Plugin Developer
Jul 28, 2014
1,465
932
113
Australia
In your command line do save.autosavetime 99999999999
I don't think rust++ saves the map, it saves friends list / share list etc
 

salva

Friendly self-taught developer
Administrator
Jan 31, 2016
577
612
63
I'll try to add that to server.cfg, thanks
 

salva

Friendly self-taught developer
Administrator
Jan 31, 2016
577
612
63
In your command line do save.autosavetime 99999999999
I don't think rust++ saves the map, it saves friends list / share list etc
@Jakkee save.autosavetime 999999999 (Max nine digits) ,Works perfectly thanks
 
  • Like
Reactions: Jakkee

salva

Friendly self-taught developer
Administrator
Jan 31, 2016
577
612
63
Just wondering, How are you saving the server?
It is currently saved automatically as always ...
But I have finished plugin that uses the method to save the map as a background process, using a timer ... the tests I did last week was to save a map with +100.000 objects suffering 0% lag.

C#:
            ConsoleSystem.Run("save.all", false);
            RustPP.Helper.CreateSaves();
 
  • Winner
Reactions: DreTaX