Comments (12)
Ok, I did some debugging. As far as I can tell, the issue is caused by this if
statement:
playnite-successstory-plugin/source/Clients/SteamAchievements.cs
Lines 89 to 90 in 032c98d
At this point steamAchievements
contains all the achievements but without any unlock data because I didn't enter a Steam API key. Because of this my accountInfos
is null
and the whole block below is skipped (not marking any of my achievements as unlocked):
If I change the if
statement above to force the code to continue in the else
block, then it correctly scrapes the unlocked achievements. I changed it as follows:
var accountInfos = SteamApi.CurrentAccountInfos;
ObservableCollection<GameAchievement> steamAchievements = SteamApi.GetAchievements(game.GameId, accountInfos);
if (steamAchievements?.Count > 0 && accountInfos != null && accountInfos.IsCurrent)
I didn't create a PR because I'm not sure that this change won't break something else.
from playnite-successstory-plugin.
I was having this issue as well. Never had to use an API key before, but adding one fixed this issue for me.
from playnite-successstory-plugin.
Eh, so despite using an API key, my achievement progress from steam games are being removed when the extension updates (so after playing and when manually updating).
Edit: actually, nevermind that. I generated a new API key and forgot to update the success story plugin...
from playnite-successstory-plugin.
Can you post your extension.log?
from playnite-successstory-plugin.
Can you post your extension.log?
I would but there's no error notification, so no log dump is created. Is the extension.log accessible somewhere else?
from playnite-successstory-plugin.
The same thing is happening to me in the last two versions. There are no errors, here are the relevant entries from the log for the problematic scan:
08-01 18:31:34.870|INFO |SuccessStory#PluginDatabaseObject`4:RefreshNoLoader(Half-Life: Alyx - e413dbda-4685-4eac-9697-bb2afd950834)
08-01 18:31:34.870|INFO |SuccessStory#PluginDatabaseObject`4:Used SuccessStory.Clients.SteamAchievements for Half-Life: Alyx - e413dbda-4685-4eac-9697-bb2afd950834
08-01 18:31:34.870|INFO |SuccessStory#SteamAchievements:GetAchievements() - IsLocal : False, IsManual : False, HasApiKey: False, SteamIsPrivate: False
08-01 18:31:35.306|INFO |SuccessStory#SteamAchievements:SteamApi.GetAchievements()
08-01 18:31:37.284|INFO |SuccessStory#PluginDatabaseObject`4:0/42 achievements find for Half-Life: Alyx - e413dbda-4685-4eac-9697-bb2afd950834
I haven't had time to debug the issue yet. Maybe something fails to parse because of a different locale.
from playnite-successstory-plugin.
Same, all steam games are at 0% progress.
from playnite-successstory-plugin.
I was having this issue as well. Never had to use an API key before, but adding one fixed this issue for me.
I have added an API key but the steam achievements still do not show up. I updated the game library, downloaded the SuccessStory plugin data, and refreshed individually and nothing worked.
from playnite-successstory-plugin.
I was having this issue as well. Never had to use an API key before, but adding one fixed this issue for me.
I have added an API key but the steam achievements still do not show up. I updated the game library, downloaded the SuccessStory plugin data, and refreshed individually and nothing worked.
Yeah I kinda gave up on it. Funny how the only games left that don't have achievements working are the games I paid for.
from playnite-successstory-plugin.
I was having this issue as well. Never had to use an API key before, but adding one fixed this issue for me.
I have added an API key but the steam achievements still do not show up. I updated the game library, downloaded the SuccessStory plugin data, and refreshed individually and nothing worked.
@Whitechapel-1888 Did you add the API key to SuccessStory settings (they are separate from the Steam integrations settings)? To add the API key for SuccessStory, navigate to Main Menu > Add-ons... and then Extension settings > Generic > SuccessStory. Click the Libraries tab, expand Steam and enter the API Key there.
from playnite-successstory-plugin.
@damirarh I wasn't aware that there was an extra field to enter the API key, but this indeed works...
So, is there a specific reason why SuccessStory needs this extra field and cannot authenticate via the API key saved in playnite? Also, the fact that this works surprises me. From the code snippet above, I guessed the issue would apply to everyone eventually, regardless of the method of authentification.
from playnite-successstory-plugin.
I've had a similar situation today. I'm not 100% sure how I fixed it as it takes ages to scan each time I make a change but I think unchecking "Always keep my total playtime private even if users can see my game details." may have been the issue for me.
I did also add the API key in as well but I have tried adding and removing that multiple times today and didn't have luck on it's own.
These are my Steam settings in the end:
from playnite-successstory-plugin.
Related Issues (20)
- Ability for other emulators
- Achivements not updated for games already in library despite automatic updates being enabled
- "Failed to parse" / "Status:419" HOT 1
- Manually updating via json HOT 2
- Extension doesn't find achievements from RetroAchievements HOT 2
- Removing XCloud Games from Library
- "Object reference is not set to an instance of an object." error
- Epic and Origin achievements does not work HOT 1
- Adding achievements manually doesn't work HOT 1
- RetroAchievements not hashing and misreporting HOT 5
- [Suggestion] Sync Genshin Impact achievements via tracker
- PSN games with multiple trophy sets
- Persistent 419 error HOT 1
- Failed to Parse - "Unauthenticated." - "status":419,"code":"unauthorized","title":"Unauthenticated" HOT 2
- RetroAchievements don't work if a game is set to ask for emulator on startup
- RetroAchievements for SNES are pulling game list from Panasonic 3DO
- Baldur's Gate 3 Achievements not appearing HOT 7
- I can't find any Retroachievement achievements
- Hidden achivements still show a title and icon HOT 3
- Error When Importing Games Marked Private HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playnite-successstory-plugin.