Sign In Register

How can we help you today?

Start a new topic

NoSQL has results, nothing else does

I have updated to the latest SDK 5.5.7.139 and tossed the outdated SDK for that's in leaderboard tutorial.  I only kept the scenes and scripts for testing.   Everything connects, auth works fine, posting points works, but trying to get a result list back does nothing.  NoSQL does show there are entries.


Shouldn't I at at least see something in the test harness when making a request?  I have to be overlooking something.  


Adding more info to show the problem:

{
  "@class": ".ListLeaderboardsResponse",
  "leaderboards": [
    {
      "description": "Leaderboard",
      "name": "Leaderboard",
      "propertySet": {},
      "shortCode": "ldrbrd"
    }
  ]
}
{
  "@class": ".ListLeaderboardsRequest"
}
{
  "@class": ".LeaderboardDataResponse",
  "data": [],
  "leaderboardShortCode": "ldrbrd"
}
{
  "@class": ".LeaderboardDataRequest",
  "entryCount": 10,
  "leaderboardShortCode": "ldrbrd"
}
{
  "@class": ".LogEventResponse"
}
{
  "@class": ".LogEventRequest",
  "eventKey": "postPoints",
  "pointsVal": 500
}
{
  "@class": ".LeaderboardDataResponse",
  "data": [],
  "leaderboardShortCode": "ldrbrd"
}
{
  "@class": ".LeaderboardDataRequest",
  "entryCount": 10,
  "leaderboardShortCode": "ldrbrd"
}

{
  "@class": ".AuthenticationResponse",
  "authToken": "88db4df6-2870-44eb-898c-1a1353b2265d",
  "displayName": "testplayer1",
  "newPlayer": false,
  "userId": "5a190ba27ee0f604da8792df"
}

Here is the info from NoSQL

ldrbrd-leaderboard 

 

FindCountIndexAggregateStats

Query

Sort

Fields

Skip

Limit

Find Explain Export

Output

 {"_id":"5a112b2f81d56604df964fa4","userId":"5a112b2f81d56604df964fa4","pointsVal":{"$numberLong":"800"},"when":"2017-11-24T00:50Z","ts":{"$numberLong":"1511484624676"},"dataComplete":false,"externalIds":{},"rank":null,"v":2}

 {"_id":"5a112b6681d56604df965253","userId":"5a112b6681d56604df965253","pointsVal":{"$numberLong":"900"},"when":"2017-11-24T04:15Z","ts":{"$numberLong":"1511496928628"},"dataComplete":false,"externalIds":{},"rank":null,"v":5}

 {"_id":"5a112ba981d56604df965667","userId":"5a112ba981d56604df965667","pointsVal":{"$numberLong":"700"},"when":"2017-11-2

figured it out and it was a picnic problem (problem in the chair not in computer)....had a typo in the code

Hi David,


Glad to hear you figured this out. If you need anything else then just let us know.


Regards,

Liam

Login to post a comment