Commit Graph

27730 Commits

Author SHA1 Message Date
HiZo
f09476998e
Trademarked: Don't movelock the user into a Trademark (#11117) 2025-05-17 14:38:37 -07:00
skymin3
337c3ed4dd
Trademarked: Restrict Skill Swap (#11115)
https://www.smogon.com/forums/threads/trademarked.3714688/post-10562311
2025-05-17 13:15:56 -07:00
HoeenHero
7f4f4fe584 Timer: Properly detect first turn when automatically starting the timer
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-05-17 09:08:24 -04:00
Guangcong Luo
c5e63f84ab Fix crash when restarting with active Bo3
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-05-16 10:42:56 -07:00
André Bastos Dias
a7f7e9049c
Send detailschange after forme regression (#11113) 2025-05-16 10:26:36 -07:00
Guangcong Luo
f13fe4495b Fix timer bug
nextRequest is no longer called on all players simultaneously,
meaning turnSecondsLeft might not be initialized when the timer starts.
2025-05-16 10:25:50 -07:00
André Bastos Dias
9af6808163
Update aliases and base formes (#11111) 2025-05-16 09:53:48 -07:00
Guangcong Luo
c5ef8ea3e5 Update timer for requests after updates
I figured PR #11105 would have some unintended side effect, but this
one isn't bad at all. There's no longer an easy way to tell whether
requests are move requests or not, but it's easy enough to instead
track the current turn.
2025-05-16 09:15:50 -07:00
André Bastos Dias
8158284427
Refactor fainted forme regression (#10878)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-05-16 07:40:49 -07:00
skymin3
ca3e6faaae
Trademarked: Ban Wish (#11110)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-05-15 21:04:14 -07:00
shrianshChari
27f55f7116
[Gen 3] ADV 200: Vulpix gets Spite by breeding with the event Absol (#11112) 2025-05-15 21:00:38 -07:00
Guangcong Luo
091241f1bb
Sim: Emit requests after updates (#11105)
Fixes #8546
2025-05-15 20:30:02 -07:00
André Bastos Dias
3db46c58eb
Implement White Herb and Eject Pack like Mirror Herb (#10890)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-05-15 11:39:46 -07:00
livid washed
4f270fa968
Random Battles: Improve set generation with >4 moves (#11104)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
* Improve Random Battles handing of increased max moves

* use moves.size instead of this.maxmovecount

* oops

* lint
2025-05-14 13:45:50 -06:00
Kris Johnson
ec15de7e79
Gen 1: Fix partial trapping error message order
Fixes sending the can't move message after the partially trapped Pokemon has already moved
2025-05-14 10:05:18 -06:00
shrianshChari
0e2a8001ff
Validator: Check if Smeargle is nonstandard instead of its tier (#11107) 2025-05-14 08:33:10 -07:00
André Bastos Dias
a4fbc8619b
Fix Gen 4 Snatch (#10905) 2025-05-14 08:26:15 -07:00
shrianshChari
f23c953273
Fix egg move validation when Smeargle is Unreleased (#11102)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-05-13 19:46:36 -07:00
André Bastos Dias
be76e2a686
Fix requiredTeraType (#11106) 2025-05-13 15:08:38 -07:00
André Bastos Dias
d25aba9aff
Fix: Terastallize Ogerpon and Terapagos with different Tera types (#10814) 2025-05-13 14:44:46 -07:00
Guangcong Luo
72d7d38568
SIM-PROTOCOL: Update for clarity
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
Fixes #9911
2025-05-13 13:29:53 -07:00
skymin3
012b6716fb
Have invalid !rfaq fail over to !faq (#11096)
* !rfaq fail over to !faq 

Approved Suggestion: https://www.smogon.com/forums/threads/have-rfaq-fail-over-to-faq-if-a-match-is-not-found.3687458/ 

Code calls for RFAQ topics if that fails it checks the FAQ topic list. Sounds straightforward until you realize the faq broadcast fail command is archaic and for some reason the failed FAQ broadcast message still goes through on top of the actual faq error return message, along with the faq help, it's very messy I might just fix that next. This is bypassed by having the run broadcast call AFTER the topic is read as valid, so none of this nonsense can happen. I really thought this would be easy, turns out, not really (atleast for me).
2025-05-13 12:00:19 -07:00
Guangcong Luo
fe45b7d1bf Add |queryresponse|teamupdate| for /teams 2025-05-13 10:42:37 -07:00
skymin3
80c1460db8
Improve error messages shown to non-autoconfirmed (#11057)
https://www.smogon.com/forums/threads/improve-the-error-messages-shown-to-non-autoconfirmed-users-trying-to-access-certain-features.3737016/#post-10532853

A few of the non-autoconfirm error messages don't explain what autoconfirm means, which a new user likely doesn't know what autoconfirm is.
2025-05-13 09:12:52 -07:00
Kris Johnson
48d4a386b7 /roompromote: Fix punctuation on messages logged to staff room 2025-05-13 09:32:57 -06:00
FeluciaPS
ab3e4f4c50
ORAS 1v1: Ban Mew (#11099)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
https://www.smogon.com/forums/threads/1v1-old-gens.3646875/post-10554192
2025-05-12 18:46:20 -07:00
Guangcong Luo
a7489f0995 Fix /removedaily with two args
Fixes #11103
2025-05-12 17:45:59 -07:00
Sergio Garcia
d044cd7bc5
Github Actions: Fix linter issues and bump old actions (#11101)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
As reported by `actionlint`
2025-05-12 07:13:58 -07:00
skymin3
a7e9d9883b
Trademarked: Update bans (#11098)
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
(Mew, Zamazenta-Hero, Trick, Switcheroo, all confusion moves, Toxic)

https://www.smogon.com/forums/threads/trademarked.3714688/post-10550469
2025-05-09 17:49:18 -07:00
Kaen
fb65a43ced
Trademarked: Update bans (#11091)
https://www.smogon.com/forums/threads/trademarked.3714688/page-5#post-10546099

Shed Tail is also supposed to be fully banned.
2025-05-09 17:03:23 -07:00
shrianshChari
33f7b41d03
[Gen 3] ADV 200: Implement One Boost Passer Clause (#11095)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-05-08 18:46:34 -05:00
shrianshChari
f2c7891775
UNO: Notify player if drawn card cannot be played (#11069) 2025-05-08 14:28:09 -07:00
Guangcong Luo
b979451e76 Fix uploading packed teams
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
Packed teams weren't supported because `splitFirst` was called with
too high a limit. This fixes that.
2025-05-07 20:20:14 -07:00
Guangcong Luo
23c387f4a0 Add privacy to |queryresponse|teamupload|
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-05-07 19:45:01 -07:00
Mia
9a670548fa Teams: Account for OMs in validation 2025-05-07 20:14:52 -05:00
Guangcong Luo
d25ab4b4b3 Sync eslint with client
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
Mostly this is relevant for `context.tr` tagged lines to be unlimited
length.
2025-05-06 22:13:03 -07:00
slainey
548f6911e9
Daily Spotlight: Add Delete button in list page (#11065)
---------

Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2025-05-06 22:07:38 -07:00
Giagantic
a01bb7d4a3
Balanced Hackmons: Ban Power Trip (#11092)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
* Balanced Hackmons Banned Power Trip Due to Suspect!

https://www.smogon.com/forums/threads/sv-bh-suspect-5-power-trip.3763405/post-10546843

* Update config/formats.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-05-05 20:12:28 -06:00
missshowdown
906cc41d41
Update GSC PU/ZU tiering (#11093)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
https://www.smogon.com/forums/threads/gsc-pu-viability-rankings-furret-less-post-16.3673353/post-10539134
2025-05-05 17:04:59 -06:00
Guangcong Luo
42d52e36e0 Refactor spotlights
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
Fix /removedaily, adding a new "all" option to work like it's
documented to work, and fix the documentation.

Also remove support for legacy image format. A lot of functions were
async that didn't need to be.

Also remove an entirely unused sorting pass mistakenly introduced in
11ab3d83f8
(The queue was sorted, then immediately ignored to iterate it by index,
which is for the best, because showing the queue in any order other
than queue order is not useful.)
2025-05-05 07:05:59 -07:00
Guangcong Luo
a1e9066f9e Use class="details" and class="gray" 2025-05-05 04:43:05 -07:00
André Bastos Dias
79fd439fcd
Sim: Refactor event callbacks into a getter (#11089)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-05-04 18:12:59 -07:00
Kris Johnson
a8b794b1a7 SSB: marillvibes renamed to calmvibes
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-05-03 21:45:01 -06:00
Kris Johnson
ce7f05e240 SSB: Fix Archefaewild placement 2025-05-03 21:39:00 -06:00
Kris Johnson
8835f8b73d SSB: Rename DianaNicole 2025-05-03 20:56:42 -06:00
Karthik Bandagonda
6d7778167d
Auctions: Auto create players when using assignplayer (#11085)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-05-03 11:41:24 -05:00
Kaen
31e7e9bab5
Trademarked: Update bans (#11086) 2025-05-03 02:42:34 -06:00
shrianshChari
9bd91a6dae
[Gen 3] ADV 200: Re-add Wish Bagon event (#11084)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-05-02 18:07:07 -06:00
shrianshChari
751ac04a21
[Gen 3] ADV 200: Fix learnsets (#11080)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
* Goldeen line only learns Megahorn in FRLG

* Tentacool and Anorith only get Rapid Spin when chain bred through Kabuto

* No Pokemon can get the move Present without Delibird from FRLG

* Sandshrew gets Metal Claw by by breeding with Sneasel

* Oddish only leearns Swords Dance by move tutor or chain breeding with Hoppip

* Kirlia only learns Magical Leaf in FRLG

* Cacturne only learns Destiny Bond and Revenge in FRLG

* Corphish line only learns Crunch in FRLG

* Spheal only learns Defense Curl in FRLG

* No Pokemon gets Wish as an egg move until FRLG

* Remove all event moves

* Add learnsets for the Igglybuff line

* Pichu cannot obtain Volt Tackle until Emerald

* Re-legalize "Pokemon Center 5th Anniversary Eggs" moves

* Make PC 5th Anniversary moves exclusive

* Igglybuff can get Wish by breeding with the Wish Pikachu

* shroomish-rayquaza

* Update learnsets.ts

* Update learnsets.ts

* Update learnsets.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-05-01 20:15:37 -06:00
Kaen
4ff71c51e0
Trademarked: Update bans (#11081)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-05-01 16:17:12 -06:00