"political_support" integer wraparound bug

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

Doctor Nick

Recruit
28 Badges
Feb 10, 2018
6
0
  • Stellaris
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Golden Century
  • Shadowrun Returns
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Rule Britannia
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • Victoria 2
  • Crusader Kings II
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Third Rome
  • Victoria 2: A House Divided
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
I'm playing as russia, and I have a population of 140 million, and the trade union interest group has around 30 million members. Most of them are loyalists. They were recently at 47% support, with a TON of loyalists.

Then this happened:
1667377386414.png



The Trade unions somehow instantly dropped down from 47% support to 0%. The "Other Factors" part is going nuts.

I think I spotted why in the save files.

here's my save file from 1915:
1667377507965.png


Here's my save file from 1919:
1667377538240.png


I added a TON of loyalists between 1915 and 1919. I think they combined to give my trade unions a political_strength of greater than MAX_INT, causing it to wrap around and set my political_strength to 1.

This pretty much breaks my game; suddenly the communists have zero support and the liberals are about to win the election despite having a fraction of the support and population.
 
Last edited: