FriendsOfGalaxy / galaxy-integration-steam

Integration with Steam for Galaxy
374 stars 76 forks source link

Importing games stops after EAPlay licences #89

Open Silphatos opened 4 years ago

Silphatos commented 4 years ago

I was having some problems with syncing of the new games, playtimes and achievements. So I disconnected the integration, deleted everything on programdata and appdata. Reinstalled again but after ~500 games, the importing process just stops. It doesn't matter if I restart the client or manually do "sync integrations". After I have disconnected and reconnected a few times, I realised the process always stops after an EA Play game that I own through subscription (on recently added tab, the last game that was added is always Battlefield BC2). So I think the integration has a problem with EA Play sub games that the account doesn't own natively.

After 504690-Woven, all the bold games were added with EA Play:

2020-10-03 11:58:59,713 - galaxy.api.jsonrpc - DEBUG - Sending 190 bytes of data 2020-10-03 11:58:59,713 - galaxy.api.jsonrpc - INFO - Sending notification: method=owned_game_added, params={'owned_game': Game(game_id='504690', game_title='Woven', dlcs=[], license_info=LicenseInfo(license_type=<LicenseType.SinglePurchase: 'SinglePurchase'>, owner=None))} 2020-10-03 11:58:59,714 - galaxy.api.jsonrpc - DEBUG - Sending 185 bytes of data 2020-10-03 11:58:59,714 - galaxy.api.jsonrpc - INFO - Sending notification: method=owned_game_added, params={'owned_game': Game(game_id='1222700', game_title='A Way Out', dlcs=[], license_info=LicenseInfo(license_type=<LicenseType.SinglePurchase: 'SinglePurchase'>, owner=None))} 2020-10-03 11:58:59,714 - galaxy.api.jsonrpc - DEBUG - Sending 190 bytes of data 2020-10-03 11:58:59,714 - galaxy.api.jsonrpc - INFO - Sending notification: method=owned_game_added, params={'owned_game': Game(game_id='1238810', game_title='Battlefield ™ V', dlcs=[], license_info=LicenseInfo(license_type=<LicenseType.SinglePurchase: 'SinglePurchase'>, owner=None))} 2020-10-03 11:58:59,714 - galaxy.api.jsonrpc - DEBUG - Sending 201 bytes of data 2020-10-03 11:58:59,714 - galaxy.api.jsonrpc - INFO - Sending notification: method=owned_game_added, params={'owned_game': Game(game_id='1238840', game_title='Battlefield 1 ™', dlcs=[], license_info=LicenseInfo(license_type=<LicenseType.SinglePurchase: 'SinglePurchase'>, owner=None))} 2020-10-03 11:58:59,714 - galaxy.api.jsonrpc - DEBUG - Sending 201 bytes of data 2020-10-03 11:58:59,714 - galaxy.api.jsonrpc - INFO - Sending notification: method=owned_game_added, params={'owned_game': Game(game_id='1222670', game_title='The Sims™ 4', dlcs=[], license_info=LicenseInfo(license_type=<LicenseType.SinglePurchase: 'SinglePurchase'>, owner=None))} 2020-10-03 11:58:59,715 - galaxy.api.jsonrpc - DEBUG - Sending 197 bytes of data 2020-10-03 11:58:59,715 - galaxy.api.jsonrpc - INFO - Sending notification: method=owned_game_added, params={'owned_game': Game(game_id='1237950', game_title='STAR WARS™ Battlefront™ II', dlcs=[], license_info=LicenseInfo(license_type=<LicenseType.SinglePurchase: 'SinglePurchase'>, owner=None))} 2020-10-03 11:58:59,715 - galaxy.api.jsonrpc - DEBUG - Sending 217 bytes of data 2020-10-03 11:58:59,715 - galaxy.api.jsonrpc - INFO - Sending notification: method=owned_game_added, params={'owned_game': Game(game_id='1222680', game_title='Need for Speed™ Heat ', dlcs=[], license_info=LicenseInfo(license_type=<LicenseType.SinglePurchase: 'SinglePurchase'>, owner=None))} 2020-10-03 11:58:59,715 - galaxy.api.jsonrpc - DEBUG - Sending 207 bytes of data 2020-10-03 11:58:59,715 - galaxy.api.jsonrpc - INFO - Sending notification: method=owned_game_added, params={'owned_game': Game(game_id='47890', game_title='The Sims(TM) 3', dlcs=[], license_info=LicenseInfo(license_type=<LicenseType.SinglePurchase: 'SinglePurchase'>, owner=None))} 2020-10-03 11:58:59,715 - galaxy.api.jsonrpc - DEBUG - Sending 193 bytes of data 2020-10-03 11:58:59,715 - galaxy.api.jsonrpc - INFO - Sending notification: method=owned_game_added, params={'owned_game': Game(game_id='1237970', game_title='Titanfall® 2', dlcs=[], license_info=LicenseInfo(license_type=<LicenseType.SinglePurchase: 'SinglePurchase'>, owner=None))} 2020-10-03 11:58:59,716 - galaxy.api.jsonrpc - DEBUG - Sending 198 bytes of data 2020-10-03 11:58:59,716 - galaxy.api.jsonrpc - INFO - Sending notification: method=owned_game_added, params={'owned_game': Game(game_id='1262580', game_title='Need for Speed™ Payback', dlcs=[], license_info=LicenseInfo(license_type=<LicenseType.SinglePurchase: 'SinglePurchase'>, owner=None))} 2020-10-03 11:58:59,716 - galaxy.api.jsonrpc - DEBUG - Sending 209 bytes of data 2020-10-03 11:58:59,716 - galaxy.api.jsonrpc - INFO - Sending notification: method=owned_game_added, params={'owned_game': Game(game_id='1238860', game_title='Battlefield 4™ ', dlcs=[], license_info=LicenseInfo(license_type=<LicenseType.SinglePurchase: 'SinglePurchase'>, owner=None))} 2020-10-03 11:58:59,716 - galaxy.api.jsonrpc - DEBUG - Sending 201 bytes of data 2020-10-03 11:58:59,716 - galaxy.api.jsonrpc - INFO - Sending notification: method=owned_game_added, params={'owned_game': Game(game_id='1262600', game_title='Need for Speed™ Rivals', dlcs=[], license_info=LicenseInfo(license_type=<LicenseType.SinglePurchase: 'SinglePurchase'>, owner=None))} 2020-10-03 11:58:59,716 - galaxy.api.jsonrpc - DEBUG - Sending 208 bytes of data 2020-10-03 11:58:59,716 - galaxy.api.jsonrpc - INFO - Sending notification: method=owned_game_added, params={'owned_game': Game(game_id='1233550', game_title='Rocket Arena', dlcs=[], license_info=LicenseInfo(license_type=<LicenseType.SinglePurchase: 'SinglePurchase'>, owner=None))} 2020-10-03 11:58:59,716 - galaxy.api.jsonrpc - DEBUG - Sending 193 bytes of data 2020-10-03 11:58:59,717 - galaxy.api.jsonrpc - INFO - Sending notification: method=owned_game_added, params={'owned_game': Game(game_id='1238820', game_title='Battlefield 3™ ', dlcs=[], license_info=LicenseInfo(license_type=<LicenseType.SinglePurchase: 'SinglePurchase'>, owner=None))} 2020-10-03 11:58:59,717 - galaxy.api.jsonrpc - DEBUG - Sending 201 bytes of data 2020-10-03 11:58:59,717 - galaxy.api.jsonrpc - INFO - Sending notification: method=owned_game_added, params={'owned_game': Game(game_id='1262560', game_title='Need for Speed™ Most Wanted', dlcs=[], license_info=LicenseInfo(license_type=<LicenseType.SinglePurchase: 'SinglePurchase'>, owner=None))} 2020-10-03 11:58:59,717 - galaxy.api.jsonrpc - DEBUG - Sending 213 bytes of data 2020-10-03 11:58:59,717 - galaxy.api.jsonrpc - INFO - Sending notification: method=owned_game_added, params={'owned_game': Game(game_id='1262540', game_title='Need for Speed™', dlcs=[], license_info=LicenseInfo(license_type=<LicenseType.SinglePurchase: 'SinglePurchase'>, owner=None))} 2020-10-03 11:58:59,717 - galaxy.api.jsonrpc - DEBUG - Sending 201 bytes of data 2020-10-03 11:58:59,717 - galaxy.api.jsonrpc - INFO - Sending notification: method=owned_game_added, params={'owned_game': Game(game_id='24960', game_title='Battlefield: Bad Company™ 2', dlcs=[], license_info=LicenseInfo(license_type=<LicenseType.SinglePurchase: 'SinglePurchase'>, owner=None))} 2020-10-03 11:58:59,717 - galaxy.api.jsonrpc - DEBUG - Sending 211 bytes of data 2020-10-03 11:58:59,718 - galaxy.api.jsonrpc - INFO - Sending notification: method=owned_game_added, params={'owned_game': Game(game_id='1262240', game_title='Plants vs. Zombies: Battle for Neighborville', dlcs=[], license_info=LicenseInfo(license_type=<LicenseType.SinglePurchase: 'SinglePurchase'>, owner=None))} 2020-10-03 11:58:59,718 - galaxy.api.jsonrpc - DEBUG - Sending 225 bytes of data 2020-10-03 11:58:59,991 - protocol.protobuf_client - INFO - [In] 1 -> EMsg.Multi 2020-10-03 11:58:59,991 - protocol.protobuf_client - INFO - [In] 822 -> EMsg.ClientClanState 2020-10-03 11:58:59,991 - protocol.protobuf_client - WARNING - Ignored message 822 2020-10-03 11:59:00,174 - galaxy.api.jsonrpc - DEBUG - Received 99 bytes of data 2020-10-03 11:59:00,177 - galaxy.api.jsonrpc - INFO - Handling request: id=1064, method=start_achievements_import, params={'game_ids': ['285250']} 2020-10-03 11:59:00,178 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: creating task 1012 (start_achievements_import) 2020-10-03 11:59:00,180 - galaxy.task_manager - DEBUG - Task manager plugin external: creating task 1088 (start_achievements_import) 2020-10-03 11:59:00,189 - galaxy.api.jsonrpc - DEBUG - Received 97 bytes of data

