URL:
<http://gna.org/bugs/?11380>
Summary: Unclear error message when castles cannot be placed
on random genereate map
Project: Battle for Wesnoth
Submitted by: kthakore
Submitted on: Wednesday 03/26/2008 at 21:00
Category: Bug
Severity: 2 - Minor
Priority: 5 - Normal
Item Group: None of the others
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.5
Operating System: Linux, WIndows
_______________________________________________________
Details:
mihosi noticed that when a scenario is made with large min distance between
castle, and player values, the random map generator would just give a
terminal error with no gui response to the player indicating an error.
However when the engine would try to place units on this faulty generated map
it would die fatally giving an unclear error message in the gui. So I fixed
mapgen.cpp so that it tries 5 times to add the castles and fails fatally with
a gui message telling the player to reconfigure the scenario. Attach is a
scenario that you can use to create this bug, and a patch with the changed
code. put the scenario in the campaings folder in data and run with -t tag.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wednesday 03/26/2008 at 21:00 Name: broke.cfg Size: 8kB By:
kthakore
<http://gna.org/bugs/download.php?file_id=4052>
-------------------------------------------------------
Date: Wednesday 03/26/2008 at 21:00 Name: patch1 Size: 3kB By: kthakore
<http://gna.org/bugs/download.php?file_id=4053>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?11380>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs