Lacro59 / playnite-successstory-plugin

This plugin shows the game achievements in Playnite.
https://playnite.link
MIT License
174 stars 31 forks source link

Steam Achievements Won't Show As Unlocked #516

Open chukrum47 opened 2 months ago

chukrum47 commented 2 months ago

Describe the bug Steam Achievements won't show as unlocked, either after finishing a play session or after manually refreshing the data.

To Reproduce Enable Steam Achievements is checked Under the libraries tab, my account name is correctly listed, my profile photo shown, and my profile correctly identified as Public. Has Api Key and Is Private are both unchecked. Account Name and Account ID are both filled in.

Expected behavior The achievements that are unlocked should appear as unlocked.

Extensions log When trying to manually refresh Marvel's Midnight Suns Achievements, the following log statements are written:

28-08 09:08:05.198|INFO |SuccessStory#SuccessStoryDatabase:RefreshNoLoader(Marvel's Midnight Suns - aeedf8bd-7333-41f4-ac47-108830873e3b - Steam)
28-08 09:08:05.198|INFO |SuccessStory#SuccessStoryDatabase:Used SuccessStory.Clients.SteamAchievements for Marvel's Midnight Suns - Steam - Steam - PC (Windows)
28-08 09:08:08.110|WARN |SuccessStory#SteamApi:No data find in ExtensionsAchievements for 368260
28-08 09:08:08.110|INFO |SuccessStory#SteamAchievements:No unlocked achievement, check if the game is private - Marvel's Midnight Suns - 368260
28-08 09:08:09.723|INFO |SuccessStory#SteamAchievements:SteamApi.GetAchievements(Marvel's Midnight Suns, 368260)
28-08 09:08:11.590|WARN |SuccessStory#SteamApi:No data find in ExtensionsAchievements for 368260
28-08 09:08:13.271|WARN |SuccessStory#TrueAchievements:No url for GetEstimateTimeToUnlock()
28-08 09:08:13.271|INFO |SuccessStory#SuccessStoryDatabase:0/72 achievements find for Marvel's Midnight Suns - Steam - Steam - PC (Windows)
28-08 09:08:14.601|WARN |SuccessStory#TrueAchievements:No url for GetEstimateTimeToUnlock()
Lacro59 commented 2 months ago

Can you try this version? playnite-successstory-plugin_3_2.zip

UnbridledLight commented 2 months ago

Can you try this version? playnite-successstory-plugin_3_2.zip

Refreshed data and seems to be working now for me.

chukrum47 commented 2 months ago

No, that still doesn't work for me:

30-08 09:31:26.651|WARN |SuccessStory#TrueAchievements:No url for GetEstimateTimeToUnlock()
30-08 09:32:02.322|INFO |SuccessStory#SuccessStoryDatabase:RefreshNoLoader(Marvel's Midnight Suns - aeedf8bd-7333-41f4-ac47-108830873e3b - Steam)
30-08 09:32:02.322|INFO |SuccessStory#SuccessStoryDatabase:Used SuccessStory.Clients.SteamAchievements for Marvel's Midnight Suns - Steam - Steam - PC (Windows)
30-08 09:32:02.322|INFO |SuccessStory#SteamAchievements:SteamApi.GetAchievements(Marvel's Midnight Suns, 368260)
30-08 09:32:04.472|INFO |SuccessStory#SteamAchievements:No unlocked achievement, check if the game is private - Marvel's Midnight Suns - 368260
30-08 09:32:04.473|INFO |SuccessStory#SteamApi:CheckGameIsPrivateByWeb(368260)
30-08 09:32:08.259|WARN |SuccessStory#TrueAchievements:No url for GetEstimateTimeToUnlock()
30-08 09:32:08.259|INFO |SuccessStory#SuccessStoryDatabase:0/72 achievements found for Marvel's Midnight Suns - Steam/Steam - PC (Windows)
30-08 09:32:10.144|WARN |SuccessStory#TrueAchievements:No url for GetEstimateTimeToUnlock()
Koriebonx98 commented 2 months ago

Success story doesn’t seem to pull game data like achievement watcher does.

I’ve unlocked achievements via my account id and it shows up in achievement watcher. Mir works with most of the games, But seems to not download data for some games even though title name is correct and used my steam id to unlock achievements.

Via steam works fine… localised is hit or miss, It tried from 3.15 on wards

Koriebonx98 commented 2 months ago

Will admit it does load up a lot of the achievements it was struggling with esp manually 3.17 and below. But it still misses some games for some reason although spelt same, and only seems to keep previous ss data, else if add a new game but have the achievements unlocked earlier from say an emu it won’t get detected. But 3.15 does

