MantisBT - VCMI
View Issue Details
0003161VCMIMechanics - Otherpublic2020-12-13 08:072022-03-18 08:14
Siegfried 
Povelitel 
normalminoralways
closedwon't fix 
 
 
0003161: Overflow
The rampart treasure leads to a problem on big maps: After some time of playing and focusing on income, you get that much gold, that the gold amount overflows. At one day you have billions of gold, and the next day you have nearly nothing.
Take big map, take rampart, focus on income, and play.
The bigger the map, the more probable it is that this bug shows up. Since maps that are big enough to securely run into this bug, i have attached such a big map. It is not complete, but already playable.
Not tested: Does this happen to the resources counter, too? The map has a few cornucopias, so with sufficient time...
No tags attached.
? C012.h3m (157,596) 2020-12-13 08:07
https://bugs.vcmi.eu/file_download.php?file_id=3110&type=bug
Issue History
2020-12-13 08:07SiegfriedNew Issue
2020-12-13 08:07SiegfriedFile Added: C012.h3m
2022-03-18 08:14PovelitelNote Added: 0008170
2022-03-18 08:14PovelitelStatusnew => closed
2022-03-18 08:14PovelitelAssigned To => Povelitel
2022-03-18 08:14PovelitelResolutionopen => won't fix

Notes
(0008170)
Povelitel   
2022-03-18 08:14   
This is due to the fact that the int variable does not fit more than 2147483647. Then it goes into minus and is reset to zero