Attacking blockading fleets (Full Version)

All Forums >> [New Releases from Matrix Games] >> Empires in Arms the Napoleonic Wars of 1805 - 1815 >> Tech Support



Message


ravenflight -> Attacking blockading fleets (1/15/2017 8:00:30 PM)

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 -> RE: Attacking blockading fleets (1/16/2017 11:18:23 PM)

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.




pzgndr -> RE: Attacking blockading fleets (1/21/2017 12:37:01 AM)

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]local://upfiles/11380/0A9525B2F61641418ADB7CE7714ADC90.jpg[/image]




ravenflight -> RE: Attacking blockading fleets (1/21/2017 2:50:50 AM)

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




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.921875