How test OpenFeint in development status ?

Hello,

I do not understand how I can try OF while I’m developing my game.

Followed these steps:

1.-I have created a developer account with the game in OF
2.-I added a user test
3.-In my code I have:
[lua]openfeint local = require “openfeint”
openfeint.init (ProductKey, productSecret, displayName)
– I also tested:
openfeint.init (ProductKey, productSecret, displayName, appID)
openfeint.launchDashboard (“leaderboards”)
– I also tested:
openfeint.launchDashboard ()[/lua]

I have built and moved to my iPhone 4 but when you run this code, the screen goes black and nothing comes out.

The steps are correct or am I doing something wrong?

Regards.
Francisco.
[import]uid: 11749 topic_id: 7083 reply_id: 307083[/import]

You can’t just put those “app name” and other variables. OpenFeint requires them to actually be filled with something. Otherwise it comes up with an error and won’t load the remainder of the App. Submit your application idea, with a few pictures to their developer’s page, and wait ty’ll it gets approved.

(I’m in the process of doing it for my application as well)

Otherwise it won’t work. [import]uid: 19768 topic_id: 7083 reply_id: 25021[/import]

Hello,

@EvilSniperXV thanks for your reply. I enabled my app and waiting for review.

Regards.
Francisco. [import]uid: 11749 topic_id: 7083 reply_id: 25067[/import]

You don’t have to submit it for approval.

You just create a new application and it allows you to test in development status. You only need to submit for approval before you release it to the app store. [import]uid: 6981 topic_id: 7083 reply_id: 25077[/import]

Then, why I get a black screen when test with above code ?

Some idea ?

Regards.
Francisco. [import]uid: 11749 topic_id: 7083 reply_id: 25083[/import]

. [import]uid: 5712 topic_id: 7083 reply_id: 25116[/import]

Hello,

Ok, the problem was I am using the safeopenfeint.lua module.
Now working if I not use this.

Regards.
Francisco. [import]uid: 11749 topic_id: 7083 reply_id: 25197[/import]

Sorry I’m rather confused when you say, “Safeopenfeint.lua” what do you mean by this?

Did you create a separate Lua file, and put that? [import]uid: 19768 topic_id: 7083 reply_id: 25448[/import]

Hello,

@EvilSniperXV you can read about at http://developer.anscamobile.com/code/safe-openfeint-wrapper

Regards.
Francisco.
[import]uid: 11749 topic_id: 7083 reply_id: 25464[/import]