URL: <http://gna.org/bugs/?23748>
Summary: Autosettlers building Fortresses, despite zero value Project: Freeciv Submitted by: cazfi Submitted on: Tue 04 Aug 2015 02:46:21 AM EEST Category: ai Severity: 3 - Normal Priority: 5 - Normal Status: In Progress Assigned to: None Originator Email: Open/Closed: Open Release: Discussion Lock: Any Operating System: None Planned Release: 2.6.0, 3.0.0 _______________________________________________________ Details: Yes, the fact that autosettlers build Fortresses indicate a bug there. As far as AI evaluation goes, Fortresses are considered worthless, so it's building something despite considering them completely worthless. I've already found the problems in consider_settler_action(), but am still testing what is the best way to fix them. From the code it's clear that if ruleset had such extras, AI could end up building even something that would make things worse for it (have negative value). S2_6 & TRUNK are affected. S2_5 is mostly safe, but it's possible that I end up backporting part of the change as a fine tuning there. _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?23748> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev