Skip to content

Add ::permadeath command to completely wipe a player's save, plus some HCIM death fixes

Player Name requested to merge PlayerName/2009scape:pd into master

What has been done in this MR?

  • Implement ::permadeath to kill yourself and ::permadeath player_name to permadeath "player_name" (this is just a placeholder!!!!). Apparently, Kenny really has a need for this when he's testing quests. The permadeath implementation is a simple copy-paste-kotlinification of the HCIM death code.
  • Also cleans pets, achievement diaries (copy of ::cleardiary command), and music unlocks. These things are now done for HCIM deaths too.

What should testers check?

  • ::permadeath works to permadeath yourself (you will automatically get logged out and sent to tutorial island when you log back in)
  • ::permadeath player_name works to permadeath someone else
  • that this can't be used by non-admins; also that there no other ways to exploit this
  • that both ::permadeath and HCIM deaths properly clear your pet data (new pets should not "remember" their old growth/hunger)
  • that both ::permadeath and HCIM deaths properly clear your achievement data (all stages getting set to yellow is normal, but all tasks should be uncompleted)
  • that both ::permadeath and HCIM deaths clear your music unlocks
  • I have tested these changes thoroughly.

  • I used the relevant Thanos/Zaros tool for any JSON edits where possible, and have attached screenshots of any changes.

Edited by Player Name

Merge request reports

Loading