Winshley having 100% accuracy is considerated cheating so it say 1%. Nope ^^
No seriously, you're right saying that I just deleted the last two digit of accuracy. I didn't know that osu!api delete the last 2 (or 4 in case of 100%) useless digit of accuracy. I may have to get the full accuracy string and use number_format
Also what is JSON ?! I just use that for getting data (exemple for score) :
$osu=file_get_contents("http://osu.ppy.sh/api/get_user?k=MYKEY&u=$id&m=$g");
$rankedscore=strstr($osu,'ranked_score');
$pos=strpos($rankedscore,'","');
$rankedscore=substr($rankedscore,15,($pos-15));
Is that wrong ? Is JSON faster / Easyer to use ?
I will fix it monday I think, I won't have a PC before.
No seriously, you're right saying that I just deleted the last two digit of accuracy. I didn't know that osu!api delete the last 2 (or 4 in case of 100%) useless digit of accuracy. I may have to get the full accuracy string and use number_format
Also what is JSON ?! I just use that for getting data (exemple for score) :
$osu=file_get_contents("http://osu.ppy.sh/api/get_user?k=MYKEY&u=$id&m=$g");
$rankedscore=strstr($osu,'ranked_score');
$pos=strpos($rankedscore,'","');
$rankedscore=substr($rankedscore,15,($pos-15));
Is that wrong ? Is JSON faster / Easyer to use ?
I will fix it monday I think, I won't have a PC before.