Commit Graph

23714 Commits

Author SHA1 Message Date
asgdf
c082ed478c Fix nameblacklist target auth check (#5882) 2019-10-14 11:00:39 +11:00
Lusamine
4497dce723 Update datacenters & IP-tools (#5880) 2019-10-13 19:28:35 -04:00
The Immortal
e49577c3c5 Inheritance: Prevent CAP 2019-10-13 20:39:07 +04:00
The Immortal
773dcdc6f4 Random Battle: Improve Lycanroc & Bruxish 2019-10-13 20:36:38 +04:00
Konrad Borowski
3732641ea8 Mark items as items (not moves) during set validation
Fixes a bug which made Fightinium Z + Detect not considered to
be banned in 1v1 format.
2019-10-13 18:09:12 +02:00
whales
4b4543b2a1 Fix typo in mafia help 2019-10-13 21:41:10 +10:30
fart
1f6a98ec86 Add 2 datacenter ranges (#5879) 2019-10-13 07:48:13 +11:00
urkerab
61faff236a Transform should copy the target's current weight (#5878) 2019-10-13 05:37:10 +11:00
asgdf
4b2e1a673e Automatically save replays for global warnings and autolocks (#5857)
* Automatically save replays for global warnings and autolocks

* Fix replay visibility for autolocks in hidden battles
2019-10-13 05:14:46 +11:00
asgdf
a702054881 Don't duplicate some mod actions in room modlogs (#5850) 2019-10-13 02:32:52 +11:00
Lusamine
66966f40d0 SSB: Fix Jolteonite's description (#5874) 2019-10-12 15:47:45 +04:00
whales
3a5907302a SSB: Update HoeenHero's rank in xfix message 2019-10-12 15:59:58 +10:30
SuddenlyQ
7ba7e0264d Add /pl as an alias to /punishlog (#5875) 2019-10-12 04:25:20 +02:00
Marty-D
6030ca127d CAP: Nerf Equilibra
https://www.smogon.com/forums/posts/8253336/
2019-10-11 21:04:44 -04:00
Torracat
d3cd75ce8d SSB: Convert Distortion World to a Pseudo Weather (#5868) 2019-10-11 18:14:24 -04:00
Lusamine
2608ca74fc SSB: Buff Iyarito, rename signature move (#5870) 2019-10-11 17:19:47 -04:00
Torracat
baef9bcb77 SSB: buff Level 51 (#5869) 2019-10-11 17:19:19 -04:00
Lusamine
1145183ca0 SSB: Clarify Tipping Over short desc (#5862) 2019-10-11 17:09:33 -04:00
Lusamine
c3068e23de SSB: Fix typo in Volco's message (#5861) 2019-10-12 00:15:56 +04:00
Lusamine
6cbfe4c11a SSB: Buff ptoad (#5871) 2019-10-12 00:15:23 +04:00
Torracat
b27df882a2 Update Rory's quotes (#5872)
bad puns make the world go round
2019-10-12 00:15:06 +04:00
The Immortal
76db134959 Random Battle: Wigglytuff doesn't learn Memento 2019-10-11 23:09:51 +04:00
Alumn
eb083c46b8 Add a full ability description for Contrary + Simple (#5873) 2019-10-11 12:36:48 -04:00
Alumn
2b8a56fdfb Fix french translation (#5866) 2019-10-11 06:40:17 +11:00
TheMezStrikes
3178912a52 Trim all command arguments (#5865) 2019-10-11 05:32:07 +11:00
Guangcong Luo
41e7c57442 Support silently uploading replays
New `/savereplay silent` command, to upload a replay without a popup.
Intended to make auto-uploads less spammy.
2019-10-10 08:57:46 -04:00
TheMezStrikes
45728784f7 Fix typo to make multi-line adduhtml work (#5864) 2019-10-10 12:33:00 +02:00
Guangcong Luo
7d99c740f9 Fix crash in /coverage and /effectiveness
Also update /data with the correct fix.
2019-10-10 00:49:44 -04:00
Guangcong Luo
d6752954ef Further improve validator
- Tyranitar egg moves are fixed

- Staravia egg moves are now properly supported
  (9742ecf62f was a hack that caused the Tyranitar problem)

- Some Pokemon evolve by having a move in their learnset (like Piloswine
  with Ancient Power). These can only carry three other moves from their
  prevo, because the fourth move must be the evo move. This restriction
  doesn't apply to gen 6+ eggs, which can get around the restriction with
  the relearner.

Fixes #2287

(Except Shiftry and friends, but those are already tracked in
`rulesets:obtainablemoves`.)
2019-10-10 06:33:33 +11:00
The Immortal
e239bdb349 Inheritance: Check if the Pokemon and Ability is real
This was removed in 71498d451.
2019-10-09 21:33:32 +04:00
Guangcong Luo
a750cd1d7a Fix crash when validating LC egg moves
I put in this `throw` because I thought this condition was impossible,
but it turns out it's possible! Good to know.
2019-10-09 06:50:45 -04:00
Guangcong Luo
5f1f230bde Fix forme validation in Hackmons
In formats without Obtainable Formes, we no longer validate bans as
if they were enabled.
2019-10-09 06:50:44 -04:00
whales
ea2dea1283 Rooms: Rooms.get can return null (#5860) 2019-10-09 18:52:33 +11:00
The Immortal
0a89b0049c Inheritance: Disable debug after set validation 2019-10-09 05:45:17 +04:00
The Immortal
6f78d6ec72 Random Battle: Fix Dhelmise 2019-10-09 05:26:24 +04:00
The Immortal
cd11b1e28a Inheritance: Re-add Forme validation 2019-10-09 04:49:19 +04:00
The Immortal
a57ee0bfed Random Battle improvements 2019-10-09 04:01:33 +04:00
The Immortal
dcd2c19901 Actually fix Inheritance 2019-10-09 03:47:14 +04:00
The Immortal
c64f9d8e2f
350 Cup: Ban Pawniard 2019-10-09 02:49:57 +04:00
HoeenHero
83fac9b019 Fix crash when getting data for tiershift 2019-10-08 11:12:29 -04:00
Lusamine
1cbcb654c1 SSB: Update HoeenHero's rank (#5856) 2019-10-09 01:00:15 +11:00
asgdf
e62c8fb29c Remove validation from Gen 3 Doubles Custom Game (#5858) 2019-10-09 00:59:57 +11:00
Guangcong Luo
2adc80efe4
Improve egg validator (#5854)
Previously, we split gen 2-5 egg move validation into two phases,
`checkLearnset` where we searched for a valid father, and
`reconcileLearnset` where we made sure the father could learn the move
combination.

Egg move validation has now been completely moved out of these
functions and into `validateSource`, which calls `findEggMoveFathers`.

The new algorithm no longer requires `C` moves to be hardcoded into
`learnsets.js`, now doing a more thorough check validation for the
father's move combination. This should be slower than before, but
net performance should be massively improved due to two other
optimizations in this refactor:

- We no longer do any father-searching if the moveset can be obtained
  any other way - in particular, this means no more father validation
  in gen 6+ where all egg move combinations are legal anyway.

- We only check fully-evolved pokemon as fathers (because anything a
  prevo can learn, its evos can learn, too - yes, we remember to make
  exceptions for Salazzle, Combee, and future-gen evos)

In addition, `/learn` should now provide significantly better
information for egg move breeding, since it uses a more thorough check
instead of the validator's short-circuiting the moment it finds a valid
father.

This also improves some baby-only move validation, specifically fixing
the issue with Seismic Toss Charm Chansey.
2019-10-09 00:59:24 +11:00
urkerab
e717abe802 Require normal targets to be adjacent in Triples battles (#5852) 2019-10-09 00:56:51 +11:00
whales
c990e015db Remove hidetext abuse monitor (#5855) 2019-10-08 18:06:00 +11:00
Astrid Halberkamp
6e07bb1ad9
Add battle filter and evasion detection to chat monitor (#5842)
* Update chat monitor to include a battle filter, as well as evasion detection

* Forgot about the roomid rename thing

* Mitigate the first problem hopefully

* Mitigate the second problem in an extremely elegant way

* Precompile the substitutions

* Make this new filter not racist towards nigerians

* Totally not ghostwritten code because i'm really smart

* Small edit
2019-10-06 22:05:53 +02:00
Astrid Halberkamp
9f86d51c4e Add Japanese translation for canTalk 2019-10-06 22:03:45 +02:00
Astrid Halberkamp
40b07528a3 Add dutch translation for canTalk 2019-10-06 22:02:51 +02:00
Guangcong Luo
3ddaebd181 Fix Let's Go Eevee/Pikachu-Starter validation 2019-10-07 01:58:56 +11:00
Guangcong Luo
bb9bfb8fcd Make validator bans/unbans apply in order
(Fixes an issue with RU's unban of Drought overriding NU's ban of
Drought.)
2019-10-06 17:54:28 +11:00