Can't get a GC leaderboard to show scores in sandbox mode (AdHoc)

birdboybirdboy Member Posts: 284
edited January 2015 in Working with GS (Mac)

Hey GS Community!

I'm turning to you after a terrible week of trying to get a Game Center leaderboard to show a score in sandbox mode. I've already published a game with a working leaderboard but that was around 3 years ago. Now i can't get this to work in a small game that is finished except for the leaderboard testing (and i won't release it without being one hundred percent positive that everything is working correctly).

I tried every single thing i could find on the internet to solve this... I

  • created new provisioning profiles,
  • created new app certificates,
  • checked the spelling of every id around 73 times,
  • checked that the score posting rule would fire correctly,
  • waited for 24 hours after every possible change,
  • turned sandbox mode on on every device,
  • logged out of Game Center and made sure to log in in sandbox mode,
  • posted multiple scores with multiple accounts in sandbox mode,
  • created a second leaderboard for the game

That's about all i can remember for now and all of these were suggestions i found on the internet. I even tried to publish with the latest stable version and RC. Lastly I created a completely new GS project just to test GameCenter (and I'll upload the project with this post). The result is exactly the same... no scores appear.

So... anyone else having problems with the sandbox lately or have you been able to post scores with the newest versions? I have no idea how to proceed with this.

Cheers!

Comments

  • LovejoyLovejoy Member Posts: 2,078

    Make sure you are just typing in the leaderboard id and not opening up the expression editor in the Game Center behaviors.

    Cant really open the game file you attached so not sure if thats it.

    Fortuna Infortuna Forti Una

  • birdboybirdboy Member Posts: 284
    edited January 2015

    @Lovejoy‌ Thank you very much for your answer. I will try that immediately.
    No wonder you couldn't open that file... i uploaded the wrong one. I'll attach the right one.

  • ChunkypixelsChunkypixels Member Posts: 1,114
    edited January 2015

    @Hoodloc Im having similar issues with a recently published game... tested on adHoc and seemed to work intermittently so I assumed it was fine. Now the app has gone live, its not logging in and posting the scores... it goes to view the Leaderboard ok...but the leaderboard is just blank.

    Ive reworked my Game Center code to be based on an older system that works in my previously published games, and submitted an update.... which hopefully fixes it. But yup. I don't think your the only one having issues :)

    @Lovejoy thats interesting info to know... so adding the Leaderboard ID in the expression editor breaks the system? Not sure if I typed it in the box or opened the expression editor... I guess its something to look at if my update doesn't fix the problem. Thanks

    Its been well over a year since I last published a game... so Im still a bit rusty and getting used to it all again :)

  • birdboybirdboy Member Posts: 284
    edited January 2015

    @Lovejoy Oh my god, i love you! It worked perfectly. After so many days of trying and not a single score being posted now it showed up instantly.

    Now I'm really angry at GameSalad ... stuff like that should be fixed immediately or at least be documented so people don't waste countless hours trying to find a solution. :(

  • LovejoyLovejoy Member Posts: 2,078

    @Chunkypixels said:
    Lovejoy thats interesting info to know... so adding the Leaderboard ID in the expression editor breaks the system?

    Correct.

    @Hoodloc said:
    Lovejoy Oh my god, i love you! It worked perfectly. After so many days of trying and not a single score being posted now it showed up instantly.

    No problem.

    Fortuna Infortuna Forti Una

  • ChunkypixelsChunkypixels Member Posts: 1,114

    Hmmm... just pulled my update and resubmitted a new one, before it gets into review.

    Checked what you mentioned @Lovejoy and couldn't be sure how I'd entered the info, so decided it was better to be safe than sorry. New test build seems to be working well, so it looks like you've saved our bacon... and helped avoid lots of possible future head scratching on the issue.

    Will be filing a bug report in a few minutes, if there isn't one already. Pretty annoying bug, and one that looks like its causing quite a few folks issues, as theres another thread thats been discussing the issue today too.

  • kidvanmeterkidvanmeter Member, PRO Posts: 10

    I deleted my "Show Leaderboard" and added it back in and made sure I did not enter the Leaderboard ID in the expression editor. I still do not see the leaderboard. All I see when I view the leaderboard is a window with these options/messages:
    - Tap to rate this game
    - Like (Facebook Liking Unavailable)
    - No Challenges...

    I would expect to see options to view 3 lists: Leaderboards, Achievements, and Challenges. All I see is the message that there are no Challenges.

    I also looked in the Game Center app and I DID find my scores posted on the leaderboard. So the post score button is working fine. I just can't view the leaderboard from inside my app. Any help or suggestions would be very appreciated.

  • ChunkypixelsChunkypixels Member Posts: 1,114

    So... I submitted a bug report for the issue the issue @Lovejoy made us aware of, regarding entering the Leaderboard ID in the expression editor. I just received an email confirming the bug, but saying its not going to get fixed...

    "Since the post score behavior uses the expression editor, the Leaderboard ID
    must be in quotes if it's hand-typed. This is as designed."

    So be aware...!!

    and thanks again to Lovejoy for pointing it out....

  • birdboybirdboy Member Posts: 284
    edited January 2015

    @Chunkypixels Okay, that seems to work too. I republished a build after entering the ID in quotes in the expression editor and it's working fine. I don't get why this isn't explained in the description of a behavior inside GameSalad but well...

    @kidvanmeter‌ You can try this method too. Open the expression editor and enter the ID in quotes. Otherwise you can check the bullet points i wrote down in the opening post. They didn't help me but maybe they'll help you. Unfortunately I can't tell you anything about challenges or achievements.

  • DannyBuzzbyDannyBuzzby Member, PRO Posts: 157

    I am hoping tat someone can help me here. I have been using testflight with my distribution certificate as i have not been able to use the adhoc certificate for my leaderboard, achievements and tweetsheet. When I tried I got an error and was told that testing the leader board and achievements was only possible with a distribution certificate. so far all is working fine. I was also advised not to type in the attributes but rather use the dropdowns for entering the table cell values. tweetsheet images need to have the prefix 'twitter_' before the images actually display on a tweet.

    i have been submitting my builds to testflight as this is how i could test all facets. my ipad has SANDBOX activated. please can someone tell me when i submit it for review if i need sandbox still activated? i am sure sandbox is for testing and therefore should be deactivated when going live. On sandbox i see my scores. my achievements all display as they should.

    any help on this is greatly appreciated

Sign In or Register to comment.