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

Moderator: Vic

Post Reply
zgrssd
Posts: 5105
Joined: Tue Jun 09, 2020 1:02 pm

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

Post 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?
Post Reply

Return to “Tech Support”