Commit Graph

2276 Commits

Author SHA1 Message Date
Karthik Bandagonda
665f507b48
Champions: Implement 1.1.0 changes (#12114)
* Champions: Implement 1.1.0 changes

* Update more levitate references and update move descs

* Fix Rage Fist desc again

* Update data/mods/champions/moves.ts

* Change champions mod check to use startsWith

* Update moves.ts

* Update scripts.ts

* Delete data/mods/championsregma/moves.ts

* Apply suggestion from @KrisXV

* Update items.ts

* Update items.ts

* lint

* clean up mod

* Update mega abilities

* Update formats.ts

* Update teams.ts

* Update formats-data.ts

* Update pokedex.ts

* Update config/formats.ts

* Update sim/teams.ts

* Apply suggestion from @KrisXV

* Apply suggestion from @KrisXV

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2026-06-17 17:10:22 -06:00
livid washed
8f0364fa41
Implement Champions Random Battle (#12089)
* Implement Champions Random Battle

* Move type-boosting item hard-codes before the general conditions

* Acrobatics on sd gliscor

* Remove unnecessary move incompatibility

* Update test

* Silk Scarf Sheer Force Tauros

* Reorganize tests

* Set winrate threshold to 1200

* Remove HP Percentage Mod

* Fix EVs stat calculation formula

* oops
2026-06-12 16:37:14 -06:00
MathyFurret
3d25154b04 Artemis: Escape HTML in edithistory
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2026-06-02 16:31:19 -05:00
Kris Johnson
833989854c Add June 2026 spotlight ladders 2026-06-01 15:19:04 -06:00
Aurastic
c386c07697
Chat: Allow groupwatch in kpop room (#12066)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2026-05-24 22:12:16 -07:00
livid washed
645bca826c
Revamp [Gen 8] Random Battle (#11993)
* Move old setgen system to BDSP file

* Set up the framework so that Gen 7 inherits from Gen 8 inherits from Gen 9 files

* Complete most of setgen

* Final items and stuff

* Final sets file

* Fix tests and other rands formats

* move isDoubles to the end of addMove()

* Fix Gen 1 Hackmons rule support

* Fix a couple things

* A couple more set tweaks

* update /randbats command

* lint

* typo

* Staller protect moves = lefties

* Simplify Psychic STAB enforcement on Sigilyph

* SD Garchomp should get Lum Berry, not Rocky Helmet

* Remove unnecessary remnants from gen 7 code

* Remove redundant status incompatibilities

* Simplify status/tspikes incompatibility

* Fix Dynamax User not generating

* Oops sorry

* Fix Rain Dance + Flip Turn Kingdra

* Ice Fang Dracovish is objectively bad

* improve role name

* let specs jynx exist

* I really need to exempt this

* I really need to exempt this

* Merge branch 'master' into gen8rev; fix merge conflicts
2026-05-04 21:20:08 -06:00
livid washed
e5e53298d9
Add May 2026 Randomized Format Spotlight (#12003)
* Add May 2026 Randomized Format Spotlight

* Enforce pin missile on mega heracross

* Pair perish song + protect for mega gengar

* Tinker with sets a bit

* Split glalie-mega for easier code

* fix glalie tera types

* Fix a set and add broadcast message at the beginning of battles

* Apply suggestion from @KrisXV

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2026-05-04 03:16:34 -06:00
iforgetwhyimhere
82f476388b
CCAPM2025: Rebalance Session 1 (#11978)
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
* Convert CCAPM to an unbanlist

* CCAPM: Balance Session 1

* CCAPM: Report winrates

* ccapm2025randombattle: Add alias "CCAPM"

* CCAPM: Gaslight

* removed the wrong staka set

* lint

* lint 2 electric boogaloo

* Update data/mods/ccapm2025/items.ts

* Update data/mods/ccapm2025/abilities.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2026-04-25 14:19:56 -06:00
Aurastic
c1950e3256
UNO: Fix autodq crash during wild color selection (#11942)
* UNO: Fix autodq crash during wild color selection

* improve error message

Co-authored-by: Slayer95 <ivojulca@hotmail.com>

* Update server/chat-plugins/uno.ts

---------

Co-authored-by: Slayer95 <ivojulca@hotmail.com>
2026-04-14 13:16:25 -06:00
Mia
1e2048e2a4 Github: Up cooldown on PR displays to one hour 2026-04-06 13:50:18 -05:00
André Bastos Dias
ae608f5fcf
Fix Order Up's interaction with Sheer Force (#10891)
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
2026-03-27 17:40:55 -05:00
Slayer95
1832b39b7b
Allow highlighting on broadcast !faq,rfaq,daily,avatars (#11818)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2026-03-16 22:03:01 -07:00
MathyFurret
50ad403c5c Help tickets: Escape HTML in lock reason 2026-03-03 11:51:46 -06:00
Mia
8a0685b03f Ladder tours: Cap deadline length 2026-03-01 01:11:09 -06:00
iforgetwhyimhere
c55e84f7cb
Add randffats command help (#11759)
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
2026-02-11 17:22:56 -05:00
Lucas
e847960a1b
Add different dexes to /reevo (#11731)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
Co-authored-by: Meijer,L. (Lucas) <l.meijer6@students.uu.nl>
2026-02-01 16:32:18 -07:00
André Bastos Dias
ea822f8863
Auctions: Show managers of top bidder in bid info box (#11702) 2026-01-13 11:02:16 -07:00
André Bastos Dias
684150d9d7
Implement Mega Stones as {key: value} pairs (#11684)
* Implement Mega Stones as pairs {key: value}

* Fix Mega Evolution check

* Add constructor guards to Dex getters

* Update config/formats.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2026-01-08 14:59:22 -07:00
Aurastic
35e871e1d1
Thing of the day: Add destroy handler (#11694) 2026-01-08 14:21:17 -07:00
André Bastos Dias
7a3f4dbbe2
Update Official Formats to Regulation I (#11686) 2026-01-05 20:40:27 -06:00
Kris Johnson
c671f43d50 Add a /1v1factory command 2026-01-05 16:24:32 -07:00
Aurastic
7d2de8779e
Thing of the Day: Add auto-start support (#11633)
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
2025-12-19 22:39:55 -06:00
Kris Johnson
2c58b396cb Mix and Mega: Release Z-A stones
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-12-15 19:53:21 -07:00
Mia
5a02f59339 Usersearch: Exempt guests from term matches on overview page
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-12-14 23:21:19 -06:00
Kris Johnson
27ecc9e7d1 Legends Z-A: Update legality 2025-12-12 12:48:24 -07:00
Kris Johnson
9df07a958d Z-A OU: Ban Shed Tail 2025-12-12 00:59:18 -07:00
Kris Johnson
30ff784f2c
Z-A: Add DLC Pokemon (#11613)
* Z-A: Add DLC Pokemon

* za ou learnsets

* zaou changes

* skip test 4 now

* dfadasas
2025-12-12 00:04:05 -07:00
Sergio Garcia
13aa6355af
Fix various typos (#11607) 2025-12-08 18:38:02 -06:00
Mia
874aa6f73c Fix link extraction in smogtours art credit field
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
GOD. FUCK. FUCK THIS. WOW. CANNOT BELIEVE IO SUFFERED THROUGH DEBUGGING THIS FOR HOURS _THE FIRST TIME_ AND MANAGED TO FORGET IT EVEN THOUGH THE METHOD I HAD TO FIX IT WITH IS _FOURTEEN LINES ABOVE_. FUCK.
2025-10-28 13:42:30 -05:00
Slayer95
4b8c6a4d6d
Refactor startup (#11346)
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
This minimizes side effects of import/require across the codebase,
and lets the caller be responsible of initializing child processeses,
as well as other async logic, such as restoring saved battles.
2025-10-17 19:37:47 -07:00
Aurastic
b7c444cee5
make plza default (#11511) 2025-10-17 13:07:19 -06:00
Lusamine
8a75295b1b
Wi-Fi: Change Z-A GA background for readability (#11512) 2025-10-17 13:07:01 -06:00
Aurastic
558a799c81
Wi-Fi: Add support for PLZA (#11505)
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
2025-10-15 20:35:51 -06:00
Alex "Mathy
6bf169523d
Datacenters: Log to upperstaff (#11450)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-09-16 21:32:34 -05:00
Kris Johnson
336f1d58f1 Make SCL rooms super secret
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
2025-09-11 18:00:58 -06:00
ACakeWearingAHat
c3e0bbd61d
Revamp Gen 9 Free-For-All Random Battle (#11406)
* WIP free-for-all revamp

* bonus touches

* Create ffa-sets.json

* Most stuff besides items

* Fix plate distribution logic

* The Palafin thing

* Update teams.ts

* Update index.ts

* Update server/chat-plugins/randombattles/index.ts

Co-authored-by: pyuk-bot <21160928+pyuk-bot@users.noreply.github.com>

---------

Co-authored-by: MacChaeger <21160928+pyuk-bot@users.noreply.github.com>
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-08-31 23:58:46 -06:00
Kris Johnson
8797d4628c Remove inactive ladders 2025-08-31 23:57:15 -06:00
Mia
16765c31f7 Helptickets: Add usercard for reporter 2025-08-17 13:42:19 -05:00
Mia
ffe2f3111b Helptickets: Properly log claim duration for text tickets
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-08-14 21:51:44 -05:00
Mia
99c0799376 Teams: Don't crash on close when database not enabled
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-08-12 11:05:11 -05:00
Karthik99999
f1055d9c1c Spotlights: Fix missing comma in source
I'm bad
2025-08-11 18:48:06 -04:00
Karthik99999
2ceb8375b6 Spotlights: Remove image dimensions from source 2025-08-11 18:42:34 -04:00
Lucas
7e6cea3605
Mafia: Add Search Capability (#10682)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-08-10 13:52:03 -04:00
Lucas
ccd9b5cae7
Update ChatBats winrates tracking (#11338)
* Update ChatBats winrates tracking

Set ChatBats to have no minimum ELO to start tracking winrates

* Update winrates.tsx

* Update winrates.tsx
2025-08-07 16:13:29 -06:00
Slayer95
018ea4abef
Support running PS in a single process again (#11331)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-08-07 00:29:18 -07:00
Emikatana
21495a92f1
Add new Pet Mods Leader's Choice (ChatBats) and Remove Previous Leader's Choice (#11309)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
* 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>
2025-08-06 01:05:03 -06:00
Mia
4a8341586a Database: Fix PG syntax error in update, remove unnecessary set method
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-08-05 16:38:28 -05:00
Mia
d32ad3dc98 Teams: Insert dates properly after migration
Numbers don't get validated right ffor dates, here. Only ISO strings and __maybe__ date objects? Definitely ISO strings, though
2025-08-04 22:03:29 -05:00
Mia
70f9725113 Seasons: Remove logging for failed ladder requests 2025-08-04 22:00:29 -05:00
Mia
18cdce9803 Fix merge errors 2025-08-04 21:55:33 -05:00