URL:
<http://gna.org/bugs/?11946>
Summary: Coloring extra message field can cause freeze.
Project: Battle for Wesnoth
Submitted by: ken_oh
Submitted on: Tuesday 07/01/2008 at 14:04
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: WML
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.4.x-1.5.1+svn
Operating System: WinXP
_______________________________________________________
Details:
This causes a hang that starts to eat up memory (I tested once and got up to
300,000k before force quitting).
[message]
speaker=narrator
message="test"
[option]
message ="&"+attacks/baneblade.png+"="+_ "#80"
[command]
[/command]
[/option]
[/message]
If you take the # out, it will work fine. Using @ also causes the freeze.
Using RGB color code doesn't work altogether, but that is a different bug
#11945 .
If you stretch out the field some horizontally, it also doesn't freeze. Like
so:
[message]
speaker=narrator
message="test"
[option]
message ="&"+attacks/baneblade.png+"="+_ "_____"
[command]
[/command]
[/option]
[option]
message ="&"+attacks/baneblade.png+"="+_ "#80"
[command]
[/command]
[/option]
[/message]
Or, if you put enough characters in the field (#80000 instead of #80) it also
prevents the problem.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?11946>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs