-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Download Plugin Data removes achievement progress on Steam #444
Comments
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? |
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:
I haven't had time to debug the issue yet. Maybe something fails to parse because of a different locale. |
Ok, I did some debugging. As far as I can tell, the issue is caused by this playnite-successstory-plugin/source/Clients/SteamAchievements.cs Lines 89 to 90 in 032c98d
At this point If I change the 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. |
Same, all steam games are at 0% progress. |
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. |
@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. |
@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. |
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: |
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... |
Success Story 3.1.7
I updated my entire game library using "Main Menu > Extensions > Success Story > Download plugin data...". This downloaded the correct achievements for all games fixing this issue, but removed all progress from my steam games:
![image](https://private-user-images.githubusercontent.com/44060684/294893726-8f2f1cd5-2a31-4f68-a904-46ac87560db4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE1NzA3ODAsIm5iZiI6MTcyMTU3MDQ4MCwicGF0aCI6Ii80NDA2MDY4NC8yOTQ4OTM3MjYtOGYyZjFjZDUtMmEzMS00ZjY4LWE5MDQtNDZhYzg3NTYwZGI0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIxVDE0MDEyMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI3OGE4MmRjYWEzYzliM2VmMjg1YTVkMGMzZTVkODg1NzNlNzQyNjM5NWMyZmIwOTZjYmU1N2M0Y2UyNDVmZTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Cl5e0jnlNjE4sc5V0l3W4c0-NnxxtDs2Rk6DT8TkYN8)
I completed this game some time ago:
![image](https://private-user-images.githubusercontent.com/44060684/294894034-447ca2fb-96ce-4193-b341-cb60080b5e00.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE1NzA3ODAsIm5iZiI6MTcyMTU3MDQ4MCwicGF0aCI6Ii80NDA2MDY4NC8yOTQ4OTQwMzQtNDQ3Y2EyZmItOTZjZS00MTkzLWIzNDEtY2I2MDA4MGI1ZTAwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIxVDE0MDEyMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUxYjA1NzQzOGE5NDZhOWY1NDFmODhmMTBhZDAzOTNlNzI0NzI3ZjJlODAyZDhhY2Y4OGJjZDA5MzhmYzk1ODgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.zHD_5akdn9QswbMLUfooPR47BszISZUf58WdEQBnF28)
RetroAchievements & GoG are not affected.
The text was updated successfully, but these errors were encountered: