User blog comment:Howsurbut/Progress Bar Bug/@comment-5116140-20121210202438

Progress Bar Bug due to int Overflow.

I think every one will have this problem in moving from 63 to 64 level, and thereafter.

This problem is actually due to the same cause as the Negative Coin Balance;

integer overflow.

How can that be, you say, when total XP are always displayed as a long data type?

Well,  when the width of the highligted box in your progress is displayed, the coders do the required division using only type int, which is too small. The error seems to kick in around 2^31, a little over 2.1 billion XPs exactly as expected if the data type int has overflowed.

It is perfectly harmless, as your XPs are safely stored as a long integer which has twice as many bytes in memory as the simpe, type int. It is only the width of the bar in your progress field which is affected.