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

Mod tools: revoke a time in any level #689

Open
makitalo opened this issue May 5, 2024 · 1 comment
Open

Mod tools: revoke a time in any level #689

makitalo opened this issue May 5, 2024 · 1 comment
Labels
enhancement Smaller improvements to existing features

Comments

@makitalo
Copy link
Collaborator

makitalo commented May 5, 2024

Currently times can't be marked as cheated/unaccepted through the site.

If it's a single time, revoking should do the following:

  • if it's player's best time, replace the time in besttime with their second best time (or remove it if that's the only finish)
    • if lev has legacy times enabled, do the same for legacybesttime
  • remove the time from allfinished
  • set Finished = X in time
  • remove the time from battletime if it was driven during a battle
  • add a mod log entry saying whose time on which lev was revoked, why, and by whom

Or if it's a multi time:

  • set Finished = X in multitime
  • remove the time from battletime if it was driven during a battle
  • add a mod log entry saying whose time on which lev was revoked, why, and by whom
@makitalo makitalo added the enhancement Smaller improvements to existing features label May 5, 2024
@j-masci
Copy link
Collaborator

j-masci commented May 5, 2024

There's level stats table too to think about it time is a top 10 or was record at some point. All stats can be regenerated for a single level, which is easy for some levels but could be a problem for some ints maybe. There isn't too many features that would be affected if time is left in level stats.

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

No branches or pull requests

2 participants