OpenFeint not working with the new version of Corona SDK

Hi,
I guess you would be aware of this or I am unable to get it to work. I have the AppID, the Two keys as required, but the OF just doesn’t seem to give me a dashboard, just a blank black screen.

cheers,

Jayant C Varma [import]uid: 3826 topic_id: 4396 reply_id: 304396[/import]

I know for a fact it works. Though I had to disable safeopenfeint. Be sure to require OP at the start of your code and check the filesize compared to building with the old SDK. If it’s smaller, you’re not properly requiring OP. [import]uid: 10835 topic_id: 4396 reply_id: 13727[/import]

Hi IgnacioIturra,
I have send my code to Tim and Carlos too,

I am using

local openfeint = require "openfeint"  
--The require is done properly, right??  
  
openfeint.init ( "productKey", "secretKey", "theAppName", "theAppID" )  
--The new init takes 4 parameters  
  
openfeint.launchDashboard ()  
--Should show up the screen where one chooses to use or not use OpenFeint  
  

these three lines do not work for me, now I cannot understand why.

cheers,

Jayant C Varma [import]uid: 3826 topic_id: 4396 reply_id: 13756[/import]

The last line is not needed to choose whether to use OP or not the first time, that’s taken care by the init. In fact it should only be used in a button. Try commenting that line out and see if OP launches.

I don’t know if it matters, but mine looks like this:

[lua] openfeint.launchDashboard( “leaderboards” ) [/lua]

Also my theAppName and theAppID are the same. Don’t know if it matters either. But it’s certainly working for me.

Edit: wait, the require might also be wrong. Mine’s:

[lua] local openfeint = require(“openfeint”) [/lua]

[import]uid: 10835 topic_id: 4396 reply_id: 13758[/import]

Hi,
Got that to work. The first time the app is launched, it crashes, the next time it kind of starts with openfeint. So where is the issue?

But it works, so will have to put it in the description that the app *might* crash on first run and that people should not leave comments that it crashes on first run.

cheers,

Jayant C Varma [import]uid: 3826 topic_id: 4396 reply_id: 13764[/import]

That’s not an OP issue. Look here:

http://developer.anscamobile.com/forum/2010/10/07/tutorial-fixing-ios4-multi-tasking-attempt-crashes [import]uid: 10835 topic_id: 4396 reply_id: 13790[/import]