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

GitHub noreply at github.com
Wed Apr 16 20:24:00 UTC 2014


  Branch: refs/heads/1.12
  Home:   https://github.com/wesnoth/wesnoth
  Commit: b2d7814670c152185168d822ddbd803c3698b445
      https://github.com/wesnoth/wesnoth/commit/b2d7814670c152185168d822ddbd803c3698b445
  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: 468524c792ba5548daffcde53f2bf845136dab47
      https://github.com/wesnoth/wesnoth/commit/468524c792ba5548daffcde53f2bf845136dab47
  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: c7eccfbe8661b8e724e33adfcbd4ee334a1079c1
      https://github.com/wesnoth/wesnoth/commit/c7eccfbe8661b8e724e33adfcbd4ee334a1079c1
  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/278c2b24cd44...c7eccfbe8661


More information about the Commits mailing list