[Commits] [wesnoth/wesnoth] 4c9c25: fix mandatory child missing WML error

GitHub noreply at github.com
Wed Apr 16 20:26:12 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 4c9c25ade1fc68d37c8da8e3ca49fc9388fcee79
      https://github.com/wesnoth/wesnoth/commit/4c9c25ade1fc68d37c8da8e3ca49fc9388fcee79
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-04-16 (Wed, 16 Apr 2014)

  Changed paths:
    M src/savegame.cpp

  Log Message:
  -----------
  fix mandatory child missing WML error

the error is caused by an inflexible load script which requries
[carryover_sides_start] tag to be present to get the difficulty,
when it could fall back to a different location in case of failure
the change permits us to try to load server-generated replay files


  Commit: f25511d2eeab8a2a04b67a721927c6082776e769
      https://github.com/wesnoth/wesnoth/commit/f25511d2eeab8a2a04b67a721927c6082776e769
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-04-16 (Wed, 16 Apr 2014)

  Changed paths:
    M src/server/game.cpp

  Log Message:
  -----------
  add [start] tag to server replays as needed by gfgtdf

this should have been part of 121, but wasn't
digest from irc logs:
post PR 121, all [replay]'s are expected to begin with an item
[command]
    [start]
    [/start]
[/command]
which may also contain some [checkup] children which help to
ensure that we didnt go OOS in prestart.
these commands are not generated by the server and distributed,
because we want the clients to begin loading the game without
waiting for the server to finish.
all clients, including observers, will add them automatically.
the server therefore should not add them to the history, and
rather just prepend them to [replay] when generating the
savefile.


  Commit: f2a3e25c2f67edd8a2dce61212b8f30a5aac7731
      https://github.com/wesnoth/wesnoth/commit/f2a3e25c2f67edd8a2dce61212b8f30a5aac7731
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-04-16 (Wed, 16 Apr 2014)

  Changed paths:
    M changelog

  Log Message:
  -----------
  update changelog


Compare: https://github.com/wesnoth/wesnoth/compare/858286fad94d...f2a3e25c2f67


More information about the Commits mailing list