x


Cant report the score to gamecenter

i added the gamecenter just as http://mobile.tutsplus.com/tutorials/iphone/ios-sdk-game-center-achievements-and-leaderboards-part-1/ , and i just need a bestscore in the Leaderboard, i added everything that the page said. and i can get the game in the gamecenter,and also can see the leaderboard, but i cant see the score in the leaderboard. i use the code "gamecentermanager" in that page, ///// auth self._currentLeaderBoard = kLeaderboardID; self._currentScore = 0; if ([GameCenterManager isGameCenterAvailable]){ self._gameCenterManger = [[[GameCenterManager alloc] init] autorelease]; [self._gameCenterManger setDelegate:self]; [self._gameCenterManger authenticateLocalUser]; }else{

}

// submit - (void)submitScore { // just test,and the category has been setted [self._gameCenterManger reportScore:123 forCategory:@"1"]; } - (void) scoreReported: (NSError*) error { if (error == nil) { NSLog(@"-------- score Report is ok"); }else{ NSLog(@"--------- score Report is error"); NSLog(@"Failed to send report: %@", [error localizedDescription]);

}

} the delegate method "scoreReported" return "score report is ok",but i cant see the score in the game center,what can i do? thank you

more ▼

asked Nov 22 '11 at 08:59 AM

wangqw1215 gravatar image

wangqw1215
16 7 7 8

Did you ever solve this problem? I had and still have this problem (using Prime31's GameCenter plug-in). Thanks.

Jan 28 '12 at 07:24 PM jackpile
(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x53

asked: Nov 22 '11 at 08:59 AM

Seen: 869 times

Last Updated: Jan 28 '12 at 07:24 PM