Hi,
This is my first post :) btw, I'm trying to test my ranking implementation with cocoslive. I verified game key, category, and game name multiple times. I still get checksum failed message after requesting update score. :(
Please let me know if i did anything wrong T_T
//submit score
NSAutoreleasePool *pool;
CLScoreServerPost *post;
NSMutableDictionary *dict;
NSLocale *locale;
NSString *countryName;
pool = [NSAutoreleasePool new];
post = [CLScoreServerPost serverWithGameName:GAME_NAME
gameKey:GAME_KEY
delegate:self];
dict = [NSMutableDictionary dictionary];
locale = [NSLocale currentLocale];
countryName = [locale displayNameForKey:NSLocaleCountryCode
value:[locale objectForKey:NSLocaleCountryCode]];
[dict setValue:@"Normal" forKey:@"cc_category"];
[dict setValue:countryName forKey:@"cc_country"];
[dict setValue:[[UIDevice currentDevice] uniqueIdentifier]
forKey:@"cc_device_id"];
[dict setValue:@"Rolling" forKey:@"cc_game"];
[dict setValue:self._name forKey:@"cc_playername"];
[dict setValue:[NSNumber numberWithInt:_score] forKey:@"cc_score"];
[dict setValue:[[NSDate date] description] forKey:@"cc_when"];
[self.delegate netStarted:self];
[post updateScore:dict];
[self _setupData:self];
[pool drain];