ad-hoc : score not getting posted on gamecentre sandbox
Hey, I think I have trawled through every post on this forum regarding posting scores to game center, but I just cannot get this to work.
Are others still having the same issue? I'm ready to submit to the app store once I get this solved.
I have placed an actor on the scene, with a rule:
rule: if game over is true
rule: if score > highscore
change attribute high score to score
save attribute: save high score
post score high score
i even tried only posting the score but it still doesn't post
I have checked the leadeboard id, typed it in (not pasted) and it's ok. I can authenticate and view the leaderboard without any issues.
I have created new game center accounts on my device, logged in and out of them, posted scores using each of them. no difference.
Help appreciated!
Answers
is any1 else facing the same issue?
Did you open the (e) expression editor when you typed it? or just typed it in the behavior box?
When you say you tried only posting the score, do you mean.
If game over is true
Post score score?
Fortuna Infortuna Forti Una
yes i did open the expression editor to type my leaderboard ID.
yes thats exactly what i tried doing. (if game over is true post score)
i even waited for a day to see if the sandbox post the score as i read in forum it takes few hours to do so, but nothing was posted.
Type it in without opening up the expression editor and check again.
Fortuna Infortuna Forti Una
@Lovejoy still not working
I'd like to know if u got it working already?
Got the same problem overhere now.
not yet.
@djdee
Another method you can try is to make a new table, make it a text column and type in the leaderboard ID there. On your post score open the expression editor and point it to tablecellvalue where your leaderboard id is.
Edit: Keep in mind that making a rule like if score > than highscore then change highscore to score then post score is not the most effective way of doing things. A problem you can run into by doing it this way is this: A user starts your game and doesn't log in to GC, gets a score of say 50. Then he decides to log in afterwards, his score won't post or update until he reaches past 50 points since the highscore attribute is set to 50.
Fortuna Infortuna Forti Una