Apparently some games last long enough that the parent rooms will expire due to the 15 minute limitation, terminating the child games as well. So we're just going to prevent those from expiring while child games exist. If they're truly inactive, they'll get hit once the child games expire.
The same password is now used across all `/savereplay`s in a battle so
replay links now don't get broken just because someone saved the replay
after you.
* adding ChatBats
* ChatBats abilities
* adding Format data for ChatBats
* items for ChatBats
* moves for ChatBats
* chatBats pokedex
* chatbats learnsets
* Delete data/mods/ccapm2024 directory
* ChatBats random sets
* ChatBats teams.ts
* snow -> snowscape
* fix
* updating PRNG code
* fixing outdated prng code
* fixing more outdated PRNG code
* fixing more outdated code
* (hopefully) fixing error messages
* level fixes
* fixing errors for real
* fix??
* fuck this im manually doing. forme change
* fix
* im an idiot
* fix ???
* fixing setAbility not properly overriding cantsuppress abilities
* fixing Koraidon not having proper max HP
* oop i bad
* still dumb somehow
* fix????
* fixing duplicate message
* nvm
* fixing message errors
* wording change
* updating link
* wording update part 2
* removing testing hardcodes
* +Magneton
* +magneton
* +Magneton
* +Magnet Bomb changes
* +Magneton
* +Magneton
* animation test
* adding test hardcodes
* fixing magneton getting weird sets
* fixing Order Up breaking when used by Mew + Magnet Bomb fix
* more tests
* fixing Biogenesis to properly apply mew's base types
* fixing Mew again
* fixing Biogenesis for real
* removing test hardcodes
* removing debug message I accidentally left in
* enforcing Salamence to test BSC
* im badly
* Testing done, reverting changes
* adding description for Magnet Bomb
* Add Chatbats to rwr tracking
* Fix linting issues
* fixing lint issues
* fixing lint issues
* fixing lint issues
* suggested change from review
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* suggested change from review
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* suggested change from review
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* suggested change from review
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* suggested change from review
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* suggested change from review
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* suggested change from review
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* suggested change from review
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* suggested change from review
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* suggested change from review
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* suggested change from review
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* suggested change from review
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* suggested change from review
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* suggested change from review
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* suggested change from review
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* fixing mistake
* making Thunder Kick a seperate move
* adding Zarel's suggestion
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
* fixing lint issues
* fixing lint issues
* fixing lint issues
* now??
* i hate this
* why does it care about how many indentations are in front of comments
* add hail mary (Delibird ability)
* add delibir
* Add Delibird
* add Delibird
* add Delibird
* Add Delibird
* ok so I'm an idiot
* Update config/formats.ts
* Apply suggestions from code review
* fixing a problem
* fix
* fixing errors
* fix
* fix
* fixing most of the errors
* fix
* apparently this file is not needed?
* fixing thunderkick not working
* fixing all the errors
* fixes
* fixing errors
* fix
* fixing lint issues
* fixing
* updating teambuilder
* ok
* final fixes
* ok ok ok
* fuck this stupid bss factory shit
* i hate
* ughhh
* plsss
* deleting all the BSS factory code as it's not needed and keeps throwing errors
* finishing
* Cleaning up teams.ts
* oop
* fixing
* fixes
* fix lint
* adding Data Preview to ChatBats
* Update teams.ts
* Update data/random-battles/chatbats/teams.ts
* Update config/formats.ts
* Update data/random-battles/chatbats/teams.ts
* Update data/random-battles/chatbats/teams.ts
* Update data/random-battles/chatbats/teams.ts
* Update config/formats.ts
* Update config/formats.ts
* Apply suggestions from code review
* Apply suggestions from code review
* oops
* Update moves.ts
* Apply suggestions from code review
---------
Co-authored-by: Lucas <33839844+Lucas-Meijer@users.noreply.github.com>
Co-authored-by: ORH <emi@ORHs-MacBook-Air.local>
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
* Changed /dt1 command to show gen 1 Pokemon crit rates
* Fixed code style to be lint-approved
---------
Co-authored-by: Jean-Christophe <legerhe@gmail.com>
* Refactor Teams.save
Fixes a bug where passwords were changed every time a team was updated.
* Refactor Teams to use lib/database
* Add unit tests
(This found a bug which has also been fixed)
* Test more things
---------
Co-authored-by: Mia <49593536+mia-pi-git@users.noreply.github.com>
* Update help ticket page for lost password
* Update server/chat-plugins/helptickets.ts
Co-authored-by: Mia <49593536+mia-pi-git@users.noreply.github.com>
---------
Co-authored-by: Mia <49593536+mia-pi-git@users.noreply.github.com>
Also includes a decent amount of refactoring to bring it in line with Showdown code standards.
---------
Co-authored-by: Slayer95 <ivojulca@hotmail.com>