Page 1 of 1
Trade agreements bug
Posted: Wed Jan 30, 2019 8:59 am
by juntoalmar
Hi,
In production plan preliminary I discover that Germany is sending 19 non-oil resources to Italy (I didn't configure that, obviously). When clicking the Trade Agreements button, the game crashes.
Save game attached.
RE: Trade agreements bug
Posted: Wed Jan 30, 2019 9:06 am
by juntoalmar
btw, I can't save all the oil with Italy either. That oil point in Austria, I can't save it.
RE: Trade agreements bug
Posted: Wed Jan 30, 2019 9:30 am
by juntoalmar
When finishing the turn, this is actually the current trade agreement between Germany and Italy

RE: Trade agreements bug
Posted: Wed Jan 30, 2019 11:21 am
by Centuur
The trade agreement isn't correctly stated, according to the rules.
You are trading 0 resources to Italy, of which a minimum of 1 needs to be an oil resource. I believe that this is the problem here...
Of course, there should be a check for this, but that hasn't been coded until now.
RE: Trade agreements bug
Posted: Wed Jan 30, 2019 12:10 pm
by juntoalmar
Thanks for your answer. I can't say if this is what I defined in the trade agreement (because I don't remember) or if it has changed it during the process.
If I created a trade agreement wrong, then it's pretty simple to fix it (pay more attention as a player as a work around, and a not allowing the player to create such agreement as a code fix).
I will do some tests in the next turns and I will post if I found something worth commenting.