bugBattle for Wesnoth - Bugs: bug #21798, Saving and loading in multiplayer...

 
 
Show feedback again

bug #21798: Saving and loading in multiplayer alters global_variable in replay

Submitted by:  Eli Dupree <elvish_pillager>
Submitted on:  Sat 15 Mar 2014 03:56:54 AM UTC  
 
Category: BugSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Networking
Status: Ready For TestPrivacy: Public
Assigned to: NoneOpen/Closed: Open
Release: 1.13.0-devOperating System: Debian Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sat 19 Jul 2014 09:55:26 PM UTC, comment #1:

there have been multiple changes in master but also in 1.12 (less then in master), it's likeley that this was fixed in master during this change.

Daniel <gfgtdf>
Project Member
Sat 15 Mar 2014 03:56:54 AM UTC, original submission:

Load the first attached save in multiplayer with client A, and set client A to control side 1. Join with client B in side 2. Start the game, then immediately have client B save the game.

I did this and got the second attached save. Two of the values in the [replay] [command] [global_variable]s near the end are different in the second save than the first. (Lines 2689 and 2699 in the first save, 2687 and 2697 in the second save.)

(They also have different random_seeds, and the second save emits OOS errors soon, but those might still be problems with my add-on, not Wesnoth - I'm still hunting. However, the replays should not be changing no matter how wrong my add-on is.)

Eli Dupree <elvish_pillager>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gfgtdf (Posted a comment)
  • -unavailable- added by elvish_pillager (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
    Sat 19 Jul 2014 09:55:26 PM UTCgfgtdfStatusNone=>Ready For Test
    Sat 15 Mar 2014 03:56:54 AM UTCelvish_pillagerAttached File-=>Added 2p_—_Silverhead_Crossing_Turn_1.gz, #20341
      Attached File-=>Added 2p_—_Silverhead_Crossing_Turn_1-2.gz, #20342
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup