Eole wrote:undef.de wrote:For me it would, but i don't know who has already implemented 'LibXmlRpc_PlayerRanking'. So i suggest to add 'TotalScore'
I did that : [Rank, Login, NickName, TeamId, IsSpectator, IsAway, BestTime, Zone, Points, BestCheckpoints, TotalScore]
Works like a sharm, thanks Eole!
Eole wrote:
undef.de wrote:Btw.: Is there a possibility to access the data from 'LibXmlRpc_PlayerRanking' for all players on just one call? 'LibXmlRpc_PlayersRanking' and 'LibXmlRpc_PlayersScores' returning together not the same as 'LibXmlRpc_PlayerRanking' ...
I updated the LibXmlRpc_PlayersRanking callback to send more details.
Code: Select all
##### LibXmlRpc_PlayersRanking
* Data : An array with the current rank, login and best checkpoints times of the players.
* Example : ["eole:1:123,456,789:-1:False:False:789:World|Europe|France|Outre-mer|Reunion:0:0", "eole2:1:-1:-1:False:False:-1:World|Europe|France|Outre-mer|Reunion:0:0"]
* Note : the login, rank, best checkpoints, team id, spectator status, away status, best time, zone, points and total points of the players are separated by a colon. The best checkpoint times are separated by a comma. This callback is sent when the script receives the "LibXmlRpc_GetPlayersRanking" trigger.
Works too, but your description seems not to be up-to-date, i think it should be:
Code: Select all
##### LibXmlRpc_PlayersRanking
* Data : An array with the login, current rank in the scores, best checkpoints times, team id, spectator status, away status, best time, zone, points and total score of a player.
* Example : ["eole:1:123,456,789:-1:False:False:789:World|Europe|France|Outre-mer|Reunion:0:0", "eole2:1:-1:-1:False:False:-1:World|Europe|France|Outre-mer|Reunion:0:0"]
* Note : [Login, Rank, BestCheckpoints, TeamId, IsSpectator, IsAway, BestTime, Zone, Points, TotalScore]
the login, rank, best checkpoints, team id, spectator status, away status, best time, zone, points and total points of the players are separated by a colon. The best checkpoint times are separated by a comma. This callback is sent when the script receives the "LibXmlRpc_GetPlayersRanking" trigger.
And i miss the "NickName" compared to the response of "LibXmlRpc_PlayerRanking", but i think that's not really required (because it's accessible over other ways).
