Leadboard Submit Score - Potential Issue?

Hey,

I recently released a new game (Vampire Run) which makes use of Corona Cloud leaderboards and user registration etc, and i’m really please with how its going, but i “think” there may be an issue with the submitting leaderboard scores.

For example the majority of the time a players score is submitted and updates fine, but occasionally when they get a higher score it doesn’t show up on the leader board. I’m currently in the process of doing an app update so i checked all my code and made a few changes here and there but the issue still remains. I’ve got print statements everywhere now and the score is definitely being submitted ok.

Is there just a delay occasionally with new scores updating? Or is there potentially another issue? 

I’m pretty confident it isn’t my code as the print statements say the correct higher score is being submitted successfully.

Thanks,

Jamie Trinder

Hi Jamie.

You don’t by any chance have the “Reverse Scores” checked do you?  The leaderboards should only accept new “higher” scores and previous scores that don’t beat the existing score are not set.  You will get a message something like “You have already added score.”   If it is set for reverse, then lower scores are better and higher value scores will return that message.

Hi Rob,

Thanks for the response!

Unfortunately i don’t. It’s set to false so only higher scores can go on.  I’ve beaten my run quite a few times now on different accounts and the new higher score hasn’t updated.  I’ve watched some friends play it though and their higher scores do update. 

As the leader board submit callback event is being fired it shows that i’m definitely sending the scores off to corona cloud correctly.

Forgot to mention that i fixed this issue a few days ago in case any one has the same issue. 

I was storing the auth token between sessions and using that for future calls, but each time the app restarted the auth token wasn’t correctly set back and therefore the issue with some scores not being submitted started. 

The new version of cloud.lua has made this easier with session logins!

Hi Jamie.

You don’t by any chance have the “Reverse Scores” checked do you?  The leaderboards should only accept new “higher” scores and previous scores that don’t beat the existing score are not set.  You will get a message something like “You have already added score.”   If it is set for reverse, then lower scores are better and higher value scores will return that message.

Hi Rob,

Thanks for the response!

Unfortunately i don’t. It’s set to false so only higher scores can go on.  I’ve beaten my run quite a few times now on different accounts and the new higher score hasn’t updated.  I’ve watched some friends play it though and their higher scores do update. 

As the leader board submit callback event is being fired it shows that i’m definitely sending the scores off to corona cloud correctly.

Forgot to mention that i fixed this issue a few days ago in case any one has the same issue. 

I was storing the auth token between sessions and using that for future calls, but each time the app restarted the auth token wasn’t correctly set back and therefore the issue with some scores not being submitted started. 

The new version of cloud.lua has made this easier with session logins!