Page 1 of 1

(Solved) Syncing Steam Achievements with Offline Play

Posted: Mon Aug 31, 2015 1:41 pm
by sake-bento
Is there any way to check with the Steam server if an achievement has been acquired? Or an instant way to sync up achievements if the player has been playing offline (or if they bought direct, then got a Steam code)?

I'm having players who are getting achievements (e.g. "Ate a cupcake!") but because they're either offline or not on Steam, the achievement isn't being registered on their account. When they log in later, the persistent data in the game says the achievement's already been granted, so the information isn't sent to Steam. I've found I can force an achievement by clearing it, then re-granting it, but that seems like a short term solution. I was wondering if there was a way to sync up with the server. So if someone gets "ate a cupcake," from a direct purchase, THEN gets the Steam version, the "ate a cupcake" achievement will be automatically granted as soon as they open the game through Steam.

Re: Syncing Steam Achievements with Offline Play

Posted: Mon Aug 31, 2015 5:54 pm
by Samu-kun
Pinging Tom with same request. Same problem had with Sunrider Academy.

Re: Syncing Steam Achievements with Offline Play

Posted: Mon Aug 31, 2015 9:30 pm
by PyTom
This has been added to the new 6.99.6 prerelease, due out shortly. The steam->local side of things should work, but the new code adds functions that let you sync local->steam.

Re: Syncing Steam Achievements with Offline Play

Posted: Tue Sep 01, 2015 1:41 pm
by sake-bento
Sweet! Thank you.

Re: (Solved) Syncing Steam Achievements with Offline Play

Posted: Wed Nov 25, 2015 6:59 am
by Vatina
Looks like one of my players has run into this problem too, so this fix is great - I'll go update the build right away.

Just in case, will the player have to do anything to make it sync, or will it work on its own?

Re: (Solved) Syncing Steam Achievements with Offline Play

Posted: Wed Nov 25, 2015 10:47 am
by PyTom
It's not automatic. The achievement.Sync action or achievement.sync function take care of this.

http://www.renpy.org/doc/html/achievement.html

Re: (Solved) Syncing Steam Achievements with Offline Play

Posted: Wed Nov 25, 2015 11:36 am
by Vatina
Alright, thanks a lot :)