- Aug 3, 2019
- 778
- 2,807
Hey all,
I was wondering if I could get a little assistance. For some reason my achievements aren't working on my game.
When people load up the game for the 1st time, they get 87% of achievements unlocked and I'm not sure why.
Now this doesn't happen for everyone, the odd 1% of people don't get all the achievements, but the vast majority do.
I'm using this code to grant the achievements:
$ achievement.grant("achievment_name")
$ achievement.sync()
The very first achievements code is a little different, I read somewhere that you need to register the first achievement but now I can't find the article about that:
$achievement.grant("achievment_name")
init:
$achievement.register("achievment_name")
$achievement.sync()
$achievement.sync()
( please note, not all achievments are called "achievment_name", just changed it to that for the purpose of this ).
I'm heading off to bed now so if I don't reply, tis 'cause I'm sleeping Any help is much appreciated though.
I was wondering if I could get a little assistance. For some reason my achievements aren't working on my game.
When people load up the game for the 1st time, they get 87% of achievements unlocked and I'm not sure why.
Now this doesn't happen for everyone, the odd 1% of people don't get all the achievements, but the vast majority do.
I'm using this code to grant the achievements:
$ achievement.grant("achievment_name")
$ achievement.sync()
The very first achievements code is a little different, I read somewhere that you need to register the first achievement but now I can't find the article about that:
$achievement.grant("achievment_name")
init:
$achievement.register("achievment_name")
$achievement.sync()
$achievement.sync()
( please note, not all achievments are called "achievment_name", just changed it to that for the purpose of this ).
I'm heading off to bed now so if I don't reply, tis 'cause I'm sleeping Any help is much appreciated though.