This object currently working at all. I had intended on using it in my current project (old bugs and all), but now it just crashes the app.
I'd rather it work buggy than not at all.
Get someone on this Clickteam!
Thanks!













This object currently working at all. I had intended on using it in my current project (old bugs and all), but now it just crashes the app.
I'd rather it work buggy than not at all.
Get someone on this Clickteam!
Thanks!



It worked in our tests. Can you send me a demo mfa?
Where does it crash? Does it connect?













Here is the demo MFA I'm using.
http://www.soapcow.com/hotlink-ok/GCMultiplayerTest.zip
It crashes after it either sends or receives data. Not sure which.
I'm testing it on actual devices... all of them crash.
UrbanMonk - I had a look at your example and ran it with the latest beta (257-9) - sure enough Match Started was never firing.
However if I use Player connected instead it works!
Alternatively if you change CRunGameCenterConnect.m in XCode so that in -(void)matchmakerViewControllerGKMatchmakerViewCont roller *)viewController didFindMatchGKMatch *)m
:
if (match.expectedPlayerCount==1)
instead of
if (match.expectedPlayerCount==0)
then it also works, you can even read the player Alias for player 0 (but this will crash it in MMF2 on PC unfortunately!), but not for player 1 (crashes)
This Stack Overflow answer suggests that soon after connecting (for which expectedPlayerCount==0), expectedPlayerCount becomes 1 - so that might explain it:
http://stackoverflow.com/questions/5...573612#5573612













For me it fired, but it would crash the app right away!
I haven't tested it in a while. I'll look at it again soon.
So were you able to send messages?
I was able to send and receive the X position of the Active on both devices, haven't tried anything more complex yet.













Alright! That's great to hear!
See if you can get this working:
http://soapcow.com/multitest.zip
I made it a while ago, but you might find it useful.
Hi UrbanMonk,
I test your example in two device : iphone and ipad.
The match is created but the game doesn't start : there is no name of the 2 players.
UrbanMonk - Thanks for the multitest.zip example - just tried it and it works for me (using Play Now option after pressing Match Make button) - even displays the other player's name! I'm using Beta 257-9, iOS 5.1.1 and XCode 4.6.1 and an iPad 2 and an iPod touch 4G.
arthurh - Are you using special sandbox Game Center usernames? Make sure you log out of Game Center and quit Game Center running in the background before running the multitest app on your device. Login using a sandbox ID when the app runs (or create one and only use it for iOS testing). Do the same for your other device using a different sandbox ID (I wouldn't trust the simulator!). You might need to setup Game Center for a new app and use the same app name in your bundle ID (I'd already got one setup so just changed the BundleID in iOS properties in MMF2 before building)
I haven't checked in iOS 6 yet, but the simulator shows a very different Match Making screen in Game Center.
Update: Got it working with the iOS 5.1 simulator and a device, but not with the iOS 6.1 simulator - it made the match, but didn't start the game or display the player name (said "Sending Master Check s6389 ..." on one and "... s6389" on the other)













Exactly. I'm using an iPhone 5 and a iPad 2 with iOS 6 and it just simply crashes. At least it did the last time I tested it. It worked fine on the older firmwares.
I messaged Francois a while ago, but I still haven't gotten confirmation that they're working on it.