Page 1 of 1

Current Logistics Point overlay may bug out with figures around Int16.MaxValue/2

Posted: Tue Jun 23, 2020 7:08 pm
by zgrssd
I think I found a bug in another persons posts (wich actually may be the reason for the question):
https://www.matrixgames.com/forums/tm.a ... 74&mpage=1&#

With reverse math, I figured out he has 17562 Logistics points in that Capitol hex.
There is also a gap in tha Hex.
17562 is oddly above half of 32-ish. Wich would be Int16.MaxValue.

The high number makes me think it is some kind of overflow bug. Maybe you multiply the value by 2 for parts of the calculations to minimize rounding errors?