The problem occurs with animation disabled, fresh game started after crearing cache, empty mod folder except Red, at turn 13 playing French deity 1939 scenario
With the log enabled, the game sometimes crashes instead of hanging (I am not able to reproduce exactly the same sequence of orders before ending my turn, which may explain that)
Before the game hangs (or crashes), the only notification shown is that AI Germany is "calling reserve troops"
The LUA log is 144kb, where can I post it ?
1) there seems to be an error in unitflagmanager.lua line 550 col 91 should not "pUnit:RangeStrike()" be replaced by "pUnit:Range()" ?
2) there seems to be some problem with RedCombat.lua, look at this:
Localization.log
[3846.189] ERR: Missing argument 4. (Your {@1_UnitName} ([COLOR_NEGATIVE_TEXT]{3_Damage}[ENDCOLOR] damage) bombarded an enemy {@2_EnUName} ([COLOR_POSITIVE_TEXT]{4_Damage}[ENDCOLOR] damage)!)
[3846.189] ERR: Failed to evaluate parameter 4. Your {@1_UnitName} ([COLOR_NEGATIVE_TEXT]{3_Damage}[ENDCOLOR] damage) bombarded an enemy {@2_EnUName} ([COLOR_POSITIVE_TEXT]{4_Damage}[ENDCOLOR] damage)!
[3846.189] ERR: Missing argument 4. (Your {@2_UnitName} ([COLOR_NEGATIVE_TEXT]{4_Num}[ENDCOLOR] damage) was bombarded by an enemy {@1_EnUName} ([COLOR_POSITIVE_TEXT]{3_Damage}[ENDCOLOR] damage)!)
[3846.189] ERR: Failed to evaluate parameter 2. Your {@2_UnitName} ([COLOR_NEGATIVE_TEXT]{4_Num}[ENDCOLOR] damage) was bombarded by an enemy {@1_EnUName} ([COLOR_POSITIVE_TEXT]{3_Damage}[ENDCOLOR] damage)!
[3860.197] ERR: Missing argument 4. (Your {@1_UnitName} ([COLOR_NEGATIVE_TEXT]{3_Damage}[ENDCOLOR] damage) bombarded an enemy {@2_EnUName} ([COLOR_POSITIVE_TEXT]{4_Damage}[ENDCOLOR] damage)!)
[3860.197] ERR: Failed to evaluate parameter 4. Your {@1_UnitName} ([COLOR_NEGATIVE_TEXT]{3_Damage}[ENDCOLOR] damage) bombarded an enemy {@2_EnUName} ([COLOR_POSITIVE_TEXT]{4_Damage}[ENDCOLOR] damage)!
[3860.197] ERR: Missing argument 4. (Your {@2_UnitName} ([COLOR_NEGATIVE_TEXT]{4_Num}[ENDCOLOR] damage) was bombarded by an enemy {@1_EnUName} ([COLOR_POSITIVE_TEXT]{3_Damage}[ENDCOLOR] damage)!)
[3860.197] ERR: Failed to evaluate parameter 2. Your {@2_UnitName} ([COLOR_NEGATIVE_TEXT]{4_Num}[ENDCOLOR] damage) was bombarded by an enemy {@1_EnUName} ([COLOR_POSITIVE_TEXT]{3_Damage}[ENDCOLOR] damage)!
(what's even more strange is that the only ranged attack I made were the 2 sub attacks as shown in Lua.log below)
[4065.183] ERR: Missing argument 4. (Your city of {@2_EnUName} ([COLOR_NEGATIVE_TEXT]{4_Damage}[ENDCOLOR] damage) was bombarded by an enemy {@1_UnitName} ([COLOR_POSITIVE_TEXT]{3_Damage}[ENDCOLOR] damage)!)
[4065.183] ERR: Failed to evaluate parameter 2. Your city of {@2_EnUName} ([COLOR_NEGATIVE_TEXT]{4_Damage}[ENDCOLOR] damage) was bombarded by an enemy {@1_UnitName} ([COLOR_POSITIVE_TEXT]{3_Damage}[ENDCOLOR] damage)!
Lua.log
...
[3846.048] RedMain: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[3846.048] RedMain: NEW COMBAT
[3846.048] RedMain: -Redoutable class is Fighting, last mission plot = (35,58), unit plot = (35,58)
[3846.048] RedMain: -Type 1934A class is Fighting, last mission plot = (35,59), unit plot = (35,59)
[3846.064] RedMain: Attacking unit is a sub, report the attack...
[3846.064] RedMain: ---------------------------------------------------------------------------------------------------------------
[3846.064] RedMain: CombatStarted: FRANCE attack GERMANY
[3846.064] RedMain: ---------------------------------------------------------------------------------------------------------------
[3846.064] RedMain: Attacking Unit: Redoutable class
[3846.064] RedMain: Defending Unit: Type 1934A class
[3846.064] RedMain: Received Damage: 0 6
[3846.064] RedMain: Current Damage: 0
[3846.064] RedMain: Total Damage: 0 13
[3846.064] RedMain: HP left: 75 62
[3846.064] RedMain: ---------------------------------------------------------------------------------------------------------------
[3846.220] RedMain: ---------------------------------------------------------------------------------------------------------------
[3846.220] RedMain: Combat Ended: FRANCE attack GERMANY
[3846.220] RedMain: ---------------------------------------------------------------------------------------------------------------
[3846.220] RedMain: Attacking Unit: Redoutable class
[3846.220] RedMain: Defending Unit: Type 1934A class
[3846.220] RedMain: Receveid Damage: 0 6
[3846.220] RedMain: Final Damage: 0 13
[3846.220] RedMain: HP left: 75 62
[3846.220] RedMain: Updating XP for Redoutable class, gain 4xp from combat, now has 14 combatXP / 14 totalXP
[3846.220] RedMain: Updating XP for Type 1934A class, gain 3xp from combat, now has 5 combatXP / 5 totalXP
[3846.220] RedMain: - Active player is attacking...
[3846.220] RedMain: - combatType = 2
[3846.220] RedMain: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[3860.073] RedMain: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[3860.073] RedMain: NEW COMBAT
[3860.073] RedMain: -Redoutable class is Fighting, last mission plot = (35,58), unit plot = (35,58)
[3860.073] RedMain: -Type 1934A class is Fighting, last mission plot = (35,59), unit plot = (35,59)
[3860.073] RedMain: Attacking unit is a sub, report the attack...
[3860.073] RedMain: ---------------------------------------------------------------------------------------------------------------
[3860.073] RedMain: CombatStarted: FRANCE attack GERMANY
[3860.073] RedMain: ---------------------------------------------------------------------------------------------------------------
[3860.073] RedMain: Attacking Unit: Redoutable class
[3860.073] RedMain: Defending Unit: Type 1934A class
[3860.073] RedMain: Received Damage: 0 5
[3860.073] RedMain: Current Damage: 9
[3860.073] RedMain: Total Damage: 0 18
[3860.073] RedMain: HP left: 66 57
[3860.073] RedMain: ---------------------------------------------------------------------------------------------------------------
[3860.213] RedMain: ---------------------------------------------------------------------------------------------------------------
[3860.213] RedMain: Combat Ended: FRANCE attack GERMANY
[3860.213] RedMain: ---------------------------------------------------------------------------------------------------------------
[3860.213] RedMain: Attacking Unit: Redoutable class
[3860.213] RedMain: Defending Unit: Type 1934A class
[3860.213] RedMain: Receveid Damage: 0 5
[3860.213] RedMain: Final Damage: 0 18
[3860.213] RedMain: HP left: 66 57
[3860.213] RedMain: Updating XP for Redoutable class, gain 4xp from combat, now has 15 combatXP / 15 totalXP
[3860.213] RedMain: Updating XP for Type 1934A class, gain 1xp from combat, now has 6 combatXP / 6 totalXP
[3860.213] RedMain: - Active player is attacking...
[3860.213] RedMain: - combatType = 2
[3860.213] RedMain: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
...
[4065.058] RedMain: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[4065.058] RedMain: NEW COMBAT
[4065.058] RedMain: -1er Escadron de chasse (Morane-Saulnier MS.406) is Fighting, last mission plot = (34,46), unit plot = (34,46)
[4065.058] RedMain: -3eme Escadron de chasse (Morane-Saulnier MS.406) is Fighting, last mission plot = (34,46), unit plot = (34,46)
[4065.058] RedMain: -2. Panzer-Division (Panzer III) is Fighting, last mission plot = (53,48), unit plot = (54,48)
[4065.058] RedMain: -Kampfgeschwader 1 (Heinkel He 111) is Fighting, last mission plot = (39,43), unit plot = (44,50)
[4065.058] RedMain: -Kampfgeschwader 4 (Junkers Ju 87 Stuka) is Fighting, last mission plot = (39,46), unit plot = (44,50)
[4065.058] RedMain: -U-Boat Type VII is Fighting, last mission plot = (1,54), unit plot = (1,54)
[4065.058] RedMain: -Convoy is Fighting, last mission plot = (0,55), unit plot = (0,55)
[4065.058] RedMain: - Searching interceptor for Kampfgeschwader 4 (Junkers Ju 87 Stuka)
[4065.058] RedMain: - Best interceptor would be 2eme Escadron de chasse (Morane-Saulnier MS.406)(but this one is not fighting, actual interceptor is not tested here)
[4065.058] RedMain: - 3eme Escadron de chasse (Morane-Saulnier MS.406) added to interceptor list, last mission plot = (34,46), unit plot = (34,46)
[4065.058] RedMain: - 3eme Escadron de chasse (Morane-Saulnier MS.406) is in range for interception
[4065.058] RedMain: Mark the attacked plot as defended...
[4065.058] RedMain: ---------------------------------------------------------------------------------------------------------------
[4065.058] RedMain: CombatStarted: GERMANY attack FRANCE
[4065.058] RedMain: ---------------------------------------------------------------------------------------------------------------
[4065.058] RedMain: Attacking Unit: Kampfgeschwader 4 (Junkers Ju 87 Stuka)
[4065.058] RedMain: Defending Unit: Frankfurt
[4065.058] RedMain: Intercepting Unit: 3eme Escadron de chasse (Morane-Saulnier MS.406)
[4065.058] RedMain: Received Damage: 1 5
[4065.058] RedMain: Current Damage: 9
[4065.058] RedMain: Total Damage: 13 30
[4065.058] RedMain: HP left: 62 20
[4065.058] RedMain: -----------------
[4065.058] RedMain: pAttackedPlot: 39,46
[4065.058] RedMain: Kampfgeschwader 4 (Junkers Ju 87 Stuka) has 120 moves left.
[4065.058] RedMain: ---------------------------------------------------------------------------------------------------------------
(end of log, game hangs)