Loaned Unit Behaviors (Full Version)

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



Message


pzgndr -> Loaned Unit Behaviors (9/28/2018 4:53:47 PM)

I'm investigating a couple of issues reported in Mantis. Here they are, and my thoughts.

quote:

836 pzgndr minor Game Enhancement 1.08.06
Loaned Unit Behavior

Loaned unit behavior should be clarified for both attack and defense situations, where either the loaned unit or the controlling player is at war with an opposing force. In lieu of repatriating a unit back to its original territory, consider changing this to a simple retreat into an adjacent area.

Murat. We had a game where the British tried to attack a stack that had defenders from 2 nations, one at war with Britain and one not. Britain could not attack. In your example, as long as there were mixed defenders, an attacker could not declare an attack. We may soon get to recreate this for you in our game.

Original Rule 7.3.8.4 STEP FOUR: All major powers not at war with the attacker (except the attacker and his allies at war with the defender and factors in cities or on depots) must now leave the area, moving to any adjacent area that, if possible, is closer or at least as close to their source of supply as the area they leave. [Units that cannot be retreated will be repatriated back to their home nation.]


INTERPRETATION: Ideally, retreating neutral corps to an adjacent area would be in accordance with the original rules, but introduces code complications. Currently, most combat situations simply leave the neutral corps out of combat and leaves it alone in the area if the controlling player is forced to retreat/withdraw. This should be acceptable. Code needs to fix situations where combat does not occur at all when controlling enemy units are present in the area. Repatriation is a separate issue and the code appears to move units to nearest friendly controlled area, which should be acceptable as is.

quote:

772 delatbabel major Game Bug 1.08.04
Naval woes with loaned fleets and corps

We're experiencing quite a bit of loaned fleet weirdness and some loaned corps weirdness. Any chance you can take a look please?
1. Assume Spain and Turkey are at war. Britain is not at war with either. Britain loans fleets to Turkey:
a. British fleets on loan (not carrying Turkish corps) can be attacked by Spanish fleets.
b. Turkey can use on-loan British fleets to attack Spanish fleets.
c. British fleets on loan to Turkey roll for, intercept, and attack moving Spanish fleets as they move past the British fleets during the Spanish naval phase.
2. Turkey loans fleets to Britain:
a. Spain cannot attack the Turkish fleets that are on loan to Britain in a sea zone.
b. Spain cannot attack the Turkish fleets that are on loan to Britain in a port.
c. Turkish fleets on loan to Britain can sail through a blockade box occupied by Spanish fleets.
d. Spain cannot enter the blockade box of a port where there are in-port Turkish fleets on loan to Britain.
e. Spain can enter a port where there are in-port Turkish fleets on loan to Britain, along with British garrison factors. No combat occurs.
3. Turkey loans fleets to Britain. Turkey does not have access allowed to British territory.
a. British fleets that are loaned to Turkey while in a British port are evicted from that port at the end of the reinforcement phase.
b. British fleets that are on loan to Turkey cannot move into a British controlled port.
I believe that all of the above is just one big bug -- fleets behaving as if they were "owned" by the receiving player rather than the recipient player in a fleets on loan situation.
2.a and 2.c in particular are game-blocking. In January 1805, France stacks a few corps along with all of its fleets in Brest, and loans the entire stack to Spain (Spain not being at war with Britain). Spain moves those fleets to the English Channel, past the British fleet blockade. Britain cannot attack those fleets and the blockade doesn't hold. Game over.
I have discovered one more regarding transported loaned corps in 1.08.04:
Turkey loans corps to Britain. Turkey is at war with Spain. Britain does not have access to Spain. Britain embarks Turkish corps on British fleets and sails those fleets to a sea area adjacent to a Spanish controlled land area. During the British land phase, the Turkish corps can then disembark into the Spanish controlled land area. At the end of the British land combat phase those (Turkish owned corps loaned to Britain) are then evicted from that Spanish controlled land area and repatriated to the nearest British territory.
Save game attached.
Note that the following bugs exist:
GB and Spain at war. Some Spanish fleets are loaned to Russia, which is neutral:
* British fleets cannot attack Spanish fleets on loan. e.g. in the Mediterranean near Tripoli.
* British fleets cannot blockade Trieste, which contains both Spanish fleets and corps. In fact, since Spanish corps are at war with Britain, Britain should be able to blockade Trieste even if it did contain only neutral corps (e.g. if a Turkish or Russian ship sailed into Trieste, Britain should immediately be able to place Trieste under blockade as it contains Spanish corps).
* Spanish fleets that have just been placed under Russian control have been evicted from Tripoli due to Russia having no access to Spain.
I think this needs fixing before 1.09. If a game allows "play by the software" rather than "play by the rules" (which I always insist on), then any new game is over very quickly as a triviality.
1. France loans all of its fleets to a neutral third party, e.g. Spain, as well as some number of corps sufficient to defeat London's garrison.
2. Neutral third party sails fleets to area off the coast of Britain, and unloads French corps into London.
3. French corps attack London. Britain surrenders unconditionally to France to avoid -3 PP and loss of income due to capital being occupied.
4. Repeat every 18 months, France wins the game.


Original Rule 6.2.3.1 INTERCEPTION PROCEDURE: When a phasing stack enters a sea area occupied by or adjacent to one or more enemy stacks, those enemy stacks may attempt to intercept the moving stack. An "enemy stack" is any stack containing fleets at war with any fleet or fleets in the phasing stack and/or at war with any corps that the phasing stack may be transporting.

