Rydian 6,665 Posted October 5, 2014 The "Gross Income" line of the stats display is, for clans at least, using the wrong variable type. Once the credit count passes over 2,147,483,648 (2^31) it starts displaying negative (as the sign bit gets flipped) and then it caps out at the large negative number as seen above. So right now it's using a signed 32-bit integer (DWORD) when it should be using an unsigned 64-bit integer (QWORD) for the highest possible maximum display. Share this post Link to post Share on other sites
ntyd1s 2,372 Posted October 5, 2014 hmm... educational o_o)a Share this post Link to post Share on other sites
Chosen_of_the_Moon 9,551 Posted October 5, 2014 *looks at Time Played* . . . *spits coffee* What the serious fawk? Share this post Link to post Share on other sites
Asterisk123 54 Posted October 5, 2014 *looks at Time Played* . . . *spits coffee* What the serious fawk? considering that it's a moon clan, that's not even that many hours lol. 2^31 - 1 Share this post Link to post Share on other sites
hotfixbot3000 8,620 Posted October 5, 2014 32 bit integer for credit amount, that's all what happened. Share this post Link to post Share on other sites
OkniolasPrime 849 Posted October 5, 2014 Sooo.... How many members did your clan have?? Share this post Link to post Share on other sites
Rydian 6,665 Posted October 6, 2014 Sooo.... How many members did your clan have?? Any time I look it's around 800-1000. Every so often inactive players (like 1month+ gone) are cleared out to take newer ones in. It's a clan for clantech leechers for the most part, so there's been a lot of shuffling around. Share this post Link to post Share on other sites
Rydian 6,665 Posted October 26, 2014 As of U15 and the redesigned profile screen, the credit count for the Lone Rangers clan seems to be displaying correctly again, it's no longer a signed DWORD. However we'll see if the value rolls over once we hit the 32-bit cap in about 428,679,680 more credits. :P Share this post Link to post Share on other sites
Rydian 6,665 Posted November 6, 2014 32-bit cap hit and surpassed... and it seems that it is still a DWORD instead of a QWORD, as it has rolled around and the display now displays how high above the cap we've gotten (the positive difference) instead of the total amount. "Before" is the image in the above post, when we passed 2^31 but were still under 2^32. "After" image I just took right now, after the clan total surpassed 2^32. So the "After" text should be 4,325,506,747, that seems to be the actual total from my calculations, but in the second screenshot it's incorrect still. Share this post Link to post Share on other sites
Rydian 6,665 Posted November 7, 2014 The above is still happening in 15.1.1. Share this post Link to post Share on other sites
Rydian 6,665 Posted November 15, 2014 The above is still happening in 15.2.2. Share this post Link to post Share on other sites
Rydian 6,665 Posted November 25, 2014 Still happening in 15.3.3. Share this post Link to post Share on other sites
Rydian 6,665 Posted November 28, 2014 The above rollover is still happening in 15.5.2. Share this post Link to post Share on other sites
Rydian 6,665 Posted December 13, 2014 Still viewing just a rollover display in 15.6.4. Share this post Link to post Share on other sites
Rydian 6,665 Posted December 21, 2014 15.8.1 now, and we've wrapped around from 3,866,287,616 back to 2,128,231,424 again. And I assume that when we hit 4,294,967,296 We'll wrap around yet again. Really looks like a 64-bit integer for displaying clan total income is needed. Share this post Link to post Share on other sites
Rydian 6,665 Posted January 12, 2015 Still happening in 15.9.0. Share this post Link to post Share on other sites
Rydian 6,665 Posted January 15, 2015 We're displaying less than 2^32 credits despite having rolled over at least twice, so this is still happening in 15.10. Share this post Link to post Share on other sites