FriendsOfGalaxy / galaxy-integration-steam

Integration with Steam for Galaxy
374 stars 76 forks source link

No achievements & game time / Stats parse error for non-existent achievement in Red Orchestra 2 Multiplayer #128

Open FriendsOfGalaxy opened 3 years ago

FriendsOfGalaxy commented 3 years ago

I had an issue of not syncing, not adding new games, tracking playtime, achievements etc, only on steam. I was able to connect to the plugin though. It has been like this for months now.

The first linked version worked for me to update my games (it added newly purchased) but it didn't add playtime or achievements. GalaxyClient.log.zip

Originally posted by @ninja-gaijin in https://github.com/FriendsOfGalaxy/galaxy-integration-steam/issues/127#issuecomment-876610595


From linked logs:

2021-07-09 03:11:51,030 - protocol.protobuf_client - ERROR - Unable to parse achievement 8 for game 35450 from block 99 : KeyError('99') than UnknownBackendError raised and catched in websocket_client - reconnection happen.

Looks similar to #56

Expected: Ignore singular error, do not break other stats/games importation.

FriendsOfGalaxy commented 3 years ago

The possible cause is that user unlocked achievement and the game developer has redesigned game stats later on.

ninja-gaijin commented 3 years ago

I do have over 2000 games however - https://steamcommunity.com/id/lastninja Achievements and playtime were counted previously many many months ago, but hasn't worked for a long time now. Have tried reinstalling Galaxy as well as plugins, re-connecting, syncing, etc etc Am not getting total playtime/total achievements showing up, I don't get many new steam achievements but it doesn't seem to be tracking new or old as well as any playtime current or past

FriendsOfGalaxy commented 3 years ago

Some time ago (over a ~year) we've changed implementation of getting achievements from steamcommunity page parser steam network.

Anyway - that should be fixed, at least shouldn't raise errors to affect other games. Accepting PR

ninja-gaijin commented 3 years ago

So should I expect to keep having issues with syncing achievements and playtime? It seems to add new games to owned games list but not hours or achievements earned the past month. How do I fix it? Sorry I'm clueless xD wait for pull request to be merged? Do I need to do a special method to install the new version, or should it update from within gog galaxy when available?

FriendsOfGalaxy commented 3 years ago

How do I fix it?

I don't know yet. If you're not interested in fixing the problem yourself I suggest to wait for my or someone's else fix or workaround. I predict I'll fix it this year.

Once released, it will autoupdate in Galaxy.

ninja-gaijin commented 3 years ago

How do I fix it?

I don't know yet. If you're not interested in fixing the problem yourself I suggest to wait for my or someone's else fix or workaround. I predict I'll fix it this year.

Once released, it will autoupdate in Galaxy.

No rush, I understand life is more important than GoG Galaxy integrations :) Happy to provide any more info/logs if can help with it! I'm just new to github posting and never knew what a pull request etc was before this week etc. Good to learn some new things :) Also wasn't sure if plugins needed to be updated manually or not so that's great to know can just wait for it to autoupdate

UncleGoogle commented 2 years ago

@ninja-gaijin hey, you can also use different backend mode as is described here: https://github.com/FriendsOfGalaxy/galaxy-integration-steam#configuration-of-the-backend-operation-mode