Topic: save frequency setting broken?
Tibor Topic Opener |
Posted at: 2016-05-11, 12:53
Hi, it seems my changes to automatical save frequency are ignored, the "7" is restored everytime. Of course when I changed it in config file the value from therein is accepted. Do you see the same behavior? Top Quote |
GunChleoc |
Posted at: 2016-05-11, 14:41
7 would be a really odd default value. I have no trouble changing "Save game automatically every:" in the options to whatever I want. Busy indexing nil values Top Quote |
Tibor Topic Opener |
Posted at: 2016-05-11, 18:59
I had that value (420) in config file, is it possible that GUI is not able to change what is in config? Strange... Top Quote |
Tibor Topic Opener |
Posted at: 2016-05-11, 22:22
Another question - can anybody verify/confirm that if game is paused no autosave is taking place? It is supposed to be so, but my testing shows that autosave is still runnning Top Quote |
No0815 |
Posted at: 2016-05-12, 09:37
I can confirm that the game autosaves when paused, even when it was paused the whole time since the last autosave (or loading, in my case). Top Quote |
GunChleoc |
Posted at: 2016-05-12, 10:39
Autosave timing generally needs an overhaul - I'm not sure if it is tie to realtime (desired) or gametime(bad) at the moment.
I can change the setting in the GUI and Widelands remembers it, so I have no idea right now where your problem is coming from Maybe the value was out of range, causing the problem? Edited: 2016-05-12, 10:39
Busy indexing nil values Top Quote |
Tibor Topic Opener |
Posted at: 2016-05-12, 12:21
It seems that game.game_controller()->is_paused() function is not working properly, I will look at this.... Top Quote |
MiroslavR |
Posted at: 2016-05-12, 18:31
Using Pause Break to pause the game instead of lowering the speed to 0 with Page Down seems to stop the autosave mechanism as intended. Top Quote |
Tibor Topic Opener |
Posted at: 2016-05-12, 19:25
I had no idea about Pause Break feature, thanks for info. BTW setting speed to 0x should have the same effect, should it not? Top Quote |
MiroslavR |
Posted at: 2016-05-12, 20:06
From what I can tell, there is no difference other than is_paused() not working properly. The only place I could find this function used was in the autosave code. I think the fix should be as simple as "is_paused() { return real_speed() == 0; }" instead of returning paused_, because lowering the speed to 0 does not seem to set paused_ to true. Top Quote |