Bug or not? Fort's ZoC and returning to province at Marmara Sea. I don't think it is working as intended

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

ToNieMiasz

Corporal
45 Badges
Mar 19, 2018
48
24
  • Cities in Motion 2
  • Europa Universalis IV: Third Rome
  • Stellaris: Distant Stars
  • Europa Universalis IV: Mandate of Heaven
  • Surviving Mars
  • Age of Wonders III
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Surviving Mars: Digital Deluxe Edition
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Europa Universalis IV: Golden Century
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Europa Universalis 4: Emperor
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Victoria 3 Sign Up
  • Stellaris: Digital Anniversary Edition
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Warlock: Master of the Arcane
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Magicka 2
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Stellaris: Synthetic Dawn
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
I spent a few hours trying to understand how did this tragedy has happened.
I started to write this as a question but then it evolved so I'll be grateful if you advise/move it if it lands in incorrect section or something.

20220201202511_1.jpg
So I went into normal mode and opened console for some testings so now I understand why.

The ottoman army was defeated at Kirkkilise earlier and I moved my army away from here.
I left a small army with allies attached (who ran away like cowards as usual) and when I came back I noticed my mercs (and 7k allies) are about to die a horrible death.
I expected the Ottomans to go through Gelibolu and/or Edirne or even around Edirne to avoid rebels which didn't happen.

And so: When you conquer entire Balkans there is no way to cross from Anatolia to Balkans again if you don't capture the fort at Gelibolu or Constantinople... unless?
In the screen above the Gelibolu and Selanik fort were destroyed (THANKS AI Now I can't go to Anatolia fast enough!).
So in that case you can still go from from Kocaeli to Gelibolu or even Edirne through Constantinople and from there to entire of Balkans (I expected that).

What I did not expect is that even if you conquer ENTIRE BALKANS area and hold forts of Constantinople and Gelibolu then
20220201201800_1.jpg

20k "Army from Balkans" moves to Kocaeli.
10k "Army from Anatolia" moves to Ankara.

20220201201903_1.jpg
The 20k "Army from Balkans" seems to have never left Constantinople's ZoC and, even after Kirkkilise was captured by the enemy (thus entering the reach of their ZoC), the army is allowed to go back to the province it came from because of, what I suppose, it is remembering that the Kirkkilise province didn't belong to Constantiple's ZoC at the time... Probably?
Meanwhile any other army, like 10k "Army from Anatolia", is not allowed to hop over Constantinople's fort as it has already left its ZoC.

But didn't the 20k army ALSO leave ZoC while stepping onto Kocaeli already? Well yes, but actually no. "The Return Province is updated when a unit leaves a non-ZoC province"
Thinking I'm on a good trail I have sent the Balkan army once again from ally owned Kirkkilise to Kocaeli and had Byzantines occupy entry to Balkans again. (Changed the save file already)

20220201214832_1.jpg


20220201214836_1.jpg

I suppose the Kirkkilise has been marked as to be rewritten maybe? Or to be deleted? Maybe?

20220201214901_1.jpg
20220201214908_1.jpg

But when I go to Constantinople, stop there and then
20220201214916_1.jpg

The Return province is updated. The unit cannot return to Kirkkilise anymore so the pathfinding fails and should recommend using ships, but surprise it doesn't (and I suppose I'll never guess why unless I analyze the code itself Does it store the previous/old Return Province somewhere or something?).

20220201220218_1.jpg

On the screen above you can see "First army" as it moves from Kocaeli straight into Kirkkilise while "Second army" stopped at Constantinople and was unable to move to Kirkkilise in any other way than moving to Silistre first then shift clicking to Kirkkilise.
It can still move anywhere else by Return Province, it can also move onto Ships and land in Silistre (automatic transportation enables that) however it cannot automate transport to Kirkkilise as if it can't pathfind anywhere to it unless it returns to Kocaeli and by that resets/fixes itself.

However going back onto the main topic:
The conclusion is that the Balkan army should not be able to cross over Constantinople right into their previous Return Province since it creates a very location specific problem (but I suppose the same principles may be applied to other straits).
You may easily use it to hop over two forts with 40/60k troops right into Balkans ignoring the forts and jump back to Anatolia whenever you like as long and as long as you have at least 1 stack that is able to reoccupy the Kirkkilise back and by reoccupying that you may throw every other Anatolian or Tunisian army (even without Return Province) from Anatolia back into Balkans as long as you have fleet superiority to control the strait.


Is that a problem? I think so. Solution? I'm just an amateur but if trying to fix it I'd do (while leaving updating Return Province as it is):
(I assume you have already tried to update the "Return Province" as the army steps onto non-ZoC province and it may cause some problems)
  • After moving 1 province, and updating Return Province, redo the pathfinding and in case of a 'blockade' of some sorts (No longer a Return Province) stop the army.
    • [Not recommended since more resources will be consumed for pathfinding so that's bandaging a hole on a ship so the fish can't go in but the water does lol]

  • Besides "Return province" store which nation occupies/controls this province and check if it isn't the enemy.
    • If the occupant of "Return province" is not the same -> If it's the enemy -> If standing on enemy ZoC -> Do nothing because that's the only way out; Else -> non-Zoc province -> Update Return Province.
    • If the occupant of "Return province" is not the same -> If it's neutral (e.g. if we're Ottoman's ally and didn't join their 2nd war) -> Either check if we have the military access -> Yes? Return Province reachable. Unless we want it to be unreachable if not controlled by the allied forces then don't check whether it's the enemy or not and just go check if we're on the enemy ZoC.
    • If ally releases occupied province (either by disembarking or from behind the enemy lines) and the unit didn't update Return Province (they didn't move or pathfind at all) it will still be able to treat it as "Return Province" again (unfortunately) and at the same time will not allow to hop over the forts when it is fully occupied by the enemy.
      Unfortunately because they will still be able to hop over if it's flipped back, but it will not cause large change in how ZoC works if you want to avoid major changes while at the same time will require you to either use ships or army from behind enemy lines.
20220201232840_1.jpg

If stuck at Kujawy, because all other forts are captured, when Łęczyca is our only "Return Province" it is possible to move from Kujawy to Łęczyca and even Kraków (but still unable to leave without reoccupying the forts).
If this change will be made then it will become not posible to unless the fort at Płock gets reoccupied and unit becomes free from ZoC.

I will be happy to hear what other's opinion about this is, whether it is a problem, bug or if I just wasted a bunch of time and salt because of kebabs
 

Attachments

  • 20220201231556_1.jpg
    20220201231556_1.jpg
    347,5 KB · Views: 0