Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS game center -- frequent CONNECTION INTERRUPTED messages

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.

like image 912
William Jockusch Avatar asked Nov 12 '22 06:11

William Jockusch


1 Answers

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

like image 110
Monty Avatar answered Nov 15 '22 05:11

Monty