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

Rikai

Second Lieutenant
26 Badges
Oct 20, 2018
113
119
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: No Step Back
  • Battle for Bosporus
  • Stellaris: Federations
  • Hearts of Iron IV: La Resistance
  • Stellaris: Lithoids
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Megacorp
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Hearts of Iron IV: Expansion Pass
  • Age of Wonders
  • Surviving Mars
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Magicka 2
  • Cities: Skylines
  • War of the Roses
  • Europa Universalis IV
  • Crusader Kings II
  • Magicka
  • Lead and Gold


Summary​

Unclosed Bracket in official code.

Platform​

Steam

Operating System​

Windows 11

Game Version​

1.15.4

Enabled DLC​

  • None

Do you have mods enabled?​

No

Description​

I have no idea how this *doesnt* crash the game, but it surely leads to some enigmatic issues.
Bracket errors are serious business!



Steps to Reproduce​

Open the code in
common\scripted_effects\ITA_scripted_effects.txt

Scroll to line 1576

Find an unclosed bracket at the start of the civil war section.

Are you playing on a save from the previous/older version of the game​

No

Upload Attachment​

bracket.png

 
  • 3
  • 1Like
Reactions:
Nice find! These are difficult to find as they often don't give any error messages.

Another one is in Norway's history file (has been since MTG DLC came out in 2019 actually :D )
...\history\countries\NOR - Norway.txt

At the very end there is a missing }
... Makes a few destroyers disappear in 1939 bookmark
 
  • 2
Reactions:
I have no idea how this *doesnt* crash the game, but it surely leads to some enigmatic issues.
Bracket errors are serious business!
As far as I see, brackets for scripted effect ITA_start_civil_war_effect has closing bracket in line 1930. Could you please double-check if this script ends there on your side?
 
  • 1
Reactions:
The closing bracket in 1930 is opened in line 1792, as part of
#RDS = { #MM: Error dog will complain I cannot stand it
by the indentment it is obvious that it wasnt designed that way, but Notepad++ doesn't lie with coloring brackets.
Maybe that is the whole reason why "errordog wont stop complaining" :p
 
The closing bracket in 1930 is opened in line 1792, as part of
#RDS = { #MM: Error dog will complain I cannot stand it
by the indentment it is obvious that it wasnt designed that way, but Notepad++ doesn't lie with coloring brackets.
Maybe that is the whole reason why "errordog wont stop complaining" :p

Notepad++ recognizes bracket from line 1792 as valid, when it is commented out? Interesting, gonna check that.
 
I've looked myself, yes they indeed look correct, but Notepad++ apparently doesn't care about #commented. There are two of them. If you delete these #commented { the bracket checking starts working properly.