Rydian Posted October 5, 2014 Share 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. Link to comment Share on other sites More sharing options...
ntyd1s Posted October 5, 2014 Share Posted October 5, 2014 hmm... educational o_o)a Link to comment Share on other sites More sharing options...
bejuizb Posted October 5, 2014 Share Posted October 5, 2014 *looks at Time Played* . . . *spits coffee* What the serious fawk? Link to comment Share on other sites More sharing options...
Asterisk123 Posted October 5, 2014 Share Posted October 5, 2014 (edited) *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 Edited October 5, 2014 by Asterisk123 Link to comment Share on other sites More sharing options...
[DE]Grzegorz Posted October 5, 2014 Share Posted October 5, 2014 32 bit integer for credit amount, that's all what happened. Link to comment Share on other sites More sharing options...
OkniolasPrime Posted October 5, 2014 Share Posted October 5, 2014 Sooo.... How many members did your clan have?? Link to comment Share on other sites More sharing options...
Rydian Posted October 6, 2014 Author Share 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. Link to comment Share on other sites More sharing options...
Rydian Posted October 26, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
Rydian Posted November 6, 2014 Author Share 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. Link to comment Share on other sites More sharing options...
Rydian Posted November 7, 2014 Author Share Posted November 7, 2014 The above is still happening in 15.1.1. Link to comment Share on other sites More sharing options...
Rydian Posted November 15, 2014 Author Share Posted November 15, 2014 The above is still happening in 15.2.2. Link to comment Share on other sites More sharing options...
Rydian Posted November 25, 2014 Author Share Posted November 25, 2014 Still happening in 15.3.3. Link to comment Share on other sites More sharing options...
Rydian Posted November 28, 2014 Author Share Posted November 28, 2014 The above rollover is still happening in 15.5.2. Link to comment Share on other sites More sharing options...
Rydian Posted December 13, 2014 Author Share Posted December 13, 2014 Still viewing just a rollover display in 15.6.4. Link to comment Share on other sites More sharing options...
Rydian Posted December 21, 2014 Author Share 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. Link to comment Share on other sites More sharing options...
Rydian Posted January 12, 2015 Author Share Posted January 12, 2015 Still happening in 15.9.0. Link to comment Share on other sites More sharing options...
Rydian Posted January 15, 2015 Author Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now