FriendsOfGalaxy / galaxy-integration-psn

psn integration for galaxy
77 stars 21 forks source link

PSN Achievement Not Syncing #19

Open JPFlySolo opened 3 years ago

JPFlySolo commented 3 years ago

Hi, so it seems like there is a problem with syncing trophies/achievements from PSN. For example, I have a game that I have played a bunch and the native PSN says that I have 34% trophies/achievements. But on GOG, it shows 0% and it doesn't seem to sync.

I've tried numerous things already to troubleshoot:

Hopefully you can help!

DarkKnight206 commented 3 years ago

Same problem

FriendsOfGalaxy commented 3 years ago

Hey, please attach your log files as described here: https://github.com/FriendsOfGalaxy/galaxy-integration-psn/wiki/Log-files. Thanks.

JPFlySolo commented 3 years ago

Hey, please attach your log files as described here: https://github.com/FriendsOfGalaxy/galaxy-integration-psn/wiki/Log-files. Thanks.

Thanks for the reply! Here's the log: plugin-psn-38087aea-3c30-439f-867d-ddf9fae8fe6f.log

FriendsOfGalaxy commented 3 years ago

Ok, I see that plugin sends some achievements properly, so maybe something wrong on PSN API side or Galaxy. Which game has 0% in Galaxy but 34 on psn? Is it shown on my.playstation.com in trophies section? Screenshots appreciated.

ShaunV2 commented 3 years ago

Still not pulling Trophies for The Legend of Heroes: Trails of Cold Steel IV.

JPFlySolo commented 3 years ago

Ok, I see that plugin sends some achievements properly, so maybe something wrong on PSN API side or Galaxy. Which game has 0% in Galaxy but 34 on psn? Is it shown on my.playstation.com in trophies section? Screenshots appreciated.

@FriendsOfGalaxy - I have a game that shows 0% on Galaxy but on my.playstation.com trophies section, it shows 21% (not sure why I said 34% unless Sony added more achievements). But this is for Kingdom Hearts Melody of Memory. See screenshots from Galaxy and my.playstation.com. image image

FriendsOfGalaxy commented 3 years ago

@JPFlySolo thanks!

Plugin sends achievements for KINGDOM HEARTS Melody of Memory: (from your log)

2021-01-27 08:58:38,188 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_achievements_import_success, params={'game_id': 'CUSA18900_00', 'unlocked_achievements': [Achievement(unlock_time=1605324897, achievement_id='NPWR19930_00_1', achievement_name='World Adventurer'), Achievement(unlock_time=1605333227, achievement_id='NPWR19930_00_2', achievement_name='Confronting the Enemy'), Achievement(unlock_time=1605326008, achievement_id='NPWR19930_00_3', achievement_name='Connected Tones'), Achievement(unlock_time=1605759696, achievement_id='NPWR19930_00_9', achievement_name='Standard Player'), Achievement(unlock_time=1605590052, achievement_id='NPWR19930_00_14', achievement_name='Enemy Sweeper'), Achievement(unlock_time=1605506345, achievement_id='NPWR19930_00_17', achievement_name='High Score Hunter'), Achievement(unlock_time=1605754488, achievement_id='NPWR19930_00_20', achievement_name="That's My Jam"), Achievement(unlock_time=1605592814, achievement_id='NPWR19930_00_24', achievement_name='Unbreaking Melody'), Achievement(unlock_time=1605329064, achievement_id='NPWR19930_00_25', achievement_name='Bonds of Friendship'), Achievement(unlock_time=1605754328, achievement_id='NPWR19930_00_30', achievement_name='EXP Hunter'), Achievement(unlock_time=1605329082, achievement_id='NPWR19930_00_35', achievement_name='Mission Hunter'), Achievement(unlock_time=1605329081, achievement_id='NPWR19930_00_37', achievement_name='Open the Door'), Achievement(unlock_time=1605590064, achievement_id='NPWR19930_00_38', achievement_name='Follow the Path'), Achievement(unlock_time=1607050948, achievement_id='NPWR19930_00_39', achievement_name='Light the Darkness')]}

Please report bug to Galaxy. Attach GalaxyClient.log here as well - I wonder if I can see something useful there.

JPFlySolo commented 3 years ago

@FriendsOfGalaxy - Ahh, thanks for checking on that! I'll send it over to GOG to see if they can check as well.

Here's the log from GalaxyClient.log. Hopefully this is the correct one. GalaxyClient.log

FriendsOfGalaxy commented 3 years ago

In the GalaxyClient.log everything looks good. Maybe they have problems on front or backend. You can link this issue in galaxy report - I hope it can help for them to debug.

2021-02-02 09:54:19.461 [Information][ (0)] [TID 20736][galaxy_client]: Successfully imported 14 achievements for game psn_CUSA18900_00
2021-02-02 09:54:19.461 [Information][ (0)] [TID 20736][galaxy_client]: Importing unlocked achievements for game psn_CUSA18900_00 succeeded
(...)
2021-02-02 09:54:19.562 [Information][ (0)] [TID 15748][galaxy_client]: Imported 14 unlocked achievement(s) for game 'psn_CUSA18900_00'. Scheduling upload to backend
(...)
2021-02-02 09:54:19.563 [Information][SubSystem shortTasks thread (64)] [TID 19260][galaxy_client]: Starting task to upload 14 achievement(s) for game 'psn_CUSA18900_00' for user '46987861193557172'
(...)
2021-02-02 09:54:20.328 [Information][SubSystem shortTasks thread (64)] [TID 19260][galaxy_client]: Pruned achievements for 'psn_CUSA18900_00' to upload. There are 0 achievement(s) left
JPFlySolo commented 3 years ago

@FriendsOfGalaxy - Thanks again for checking on this