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.
(Solved) Syncing Steam Achievements with Offline Play
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- sake-bento
- Eileen-Class Veteran
- Posts: 1909
- Joined: Sat Jan 26, 2008 5:58 pm
- Completed: http://sakevisual.com/games.html
- Projects: Every Sunrise, Shinsei
- Organization: sakevisual
- Tumblr: sakevisual
- Deviantart: sakevisual
- itch: sakevisual
- Contact:
- Samu-kun
- King of Moé
- Posts: 2262
- Joined: Mon Sep 03, 2007 3:49 pm
- Organization: Love in Space Inc
- Location: United States
- Contact:
Re: Syncing Steam Achievements with Offline Play
Pinging Tom with same request. Same problem had with Sunrider Academy.
- PyTom
- Ren'Py Creator
- Posts: 16088
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Syncing Steam Achievements with Offline Play
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.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- sake-bento
- Eileen-Class Veteran
- Posts: 1909
- Joined: Sat Jan 26, 2008 5:58 pm
- Completed: http://sakevisual.com/games.html
- Projects: Every Sunrise, Shinsei
- Organization: sakevisual
- Tumblr: sakevisual
- Deviantart: sakevisual
- itch: sakevisual
- Contact:
Re: Syncing Steam Achievements with Offline Play
Sweet! Thank you.
sakevisual visual novels (and stuff) | sakevisual dev blog
- Vatina
- Miko-Class Veteran
- Posts: 862
- Joined: Mon May 08, 2006 2:49 am
- Completed: Blue Rose, AO: Broken Memories, My Eternal Rival, Dust
- Projects: AO: Fallen Star
- Organization: White Cat
- IRC Nick: Vatina
- Tumblr: vatinyan
- Deviantart: Vatina
- itch: whitecat
- Contact:
Re: (Solved) Syncing Steam Achievements with Offline Play
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?
Just in case, will the player have to do anything to make it sync, or will it work on its own?
- PyTom
- Ren'Py Creator
- Posts: 16088
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: (Solved) Syncing Steam Achievements with Offline Play
It's not automatic. The achievement.Sync action or achievement.sync function take care of this.
http://www.renpy.org/doc/html/achievement.html
http://www.renpy.org/doc/html/achievement.html
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- Vatina
- Miko-Class Veteran
- Posts: 862
- Joined: Mon May 08, 2006 2:49 am
- Completed: Blue Rose, AO: Broken Memories, My Eternal Rival, Dust
- Projects: AO: Fallen Star
- Organization: White Cat
- IRC Nick: Vatina
- Tumblr: vatinyan
- Deviantart: Vatina
- itch: whitecat
- Contact:
Re: (Solved) Syncing Steam Achievements with Offline Play
Alright, thanks a lot
Who is online
Users browsing this forum: No registered users