Hotfix #3 posted today. This has been a busy three weeks or so. Here are my hotfix notes:
Added redundant check to combat_retreat_units to retreat leaders
Fixed load_units_to_battle for siege battles
Fixed AI naval attack
Fixed adding garrison to conquered minor during setup
Fixed code for combat PP gain/loss
Fixed pathfinding to restrict land units from being routed through sea areas
Adjusted land AI to restrict suicidal efforts to retake capital
Revised code for conquest of minor countries and updated rule 13.3.1 to read: "The minor country capital needs to be occupied (garrisoned) or the city area contains a friendly corps in order to establish control of the city."
Fixed area_find_over_garrisoned_city and ai_fix_overgarrisoned_cities checks that were slowing down AI game turns
Changed area_get_majority_nation_at_loc to exclude garrison, depots, leaders
Made fix for combat_post_battle_cleanup for human attacker and no victor
Added ai_factors_in_range_of_major_target for major DOWs
Adjusted land AI to move unassigned cav corps with special units
Fixed nation_evacuate_city that was causing endless loop
Added checks to retreat defender in cases of successful withdrawal
Adjusted combat_eia_roll_pursuit to restore partial infantry/militia factors that were commented out v1.25.03
Fixed ai_assign_units to check area supply only if forage bad, which was slowing down AI game turns
Fixed surrender parameters code to save all selections and reorder items
Added checks to ensure cavalry loss when a side breaks
Fixed unit_can_unit_cause_lapse to exclude kingdoms
Fixed nation_scan_all_areas_for_control to reset kingdom minor units prior to eliminate/convert control of minor
Fixed nation_eliminate_nation to remove all minor/kingdom units and garrisons
Fixed naval combat, retreat, and naval pursuit issues.
Added confirmation messages for double-clicking combat screen for swapping leaders or toggling naval pursuit
Fixed reconquer kingdom minors issues
Fixed AI ceding provinces back to ally home nation
Reduced France redeploy to Spain 15% -> 10% if at war with Pr/Ru/Au
Added redundant check for friendly garrison to prevent premature fleet evacuation
Fixed nation_scan_all_areas_for_control to verify current control of minor capital
Fixed task error not recognizing kingdom unit as controlled by player
Restored AI Spain for Unconditional Surrender if Civil Disorder (ie, nation_home_manpower = 0)
Added unit_delete_unit to remove minor units from map in addition to unit_move_unit off map
Fixed forage error for "other corps" modifier being double-counted
Fixed errors for required cav loss for loser if no battle victor
Fixed errors with AI taking pursuit losses
Changed AI die roll bonus to before combat modifiers
Naval combat issues, surrender parameters, reconquering kingdom minors and provinces, and AI pursuit losses consumed a lot of my time. More than anticipated. The good news is that these issues are resolved and gameplay should be much improved. I may have more to say about some of these issues later. If anyone has any questions, just ask.
With so many items worked off with just this hotfix, it is painfully clear to me that we are still not ready for a final release. I figure at least another hotfix to verify this update works as intended and there aren't many more issues to resolve. Maybe by next month I can update to a new version as a release candidate and see how it goes for a couple of months, making a hotfix or two as necessary. We probably won't be ready by end of year when most of Matrix takes a break, so don't expect a final official update patch until early next year.
In the meantime, please update to Hotfix #3 and play some. Enjoy!