Optimizing actual ducats received because of the current bug

Optimizing actual ducats received because of the current bug

  • Crusader Kings III Available Now!

    The realm rejoices as Paradox Interactive announces the launch of Crusader Kings III, the latest entry in the publisher’s grand strategy role-playing game franchise. Advisors may now jockey for positions of influence and adversaries should save their schemes for another day, because on this day Crusader Kings III can be purchased on Steam, the Paradox Store, and other major online retailers.


    Real Strategy Requires Cunning

This thread is more than 5 months old.

It is very likely that it does not need any further discussion and thus bumping it serves no purpose. If you feel it is necessary to make a new reply, you can still do so though.

Chetos25

Private
Aug 18, 2019
16
57
The 1.30.1 patch has a bug where a peace offer that is bigger than 75 and includes ducats as a demand may end up giving you less ducats than what the peace offer interface tells you (it has been reported). This is crucial since you may be misled into a bad position where you think that you are gonna receive more gold than what you actually get, but there is a way to work around this bug at least until it gets fixed.

Basically what you need to do is to avoid demanding for the maximum amount of ducats in the peace deal if the offer is already at 52 before adding any ducats. The actual maximum amount of money that you can get can be determined by using this table:

1591923097215.png


This is because for some reason -- a bug most likely -- once the WarScore for a peace offer goes over 75, the amount of actual received ducats will decrease linearily. So you can receive 25% worth of ducats at 75% total WarScore in your peace offer, but at 80% total WS you will only receive 20% worth even if the peace offer interface indicates otherwise; likewise, at 95% total WS you can only receive 5% worth of ducats after the peace is signed. Therefore, in order to maximize the gold received, you must look for a sweetspot between your current peace offer value without ducats and the maximum peace offer value (100), which will be on the middle (half the amount of the Available WS from the table).

1591923108203.png


So in this example, given that the peace offer value is currently at 83 without including any ducats, the sweetspot will be at 17/2 = 8.5 ~ 9. Which means you should add 9 worth of WS in the ducats section to get the highest possible amount. Adding more than 9 will end up with you receiving less than the indicated amount by the interface, which is super annoying.

I've put together a very simple calculator to help me with this. It has also helped me to correctly predict how much money I was going to receive in my Muscovy run and in other sandbox scenarios. I'm attaching it in case anyone finds it helpful. Hopefully this will get a hotfix soon!

EDIT: Added attachments.
 

Attachments

  • golducats EU4 1.30 calcs.xlsx
    3,3 MB · Views: 0
Last edited:
  • 16
  • 6Like
  • 2
Reactions:

Chetos25

Private
Aug 18, 2019
16
57
Can it get fixed? Will it ever get fixed? :confused:
I mean, considering it didn't work that way in the past patch, they surely botched something. I'd say this should be a priority, it is very misleading in a crucial part of the game.
 
  • 7Like
  • 3
Reactions:

Less2

Field Marshal
Jan 20, 2016
2.660
1.996
wat. How does a bug like this make it into the game? This is so utterly random and senseless that I am awestruck.
 
  • 8Like
  • 1
Reactions:

SpreadsheetGamer

Sergeant
34 Badges
Sep 24, 2017
63
101
  • Stellaris - Path to Destruction bundle
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Prison Architect
  • Stellaris: Megacorp
  • Surviving Mars: First Colony Edition
  • Stellaris: Distant Stars
  • Surviving Mars: Digital Deluxe Edition
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: Cradle of Civilization
  • Surviving Mars
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Synthetic Dawn
  • Cities in Motion 2
  • Europa Universalis IV: Res Publica
  • Magicka
  • Hearts of Iron III
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Surviving Mars: First Colony Edition
  • Stellaris: Ancient Relics
  • Europa Universalis IV: Art of War
wat. How does a bug like this make it into the game? This is so utterly random and senseless that I am awestruck.
Oh, I'm sure the peace deal code is notoriously simple. :oops:
I mean yeah it is pretty weird, but...

Edit: actually I bet it has something to do with the new system that's supposed to auto-calculate the number of ducats they are willing to give up, ... which is also bugged. Like a variable name that was used twice.
 
  • 4
  • 1Like
Reactions:

Less2

Field Marshal
Jan 20, 2016
2.660
1.996
Edit: actually I bet it has something to do with the new system that's supposed to auto-calculate the number of ducats they are willing to give up, ... which is also bugged. Like a variable name that was used twice.

