Winshley wrote:
When you reached 10 millions of 300 hits, the last number is cut off. Cookiezi has 17 millions of 300 hits.
I plan to change that to the Total Hit Count once I finish with some things with the API interface that the image uses.
Winshley wrote:
I'm not sure how the level bar breaking happens though... I was thinking that it probably because I don't have any ranked score on osu!mania?
The API says that you "full" stats in osu!mania:
SPOILERArray
(
[0] => Array
(
[user_id] => 864895
[username] => Winshley
[count300] => 7164
[count100] => 23
[count50] => 12
[playcount] => 338
[ranked_score] => 0
[total_score] => 144063600
[pp_rank] => 0
[level] => 28.0984
[pp_raw] => 0
[accuracy] => 0
[country] => ID
)
)
Probably the stats didn't got cleared after the score clear when the mode went gold so the API returns what it has.
I'll go raise an issue to peppy when I have the time. issue #9About the bar... Yeah, that's a bug. The formula to calculate the width of the bar is flawed:
number_format(substr(unround_number($user[level],true),0,3)*0.264,0)
That means: The first 3 decimals of $user[level] * 0.264 and the result gets rounded.
In your case is making this operation: 98 * 0.264 which is returning a width of 26 (The actual result is 25.872 but I round it) and it expects to be at least 71 for some reason and since the result is lower, the entire bar went backwards.
I blame ImageFilledRectangle for that bug.