RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

How to Change Auto-Save Times

Teh Gamer

Wanderer
How to Change Auto-Save Times

Ok, when I first started hosting shards, the auto-save time took place about every five minutes. I found a lot of people asking me how to change it, so a while back I took the effort to go and find out how. Here is how you do it:

Open RunUO/Scripts/Misc/AutoSave.cs

Around the top you should see:

private static TimeSpan m_Delay = TimeSpan.FromMinutes( ##.0 );
private static TimeSpan m_Warning = TimeSpan.FromSeconds( ##.0);
//private static TimeSpan m_Warning = TimeSpan.FromSeconds( ##.0 );

Of course, where the number signs are, there are numbers, but since I altered it, I don't know what the numbers originally were. So simply edit the part of the script, and replace the number signs with actual numbers, for example:

private static TimeSpan m_Delay = TimeSpan.FromMinutes( 30.0 );
private static TimeSpan m_Warning = TimeSpan.FromSeconds( 60.0);
//private static TimeSpan m_Warning = TimeSpan.FromSeconds( 15.0 );

Then just save the edited AutoSave.cs and restart your server and you are good to go!

Note: Make sure to read the correct times, because 'FromMinutes' of course means the time in minutes, as does 'FromSeconds' mean time from seconds.
 
Top