Commit Graph

2802 Commits

Author SHA1 Message Date
The Immortal
a4e1db676b Gen 8 BH: Ban Libero 2019-11-16 09:20:26 +04:00
HoeenHero
f7ff21121a Correct prior commit 2019-11-15 22:27:26 -05:00
HoeenHero
be543f1f29 Disable hackmons temporarly 2019-11-15 22:25:00 -05:00
The Immortal
5fc71a6621 Fix Sw/Sh column 2019-11-16 07:15:11 +04:00
The Immortal
eeb02b7c03 Add Sw/Sh beta formats 2019-11-16 06:52:59 +04:00
TheMezStrikes
0c7f04356d Generalize NFE bans into validator rule (#5942) 2019-11-11 17:42:30 +13:00
Nol
f6d5f9ddb8 Fix DPP NU viability ranking link (#5941) 2019-11-09 01:14:15 -05:00
Lusamine
68c0634a5b Update datacenters & ip-tools (#5937) 2019-11-07 17:41:10 +10:30
The Immortal
4d4e2ddc89
ZU: Ban Shiftry 2019-11-03 00:31:43 +04:00
TheMezStrikes
636da64018 Fix Gen 3 1v1 to use gen3 mod (#5926) 2019-11-01 14:31:18 -07:00
The Immortal
c2d71d43f7 OM of the Month: November 2019-11-01 00:23:44 +04:00
The Immortal
417ab125c8 Update RoA Spotlight 2019-11-01 00:20:30 +04:00
Waleed Hassan
a518cf102a Take steps to statically type Config (#5920)
This commit changes the TypeScript global variable of `Config` from
`AnyObject` to `Config & AnyObject`.

It still falls back to `AnyObject` (hence the 'Take steps') because of
the main-specific `Config` properties that are used without being in the
`Config` object itself.

These can be added by someone with access to the PS main server.

Regardlesss, this is an improvement as IntelliSense can display and
autocomplete the known properies.

In addition, the TypeScript compiler will now report bugs
concerning the types of the properties, which I have fixed in this
commit.
2019-10-30 18:45:20 +10:30
TheMezStrikes
5aca6bb007 Team Preview in gen 4 1v1 (#5916) 2019-10-28 21:42:36 +04:00
The Immortal
cb1cf954ec
Add DPP 1v1 2019-10-28 18:11:47 +04:00
Lusamine
a1fe7d3fc9 Update datacenters and IP-tools (#5915) 2019-10-27 16:25:24 -04:00
The Immortal
3f4f82d702 Update Tier Shift bans 2019-10-21 01:50:59 +04:00
The Immortal
db1f2aa691 Remove Partners in Crime 2019-10-21 01:44:03 +04:00
Lusamine
6785111e32 Update datacenters & ip-tools (#5901) 2019-10-20 20:42:45 +10:30
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
fart
1f6a98ec86 Add 2 datacenter ranges (#5879) 2019-10-13 07:48:13 +11:00
whales
3a5907302a SSB: Update HoeenHero's rank in xfix message 2019-10-12 15:59:58 +10:30
Guangcong Luo
7d99c740f9 Fix crash in /coverage and /effectiveness
Also update /data with the correct fix.
2019-10-10 00:49:44 -04: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
The Immortal
0a89b0049c Inheritance: Disable debug after set validation 2019-10-09 05:45:17 +04:00
The Immortal
cd11b1e28a Inheritance: Re-add Forme validation 2019-10-09 04:49:19 +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
asgdf
e62c8fb29c Remove validation from Gen 3 Doubles Custom Game (#5858) 2019-10-09 00:59:57 +11:00
HoeenHero
7d130d243f Disallow Illegal formes in Inheritance
Inheritance dosen't call the standard validateSet method from the team
validator so I made it manually call validateForme on each set before
the other validation.
2019-10-05 23:08:12 -04:00
The Immortal
aaf72fc18f Fix Inheritance 2019-10-06 05:28:59 +04:00
Guangcong Luo
7a023746ba
Refactor battle.dex out of battle (#5851)
In most other similar systems, like TeamValidator, we use `thing.dex` instead of having it extend `ModdedDex`. Battle has always extended `ModdedDex`, though. This changes Battle to match the others.

This should fix an issue with `Battle.data` not being cached.

This also frees up Battle to extend ObjectReadWriteStream<string> in a future update.
2019-10-06 07:38:08 +11:00
Guangcong Luo
71498d451d
New validator (#5840)
* Refactor validator

This is a major refactor intended to make the default rules easier to
understand, and also easier for OMs to bypass.

Removed rules:
- `Pokemon`: This is now `-Nonexistent`. Its previous name was intended
  to be interpreted as "simulate the Pokémon games exactly, and only
  allow what they allow". The new name should make it clearer that it
  mainly bans CAPs and other nonexistent Pokémon and functionality.
- `-Illegal`: This is now `Obtainable` (see below).
- `Allow CAP`: This is now `+CAP`. Instead of having a hardcoded rule,
  OMs can now be manually whitelist any pokemon/item/etc or group of
  them, overriding `-Nonexistent`.
- `Ignore Illegal Abilities`: This is now `!Obtainable Abilities` (see
  below).

`Obtainable` was previously `-Illegal`, and does the same thing: Makes
sure you have a regular Pokémon game with only Pokémon that can be
obtained without hacking.

But instead of being a ban, it's now a rule that does nothing by
itself, except contain more rules:
- `Obtainable Moves`
- `Obtainable Abilities`
- `Obtainable Formes`
- `Obtainable Misc`
- `-Nonexistent`
- `-Unreleased`

This allows OMs to piecemeal repeal and unban any of these individual
rules, instead of the previous approach of unbanning them all and
manually reimplementing every single validation you wanted to keep.

* Refactor PokemonSources into a class

This mostly just makes a lot of the weirder checks in the validator
substantially more readable.

This also renames `lsetData` to `setSources`, which should also help
readability.

* Validate Bottle Cap HP types

Fixes an issue reported here:

https://github.com/Zarel/Pokemon-Showdown/issues/5742#issuecomment-533850288

* Fix several move validation issues

Fixes #5742

We have a new MoveSource type: R for Restricted. R moves work like
level-up/tutor/TM moves, except you're limited to one R move.

- Shedinja move stolen from Ninjask in Gen 3-4 are now R moves instead
  of event moves. This allows them to coexist with Nincada egg moves.

- Necrozma-DW/DM now inherit moves/events from Necrozma (like Rotom,
  but with event validation). This allows them to be shiny.

- Pokemon can now get egg moves from their own evolutions. This fixes
  some Tyrogue, Charmander, and Treecko sets mentioned in #5742

- Some more C moves were added, fixing some Hitmontop and Chatot sets
  mentioned in #5742

* Improve ability/move compatibility validator
2019-10-06 04:21:30 +11:00
Lusamine
3c8ced43af Update datacenters and IP-tools (#5849) 2019-10-05 14:53:21 +10:00
whales
d52e57eebd Prevent non-staff from seeing their own IPs (#5845) 2019-10-05 02:38:07 +10:00
The Immortal
5730583948
Inheritance: Ban Chansey 2019-10-03 01:04:28 +04:00
Marty-D
f8e933b7be Tiers: Update for October tier shift 2019-10-01 20:55:13 -04:00
The Immortal
2a28cb51da Update RoA Spotlight 2019-10-01 17:04:15 +04:00
The Immortal
ead81c7f79 Add new OMs of the Month 2019-10-01 16:20:02 +04:00
The Immortal
fe9d6f488e
AAA suspect is over 2019-09-28 21:41:54 +04:00
Lusamine
bab655fbf6 Update datacenters and IP-tools (#5823) 2019-09-27 17:00:52 +09:30
LegoFigure11
0ed8b057b3 Fix BSS17 banlist (#5821) 2019-09-27 13:33:42 +09:30
Guangcong Luo
4ec91b9b0a Change Ultra Final level to 100
Japan and Korea consistently say it's level 100. US pages are unclear:

https://3ds-sp.pokemon-gl.com/dl-regulation/6024

(currently says "level 50" in some places and "level 100" in other
places)

In the past, when this happened, the Japanese sources were correct, so
I'm setting this to level 100.
2019-09-26 23:52:15 -04:00
HoeenHero
1ab664e0ba Fix mistake in previous commit 2019-09-24 16:51:12 -04:00
The Immortal
3487b20e8e
Camomons: Ban Kommonium Z 2019-09-24 23:07:10 +04:00
051
baf90e6123 Updated Doubles OU Sample Teams link (#5810) 2019-09-23 16:12:00 +04:00
LegoFigure11
923a300a1a Update Battle Spot Special 17 banlist (#5807) 2019-09-23 05:04:36 +04:00
HoeenHero
7f7c2d9a95
Super Staff Bros Brawl Update (#5764) 2019-09-22 14:47:33 -04:00