URL:
  <http://gna.org/bugs/?21340>

                 Summary: Editor-generated .cfg files can break multiplayer
                 Project: Battle for Wesnoth
            Submitted by: beetlenaut
            Submitted on: Wed 11 Dec 2013 01:17:34 PM PST
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Editor
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.11.7+dev
        Operating System: Linux

    _______________________________________________________

Details:

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:

Unterminated quoted string, value '
' at <unknown>:354

The line number points to this line in the new map.cfg file:

      _"

Special Notes:" +

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.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 11 Dec 2013 01:17:34 PM PST  Name: test.map  Size: 829B   By:
beetlenaut

<http://gna.org/bugs/download.php?file_id=19453>
-------------------------------------------------------
Date: Wed 11 Dec 2013 01:17:34 PM PST  Name: test.map.cfg  Size: 15kB   By:
beetlenaut

<http://gna.org/bugs/download.php?file_id=19454>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?21340>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to