Sign In Register

How can we help you today?

Start a new topic
Answered

Following the "How to create and use a Leaderboard" tutorial

Hi.


I can get the data from the leaderboard but I don't get .NewHighScoreMessage when I save a higher score than before, even though the score updates to new value.


Am I missing something?


Here are some screenshots of the process.


Best Answer

Hi Pavao Ivancek,


Looking at the leaderboard configuration in https://support.gamesparks.net/helpdesk/attachments/1004684795, what I think you have done there is turned off High Score Notifications and Social Notifications (these two are on by default, where Top N Notifications is off by default). The control is showing the current state, so when it shows "ON" that means the notifications will be sent - rather than it being an action "turn these notifications on".


Does that make sense? If you set it back to read "ON", you should then see the high score notifications come through when you send in a high score.


If you have any other issues just let us know,


Thanks,


Dave


Answer

Hi Pavao Ivancek,


Looking at the leaderboard configuration in https://support.gamesparks.net/helpdesk/attachments/1004684795, what I think you have done there is turned off High Score Notifications and Social Notifications (these two are on by default, where Top N Notifications is off by default). The control is showing the current state, so when it shows "ON" that means the notifications will be sent - rather than it being an action "turn these notifications on".


Does that make sense? If you set it back to read "ON", you should then see the high score notifications come through when you send in a high score.


If you have any other issues just let us know,


Thanks,


Dave

Thanks Dave, that makes a ton of sense.


Go yell at the tutorial creator(s) :))


https://docs.gamesparks.net/wp-content/uploads/2013/12/Completed-create-leaderboard-dialog.png image in your tutorial need updating. 

It clearly says these things are off and then later in the text expects you to see the high score notification.


Hi there, I'm following the Tutorial too and have a problem.

When I try to get LeaderboardDataRequest I get the following error.  Anyone else seen this?


{
 "@class": ".LeaderboardDataResponse",
 "error": {
  "entryCount": "must be greater than or equal to 1",
  "leaderboardShortCode|challengeInstanceId": "ONLY_ONE"
 },
 "scriptData": null
}

Hello Darren,


Could you please provide me the request you're sending?


Regards,


Mantas

I am getting this:
{
 "@class": ".LogEventResponse"
}

{
 "@class": ".LogEventRequest",
 "eventKey": "REG_MATCH_WON",
 "points": 100
}

Hi Dan,


Just to let you know, I've followed up with you on this in your ticket.


Thanks,

Liam

Login to post a comment