naval battle bug - 1.27.04

Post bug reports and ask for support here.

Moderator: MOD_EIA

Post Reply
pdzun
Posts: 20
Joined: Sat Feb 28, 2026 5:30 pm

naval battle bug - 1.27.04

Post by pdzun »

Hi

I have encountered new naval bug, which was not observed on previous release

I've attached savegame - on next naval phase Spain AI is attacking Russian human player fleet near Copenhagen. Battle commence but not only russian fleet on sea area is participatnig, but also swedish and danish fleet from Copenhagen port without interception rolls/orders. After battle both swe and den fleets are still in port.

After battle there is no naval retreat (no matter who is a winner)

br
Piotr
Attachments
russia_naval_bug.sav.zip
(240.68 KiB) Downloaded 8 times
pzgndr
Posts: 3781
Joined: Thu Mar 18, 2004 12:51 am
Location: Delaware

Re: naval battle bug - 1.27.04

Post by pzgndr »

Good. We don't often get good AI naval attacks vs human defender, so this was a good case.
- fixed load_units_to_battle to exclude non-interception fleets not in area
- fixed ai_run_computer_combat and combat_retreat_units to skip live troops check for combat_retreat_units

Changes now prevent those Danish and Swedish fleets from joining the battle, and the naval retreats are working correctly.
Bill Macon
Empires in Arms Developer
Strategic Command Developer
Post Reply

Return to “Tech Support”