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

Keep track of AFK time in statistics, and display AFK-related leaderboards #93

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

eigenraven
Copy link
Member

  • Fix an integer overflow with very large "Last seen" stats as that can easily overflow if the server runs 24/7
  • Add a new statistic "AFK time" counting up the game ticks spent AFK, to match the vanilla playtime statistic
  • Display AFK time, Active (not AFK) time and percentage of AFK/Total playtime in three leader(shame)boards
    2024-07-17_19 39 01
    2024-07-17_19 39 07
    2024-07-17_19 39 11
    2024-07-17_19 51 31

@eigenraven eigenraven requested a review from a team July 17, 2024 18:54
@eigenraven eigenraven self-assigned this Jul 17, 2024
@eigenraven eigenraven merged commit cd8dbdc into master Jul 17, 2024
1 check passed
@eigenraven eigenraven deleted the afk-stat branch July 17, 2024 18:57
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

Successfully merging this pull request may close these issues.

2 participants