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

augustuscaeser2

Second Lieutenant
39 Badges
Apr 25, 2019
120
158
  • Crusader Kings II
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Third Rome
  • Crusader Kings II: Jade Dragon
  • Imperator: Rome
  • Imperator: Rome Deluxe Edition
  • Europa Universalis IV: Golden Century
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Rule Britannia
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cradle of Civilization
  • Imperator: Rome - Magna Graecia
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Crusader Kings III
  • Crusader Kings II: Conclave
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV
  • 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: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Res Publica

Integrity​

I have verified my game files (on Steam)​

Yes

I have disabled all mods​

Yes

Required​

Summary​

Trade value should be an unsigned float between 0 and positive infinity, not signed

Description​

Like manpower, when trade value gets too high, it overflows and becomes negative! This then causes almost immediate bankruptcy.

Steps to reproduce​

Open the save provided, look at the English Channel node, and note the balance sheet in the economy screen. (I was using some graphics mods, but it happens without them too)

Game Version​

current

OS​

Windows

Additional​

Bug Type​

  • Performance Issue
  • Controls (wrong logic in buttons, menu)

Attachments​

View attachment Spain.eu4

Screenshot​

20240414094812_1.jpg

 
Upvote 0
Using a longer variable for trade value in trade nodes is a better solution. Making it unsigned just doubles the max value and you could still probably make it overflow(even if not negative) with some bonuses and optimization given that you are already turning a few thousands into millions by rerouting.
 
Last edited: