-
Game Center Leaderboard
I have created the following Test App.
i've placed the Game Center Connect Object ( Its works fine in the App )
then:
Start of frame send Score 1000 to GC Leaderboard.
and
User click on Button, display GC Leaderboard.
But no scores are loading. there is "loading scores" and then is there "Unable to load"
Where is the Problem ??
-
assuming you have a sandbox user set up and authenticated (it should say "welcome back..blabla" when you start it)
try testing with the 4.3 emulator that comes with xcode instead of device.
that showed me it was working correctly.
-
The "welcome" popup appears. but the leaderboard shows no scores. i tested it on iPod touch. i will try it on the 4.3 Simulator.
Thanks
-
It works in the 4.3 IOS Simulator. but when i create divers sandbox accounts. i can only see the score from the logged in player. not the player with them i logged in before.
-
Just a stupid question : you have created your leaderboard under iTunes Connect? The Category field should contain nothing, to display the main leaderboard.
-
yes, i've created the leaderborsd unter iTunes Connect. you mean the Category in the Properties of the Leaderboard Object in MMF 2 ? This does not work. I have to do the same entry as in iTunes Connect. Otherwise it shows ""unable to load". And then it shows the Leaderboard only in the 4.3 Simulator of Xcode. not on my Device.
-
so you never saw the GC leaderboard on the device?
i thought the problem was that you could see it , just not see scores
-
i see the leaderboard, just no scores on the device.
-
as long as you saw a score for the logged in player when using sandbox mode on 4.3 emulator, it is all working correctly.
read this from start to finish:
http://www.cocos2d-iphone.org/forum/topic/20110
-
-
i've noticed that, if the leaderboard appears, the sound switched off ( Pause ). is it possible that the sound stays on, when the leaderboard appears ?
-
What's with the score always being 1 in 4.3 emulator.? even if I get a score higher than 1 and sent the score it still says ""score 1"'
-
evilised, i do not have that problem
-
I can't upload an example somehow, example can't be bigger than 1 mb :/ and making an link/url is denied.
There's nothing special about what I did.
There's the connect object that autenticates the player at the start.
I have got a GC leaderboard object, when game ends press button then send local score (score( "Player 1" )
and I have another button to show de3fault leaderboard.
I made the itunes connect leaderboard with an leaderboard Id 197932.
Now when I use emulator 5.0 it does nothing and shows no scores
when I use emulator 4,3 it shows only 1 as score.
when I use ipad/iphone it shows no scores.
I am really fed up with this gamecenter object. have been messing for months now.
-
1 Attachment(s)
I zipped an example which should work, but it doesn't.
I used 197932 as gategory it is the leaderboard Id on itunes connect.
Could someone check if the example is missing something?
-
Try it with different sandbox accounts, and try IOS simulator 4.3 and 5.0. at the first time i had the same problems, but suddenly it worked. but i dont know why :)
-
I've had problems with sandbox when coding in Obj C in XCode - sometimes it just wouldn't connect, then having changed nothing in my code it would just work. I guess Apple fiddle with it at their end to fix bugs or it struggles to cope with the shear number of developers using it at any one time.
-
-
Is it normal that the score isn't updated right away when you sent it?
I had a score of 80 at first then when I played again and got 100 it still says 80.
Will this be corrected over some time?
-
Hmmm it's probably because I work with ios 5.1 :/
-
We will update to iOS 5.1 ASAP to have these problems fixed.