Commit Graph

23714 Commits

Author SHA1 Message Date
The Immortal
8dfa78bc70 Mix and Mega: Restrict Shuckle 2019-09-12 02:15:20 +04:00
Flametix
a374c6aa8b Fix typo in Gen 1 accuracy hint (#5771)
accurracy -> accuracy
2019-09-11 09:10:08 -07:00
Astrid Halberkamp
02a04e7c2e TOTD: add anotd for the anime and manga room 2019-09-11 17:28:13 +02:00
Astrid Halberkamp
315d5eb156 Make /busy do /blockpms + by default 2019-09-11 17:28:13 +02:00
Astrid
302864bc33 Fix up Dutch translation 2019-09-11 17:28:12 +02:00
Astrid
1bb59d703f Add Hindi translation 2019-09-11 17:28:12 +02:00
Jeremy Piemonte
985caee5ff Blackjack: Fix spacing typo in forceend modlog (#5721) 2019-09-10 22:59:56 -07:00
Kirk Scheibelhut
19d768e00e Fix mistakes from #5749
- and error 'ls' found its way into the source
- the sets/{README.md,index.d.ts} were excluded which also meant
  the sets/ directory didn't exist, causing errors
- the command is `npm publish --access public` not `publish`
2019-09-10 21:16:49 -07:00
Kirk Scheibelhut
b9e5fcb387
Introduce set importer logic (#5749)
`node tools/set-import [version]` can be run to create a
`@pokemon-showdown/sets` package containing sets from Smogon, usage
stats and third party sources. Some notes:

- The build is set up so that `tools/set-import/importer.ts` is
  compiled to `tools/set-import/importer.js` - creating a
  `.tools-dist/set-import` directory for the sole artifact was
  deemed to be overkill
- The sets package is generated such that it can be used easily on
  Node or in a browser (where the large set JSON can be loaded
  asynchronously)
- Supported tiers/formats are mostly arbitrary - those popular
  enough to have a signficant playerbase or analyses on Smogon have
  been included, but additional formats can be added based on demand
- Some set information is redundant for ease of use by downstream
  users: certain formes are split out and information that could
  theoretically be inferred like level/ability/HP IVs are included
  to simplify parsing logic and make the sets more immediately
  available. This results in what should mostly be negligible
  size overhead.
- In a similar vein, display versions of effect names instead of IDs
  are used (name -> ID is trivial, ID -> name requires data lookup)
- All sets pass validation, provided certain simple transformations
  are applied (eg. reverting `battleOnly` formes like Megas)

This tool has primarily been tested to run on Linux - running on
other platforms is not guaranteed to result in error-free output.
2019-09-10 21:15:05 -04:00
Nol
a60dd6fb11 Fix typo (#5767) 2019-09-09 00:09:06 -05:00
Ben Davies
59314bc69e Remove a line in /cmd userdetails that's no longer necessary 2019-09-08 23:40:13 -03:00
Ben Davies
190ace0902 Fix typo in edge case in /cmd userdetails 2019-09-08 23:38:22 -03:00
Ben Davies
75df03c35a Make a couple improvements to /cmd (#5766) 2019-09-08 21:52:31 -04:00
The Immortal
7792b10201
ORAS Monotype: Ban Mega Medicham 2019-09-09 00:19:45 +04:00
TheJetOU
f2783c642d Add a RoomID type (#5759) 2019-09-07 14:15:27 -05:00
whales
52a5312550 Fix bug in IPTools#testConnection (#5763) 2019-09-07 02:03:09 -05:00
Marty-D
3dafeb57ff
Gen 3 Ubers: Unban Smeargle + Ingrain 2019-09-06 20:35:31 -04:00
Lusamine
b69a7800d4 Update IPTools and datacenters (#5762) 2019-09-06 20:33:51 -04:00
TheJetOU
cc333f4fdf Improve Lottery (#5748)
- Anyone can now see the amount of participants
- Max winners can't go above `Number.MAX_SAFE_INTEGER`
- `/lottery edit` can be used to edit the lottery
- "Page unavailable" is not shown to guest users, instead the not "allowing guests to join" is deferred to `/lottery join`.
- Punished users are dropped before generating winners
2019-09-06 10:19:42 -04:00
Marty-D
13622b1e30
LC UU: Correct banlist 2019-09-04 22:09:38 -04:00
Marty-D
211b9b9309
Battle Spot Special 17: Allow Alolan Sandslash 2019-09-04 22:08:37 -04:00
Ben Davies
3eb70cdd90 Update the server WRT SockJS desktop client fix (#5757) 2019-09-04 14:54:11 -05:00
051
14b0df96a7 Battle Spot Special 17: Fix typos (#5756) 2019-09-04 11:04:36 -04:00
The Immortal
b096c19aa9 Random Battle: Improve sets 2019-09-04 17:03:57 +04:00
LegoFigure11
8fc0714314 Add Battle Spot Special 17 and remove 16 (#5752) 2019-09-04 15:58:12 +04:00
whales
4d556c8fd8 Fix modlog entries for autolocks in groupchats (#5753) 2019-09-04 02:01:49 -05:00
Ben Davies
2e586e0a58 Update the server WRT client connection timeouts (#5751)
* Remove the new xhr-streaming ghost connection hack

Once the client uses timeouts, this is no longer necessary.

* Update SockJS client to v1.4.0

This fixes an issue where it would attempt to parse the entire HTTP
response received as JSON, not the response's body alone.
2019-09-03 21:32:06 -05:00
asgdf
5b2f993b12 Fix some small oldgens dexsearch issues (#5750)
* Fix searching by BST with /ds1

* Use gen-appropriate type effectiveness in /ds
2019-09-03 09:58:54 +04:00
The Immortal
eba65e878a Display abilities against Magic Guard
https://github.com/Zarel/Pokemon-Showdown/projects/3#card-23723659
2019-09-03 03:26:16 +04:00
The Immortal
23af96b9e4 STABmons: Ban Araquanid 2019-09-03 02:53:08 +04:00
The Immortal
2cf5ff1fcf Fix build 2019-09-03 02:32:18 +04:00
The Immortal
82e4217d46 Fix past gens Challenge Cup 2019-09-03 01:53:53 +04:00
The Immortal
44d637f7b1 Random Battle: Add sound move counter 2019-09-03 00:40:23 +04:00
The Immortal
e8c58c443e Re-add Gen 4 NU 2019-09-03 00:33:43 +04:00
The Immortal
e416b34129 Random Battle fixes 2019-09-02 04:58:35 +04:00
Kirk Scheibelhut
4f70c022d6 Correct EBC switch condition to match the spec
"at least one team does not have the option of switching to a
non-stale Pokémon"
2019-09-01 16:17:36 -07:00
The Immortal
ada2e5ee46 Mergemons: Update bans 2019-09-02 01:24:45 +04:00
Marty-D
5851b1598d
LC UU: Update banlist 2019-09-01 14:54:35 -04:00
HoeenHero
44dcede8ff Fix crash in alts 2019-09-01 14:10:58 -04:00
The Immortal
aba67d6db4 Random Battle: Add minimum speed for Life Orb 2019-09-01 21:16:54 +04:00
The Immortal
09311dba14 Fix Magician & Fling interaction 2019-09-01 20:46:18 +04:00
The Immortal
cc8388b420 Update RoA Spotlight 2019-09-01 20:32:50 +04:00
The Immortal
92d13b2463 Add new OMotM 2019-09-01 20:32:32 +04:00
The Immortal
26dfe8fd9e Revamp Random Battle
- New ability ratings
- Improve move pools
- Allow non-status moves to be re-rolled if rejected (this fixes all undesired move set combinations)
- Update move & ability rejections
- New item possibilities
2019-09-01 19:40:53 +04:00
Kirk Scheibelhut
f936d9d4be Remove extra <br /> in lottery display
This seemed desirable in tested, but probably because I hadn't
refreshed. Also, the creator can wrap their content in a div and
give it a margin-bottom.
2019-08-31 22:19:36 -07:00
Kirk Scheibelhut
92d0df80d9 Tweak lottery page display
Center header/button/results when there's a lottery taking place.
2019-08-31 22:07:49 -07:00
Guangcong Luo
7e58790121 Fix bugs when logging out during a RoomGame 2019-08-31 10:50:00 -05:00
TheJetOU
e476279ba5 /showpunishments: Fix sorting (#5741)
(Thanks to @DaWoblefet for the report)
2019-08-30 13:02:15 -05:00
whales
71f4c020c1 Show trusted status is whois (#5740) 2019-08-30 09:46:57 -05:00
whales
16551a7c5c Typescript lottery (#5739) 2019-08-30 09:12:49 -05:00