Page 1 of 1

Friendlier Autosaves - on idle [simple to implement]

Posted: Sat Jun 30, 2018 6:43 am
by thelordodin
What:
- Check long is player idle (staying still).
- Save after 0.5 seconds staying still.
- Wait till for it 60 seconds
- If not staying still in 60 seconds - save anyway

Why:
- Less annoying for player

Re: Friendlier Autosaves - on idle [simple to implement]

Posted: Mon Jul 02, 2018 8:13 am
by bobingabout
"Player standing still" isn't the best check in my opinion, the most annoying ones for me is when I'm trying to do something in a menu, which usually requires you to be standing still.

I don't have a better suggestion though.

Re: Friendlier Autosaves - on idle [simple to implement]

Posted: Mon Jul 02, 2018 8:04 pm
by thelordodin
bobingabout wrote:"Player standing still" isn't the best check in my opinion, the most annoying ones for me is when I'm trying to do something in a menu, which usually requires you to be standing still.

I don't have a better suggestion though.
Maybe "and also no keystrokes and no mouse moves".

I don't think there are no such moments in 5 minutes when you don't move mouse and don't press keys for 10 second (5 seconds to wait and 5 seconds to save).

Of course that would be great to:
- Don't save to file directly, don't pack it immediatly, but save to RAM first and than release the gui then pack and save to file on in thread Its quite simple to implement if it's not implemented yet - I can't tell if it's already done or not.

- Create a flag "im_saving", than save most data that don't change often, and only then lock all and save the rest. And if something that "don't change often" does change during all this time - it should reset the flag "im_saving" and then the process will be restarted a bit later.
But it's much harder to implement because it might require putting this flag ("im_saving") to many places. I don't really think this is a good idea...

Re: Friendlier Autosaves - on idle [simple to implement]

Posted: Tue Jul 03, 2018 2:37 am
by eradicator
Go to config.ini, set non-blocking-saving to true. Be happy.
There's no metric in the world that can tell you how annoyed the player will be if you interrupt them $now instead of $later.

Re: Friendlier Autosaves - on idle [simple to implement]

Posted: Tue Jul 03, 2018 10:10 am
by betrok
eradicator wrote:Go to config.ini, set non-blocking-saving to true. Be happy.
But what about helpless windows users? %)

Re: Friendlier Autosaves - on idle [simple to implement]

Posted: Tue Jul 03, 2018 10:20 am
by eradicator
betrok wrote:
eradicator wrote:Go to config.ini, set non-blocking-saving to true. Be happy.
But what about helpless windows users? %)
They're not annoyed by this in the first place, it's just how things work :p.

Re: Friendlier Autosaves - on idle [simple to implement]

Posted: Wed Jul 04, 2018 3:26 am
by Jap2.0
eradicator wrote:
betrok wrote:
eradicator wrote:Go to config.ini, set non-blocking-saving to true. Be happy.
But what about helpless windows users? %)
They're not annoyed by this in the first place, it's just how things work :p.
I'm not buying the fact that like 95% of people never get annoyed.

Re: Friendlier Autosaves - on idle [simple to implement]

Posted: Wed Jul 04, 2018 5:35 am
by Koub
TBH, i've never stopped being annoyed since it was introduced (except, of course, when I'm AFK when it happens :mrgreen: )
BTW, this is an old subject : viewtopic.php?f=5&t=8422