5

I am working on an iOS game center game, using GKTurnBasedMatch. Every time an incomplete turn, there is a message in the console like this:

2013-04-26 19:26:45.115 AppName[6439:5a9f] CONNECTION INTERRUPTED

Interestingly, this does not happen when I send a complete turn with

[match endTurnWithNextParticipants: nextParticipants turnTimeout:100000 matchData: data completionHandler:^(NSError* error){
    // some block here
}];

but it does happen when I send an incomplete turn with

[match saveCurrentTurnWithMatchData:data completionHandler:^(NSError* error) {
     // some block here
}];

Someone else reported a similar problem here: Spurious Game Center player disconnect messages. However, it is difficult to see how the only answer there applies to my situation, as I am creating my matches with GKMatchmakerViewController.

Community
  • 1
  • 1
William Jockusch
  • 26,513
  • 49
  • 182
  • 323
  • Game center invitations are not working this days, I dont know what´s going on with game center SandBox server. I hope that your issue it is coming becuase of that. – Aitul May 02 '13 at 07:53
  • Did you ever solve this problem? I'm experiencing the same problem. I used saveCurrentTurnWithMatchData to save some randomized elements of my board game immediately after creating a new game, but I had to remove it because of the disconnect issue. – Bart Feb 24 '14 at 11:36
  • @Bart -- Don't remember, sorry – William Jockusch Feb 24 '14 at 15:56

1 Answers1

1

i am having the exact same issue with saveCurrentTurnWithMatchData infact sometimes i have seen the GameData is not updated with saveCurrentTurnWithMatchData while it returns no error

Monty
  • 341
  • 1
  • 4
  • 13