OpenFeint -> GameCenter not working

Somehow Apple managed to release my game with this glaring bug.

I have enabled the app in iTunes connect, setup my leaderboards and achievements.

I have mirrored those on OpenFeint, and have my game approved with them.

My XML plist file would seem to be correct. For the longest time, it had my account on GC listed as SandBox (I forgot to enable it in another place). So through testing, my account has most of the achievements and such, but I was not seeing any scores posted to GC (and I’m not seeing a lot of scores posted to OF, but I see a few).

I deleted the app and created a new account in OF, and when it handed off to GC I created another account (same login and email as OF). I saw sandbox mentioned again during the signup process. Tested it, saw an achievement record with OF, but not GC.

Where do I start? Will OF talk to me since I’m not using them directly? Anyone experience this? Have I missed a setting somewhere?

Thanks. I really need to fix this bug.

Rob [import]uid: 19626 topic_id: 11917 reply_id: 311917[/import]

Hmm. So when you open Game Center, is it saying Sandbox instead of Me? I guess you didn’t create a new account specifically for testing; don’t worry, easily done! You should try logging out of Game Center, force closing it from multitask bar, and log back in to your original account. If it’s still in sandbox, log out, force quit and register a brand new account. Sadly, you’ll lose all your Angry Birds achievements and Fruit Ninja scores doing that :wink: But it’ll remind you to set up OF test users and GC Sandbox account in the future, like Apple say to do.

Basically, if Game Center is in Sandbox mode, you’re not going to see any scores posted via the release build of your game.

cheeeers,
Andy
[import]uid: 38932 topic_id: 11917 reply_id: 43488[/import]

It says “Me” but on the screens when GC created the new account, it said “Sandbox” on them which confused me.

I did the above and its not in Sandbox mode. Maybe I should try and delete all my OF accounts too.

[import]uid: 19626 topic_id: 11917 reply_id: 43489[/import]

Interesting. I followed the procedures above. I logged out of game center, killed it from memory, started it back up, logged into it with my rob@robmiracle.com id and I see “Me” as the bottom left menu button. I see my games and of course my game has no scores or achievements.

I go to my game, go to my high score screen (where my OF and GC buttons are) and while I’m able to get OF up, I get a popup:

then when I say login to existing account I get:

I log out of OF, delete the accounts I have created and create a new one on the rob@robmiracle.com ID.

Played a game, the high score shows in OF, nothing in GC.

Now could this have something to do it: The version I’m running on my phone is the binary I sent to Apple, but I didn’t install it from the app store, but by dragging it over in Xcode.
[import]uid: 19626 topic_id: 11917 reply_id: 43490[/import]

See your GC leaderboards? There’s an app for that. Download it :slight_smile: [import]uid: 38932 topic_id: 11917 reply_id: 43494[/import]

Does this app have a name? [import]uid: 19626 topic_id: 11917 reply_id: 43497[/import]

Yeah. Your game! [import]uid: 38932 topic_id: 11917 reply_id: 43524[/import]

Can someone walk me through the process of getting a game to talk to GC? The OF forums have been of no help so far.

OF seems to be working just fine. But it looks like its sandboxing my GC (regardless of what login I’m using). How can I get out of SandBox mode without submitting my game and waiting for it to go live?

I would presume there is a way to do this with an AdHoc distribution profile. If not, how do I setup things to test to the sandbox?

I think this may be my problem. OF may think I’m live but GC is forcing me into a test environment. How do I sync these up.

Surely some of you have solved this riddle or can point me to some blog post or tutorial that has completed it.

(And yes, I did just call you Shirly)

This is the only thing holding me up from releasing my next version of my game.

**beg** **grovel**

Thanks in advance
Rob
[import]uid: 19626 topic_id: 11917 reply_id: 44917[/import]

Sandboxing will occur unless you’re using an App Store downloaded version of your game, regardless of any provisioning profile you build with.

Altho it sounds like you’ve done this from your original post, here’s a walkthrough of what works for me.

1. Set up OF leaderboards and achievements
From your Open Feint dashboard, as normal

2. Set up GC leaderboards and achievements
From iTunes Connect. It’s a good idea to use the IDs which were generated by OF. For example, if you create a “Top Score” leaderboard in OF, and it assigns an ID 12345678 to it, enter 12345678 as the ID when creating your GC “Top Score” leaderboard. Remember to ‘Enable’ Game Center while you’re there.

3. Create OFGameCenter.plist
Now, when this is present in your project root, OF will silently post to GC whenever it posts to OF. Visit this link for a template: http://support.openfeint.com/dev/game-center-compatibility/

Build and test. Game Center will need you to log in to your Sandbox account. If OF is correctly posting to GC Sandbox, there’s nothing else to do - once on the App Store, GC will use the ‘live’ leaderboards etc automatically. Sandboxing is used for your test builds so that you can delete test posts etc without affecting the live version.

Hope this helps?
Shirly [import]uid: 38932 topic_id: 11917 reply_id: 44953[/import]

Well I kind of did it in backwards order. I setup GC’s leaderbaord and achievements first.

Then I setup OF. But it took me a while to realize I had to get OF to approve the game.

But I basically have done all of these things. I guess my frustration is even with a downloaded version of my 1.1 version (and I can eventually get it to not be sandboxed) I don’t see anything publish to GC.

I see my game login to GC but I see no scores post. And it’s frustrating being black boxed into this and not have any feed back or any idea where to look for problems. I’m seriouslly thinking about dropping GC support for now because I need to get some other bugs fixed but more importantly I need to move on to other projects and 1.2 is just about ready to go up and this is my show stopper.

Even sandboxed, I should see scores post, right? [import]uid: 19626 topic_id: 11917 reply_id: 45132[/import]