bugBattle for Wesnoth - Bugs: bug #20292, New unit checksum error during...

Show feedback again

bug #20292: New unit checksum error during replay of A New Land

Submitted by:  FAAB <faabumc>
Submitted on:  Mon Nov 12 08:15:10 2012  
Category: BugSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Replays
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Release: 1.11.0+svnOperating System: GNU/linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Sat Dec 29 14:51:08 2012, comment #4:

The problem is fixed for me at revision 55933.

FAAB <faabumc>
Project Member
Mon Dec 10 00:33:44 2012, comment #3:

This appears to have been fixed in 1.11.1. I wouldn't be surprised if r55800 (which fixed a similar issue with creating units with Lua) fixed the problem.

Simon Forsyth <alarantalara>
Project Member
Thu Nov 15 05:49:59 2012, comment #2:

Could you attach the save that you've been looking at?

J Tyne <jamit>
Project Member
Mon Nov 12 13:48:16 2012, comment #1:

From further investigations, it appears that:
- when "A New land" game is hosted on a MP server, an observer can observe and replay the game without OOS on recruit
- if the host is saving the game and load it on local with replay, the replay is creating the SYNC error ass described in the original post.

When running BFW with --log-debug=replay,random, the following log is created when locally loading the save with replay:

We see that two different random seeds are used alternatively: 806898482 and 279659955.

Running the same mode with observer on MP server shows that only seed 279659955 is used and no OOS is raised.

FAAB <faabumc>
Project Member
Mon Nov 12 08:15:10 2012, original submission:

When loading a game of A New Land in local mode with replay enabled, a checksum error is raised on the new recruits:

When dumping the unit config, we see that the traits of the new unit are different than the ones in actual game.

No error is raised at recruit when replaying other MP maps.
One of the difference between "A New Land" and other maps is the use of specific WML recruit list rather than default MP factions.

How to reproduce the error:

The error is reported with BFW trunk at revision 55674.
The error is not present at rev 55121 (1.11.0)

FAAB <faabumc>
Project Member


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by shadowmaster (Updated the item)
  • -unavailable- added by alarantalara (Posted a comment)
  • -unavailable- added by jamit (Posted a comment)
  • -unavailable- added by faabumc (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Mar 26 12:38:15 2013shadowmasterOpen/ClosedOpen=>Closed
    Sat Dec 29 14:51:08 2012faabumcStatusReady For Test=>Fixed
    Mon Dec 10 00:33:44 2012alarantalaraStatusNone=>Ready For Test
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup