Skip to content

Late joiners get extra exhaustion if day time based resets are enabled #25810

@MonzUn

Description

@MonzUn

If a user joins on a day before the reset time, they will be awarded time both for joining on that day and for resetting on that day, potentially ending up with more exhaustion that what should be possible for the time that has passed.

Repro steps

  1. Configure the server to reset at a specific time, for example at 19:00.
  2. Configure the server to give different amounts of exhaustion on different days, for example 3 hours on Friday and 6 hours on Saturday.
  3. Start the server.
  4. Have one user join on Friday after reset time. This should give them 3 hours of exhaustion
  5. Wait until Saturday (Or any debug method you have for pretending it's another weekday)
  6. Have another user join on Saturday before reset time. This will give them 6 hours of exhaustion.
  7. Wait until reset time.
  8. Observe that the user who joined on Saturday will now have 12 hours of exhaustion while the user who joined on Friday only has 9.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions