1. leaderboard.loadsocres =>
result text = {"total":1,"results":[{"Id":"1","IdLeaderboard":"1","Rank":1,"User":"{"Id":"1","Username":"1485200568474290","GUID":"5685081163c679.34684565","LastLoginDate":null,"LastLoginIp":null,"Email":"","ActivationCode":"","ChangePwdCode":null,"Enabled":"1","LastSeen":"2015-12-31 19:48:49","CustomData":[],"Platforms":[]}","Score":"5997"}],"pages":1}
user only one (me).
Hashtable localScoreData = (Hashtable)result["localScore"];
"localscore" key does not exist.
2. Can not you overwrite the score? Currently, the addition.
my current score 1000. score.ReportScore ("1",0,user,999); => my score 1999.
This is not so, my score 999.
To load the scores of a leaderboard:
board.LoadScores((bool loaded) => {
if (loaded)
Debug.Log(board.scores.Length);
});
});
To overwrite the same score for each player you must set the leaderboard's Score Type to Replace the same score per user.
FRANCESCO CROCETTI @ SKARED CREATIONS
Happy new year.
Answer thank you.
Leaderboard.Load => Leaderboard.LoadScores => Leaderboard.localUserScore is always Null.
Everything else is fine.
Happy new year too!
You're right, I forgot to initialize this member so I implemented it now, please download the version 2.1.5 from your Purchase History.
FRANCESCO CROCETTI @ SKARED CREATIONS
Hello.
Thank you. Update to Perfect.
There is one question.
When version update. In general, except for the 'config.php' file and overwrite all ?
Yes, you can safely replace all web files except config.php (and eventually the add-on a folder, if you have/create addon). About the database I explicitly say in the news update if there's something to change and eventually the SQL file to execute, but there's no change in db for this.
FRANCESCO CROCETTI @ SKARED CREATIONS