Doesn't really make sense, the peace deal UI screen and what is actually executed when you send it should be completely separate things.

EDIT: Oh wait, I understood the situation wrong. I thought the UI was lying and you got less than reported when the peace deal went though. Instead its just the UI that is broken and restricting you from increasing the ducats as high as you should be able to.
 
  • 1
Reactions:

TheMeInTeam

Field Marshal
52 Badges
Dec 27, 2013
27.879
13.145
  • Age of Wonders III
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis 4: Emperor
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Expansion Pass
  • Prison Architect
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Magicka 2
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Victoria 2
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV
  • Magicka
  • 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
  • Hearts of Iron III
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Res Publica
  • Stellaris - Path to Destruction bundle
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Mare Nostrum
Doesn't really make sense, the peace deal UI screen and what is actually executed when you send it should be completely separate things.

EDIT: Oh wait, I understood the situation wrong. I thought the UI was lying and you got less than reported when the peace deal went though. Instead its just the UI that is broken and restricting you from increasing the ducats as high as you should be able to.

You do get less than reported, the UI lies in this case (and several others involving peace deals, though those bugs are older). You can demand 1000 ducats in the peace deal, have it show that way, and then receive 200 ducats.
 
  • 3
Reactions:

SpreadsheetGamer

Sergeant
34 Badges
Sep 24, 2017
63
101
  • Stellaris - Path to Destruction bundle
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Prison Architect
  • Stellaris: Megacorp
  • Surviving Mars: First Colony Edition
  • Stellaris: Distant Stars
  • Surviving Mars: Digital Deluxe Edition
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: Cradle of Civilization
  • Surviving Mars
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Synthetic Dawn
  • Cities in Motion 2
  • Europa Universalis IV: Res Publica
  • Magicka
  • Hearts of Iron III
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Surviving Mars: First Colony Edition
  • Stellaris: Ancient Relics
  • Europa Universalis IV: Art of War
Doesn't really make sense, the peace deal UI screen and what is actually executed when you send it should be completely separate things.

EDIT: Oh wait, I understood the situation wrong. I thought the UI was lying and you got less than reported when the peace deal went though. Instead its just the UI that is broken and restricting you from increasing the ducats as high as you should be able to.
Do you believe AIs use a 'peace deal UI screen' among themselves?
 
  • 1
Reactions:

TheMeInTeam

Field Marshal
52 Badges
Dec 27, 2013
27.879
13.145
  • Age of Wonders III
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis 4: Emperor
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Expansion Pass
  • Prison Architect
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Magicka 2
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Victoria 2
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV
  • Magicka
  • 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
  • Hearts of Iron III
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Res Publica
  • Stellaris - Path to Destruction bundle
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Mare Nostrum
Do you believe AIs use a 'peace deal UI screen' among themselves?

That's kind of funny to picture. But then I remember that Civ took a significant performance hit between turns because the game would execute animations off-screen in the fog of war and it's less funny. I guess the AI needed to "see" those offscreen animations!

It wouldn't surprise me if the AI evaluation of peace deal weighted its decisions based on gold it doesn't receive due to this bug though. Could go either way on that.
 
  • 1Like
Reactions:

Less2

Field Marshal
Jan 20, 2016
2.660
1.996
You do get less than reported, the UI lies in this case (and several others involving peace deals, though those bugs are older). You can demand 1000 ducats in the peace deal, have it show that way, and then receive 200 ducats.

From what I can tell, if 1000 ducats is the max I could normally get but this bug occurs, the peace screen will limit me to e.g. 10 WS worth of ducats (400) and I'll get 10 WS worth of ducats (400). So its not the UI lying about what I get, just not letting me push the button to spend my full 25 WS on ducats.
 
  • 1Like
Reactions:

Chetos25

Private
Aug 18, 2019
16
57
EDIT: Oh wait, I understood the situation wrong. I thought the UI was lying and you got less than reported when the peace deal went though. Instead its just the UI that is broken and restricting you from increasing the ducats as high as you should be able to.
Actually it's both ways haha. If you use the new Shift + RMB function to go for the max amount in the example I present in the original post, the interface would suggest you will receive ~584 ducats (corresponding to 17% WS), but you actually receive 1 freaking ducat. So you send it thinking "ah yes, I'll finally pay the loans I took for this long and excruciating war" and end up being in a worse situation than before.
 
  • 2Like
  • 2
Reactions:

SpreadsheetGamer

