Leaderboard won't function on adhoc??
Tim_A
Member, PRO Posts: 60
Hi,
Pretty much as the title suggests... i can't get my leaderboard to function in my new game at all??
1. I've created a leaderboard and set the ID to com.mydomain.mygame and that seems setup fine.
2. I've added a 'Platform - Login' on a timer 1 second after the scene starts
3. I've set a 'Platform - Post Score' to post the new score if at the end the score > highscore
4. I've created a 'Platform - Show Leaderboard' button and linked it to com.mydomain.mygame
When I run the preview... all the functions seem to work perfectly... auto-logging in, posting the score and linking to the leaderboard (all in the popups).
However when i create an adhoc version... nothing works at all! None of the buttons work, and Game Center isn't triggered to login at the beginning (i've even tried a separate login button with no success).
Any ideas what it might be?
Regards
Tim
Pretty much as the title suggests... i can't get my leaderboard to function in my new game at all??
1. I've created a leaderboard and set the ID to com.mydomain.mygame and that seems setup fine.
2. I've added a 'Platform - Login' on a timer 1 second after the scene starts
3. I've set a 'Platform - Post Score' to post the new score if at the end the score > highscore
4. I've created a 'Platform - Show Leaderboard' button and linked it to com.mydomain.mygame
When I run the preview... all the functions seem to work perfectly... auto-logging in, posting the score and linking to the leaderboard (all in the popups).
However when i create an adhoc version... nothing works at all! None of the buttons work, and Game Center isn't triggered to login at the beginning (i've even tried a separate login button with no success).
Any ideas what it might be?
Regards
Tim
Comments
Could it be to do with my prove profiles etc? I must admit I get confused with all of that!
Might this be a problem with the build and not my end then??
Could it be a setting on my phone? Or some sort of cache that needs clearing? For instance, if I open up my Flappy Birds app (the original), it asks me straight away to login so I know the problem's with my app?
As you said, in the GS preview, it shows that the GC function is still there. The funny thing is, we tried testing the .ipa we submitted to Apple again. Even the GC function in there is now gone. We have no idea what the problem could be except a possible error with our pro account, in which GS still thinks we are a basic member when we generate the actual app.
I had it working once but not quite as Id like it, so I tweaked it, re-uploaded and it's never worked since (nothing I did, I even retried the original working file).
Now who do we contact?
I'm thinking a log-out/log-in might be beneficial in creator as well as a cache clearout... will give that a try tomorrow and see if there's any change.
The version we submitted does not have a functioning GC anymore. Preview shows it does. The feature is just completely stripped in the generation process.
Is there a way we can notify admin, or submit a support request? I'm guessing this might affect others too?
All the best
Tim
Support never got back to us, but we figured it out. Settings > General > Reset > Reset All Settings. Turns out, GameCenter stops asking you to sign in if you decline too many times, making the function do nothing in our builds. Resetting your iPhone addresses this. Good luck!
Ha support never got back to me either ! Great service that! Thanks so much for taking the time to post back, will give it a go
I was having the same problem. The GameCenter functionality seems to work in the Viewer ("....this is where the log-in would occur.") However, when I make an adhoc -- no GameCenter functionality. The answer is go to your iphone Settings/General/Reset/Reset all Settings. ...... thank you "Backtothis"-- GameSalad should fix this problem.