If you request the Multiplayer-Rankings of a Player, the ranking-array always is empty.
Example code:
- Code: Select all
$players = new TrackMania_Players(TMWS_USER, TMWS_PASS);
$multi = $tmPlayers->getMultiplayerRanking('m4rcel');
var_dump($multi);
Example output:
- Code: Select all
object(stdClass)#20 (4) {
["environment"]=>
string(5) "Merge"
["unit"]=>
string(13) "Ladder Points"
["points"]=>
string(8) "72112.01"
["ranks"]=>
array(0) {
}
}
Whereas the entries "environment", "unit", and "points" are correct, the entry "ranks" always seems to have an empty array, not giving the expected Multiplayer Rank of the requested player. (In this case, it should be sth. around 6000).
Please have a look on this
Marcel