Silphatos commented 4 years ago

I removed game_id='24960', game_title='Battlefield: Bad Company™ 2 and game_id='1262240', game_title='Plants vs. Zombies: Battle for Neighborville' from my Steam account but Steam plugin still imported them both as owned. They can't be removed until my EA Play sub is over I guess.

Silphatos commented 4 years ago

I was just gonna leave Galaxy for a while but then I remember everything was fine a few weeks ago (before 0.53), so I tried 0.52 and guess what? It worked just fine :D Yes it crashed at the 1st connection unlike 0.53 but somehow still imported all the games (more than 5k), after that I restarted the client and the plugin of course auto-updated to 0.53, achievement and playtimes from Steam games were nowhere to be seen. I closed the client and copy 0.52 files again. Everything got imported after the next restart, all the achievements and playtimes including the ones from today. So clearly something in 0.53 broke the plugin for my account.

BTW how can I disable the auto-update to stay with 0.52 for now?

FriendsOfGalaxy commented 4 years ago

Hey @Silphatos

thanks for the issue - clearly something was broken in 0.53. Could you please attach all logs as described on wiki? https://github.com/FriendsOfGalaxy/galaxy-integration-steam/wiki/Log-files

BTW how can I disable the auto-update to stay with 0.52 for now?

just bump version in manifest.json file manually to something bigger or equal than 0.53

Silphatos commented 4 years ago

Hello,

Unfortunately my old logs are gone, so all of the Steam games were already imported successfully with 0.52 before. There are 2 sessions on these new logs, 1st with 0.52, then with the auto-updated 0.53. I hope these help you though.

Silphatos commented 3 years ago

0.54 didn't fix this issue, back to 0.52 :D

FriendsOfGalaxy commented 3 years ago

Could you attach clean logs for 1) 0.54

attach logs, then disconnect plugin, remove logs

2) 0.52

attach logs again.

It needs some work, but that would certainly help to tackle your problem:)