游戏中心服务器有问题吗?使用沙盒测试多人游戏

发布于 2024-12-12 23:59:14 字数 737 浏览 3 评论 0原文

游戏中心有问题吗?我一直在通过沙箱帐户测试我的应用程序多人游戏,它工作正常。但自上周末以来,没有收到任何发送的邀请,或者我收到消息“无法连接”。 “现在就玩”曾经有效,但现在也行不通了。有人面临同样的问题吗?我可以在任何地方检查游戏中心状态吗?这让我发疯

当我点击“立即播放”按钮时,它会直接进入这个方法:

- (void)matchmakerViewController:(GKMatchmakerViewController *)viewController didFindMatch:(GKMatch *)theMatch {
    [self.presentingViewController dismissModalViewControllerAnimated:YES];
    self.match = theMatch;
    self.match.delegate = self;

    NSLog(@"Peer-to-Peer");
    if (!matchStarted && self.match.expectedPlayerCount == 0) {        
        NSLog(@"Ready to start match! from matchmakerviewcontroller");
        [self lookupPlayers];
    }
}

当它工作时,我曾经进入“如果”部分。现在我收到的预期玩家计数是 1,就像没有找到任何玩家一样。为何如此?

感谢是提前的。

Is something wrong with game center? I've been testing my app multiplayer through sandbox accounts it was working properly. But since the last weekend any invitations send are not being received or i get the message 'couldnt connect'. The 'play now' was working, but now it also ain't working. Anyone facing the same problem? Can i check gamecenter status anywhere? It's driving me crazy

When i hit the play now button, it goes straight to this method:

- (void)matchmakerViewController:(GKMatchmakerViewController *)viewController didFindMatch:(GKMatch *)theMatch {
    [self.presentingViewController dismissModalViewControllerAnimated:YES];
    self.match = theMatch;
    self.match.delegate = self;

    NSLog(@"Peer-to-Peer");
    if (!matchStarted && self.match.expectedPlayerCount == 0) {        
        NSLog(@"Ready to start match! from matchmakerviewcontroller");
        [self lookupPlayers];
    }
}

When it was working, i used to get into the 'if' part. Now the expectedPlayerCount that i receive is 1, like if it didnt find any player. How so?

Thanks is advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文