-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Console Displays "Could not find step name:XXX withdraw planes?" #1954
Comments
There are 2 ways I can think of to fix this:
I'm leaning towards option 1 as its simpler and I don't think listing the type of retreat in the steps list really gives much benefit especially since it can change as you take casualties. |
By the way, an annoying issue, ever existing, that makes the "Partial Amphibious Retreat" non-serious and wrongly implemented is that TripleA obliges you to lose all unloaded units of the same kind before the not unloaded one, while, as far as I know, there should not be such a restriction. Just to give you a proof of this (that the fact that TripleA obliges you to lose unloaded units before not unloaded ones, in v3, is wrong), I just googled this. Of course, there can be better references, but I think this one should be enough. http://www.axisandallies.org/forums/index.php?topic=12601.300
Or you can also take a look at, like, the official rulebook of WW2v5, if you know what I mean (just search for "retreat"), that will tell you that you have to keep overland and seaborne units separate on the battle strip, while this engine mixes them all and forcefully makes you take the seaborne ones first, amongst the ones of the same kind (thus the silliness that experienced players distribute the different types so to obtain an effect close to being actually able to take some not-unloaded units as casualties before all unloaded ones). Basically, if the engine would work correctly here, it should present you with, like, separate overland and seaborne infantry etc., and allow you to take as casualties one or the other for each kind (and you should also always be able to see what is overland and what is seaborne, for the units you have left, at any point during combat). So, what I'm saying, is that if you are going to rewrite some logic maybe also allow for taking overland before seaborne, if wanted, for the same unit type, and keep them separate in selection, as it should be. |
But I'm not finding right now something that specifically confirms what I said, in that you should be able to select unloaded or not unloaded for a same type at will (while TripleA obliges you to lose the unloaded ones first). Maybe @panther2 or someone can double check and confirm. This has always been an annoying limit / bug, if I'm right that it is (maybe I'm missing some rules somewhere, but I don't think so). |
Well, and there is also the issue that you may have an "isMarine" unit that it is stronger when unloaded, thus you would want to take the not unloaded marines before the unloaded ones, here, and you can't. Of course, this is mostly for custom maps, as you don't have marines in the regular v3 etc.. For example, the marines of Napoleonic Empires. |
@Cernelius If you find that it is a bug then please open an issue with a way to reproduce it and reference to the rule. I'd like to keep this issue focused on just the display bug regarding various retreat types. |
https://forums.triplea-game.org/topic/73/iron-war-official-thread/174
Problem from a code perspective is that this logic is run before casualties:
triplea/src/main/java/games/strategy/triplea/delegate/MustFightBattle.java
Line 673 in 566a37a
Then this logic is run after casualty selection and if there were non-amphib land units before casualties but aren't any after then it selects the "withdraw planes" retreat option that doesn't exist on the battle window display to highlight:
triplea/src/main/java/games/strategy/triplea/delegate/MustFightBattle.java
Line 1443 in 566a37a
The text was updated successfully, but these errors were encountered: