Questions tagged [game-center-leaderboard]

The game-center-leaderboard tag is used for questions on Apple's Game Centre service that use the leaderboard function. DO NOT use this tag for android questions.

The game-center-leaderboard tag is used for questions on Apple's Game Centre service that use the leaderboard function. DO NOT use this tag for android questions.

167 questions
0
votes
3 answers

iOS Game Center error: status = 5008, missing required header key: x-gk-bundle-version

I had just updated xcode and my device to 8.4. The game center would through the 5008 error saying it failed to authenticate but on the device screen it would authenticate normally. However the leaderboard was empty and for a moment I thought Game…
Nika Kasradze
  • 2,834
  • 3
  • 25
  • 48
0
votes
1 answer

GameCenter showing "No Challenges Screen"

I have thoroughly followed many tutorials on integrating GameCenter into my app. I am using the proper code to post scores and getting report that the scores are being reported to GC. However, when I try to load the leaderboard it shows a "No…
Garrett Cox
  • 703
  • 6
  • 10
0
votes
1 answer

How can you contact the winner on an Apple Game Centre leaderboard?

I'm about to launch an iOS game, with game centre support. At the end of each month I would like to contact the winner and offer them a prize. Is it possible to do this though the iTunes connect, or some other system? I can't find much within the…
0
votes
1 answer

Showing leaderboard crashes app because showViewController isn't supported

What is the right way to present Game Center leaderboards in iOS 7? The code below crashes on showViewController because it only supports iOS 8. Other Stack Overflow posts suggest using presentViewController for iOS 7, but that only shows a blank…
Crashalot
  • 33,605
  • 61
  • 269
  • 439
0
votes
0 answers

App crashes on Game Center score submit, only on App Store

Crash log: A GKScore must specify a leaderboard. When I try it in sandbox, it works ok, in App Store version it crashes. - (void)reportScoreToGameCenter { NSString *totalPoints = [[NSUserDefaults standardUserDefaults]…
vburojevic
  • 1,666
  • 5
  • 24
  • 34
0
votes
1 answer

Gamecenter Leaderboard higher score doesnt update when sent

My code successfully works in sending the score to the Gamecenter leaderboard, and worked exactly as expected in Sandbox mode. However now that the app is released, only the first score the player got is displayed on the leaderboard yet higher…
Andrew
  • 65
  • 4
0
votes
1 answer

Disable android application leaderboard

I'm working in android application using eclipse and I have a big problem with the leader-board. How can I disable it or hide the leader-board?
0
votes
1 answer

get full highscore list out of GameCenter

I'm trying to get a full highscore list out of GameCenter. Unfortunately only current users highscore is listed although rank is published from 1 to 10 by using leaderBoardRequest.localScore.value and leaderBoardRequest.localScore.rank How do I get…
0
votes
1 answer

How to change the shared message on Twitter/Facebook in GameCenter

The following is my implemented GameCenter Leaderboards code... GKLocalPlayer *localPlayer = [GKLocalPlayer localPlayer]; localPlayer.authenticateHandler = ^(UIViewController *viewController, NSError *error){ if (viewController != nil) { …
Jet
  • 555
  • 1
  • 7
  • 19
0
votes
0 answers

Why do game developers implement 3 share buttons in 1 game app

I understand the separate share button for Facebook and another button for Twitter. But in GameCenter's Leaderboards, there's also a share button that does the same thing as the implemented separate FaceBook/Twitter buttons. What's the point of…
Jet
  • 555
  • 1
  • 7
  • 19
0
votes
1 answer

How to Implement Game Center Leaderboard ID in swift

I'm trying to implement a leaderboard in one of my games using swift and I know that my code for implementing the leaderboard is correct, but I'm not sure how to write the leaderboard ID. The ID I created is FRHS1. Should I use "FRHS1",…
0
votes
0 answers

xcode gamcecenter no player' score displayed

the following code is used to get current player' score from GameCenter but it does not show any submitted score: if GKLocalPlayer.localPlayer().authenticated { let gkScore = GKScore(leaderboardIdentifier: "myID") …
0
votes
1 answer

don't know what I have to do to add Game Center leaderboard

I tried to add a Game Center leaderboard, first setting it on iTunes Connect but when I have to write the code in Xcode I don't know what I have to do. I want to open the leaderboard with a shake gesture and for that I will use this code in the…
0
votes
1 answer

Getting position of local player on leaderboard

I am writing a custom leaderboard and I just want to know given the player ID, where he/she is on the leaderboard. I have found this thread: Rank of Local authenticated player in All Time best in game center leaderboard But I am having trouble…
Satchmo Brown
  • 1,409
  • 2
  • 20
  • 47
0
votes
1 answer

Game Center GKLeaderboard initializer failable?

I'm working on Game Center now. In Apple's Game Center Programming Guide (Listing 4-11), there is example code to retrieve the top scores of a leaderboard: GKLeaderboard *leaderboardRequest = [[GKLeaderboard alloc] init]; if (leaderboardRequest !=…
zavié
  • 4,301
  • 2
  • 34
  • 46