I have been in the past trying to add Openfeint but had two fail attempts to add them… But this time I would get it. Ok my problem is I got this sample from peach and had fail attempts to get it right. This is the small code sample she has
I will be asking questions in the code so please answer them
[code]local onDeviceGO=true
if string.sub(system.pathForFile(“Icon.png”, system.ResourceDirectory),1,6)==’/Users’ then
onDeviceGO=false
end
myscore = score.getScore()
lbID = “YOUR OPENFEINT LEADERBOARD ID HERE” ---- Is here WERE i PUT The Leaderboard ID?
numScore = score.getScore()
function setHighScore( lbID, points )
if onDeviceGO then
openfeint.setHighScore( 123456, numScore) – For the 123456 what do I replace I got very lost here what do I replace there?
else
print(“highscore called”)
end
end
timerGO = timer.performWithDelay(1000, setHighScore, 1)
– Set the highscore on OpenFeint. I use a one second timer, if you prefer not to, remove the
– timer above and uncomment the line below;
– setHighScore()
[/code]
That’s it everytime I add openfeint nothing shows up in the leaderboard id. After man sweats, and swears, I still fail to add it. Which I need you guys help to get it because this enlight me like this
[import]uid: 17058 topic_id: 23864 reply_id: 323864[/import]
[import]uid: 52491 topic_id: 23864 reply_id: 96239[/import]
[import]uid: 52491 topic_id: 23864 reply_id: 96502[/import]