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:
- Is my code correct?
- Do I need to call launchDashboard()? From API help it’s not clear what is it for
- Maybe I need some additional manipulations (permissions??..) to make it work?
- 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]