Iustus
King
The intent of this thread is to list specific code bugs found in the code of the SDK, now in the 2.08 Warlords code. (The older bugs for 161 and 2.0 warlords included but listed as fixed).
Only specific references to specific lines of code from the SDK should be listed.
The list: updated Feb 20, 2007
Fixed in Warlords 2.08:
-Iustus
Only specific references to specific lines of code from the SDK should be listed.
The list: updated Feb 20, 2007
- Assert in declareWar always fires when AI declares war on vassal of a human player (Warlords 2.08 only)
- FreeWinsVsBarbs from the handicap infos is not correctly used (actually causes the barbarians to win in some cases)
- getTradeString has a crash bug when generating a trade string for city trades
- AI_endWarVal does not count the power of masters of a vassal (but it does count power of the vassals of a master)
- getHurryCost has an off by one error, causing some pop rushes to not complete the next turn
- CvTeam::setVassal does not clear the pending warplans of the vassal
- CvTeam::addTeam and CvTeam::shareCounters (called by addTeam) incorrectly clear the warplan for active wars
- CvGameTextMgr:: parseCivicInfoand CvGameTextMgr::setBuildingHelp incorrectly display all buildings of the same class with BuildingHappinessChanges. (Visible once the XML bug is fixed so that Zulu specific barracks also gives +2 happy from Nationhood)
Fixed in Warlords 2.08:
- AI_bestTech misvalues some techs which enable improvements (fixed in 2.08)
- AI_foundValue - undervalue initial coastal locations (fixed in 2.08)
- (AI combat odds 161 only)
- AI_doDiplo - vassal accepted without proper war check (2.08 fixes another way)
- AI_doDiplo - vassal requested every turn (fixed in 2.08)
- doResearch - overflow research is not adjusted by calculateResearchModifier (fixed in 2.08)
- getCombatOdds - iAttackerOdds can be off by one in some cases (fixed in 2.08)
- doCombat - the defender is given a 1 in 1000 bonus chance to win each combat round (which is not accounted for in getCombatOdds) (fixed in 2.08)
-Iustus