iphone - GameCenter GKMatchmakerViewController auto-match not working, expectedPlayerCount always 1, solutions? -
I can not establish a connection between two players using automatic matching and GKM Chachor ViewController.
The behavior is
didChangeState is never called
The player gets disconnected after an extended period of time.
Is anyone solving this problem?
Thank you!
The correct number of players connected to make sure that you get your In this example, I have a game that is connected to only two players, so I work min and amp; Maximum players are counted to 2: Then, everything you saw as a work expected. Edit: After reading your question again, also make sure that you have the And of course, you have to set the representative of this match object: GKMasterest Set up correctly.
GKMrerest * request = [[[GKM trackoffAloc] INT] AutoArques]; Request.minPlayers = 2; Request.maxplayers = 2; GKM Changer VUI Controller * mmvc = [[[GKMachaker Week Controller ALOOS] InitvethMatureRequest: Request] Autorege]; Mmvc.matchmakerDelegate = self;
GKMatch object You have been given:
- (zero) matchmakerViewController: (GKMatchmakerViewController *) viewController didFindMatch: Match (GKMatch *);
// Done! - (Zero) Matchmaker ViUI Controller: (GKM Chaker VUITCOLLOR *) Viewer Match: (GKMatch *) Match {[Speed Dismard Module Visual Controller]; [Manual set: match]; Match Delegate = self; If (! Match start & match.expectedPlayerCount == 0) {matchStarted = YES; [Representative mettart]; Self.handlerVoice = [Online HandlerWeeks HandlerWithmail: BWatch]; }}
Comments
Post a Comment