Event Chaing not firing (BillRunacre aslo looked at it)
Posted: Fri Sep 22, 2023 3:28 pm
BillRunacre suggested I post this in here since he was able to see what I see
The Decision.txt chain to Supply.txt works perfectly in single player game with AI=4. The goal is for all the cities in North Africa to take damage if the Allies have both Malta and Gibraltar.
When playing Multiplayer Games the chain is NOT firing.
BillRunacre was able to duplicate the issue and he tracked it down to the decision.txt event with a TYPE=2. For some reason have type=2 is not allowing the chain of events to fire in Multiplayer games. NOTE: It works just fine in single player.
Here is the event from the decision.txt file
{
#NAME= DE 846 - DE 711[1] - UK - Controls - (Malta, Gibraltar)
#POPUP=
#MESSAGE=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 711[1]
#COUNTRY_ID= 112
#TRIGGER= 100
#DISPLAY_ORDER= 0
#DECISION= 846
#MPP_UPDOWN= 0
#MPP_TURNS= 0
#MPP_TEXT=
#NOTES=
#NOTES_POSITION=
#AI_RESPONSE= 100
#AI_RESPONSE_POPUP=
#DATE= 1939/09/01
#TEXT_RGB= 0,0,0
#SHADOW_RGB= 0,0,0
; - Gibraltar - Malta - Allied Controlled
#ALIGNMENT_POSITION= 136,114 [2]
#ALIGNMENT_POSITION= 175,114 [2]
#NATIONAL_MORALE_TRIGGER= 0 [0]
; - UK - Allies - War - Not Surrender
#VARIABLE_CONDITION= 112 [2] [100] [0]
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
}
Here is the event from the supply.txt file
{
#NAME= DE 846[1] Malta Effect - North Africa Supply issues
#POPUP= <<TAG_supply_33>>
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 4
#LEVEL= 0
#GV= 1[1,100]
#LINK= 846[1]
#COUNTRY_ID= 112
#ALIGNMENT_ID= 0
#FLAG_ID= 112
#TRIGGER= 15
#SEASON_FLAG= 0
#DATE= 1939/09/01
#SOURCE_POSITION= 175,114 [-1]
; - Set to 3, by the time it gets back to Axis Turn its a 2
#DESTINATION_RESOURCE= 172,121 [3,3]
#DESTINATION_RESOURCE= 172,120 [3,3]
#DESTINATION_RESOURCE= 179,124 [3,3]
#DESTINATION_RESOURCE= 184,126 [3,3]
#DESTINATION_RESOURCE= 185,122 [3,3]
#DESTINATION_RESOURCE= 186,122 [3,3]
#DESTINATION_RESOURCE= 188,124 [3,3]
#DESTINATION_RESOURCE= 190,122 [3,3]
#DESTINATION_RESOURCE= 191,120 [3,3]
#DESTINATION_RESOURCE= 192,122 [3,3]
#DESTINATION_RESOURCE= 194,122 [3,3]
#DESTINATION_RESOURCE= 195,121 [3,3]
#DESTINATION_RESOURCE= 196,123 [4,4]
#DESTINATION_RESOURCE= 198,123 [4,4]
#DESTINATION_RESOURCE= 200,124 [4,4]
#DESTINATION_RESOURCE= 204,125 [4,4]
#DESTINATION_RESOURCE= 205,123 [3,3]
#DESTINATION_RESOURCE= 206,123 [3,3]
#DESTINATION_RESOURCE= 206,124 [3,3]
#DESTINATION_RESOURCE= 208,123 [3,3]
#DESTINATION_RESOURCE= 209,122 [3,3]
#DESTINATION_RESOURCE= 209,123 [3,3]
#DESTINATION_RESOURCE= 210,123 [3,3]
; - UK - Allies - War - Not Surrendered
#VARIABLE_CONDITION= 112 [2] [100] [0]
; - Egypt - Allies - War - Not Surrendered
#VARIABLE_CONDITION= 36 [2] [100] [0]
}
The Decision.txt chain to Supply.txt works perfectly in single player game with AI=4. The goal is for all the cities in North Africa to take damage if the Allies have both Malta and Gibraltar.
When playing Multiplayer Games the chain is NOT firing.
BillRunacre was able to duplicate the issue and he tracked it down to the decision.txt event with a TYPE=2. For some reason have type=2 is not allowing the chain of events to fire in Multiplayer games. NOTE: It works just fine in single player.
Here is the event from the decision.txt file
{
#NAME= DE 846 - DE 711[1] - UK - Controls - (Malta, Gibraltar)
#POPUP=
#MESSAGE=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 711[1]
#COUNTRY_ID= 112
#TRIGGER= 100
#DISPLAY_ORDER= 0
#DECISION= 846
#MPP_UPDOWN= 0
#MPP_TURNS= 0
#MPP_TEXT=
#NOTES=
#NOTES_POSITION=
#AI_RESPONSE= 100
#AI_RESPONSE_POPUP=
#DATE= 1939/09/01
#TEXT_RGB= 0,0,0
#SHADOW_RGB= 0,0,0
; - Gibraltar - Malta - Allied Controlled
#ALIGNMENT_POSITION= 136,114 [2]
#ALIGNMENT_POSITION= 175,114 [2]
#NATIONAL_MORALE_TRIGGER= 0 [0]
; - UK - Allies - War - Not Surrender
#VARIABLE_CONDITION= 112 [2] [100] [0]
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
}
Here is the event from the supply.txt file
{
#NAME= DE 846[1] Malta Effect - North Africa Supply issues
#POPUP= <<TAG_supply_33>>
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 4
#LEVEL= 0
#GV= 1[1,100]
#LINK= 846[1]
#COUNTRY_ID= 112
#ALIGNMENT_ID= 0
#FLAG_ID= 112
#TRIGGER= 15
#SEASON_FLAG= 0
#DATE= 1939/09/01
#SOURCE_POSITION= 175,114 [-1]
; - Set to 3, by the time it gets back to Axis Turn its a 2
#DESTINATION_RESOURCE= 172,121 [3,3]
#DESTINATION_RESOURCE= 172,120 [3,3]
#DESTINATION_RESOURCE= 179,124 [3,3]
#DESTINATION_RESOURCE= 184,126 [3,3]
#DESTINATION_RESOURCE= 185,122 [3,3]
#DESTINATION_RESOURCE= 186,122 [3,3]
#DESTINATION_RESOURCE= 188,124 [3,3]
#DESTINATION_RESOURCE= 190,122 [3,3]
#DESTINATION_RESOURCE= 191,120 [3,3]
#DESTINATION_RESOURCE= 192,122 [3,3]
#DESTINATION_RESOURCE= 194,122 [3,3]
#DESTINATION_RESOURCE= 195,121 [3,3]
#DESTINATION_RESOURCE= 196,123 [4,4]
#DESTINATION_RESOURCE= 198,123 [4,4]
#DESTINATION_RESOURCE= 200,124 [4,4]
#DESTINATION_RESOURCE= 204,125 [4,4]
#DESTINATION_RESOURCE= 205,123 [3,3]
#DESTINATION_RESOURCE= 206,123 [3,3]
#DESTINATION_RESOURCE= 206,124 [3,3]
#DESTINATION_RESOURCE= 208,123 [3,3]
#DESTINATION_RESOURCE= 209,122 [3,3]
#DESTINATION_RESOURCE= 209,123 [3,3]
#DESTINATION_RESOURCE= 210,123 [3,3]
; - UK - Allies - War - Not Surrendered
#VARIABLE_CONDITION= 112 [2] [100] [0]
; - Egypt - Allies - War - Not Surrendered
#VARIABLE_CONDITION= 36 [2] [100] [0]
}