HoI 4 - USA Congress building requests not completing (including some bug qualification) [1.10.8][0aab]

  • 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.

Kaerid

Private
77 Badges
Feb 4, 2011
24
31
  • Victoria 2
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Leviathan: Warships
  • Magicka
  • Crusader Kings II
  • Semper Fi
  • Europa Universalis IV: Res Publica
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron IV: Field Marshal
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis III
  • Europa Universalis IV: Art of War
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Dungeonland
  • Crusader Kings II: Conclave
  • Stellaris: Nemesis
  • Tyranny: Archon Edition
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Europa Universalis III Complete
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis III Complete
Description of issue
USA Congress building requests not completing (including some bug qualification) [1.10.8][0aab]

Game Version
1.10.8

Enabled DLC
Together for Victory, Death or Dishonor, Waking the Tiger, Man The Guns

Do you have mods enabled?
No

Description
I had the "congress wants to invest in munitions factory" event (usa.62 from events/USA.txt) trigger, targetting North Carolina which had 0 mil factories.
Before finishing the construction, a national focus (Arsenal of Democracy) added 3 mil factories in that state.

Neither the 3 factories from the focus nor the ones I built later triggered the event completion.

Checking with commands, I could see that the variable 363.arms_factory_goal had a value of 1 (363 being the id for N.Carolina). This was the expected value since the state originally had 0 mil.

However, the trigger condition for completion (from common/decisions/MTG_congress.txt ) is:
check_variable = { arms_factory_goal = arms_factory_level }
which does not validate in my case since the arms_factory_level jumped from 0 to 3 without going through the expected 1.

Using commands to set 363.arms_factory_goal to the current factory level (5 when I tried) did validate the decision, so this issue seems limited to the check from above which only validates strict equality.


Since the code is similar, this issue probably applies to the civ factory, dockyard and infrastructure variants as well.

Steps to Reproduce
No reliable way to reproduce: if the analysis is correct, it requires free buildings from a national focus to target the same state & same building type as the congress event, so this is quite RNG-dependent.

Upload Attachment
File(s) attached
 

Attachments

  • congress_request_issue.hoi4
    12,4 MB · Views: 0
  • 1
Reactions:
Upvote 0

doubleskulls

Captain
30 Badges
Sep 13, 2010
441
594
  • Hearts of Iron III
  • Stellaris: Leviathans Story Pack
  • Semper Fi
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Battle for Bosporus
  • Crusader Kings III
  • Imperator: Rome - Magna Graecia
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • 500k Club
  • Europa Universalis IV
I may have seem something similar. I play the game to pause on event, and whenever this event fired in that I always put the requested item to the top of the infra queue, but this never resulted in the gain. It seems that waiting 1 day to tick over before starting the building means you get the benefit.
 

TomPorter

Private
22 Badges
Feb 27, 2014
21
4
  • Europa Universalis IV
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Semper Fi
  • Hearts of Iron IV: No Step Back
  • Darkest Hour
  • Hearts of Iron IV: By Blood Alone
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
I may have seem something similar. I play the game to pause on event, and whenever this event fired in that I always put the requested item to the top of the infra queue, but this never resulted in the gain. It seems that waiting 1 day to tick over before starting the building means you get the benefit.
Thanks for the tip, I'll try that and see if it works for me. It's interesting that this issue has been around for so long and not fixed. Infrastructure, docks and factories don't complete that often, it seems reasonable that a check could be performed to see if any outstanding events are active and if so set it to completed.