Page 1 of 1
Friendly Fire in Naval Battles !!!
Posted: Wed Sep 11, 2019 5:36 am
by Energisteron
Hi, Pnzgdr and all
So, I've finished my first full campaign play-through (as Russia, versus the AI, 1805 EiA), and other than a few mistakes of entirely my own making while I got used to the UI, I have seen only one bug, and that again was my fault but I could see it being repeated by someone else so I thought I'd mention it here.
As Russia I had built up my Black Sea fleet, and was at war with Turkey. I entered the Dardanelles hoping to give battle to the Turkish fleet in conjunction with my ally Britain's fleet. The latter didn't engage and stayed in the Black Sea, so I attempted to attack the Turkish fleet alone.
My fleet had 'intercept all and don't evade' orders, so I clicked on the Turkish fleet, and was asked 'which fleet is going to attack?', so I clicked on my fleet, and was asked 'all Russian ships to attack?'. I clicked yes and was promptly brought to my first ever naval battle screen; my Russian fleet versus itself!
There was no turning back and I could not escape the battle screen. (I think one round of combat occurred but couldn't be absolutely sure.)
So, it was entirely my fault, but this really shouldn't happen. It wasn't as if it was two separate fleets and a case of mistaken identity. There was just the one fleet.
Can this self-inflicted error be blocked to prevent it?
I continued my game easily enough by restarting with the last auto save so no harm done, but I nearly repeated my mistake! It turned out the Turkish fleet was not actually in the Dardanelles but in dock at Constantinople. Hence the error - there was no enemy fleet to attack so the Russian fleet attacked itself!
RE: Friendly Fire in Naval Battles !!!
Posted: Sat Sep 14, 2019 3:14 pm
by pzgndr
I am not able to reproduce this? We'll keep an eye on this moving forward with v1.23.
FYI, there is only one round for naval combats. Loser retreats to nearest friendly port and that's it.
RE: Friendly Fire in Naval Battles !!!
Posted: Thu Sep 24, 2020 12:45 pm
by prielo
I just experienced the same. I was playing GB and being in war with FR. SP declared War on Portugal, FR gained control of Portugal. I tried to attack the Portuguese fleet and was offered to "Attack all British ships". I clicked on YES. After that I was presented with a naval combat screen, seeing my single fleet twice (left and right) with Nelson participating on each side. The fleet took both side's losses: attacker and defender. It was a test game, so it was more funny than annoying...
RE: Friendly Fire in Naval Battles !!!
Posted: Thu Sep 24, 2020 5:47 pm
by pzgndr
ORIGINAL: prielo
I just experienced the same. I was playing GB and being in war with FR. SP declared War on Portugal, FR gained control of Portugal. I tried to attack the Portuguese fleet and was offered to "Attack all British ships". I clicked on YES. After that I was presented with a naval combat screen, seeing my single fleet twice (left and right) with Nelson participating on each side. The fleet took both side's losses: attacker and defender. It was a test game, so it was more funny than annoying...
I recreated the situation and made a successful port attack by Great Britain into Lisbon. No issues.

RE: Friendly Fire in Naval Battles !!!
Posted: Thu Sep 24, 2020 5:53 pm
by pzgndr
I reran the case with the Portugal fleets moving out to sea. I then made a successful naval attack by Great Britain. Again, no issues.
What version are you using? The latest install is the v1.23.00 Beta with the v1.23.06 Beta EXE update. I ran these tests with v1.23.07 Beta that I am preparing for the next official patch. I think the issues reported here have been resolved. I can't make guarantees, but I think(?) things are looking good. Thank you for a good test case!

RE: Friendly Fire in Naval Battles !!!
Posted: Fri Sep 25, 2020 5:53 am
by prielo
Thanx for the very fast reply!
I was able to comprehensibly reproduce the error:
Naval Phase
1.) Select a fleet by clicking on it (Fleet A)
2.) Click the "Attack Enemy" button
3.) Click into an adjacent sea area
4.) Click on Fleet A
Prompt:
(see attachment)
I'm using version 1.23.00

RE: Friendly Fire in Naval Battles !!!
Posted: Fri Sep 25, 2020 8:13 am
by pzgndr
ORIGINAL: prielo
I'm using version 1.23.00
Try the v1.23.06 Beta. See
v1.23.06 Beta, Update 8/18/2020
RE: Friendly Fire in Naval Battles !!!
Posted: Fri Sep 25, 2020 8:17 am
by pzgndr
ORIGINAL: prielo
3.) Click into an adjacent sea area
What do you mean here? Friendly and enemy fleets must be in the same sea area for naval combat. Are you not in the same area, and trying to "Attack Enemy" in an adjacent area? If that's the case, I'll relook this issue. There should be an error message or something, and if not then I can add one.
RE: Friendly Fire in Naval Battles !!!
Posted: Fri Sep 25, 2020 8:24 am
by prielo
Updated to 1.23.06. Issue is still there.
by
3.) Click into an adjacent sea area
I meant exactly this: Click into any (empty) adjacent sea area. (This sometimes happens by accident.)
RE: Friendly Fire in Naval Battles !!!
Posted: Fri Sep 25, 2020 8:35 am
by pzgndr
ORIGINAL: prielo
I meant exactly this: Click into any (empty) adjacent sea area. (This sometimes happens by accident.)
Got it, I'll look at this. You had me all spun up that naval combat wasn't working right. This is different.
Patient: Doc, it hurts when I do this.
Doctor: Then don't do that.
RE: Friendly Fire in Naval Battles !!!
Posted: Fri Sep 25, 2020 9:39 am
by prielo
ORIGINAL: pzgndr
Patient: Doc, it hurts when I do this.
Doctor: Then don't do that.
Roger that! [&o]
[:)]
RE: Friendly Fire in Naval Battles !!!
Posted: Sat Sep 26, 2020 3:05 pm
by pzgndr
I think this is resolved now. Very interesting how the code handles a click in a different area. After much back-and-forth, things appear to be working correctly. Firstly, selecting an enemy stack in the same sea area works as intended, still. If you select yourself in the same sea area by mistake then nothing happens. If you accidentally click another sea area first and then select either the enemy stack or yourself, then nothing happens. I tried to add an error message for not being at war if you click yourself, but found this also happened to the enemy stack and would be confusing. Ideally, if you click the Attack Enemy! button and then accidentally click in another area, the code should exit the Select Stack function. But I cannot see how to do that. Anyways, what is fixed now for v1.23.07 should allow normal attacks to continue but not allow for bogus naval battles with yourself.

RE: Friendly Fire in Naval Battles !!!
Posted: Mon Sep 28, 2020 11:16 am
by prielo
Wonderful. [:)]