Quote:
Originally Posted by Nos
Hi everybody,
I've a big problem with the Game Center. My score reporting doesn't work.
My GKScore is :
scoreReporter = <GKScore: 0x14ea00><0x14ea00> player=G:274457114 rank=0 date=2011-10-26 07:07:34 +0000 value=7200 formattedValue=(null) context=(null)
However i received no error from the reportScoreWithCompletionHandler
I don't understand.
I've 3 leaderboards with different ID configured in my iTunes Connect : one with the ID "1" from my first version, one with the ID "2" from my actual version and the last with the ID "3" for my future well version.
I tested with my actual default leaderboard with the ID "2" and my future leaderboard with the ID "3" and nothing work : no score on the game center.
I initialized my GKScore with the following line :
GKScore *scoreReporter = [[[GKScore alloc] initWithCategory:category] autorelease];
scoreReporter.value = score;
category is my leaderboard ID and score is an NSInteger.
This worked when i had only one version of my app and one leaderboard.
Is anyone can help me ?
Best regards,
|
Looks like the same problem I had. Try running it on an older device(anything under ios 5) on the simulator. If that works I think you are good to go.
My finding was that when I ran it on the IOS 5 Gamecenter it didnt show my score (regardless if it was on the simulator,device or even after the game was live) as long as I was the only player on the leaderboard. When the second player posted a score, my score started showing as well.
Hope that helps.