OpenFeint - how to make it work??

Hello
Recently I had some issue with sending data to OpenFeint leaderboard. So currently I’m having this issue when I’m trying to do this from my Android device.
In my game I’m doing following things to publish user record:

-- game is registered and approved on OF  
local of\_product\_key = "XXXXXX"  
local of\_product\_secret = "YYYYYYYY"  
local of\_app\_id = "123456"  
  
 openfeint.init( of\_product\_key, of\_product\_secret, "MyGame", of\_app\_id )  
 openfeint.launchDashboard( "leaderboards" )   
  
 -- .... somewhere in the code - sending result  
function onOpenFeint( name, level, levelScore )  
  
 local txt = name .. ": Level - " .. level .. " Score - " .. levelScore  
 print( txt )  
 openfeint.setHighScore( { leaderboardID= levels[level].oflbID, score=levelScore, displayText = txt } )  
 return true  
  
end  
  

But when I go to my developer’s account and looking into leaderboards list they all have HS Count = 0.
So I’m having following questions:

  1. Is my code correct?
  2. Do I need to call launchDashboard()? From API help it’s not clear what is it for
  3. Maybe I need some additional manipulations (permissions??..) to make it work?
  4. I’ve tried to search my game by it’s name on OF but no luck. Why my game is not shown?
    Any help will be appreciated!!! I’m really stuck with OF!
    Thank you!!
    [import]uid: 67485 topic_id: 11889 reply_id: 311889[/import]
  1. so you have created a new application in OF dev center?
    and you have your product key and secret?
    and you did not forget to put these two strings in your code? good!

  2. launchDashboard is for opening OF dashboard in game (i.e. the main menu, the highscore/gameover screens etc) It’s not absolutely nessesary but otherwise it is absolutly reasonable: you should add a button for OF Dashboard somewhere, so your users are able open OF when they want to take a look at the highscore table or their achievements.

  3. Adding an OF app inside OF center and copypasting the product key and secret inside your snippet should do the trick.

  4. Your game is shown in the OF system, when it’s on the appstore/market and that fact is approved by OF

hope that helps
-finefin [import]uid: 70635 topic_id: 11889 reply_id: 43339[/import]

Hello canupa.com

  1. Yes, I’ve create app on OF and now it’s market as Available for Android.
  2. Thank you for clarification! Now it’s clear what is it for!!
  3. Yes, I’ve copied and pasted appId, product key and secret im my code.
  4. So until my game is not on AndroidMarket my results won’t be published? How do they verify that my game is on the market? Should I send some email or something? [import]uid: 67485 topic_id: 11889 reply_id: 43372[/import]

Anyone??? [import]uid: 67485 topic_id: 11889 reply_id: 43730[/import]