Lacro59 commented 1 month ago

@chukrum47 Do you still have a problem?

chukrum47 commented 1 month ago

Yes, it still does not work for me. I posted my logs above.

cszucko commented 1 month ago

I had been running into this issue for the past few weeks, but just recently I seem to have gotten it working again.

The first thing I tried was taking the suggestion from @zetalex in the other issue thread and deleting the cached files. This did not appear to fix things.

Next, I went into the settings (Add-Ons... > Extension settings > Generic > Success Story > Libraries > Steam) and toggled on "Has api key" as well as entered my API key. After this, things started working again.

My Steam profile is set to private, so I'd previously been following the guidance from the wiki to just hit authenticate, but maybe Steam changed something and that's not working anymore?

zetalex commented 1 month ago

Hello @cszucko, my problem was with the Epic library, both using Epic integration or Heroic Launcher. Steam works fine for me. @Lacro59, I got some info about what is going on. It seems that the Epic achievement story part is not getting for me the Date Unlocked property to put it on the JSON that generates when updating data of a game. So, the date is always the default one and shows as locked. The rest of the things are correctly downloaded: image urls, achievement name, etc...

chukrum47 commented 1 month ago

I'm not willing to enter an API key, which is one of the things I liked about this plugin before: it doesn't require an API key if your profile is public, which mine is. I have my name and ID entered in the settings correctly, but it just won't load any data.

As before, my logs are:

27-09 19:15:25.232|INFO |SuccessStory#SuccessStoryDatabase:RefreshNoLoader(Marvel's Midnight Suns - aeedf8bd-7333-41f4-ac47-108830873e3b)
27-09 19:15:25.232|INFO |SuccessStory#SuccessStoryDatabase:Used SuccessStory.Clients.SteamAchievements for Marvel's Midnight Suns - Steam/Steam/PC (Windows)
27-09 19:15:25.232|INFO |SuccessStory#SteamAchievements:SteamApi.GetAchievements(Marvel's Midnight Suns, 368260)
27-09 19:15:26.238|INFO |SuccessStory#SteamAchievements:No unlocked achievement, check if the game is private - Marvel's Midnight Suns - 368260
27-09 19:15:26.238|INFO |SuccessStory#SteamApi:CheckGameIsPrivateByWeb(368260)
27-09 19:15:28.769|INFO |SuccessStory#SuccessStoryDatabase:0/72 achievements found for Marvel's Midnight Suns
27-09 19:15:28.942|WARN |SuccessStory#SuccessStoryDatabase:No TrueAchievements url for Marvel's Midnight Suns
27-09 19:15:29.058|WARN |SuccessStory#SuccessStoryDatabase:No TrueAchievements url for Marvel's Midnight Suns
chukrum47 commented 1 month ago

And here are the logs on the latest 3.3.2 version, @Lacro59

27-09 19:18:20.339|DEBUG|Extras#ThemeExtras:Pushed "Grid View - Marvel's Midnight Suns"
27-09 19:18:22.517|INFO |SuccessStory#SuccessStoryDatabase:RefreshNoLoader(Marvel's Midnight Suns - aeedf8bd-7333-41f4-ac47-108830873e3b)
27-09 19:18:22.517|INFO |SuccessStory#SuccessStoryDatabase:Used SuccessStory.Clients.SteamAchievements for Marvel's Midnight Suns - Steam/Steam/PC (Windows)
27-09 19:18:22.517|INFO |SuccessStory#SteamAchievements:SteamApi.GetAchievements(Marvel's Midnight Suns, 368260)
27-09 19:18:23.504|INFO |SuccessStory#SteamAchievements:No unlocked achievement, check if the game is private - Marvel's Midnight Suns - 368260
27-09 19:18:23.504|INFO |SuccessStory#SteamApi:CheckGameIsPrivateByWeb(368260)
27-09 19:18:25.865|INFO |SuccessStory#SuccessStoryDatabase:0/72 achievements found for Marvel's Midnight Suns
27-09 19:18:25.942|WARN |SuccessStory#SuccessStoryDatabase:No TrueAchievements url for Marvel's Midnight Suns
27-09 19:18:26.042|WARN |SuccessStory#SuccessStoryDatabase:No TrueAchievements url for Marvel's Midnight Suns
Chaoxufurwa commented 6 days ago

SuccessStory_2024-10-27.zip

I'm not able to get all of my unlocked Steam achievements to show as unlocked. Some of my Steam games actually worked, whilst the vast majority of my library didn't. I attached my Playnite generated logs. Hoping this can get fixed.