I am trying to implement cocoslive in my cocos2d game. It looks pretty simple, however I am getting weird error to the console when attempting a test post. The error is shown below:
2010-06-28 22:56:18.415 Game[6061:207] Post Score failed. Reason:
Traceback (most recent call last):
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 513, in __call__
handler.post(*groups)
File "/base/data/home/apps/cocoslive/1.340556897570839124/api.py", line 525, in post
raise Exception("PostScore: Checksum validation failed")
Exception: PostScore: Checksum validation failed
My code is as follows:
scoreServerPost = [CLScoreServerPost serverWithGameName:@"hidden" gameKey:@"hidden" delegate:self];
NSMutableDictionary *myDictionary = [[ NSMutableDictionary alloc]
init];
[ myDictionary setObject:[NSString stringWithString:@"TestName"] forKey:@"cc_playername"];
[ myDictionary setObject:[NSNumber numberWithInt: 2] forKey:@"cc_score"];
[ myDictionary setObject:[[UIDevice currentDevice] uniqueIdentifier] forKey:@"cc_device_id"];
[scoreServerPost sendScore:myDictionary];
[myDictionary dealloc];
Anyone have any ideas?