Original Rule 6.2.7 BLOCKADE OF PORTS: A stack may only enter a blockade box if it is at war with the major power controlling the port or if the box or port contains an enemy fleet or enemy corps with neutral fleets that have announced combined movement (which makes transporting the corps possible-see 6.2.5).

INTERPRETATION: "Enemy Stack" is any stack containing fleets AT WAR with any fleet or fleets in the phasing stack, and/or AT WAR with any corps that the phasing stack may be transporting. The transport of an enemy corps on a neutral fleet is essentially an ACT OF WAR, and subjects the neutral fleet to interception combat AND prevents the neutral fleet from entering an enemy port or unloading corps on enemy territory (i.e., amphibious invasion). This should resolve most discrepancies, and is in accordance with the original rules.

So here's my ToDo List:
1) Fix combat for cases where controlling player has units present with enemy units.
2) Fix unit status of neutral fleets on loan to a controlling player at war with another major power.
3) Update unit status of neutral fleets transporting enemy units to be enemy fleets subject to interception/combat and restricted from entering enemy ports or unloading on enemy territory.

Please discuss. If there are other burning issues with loaned units, let me know. If you have any concerns with my interpretations and have suggestions, let me know. This is pretty tricky in the code, so I'd like to ensure we get it right, or close enough.




gazfun -> RE: Loaned Unit Behaviors (9/29/2018 12:49:35 AM)

We have just started our Game A for Alpha and have not come across anything as yet, although your interpretation looks good as far as Im concerned




DCWhitworth -> RE: Loaned Unit Behaviors (10/3/2018 12:38:56 PM)

I don't really have enough experience of naval combat in the game to comment but as far as land combat with loaned units goes there are two primary issues. Firstly the game does not seem to resolve who gets to fight and who does not according to the way the manual says it should. Secondly, forces that do not participate are relocated back to their home capital. The latter point is potential game breaker and needs to be resolved in some way.

An example of the former issue we had in a game was French and Prussian corps attacking British and Russia with Russia and France not at war. The reading of the manual suggested this should have resulted in a battle of Prussia and France against Britain. It actually resulted in just Prussia against Russia.

I'm also concerned by the 'loan breaking' aspects of 7.6.1 Breaking a loan mid-phase can result in some odd and game affecting situations. Corps could end up being able to move twice or not at all. You can end up with 'gamey' attacks on a stack for the sole purpose of breaking the loan and derailing plans. Furthermore I don't see the logic in the loan being revoked, it feels more of a programming 'feature' that has been documented rather than addressed. Reminds me of a reply we once had to a bug report "This is not a bug, it is a feature. The manual will be updated at the next release to reflect this feature".

Most of the issues have largely been around the game not performing as per the manual. Whether the solution is to amend the manual or amend the game or (most likely) a combination of the two I'm not sure, but at the very least the manual needs to be much clearer about how the game behaves, as an example 7.6.1 does not cover what happens in the example I gave above where both stacks contain loaned corps that are not at war with each other. A major hole in the manual (unless I have missed something) is the behaviour of non-loaned units that are not at war in a stack, the loaning of the units should in fact be irrelevant to this consideration.

I would also urge a deal of caution in the use of rules from the original board game to justify how the computer game should behave. For better or worse the computer game is not intended to be an exact replication of the board game.




pzgndr -> RE: Loaned Unit Behaviors (10/3/2018 11:26:26 PM)

Good points David. Thanks. My challenge is to build some test cases to verify what the code is actually doing, identify the specific issues, fix the issues, and verify the issues are resolved. Easier said than done!

quote:

I would also urge a deal of caution in the use of rules from the original board game to justify how the computer game should behave. For better or worse the computer game is not intended to be an exact replication of the board game.


If possible, I would err on the side of the original rules or at least the spirit of the rules. That's why I shared my "interpretations" to see if there are any burning concerns and better suggestions for how the computer version should behave. Whatever we end up with, I intend to update the documentation to be clear and consistent with game play.




pzgndr -> RE: Loaned Unit Behaviors (8/11/2019 11:37:23 PM)

Good news. Looking at Mantis bug #772 above, I think I have successfully fixed all items discussed in #1a/b/c, #2a/b/c/d/e, and #3a/b in the situation where Spain and Turkey are at war and neutral Britain loans fleets to Turkey (and vice versa).

The blockade box issue was complicated, with different code for running a blockade and lifting a blockade. I essentially kept the old code for regular fleets, but for loaned fleets I needed to add separate code with extra checks and logics. In cases where movements are blocked an error message will pop up. Suffice to say, unless a fleet is totally neutral it's not getting past a hostile fleet in the blockade box. Just to be clear, if a neutral British fleet is loaned to Turkey or a Turkish fleet is loaned to neutral Britain, neither one will move past a Spanish fleet in the blockade box to either enter port or leave port. If this is not a correct interpretation, please speak up and explain why not?

Next up is the situation with Britain and Spain at war and Spain loans fleets to neutral Russia. I will also be testing cases where neutral fleets are transporting hostile corps and attempting to move past intercepting fleets and/or land hostile corps. Once all that is done and I can then go back and verify all is well, then I will proceed with wrapping up v1.23 for release.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.453125