Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recently players list looks more barren than it should #1225

Closed
mosquitobird11 opened this issue Nov 11, 2022 · 7 comments
Closed

Recently players list looks more barren than it should #1225

mosquitobird11 opened this issue Nov 11, 2022 · 7 comments

Comments

@mosquitobird11
Copy link
Contributor

WHERE ua.LastGameID = $gameID AND ua.Permissions >= " . Permissions::Unregistered . "

Because this line is joining only on ua.LastGameID (presumably because rich presence message only exists for the last game played?) many game activities look very barren and gives off the impression that the community is not as active as it really is. I suggest that until v2 DB changes exist and allow multiple rich presence, that this join be on App\Community\Models\UserActivity.subject_id WHERE type is UserActivity::StartedPlaying.

This would sacrifice rich presence text in the list at the benefit of a more populated list, which seems like it would be more useful in its current state. It can feel void when I load a list for a game I like to see that only "4" people have played it this year, and it can be confusing to see a game recent player list that I know I have played recently but I do not appear in the list.

@Metal-Snake
Copy link

I just realized the "Recent Players" list is more like "a list of players who didn't play anything else after this game".
I think that's what this issue is about.
I agree that loosing the Activity of the recent players list would be sad, but getting a more realistic list of recent players is more important I think.

@redwizard42
Copy link

Even if it could just cache the most recent 20 or so players, that would be nice.

@Soulsderfuchs
Copy link

This is exactly how is inteended to be, maybe more so it shouldn't be named recent players but instead Current Players as this is the actual statistic worth showing and not people that are not even playing the set anymore.

@Metal-Snake
Copy link

The way it is now, those lists are mostly filled with players who don't play anything at all anymore ie. inactive users.

But if that's the intended behavior, how about adding a tab where we could switch between the list as it is now, and a true list of recent players? For some very popular games those two lists might look almost identical, but for like 95% of games this would be an additional and (to me) very interesting information.

@redwizard42
Copy link

It may be intended, but it looks barren in many cases. Site is likely to look better if more players show up in a list of players.

@Jamiras
Copy link
Member

Jamiras commented Feb 11, 2023

It's not intended so much as a limitation of the data. We currently only keep one rich presence string per player, so they can only appear in whatever one game they have most recently played.

As suggested in the first post, we could leverage the activity table to find some other recent players, but they wouldn't display any rich presence information, which is a big part of the recent players list.

@Jamiras
Copy link
Member

Jamiras commented Nov 3, 2023

This should be fixed with v5.1 (#1932). Rich presence will now be stored for a period of time even after a player moves on to another game.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants