RuneTrack Forums
It is currently Tue Mar 11, 2025 4:12 am

All times are UTC [ DST ]




Reply to topic  [ 2 posts ] 
Author Message
 Post subject: SUOMI
PostPosted: Thu May 31, 2012 1:04 pm 
Offline
User avatar

Joined: Thu Mar 25, 2010 6:26 pm
Posts: 100
Suomi recently got troubles with him beating the actual runescape hiscores. Now the records show him as number 1 overall gainer with 4.3 billion xp this is however because he kept gaining exp after a sort of reset in the system and now after the fix he got his normal xp back only this tricked Runetrack into thinking it was from 4m to 4.3b in a day :P

Sure looks funny :P

_________________
Image

Image

I <3 Runetrack


Top
 Profile  
 
 Post subject: Re: SUOMI
PostPosted: Thu May 31, 2012 11:52 pm 
Offline
Site Admin

Joined: Sat Jun 06, 2009 12:38 am
Posts: 546
Thanks, this has now been fixed. It appears SUOMI temporarily exceeded the maximum xp allowed by some of the Jagex web variables.

For those that are interested in the technical explanation - numbers in computer code are typically stored in integer variable types. An integer takes up space in memory. The space it takes up is 32 bits in length, meaning there are 2^32 = 4,294,967,296 possible numbers that it can represent. There are two types of integers - signed and unsigned:
  • Unsigned - Means that the data type can only represent positive values, so the range of an unsigned integer is 0 - 4,294,967,295.
  • Signed - Means that the data type has a sign (plus or minus), and can therefore represent both negative and positive numbers. Since there are 2^32 available spaces in the data type, half (2^31 = 2,147,483,648) are used for negative numbers, one is used for zero, and the other half ((2^31)-1 = 2,147,483,647) are used for positive numbers. So the range of a signed integer is -2,147,483,648 - 2,147,483,647.

Integer variable types are signed by default unless otherwise specified. A couple years back, Jagex had an issue when the first player reached 2,147,483,647xp, which is the limit of a signed integer. I don't recall exactly what happened, but I think their xp got frozen for a while until Jagex could fix it. A few days later, Jagex increased the storage size of these variables to allow them to hold larger numbers.

Unfortunately, it appears that some of these integer variables were only changed from being signed to unsigned. This increased the maximum xp limit from 2,147,483,647 to 4,294,967,295. However, this clearly wasn't large enough, as SUOMI found out when he tried to pass the 4.3B xp mark. I've actually been curious over the past couple years to see what would happen when the unsigned integer limit was reached and whether Jagex would be prepared this time - but apparently there were still some issues (understandable though, given the complexity of all the highscore storage systems - and it did only affect a few outputs, limited only to the web interface I believe).

Anyway, it appears Jagex has now once again increased the variable storage space for the highscores. As SUOMI is nearing the achievement of 200M xp in all skills, this was the last time an increase was needed, so this problem shouldn't occur ever again. :)

_________________
ImageImage


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 51 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group