URL:
<http://gna.org/bugs/?14247>
Summary: new formula ai recruitment throws errors on LoW 2,
side 3
Project: Battle for Wesnoth
Submitted by: crab
Submitted on: Sunday 09/06/2009 at 01:31
Category: Bug
Severity: 4 - Important
Priority: 5 - Normal
Item Group: Artificial Intelligence
Status: Confirmed
Privacy: Public
Assigned to: dragonking
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: (06 Sep 2009)
Operating System: debian
_______________________________________________________
Details:
How-to-reproduce:
add
--- a/data/campaigns/Legend_of_Wesmere/scenarios/02_Hostile_mountains.cfg
+++ b/data/campaigns/Legend_of_Wesmere/scenarios/02_Hostile_mountains.cfg
@@ -431,6 +431,11 @@
#else
{AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern
"fighter,fighter,mixed fighter"}
#endif
+
+#ifdef DEBUG
+ {AI_SIMPLE_FORMULA_AI_EXPERIMENTAL_RECRUITMENT}
+#endif
+
[goal]
[criteria]
race=elf
to [ai] config of [side] #3 (trolls) in LoW 2
start wesnoth -d
:cl LoW 2,
==========
ERROR: divide by zero error
if
if
if
set_var
debug_print
calculate_recruits
change_numbers_to_percents
combine_maps_sub
combine_maps_add
combine_maps_add
debug_print
movement_eval
locally_normalize_to_highest
map
formula type error: divide by zero error
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?14247>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs