Attacking blockading fleets

Post bug reports and ask for support here.

Moderator: MOD_EIA

Post Reply
ravenflight
Posts: 29
Joined: Mon Jan 02, 2017 12:33 pm

Attacking blockading fleets

Post by ravenflight »

Hi all,

I'm playing a game as Russia right now. Turkey declared war on me, but was at war with France at the same time. I moved my fleet from Corfu to attack the Turkish fleet blockading a French fleet (somewhere in the Med, unimprtant I don't think). A dialogur box came up 'do you want to attack the Turkish fleet? yes/no'. I selected yes, and an error dialogue box came up. Nexp phase I'm in the blockade box with tge Turks... apparently hating France along side them :)

Obvious error here.

BTW, the error box indicated some file it was trying to access was missing, so probably a compilation/zipping problem more than a coding issue.
pzgndr
Posts: 3737
Joined: Thu Mar 18, 2004 12:51 am
Location: Delaware

RE: Attacking blockading fleets

Post by pzgndr »

If I can find an obvious error in the code then I will fix it for this version. Else it may have to wait for the next update where I intend to look at other naval combat issues.

I must say that the code has different sections for the combats depending on different player types (human, AI or PBEM) and it's tricky to track down what's supposed to be happening. Here there was AI blockading AI and the human player was intervening, so I suspect where the error is.
Bill Macon
Empires in Arms Developer
Strategic Command Developer
pzgndr
Posts: 3737
Joined: Thu Mar 18, 2004 12:51 am
Location: Delaware

RE: Attacking blockading fleets

Post by pzgndr »

I'm happy to report that I found and fixed this bug. Apparently the "Lift Blockade" code for a friendly port worked fine but the error was with a "Blockade Battle" code for an enemy fleet blockading a neutral (to you) port. So, a simple copy&paste of a code section seems to work.

I set up a little test with France and Turkey at war, and Spain and Turkey at war. Turkey is blockading France at Toulon. Spain attacks and defeats the Turkish fleet. Score! Also note in the screenshot the enhanced battle summary showing starting units and factors. The rest of the combat details are showing because I have FOW off.

Image
Attachments
BlockadeBattle.jpg
BlockadeBattle.jpg (301.78 KiB) Viewed 289 times
Bill Macon
Empires in Arms Developer
Strategic Command Developer
ravenflight
Posts: 29
Joined: Mon Jan 02, 2017 12:33 pm

RE: Attacking blockading fleets

Post by ravenflight »

Even better... this was the port/blockade box of the original report!
Post Reply

Return to “Tech Support”