Commit Graph

2282 Commits

Author SHA1 Message Date
Guangcong Luo
f214eb2e64 Use a global TeamValidator in dexsearch
This cleans up the final thing that was causing Chat hotpatches to also
pull in the entire `sim/` and `data/` trees.

(It's not actually used unless you're using dexsearch in single-process
mode, though.)
2026-07-13 18:30:05 -07:00
Guangcong Luo
07f4785c2c Remove Chat dependency from DexSearch
This was the original thing requiring importing Dex in Chat, which was
making hotpatching Chat all sorts of wonky.

See 14d13015af
2026-07-13 18:30:05 -07:00
livid washed
2ea18ee2bb Add July 2026 Randomized Format Spotlight (#12147)
* Remove Mega Invasion code

* Implement format

* Leads don't really exist if you can choose the order your mons go out
2026-07-05 17:08:17 -06:00
livid washed
f8ac14003a Update Champions Random Battle for 1.1.0 changes (#12119)
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
2026-06-29 07:59:36 -05:00
dot-Comfey
4ccdf0dae8 Update /trivia mergescore (#12111)
Makes it so alt merge attempts expire after 15 minutes, and makes some text clearer about which account will receive the points. Discussed with Trivia auth
2026-06-27 13:24:55 -06:00
Guangcong Luo
7fb9fe8c40 Overhaul tags and tag banning (#10941)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2026-06-23 23:20:45 -07:00
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