bugBattle for Wesnoth - Bugs: bug #21340, Editor-generated .cfg files can...

 
 
Show feedback again

bug #21340: Editor-generated .cfg files can break multiplayer

Submitted by:  Dan Gerhards <beetlenaut>
Submitted on:  Wed 11 Dec 2013 09:17:34 PM UTC  
 
Category: BugSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Editor
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Release: 1.11.7+devOperating System: Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sun 29 Dec 2013 05:32:15 AM UTC, comment #1:

The problem is solved because the editor no longer writes complete wml saved units in the scenario files.

Still, this looks like a problem with the serialization.
Thus I keep the bug open and give it back to the unassigned pool.

Fabian Müller <fendrin>
Project Member
Wed 11 Dec 2013 09:17:34 PM UTC, original submission:

To reproduce: Open the map editor. Add a side, then add an Ancient Lich to the map. Save the map and exit the editor. Click on Multiplayer-->Local Game. You get an error message, and are returned to the main screen:
The line number points to this line in the new map.cfg file:
The string is terminated, but there is a line break first, which seems to be causing the error message.

Playing or loading a campaign does not cause this error. An Ancient Lich in the map file does, but an Elvish Marksman does not, despite having the same Special Notes lines in its description.

Dan Gerhards <beetlenaut>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #19453:  test.map added by beetlenaut (829B - application/octet-stream)
file #19454:  test.map.cfg added by beetlenaut (15kB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by fendrin (Posted a comment)
  • -unavailable- added by shadowmaster (Updated the item)
  • -unavailable- added by beetlenaut (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 29 Dec 2013 05:32:15 AM UTCfendrinAssigned tofendrin=>None
    Thu 19 Dec 2013 10:17:09 PM UTCshadowmasterAssigned toNone=>fendrin
    Wed 11 Dec 2013 09:17:34 PM UTCbeetlenautAttached File-=>Added test.map, #19453
      Attached File-=>Added test.map.cfg, #19454
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup