Hi,
I’m trying to implement Game Center on my app. I create a leaderboard on itunes, i put this lines on my build.settings
settings = {
iphone =
{
plist=
{
CFBundleIdentifier = "com.myCompany.myApp",
},
components = {}
}
}
and i call this line to set the score
if loggedIntoGC then gameNetwork.request( "setHighScore", { localPlayerScore={ category="Leaderboard1", value=tostring( puntos ) }, listener=requestCallback } ); else offlineAlert(); end
Leaderboard1 is the leaderboard name (not the referenced name or ID).
Then, for show the results i call this line
if loggedIntoGC then gameNetwork.show( "leaderboards", { leaderboard={ category="Leaderboard1", timeScope="Week" } } ); else offlineAlert(); end
My problem is that when i see the leaderboard, it says “Unable to Load” in Friends, and in All Players.
Am i doning something wrong? Am i missing any step? It is ok to call the leaderboard only by his name?
Thank you [import]uid: 105206 topic_id: 29040 reply_id: 329040[/import]