URL:
  <http://gna.org/bugs/?19947>

                 Summary: Migrate "saveturns=0" to appropriate "autosaves"
setting in old savegames
                 Project: Freeciv
            Submitted by: jtn
            Submitted on: Mon Jul 16 00:40:33 2012
                Category: None
                Severity: 2 - Minor
                Priority: 5 - Normal
                  Status: In Progress
             Assigned to: jtn
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: Any
         Planned Release: 2.4.0,2.5.0

    _______________________________________________________

Details:

In patch #2536 (whose debut is in 2.4), the old "saveturns=0" behaviour of not
autosaving on a turn is replaced by not setting the "TURN" bit in the new
"autosaves" setting.

However, loading old savegames, there's nothing currently to clip the
now-illegal "saveturns" value (the new minimum is 1).

As it happens, I think the server still honours saveturns=0 if it can get past
checks (as it does with savegames), but it would be better not to have an
illegal value kicking around inside the server.

(The other place where "saveturns=0" can persist is in the server settings
saved in .freeciv-client-rc-X.X. There's not much that can reasonably be done
about that, but it is at least a one-time hit for the user, unlike old
savegames where the issue can keep popping up.)




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?19947>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to