galaxy-integration-steam icon indicating copy to clipboard operation
galaxy-integration-steam copied to clipboard

Sync of "Started playing" / "played the first time"?

Open ReiTung opened this issue 4 years ago • 4 comments

Hi

Not sure if this ever worked (apologies if not), but is there an option to sync the "played for the first time" / "started playing" milestone from Steam when a player starts a game for the first time? Or is this something not offered by the API? Milestones like "10/25/50 hours played" are synced properly. I believe this might have worked in earlier times but not 100% sure.

Minor issue IMHO, but would be nice to have if possible.

Thanks ReiTung

ReiTung avatar Feb 20 '21 23:02 ReiTung

@ReiTung I'm not sure what is GOG Galaxy logic for showing those milestones, but plugins send to Galaxy only two values for each game:

  • total time played
  • last played timestamp

Both should work in Steam plugin, otherwise it is a bug. To investigate your case I need:

  • game name/id
  • logs (log, log.1 should be enough)

FriendsOfGalaxy avatar Feb 22 '21 12:02 FriendsOfGalaxy

Hi @FriendsOfGalaxy

latest logs attached. Games to check with:

  • Halo: The Master Chief Collection
  • Mass Effect
  • Nioh 2 - The Complete Edition

Other "Milestones" like "25 hours played" are shown in Galaxy, so I assume they are reported by the API. Yet as said, I am not sure it the "played for the first time" event has ever been shared by Steam before - if it is not returned by the API, just close this one.

thanks Rei Tung

logs.zip

ReiTung avatar Mar 01 '21 18:03 ReiTung

@ReiTung let me discuss Halo only:

before you ever started the game:

2021-02-21 01:50:57,115 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_time_import_success, params={'game_time': GameTime(game_id='976730', time_played=None, last_played_time=None)

just after you started it for the first time:

2021-02-21 02:15:48,852 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_time_import_success, params={'game_time': GameTime(game_id='976730', time_played=0, last_played_time=1613870151)}

and later on:

2021-02-21 22:55:37,413 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_time_import_success, params={'game_time': GameTime(game_id='976730', time_played=61, last_played_time=1613873856)

so if the "played the first time" does not work, then it is a Galaxy bug.

FriendsOfGalaxy avatar Mar 16 '21 10:03 FriendsOfGalaxy

so if the "played the first time" does not work, then it is a Galaxy bug.

ok thanks, I will raise an incident with the Galaxy team (not that I believe they will react though :)

ReiTung avatar Mar 18 '21 19:03 ReiTung