Sergeant
34 Badges
Sep 24, 2017
63
101
  • Stellaris - Path to Destruction bundle
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Prison Architect
  • Stellaris: Megacorp
  • Surviving Mars: First Colony Edition
  • Stellaris: Distant Stars
  • Surviving Mars: Digital Deluxe Edition
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: Cradle of Civilization
  • Surviving Mars
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Synthetic Dawn
  • Cities in Motion 2
  • Europa Universalis IV: Res Publica
  • Magicka
  • Hearts of Iron III
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Surviving Mars: First Colony Edition
  • Stellaris: Ancient Relics
  • Europa Universalis IV: Art of War
Actually it's both ways haha. If you use the new Shift + RMB function to go for the max amount in the example I present in the original post, the interface would suggest you will receive ~584 ducats (corresponding to 17% WS), but you actually receive 1 freaking ducat. So you send it thinking "ah yes, I'll finally pay the loans I took for this long and excruciating war" and end up being in a worse situation than before.
Sounds even more likely that they are related.
 
  • 1Like
Reactions:

Less2

Field Marshal
Jan 20, 2016
2.660
1.996
OK yeah, it can bug out both ways. If I spend 80 WS, then try to increase my cash, I can only increase up to 90 WS (and get 10 WS worth of cash). On the other hand if I give myself 20 WS worth of cash and then do my other demands to get up to 100 WS total, I only actually get 10 WS worth of cash.

Fricken' weird
 
  • 2Like
Reactions:

Chetos25

Private
Aug 18, 2019
16
57
Are there any quality testers involved with Emperor DLC?
Funny thing is I actually have a Green Belt Lean Six Sigma certificate :p so I guess it's natural that stuff like this gets on my nerves. On the other hand, this is the biggest patch ever for EU4, so you had to expect some bugs considering recent history.

From what I can tell, if 1000 ducats is the max I could normally get but this bug occurs, the peace screen will limit me to e.g. 10 WS worth of ducats (400) and I'll get 10 WS worth of ducats (400). So its not the UI lying about what I get, just not letting me push the button to spend my full 25 WS on ducats.
Following up on my last post, you can of course left-click your way up to where the button locks, and it will stop in the sweetspot I mention (in my example, it would stop at 91%); in this case, the UI will be right, but in past patches there was nothing stopping you from ripping off the other country up to 100%. So these are two different issues: the UI lying and the UI allowing you to go up to the maximum amount with Shift+RMB but not letting you do so by simply using the LMB.
 
  • 1
  • 1Like
Reactions:

SpreadsheetGamer

Sergeant
34 Badges
Sep 24, 2017
63
101
  • Stellaris - Path to Destruction bundle
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Prison Architect
  • Stellaris: Megacorp
  • Surviving Mars: First Colony Edition
  • Stellaris: Distant Stars
  • Surviving Mars: Digital Deluxe Edition
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: Cradle of Civilization
  • Surviving Mars
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Synthetic Dawn
  • Cities in Motion 2
  • Europa Universalis IV: Res Publica
  • Magicka
  • Hearts of Iron III
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Surviving Mars: First Colony Edition
  • Stellaris: Ancient Relics
  • Europa Universalis IV: Art of War
That's kind of funny to picture. But then I remember that Civ took a significant performance hit between turns because the game would execute animations off-screen in the fog of war and it's less funny. I guess the AI needed to "see" those offscreen animations!
Until it was fixed, right? I mean, you know you can turn animations off in Civ and the AI still works, yes? The nature of that bug is not so much that animations were rendered off-screen, it's that the game has a delay for the animations to complete which is pointless in the case that the animation is not actually visible.
 
  • 1
Reactions:

TheMeInTeam

Field Marshal
52 Badges
Dec 27, 2013
27.879
13.145
  • Age of Wonders III
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis 4: Emperor
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Expansion Pass
  • Prison Architect
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Magicka 2
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Victoria 2
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV
  • Magicka
  • 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
  • Hearts of Iron III
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Res Publica
  • Stellaris - Path to Destruction bundle
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Mare Nostrum
Until it was fixed, right? I mean, you know you can turn animations off in Civ and the AI still works, yes? The nature of that bug is not so much that animations were rendered off-screen, it's that the game has a delay for the animations to complete which is pointless in the case that the animation is not actually visible.

Actually, at the time that issue was a thing you could not turn animations off. Your only option was to use "quick animations", so the offscreen animations always added a significant amount of downtime for no reason. And yes it's the delay that's bad.
 
  • 1Like
Reactions: