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 12 Nov 2012 08:15:10 AM UTC  
 
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 29 Dec 2012 02:51:08 PM UTC, comment #4:

The problem is fixed for me at revision 55933.

FAAB <faabumc>
Project Member
Mon 10 Dec 2012 12:33:44 AM UTC, 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 15 Nov 2012 05:49:59 AM UTC, comment #2:

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

J Tyne <jamit>
Project Member
Mon 12 Nov 2012 01:48:16 PM UTC, 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 12 Nov 2012 08:15:10 AM UTC, 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):
   
   
Comment:
   

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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 26 Mar 2013 12:38:15 PM UTCshadowmasterOpen/ClosedOpen=>Closed
    Sat 29 Dec 2012 02:51:08 PM UTCfaabumcStatusReady For Test=>Fixed
    Mon 10 Dec 2012 12:33:44 AM UTCalarantalaraStatusNone=>Ready For Test
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup