Guangcong Luo
7436c1f0f2
Remove import = and export =
...
`import =` and `export =` are really only intended for backwards
compatibility with CommonJS. While I really don't like the new module
system TC39 has designed for us, it's what we should be using, and
consistency is important.
2019-05-16 01:27:07 +04:00
Marty-D
b262144d83
Datacenters: Update ranges
2019-05-15 14:50:47 -04:00
Kirk Scheibelhut
032096b53b
Fix indent in server/loginserver.ts
2019-05-15 09:51:28 -07:00
HoeenHero
3c1294bcca
Properly handle users leaving tournaments
2019-05-15 11:13:31 -04:00
jetou
a9ac65362f
LoginServer: Fix makeRequests ( #5501 )
2019-05-14 21:32:18 -07:00
Quinton Lee
571bd9f68d
LoginServer: Fix instantRequest
2019-05-14 22:39:39 -05:00
Kirk Scheibelhut
56768f45de
Fix /eff regression for type names
2019-05-14 17:26:04 -07:00
Jacob McLemore
0ae5f842d3
Fix Fusion Bolt and Fusion Flare's interaction with each other ( #5493 )
2019-05-14 15:49:51 -04:00
Marty-D
b7b349c15d
UU: Keep Mega Sableye banned
2019-05-14 15:48:34 -04:00
jetou
9fd6daa6d8
Initialize players with the player rank ( #5499 )
2019-05-14 16:56:43 +10:00
Guangcong Luo
4e3d3662ce
RoomBattle: Don't destroy players at end of game
2019-05-14 11:04:34 +10:00
Guangcong Luo
e1c364fb79
Refactor DNSBL -> IPTools
...
This is mostly a TypeScript refactor, but it does come with several
renames:
Dnsbl -> IPTools
Dnsbl.query -> IPTools.queryDnsbl
Dnsbl.reverse -> IPTools.getHost
2019-05-14 10:57:08 +10:00
Kirk Scheibelhut
9fb516a2a4
Update reference to EBC spec
2019-05-13 16:25:49 -07:00
Konrad Borowski
f2ef0b62ab
Remove TODO from flatMap implementation
...
Closes #5369
2019-05-13 19:58:20 +02:00
Kirk Scheibelhut
3d24166cdf
toId -> toID
...
Closes #5479
2019-05-12 17:53:01 -07:00
The Immortal
8019aeec10
Random Battle updates
2019-05-12 18:31:56 +04:00
Guangcong Luo
ca4247c7e6
Fix full-replay uploading
2019-05-12 13:26:40 +09:30
Guangcong Luo
2093539e06
Update RoomGame API ( #5492 )
...
- The big change here is that player.userid can now be empty. You can
now fit state into RoomGamePlayer subclasses even when there are no
users associated with them.
- `game.players` has been introduced as the new canonical list of
players, including userless players. The old `game.players` has been
renamed `game.playerTable`, for clarity.
- `game.addPlayer` now returns the added player
All existing RoomGames have been updated for the new API, and
RoomBattle is now officially a RoomGame subclass.
Tournaments was also massively refactored to be properly updated for
the old API, since that never happened, and should now be a lot more
readable.
2019-05-12 12:56:32 +09:30
whales
601759bbe3
Stop hidetext message from getting hidden ( #5497 )
2019-05-11 12:08:09 +09:30
The Immortal
3bba4da674
Trademarked: Ban King's Shield and Metronome
2019-05-11 04:25:27 +04:00
Marty-D
de381d095f
RU: Allow Reuniclus
...
https://www.smogon.com/forums/posts/8125573/
2019-05-10 19:44:45 -04:00
Kirk Scheibelhut
3bc88f4851
Add Chat.html to ignore-pattern for long lines
2019-05-10 09:38:19 -07:00
jetou
9a7ce703f2
TypeScript server/chat formatter.js ( #5495 )
2019-05-10 09:23:46 -07:00
Kirk Scheibelhut
297b7a951c
Mark EBC, Random Team Generator and serialization tests as slow
2019-05-09 17:47:00 -07:00
HoeenHero
562c021273
SSB: Fix self-switch that do no damage
2019-05-09 20:28:41 -04:00
jetou
3a03568be2
TypeScript ladders-remote and ladders-local ( #5490 )
2019-05-09 11:09:27 -07:00
Guangcong Luo
5909977271
Remove TravisBuddy
...
It's still buggy and https://github.com/bluzi/travis-buddy/issues/144 hasn't been updated in months.
We should probably migrate away from Travis CI soon.
2019-05-09 12:32:33 +09:30
Kirk Scheibelhut
aeafb34a96
Fix double [still] in Gen 1 ( #5491 )
...
Moves with the 'charge' flag add the 'twoturnmove' volatile which
already handles adding [still].
2019-05-09 12:18:12 +09:30
Kirk Scheibelhut
be82a3b817
Move -mustrecharge message to onStart ( #5488 )
...
This way it doesn't show up at the end of the turn or get added 3 separate times.
Fixes #5462 .
2019-05-08 16:39:56 -04:00
Tmi489
b5e9d62bab
Update past-gen Custom Games for modern rules ( #5481 )
2019-05-09 01:47:03 +09:30
Kirk Scheibelhut
29430984f6
Only add the '-status slp' message in statuses ( #5486 )
2019-05-08 11:52:44 -04:00
jetou
600ee612d2
TypeScript server/loginserver.js ( #5485 )
2019-05-07 21:17:53 -07:00
The Immortal
5ca2ddbbea
Random Battle: Remove Water Spout Kyogre-Primal
2019-05-08 05:05:21 +04:00
The Immortal
c5ffc79ea6
Trademarked: Add suspect test
2019-05-08 05:01:33 +04:00
Marty-D
88118dd1c5
NU: Add Mega Camerupt suspect notice
2019-05-07 08:32:17 -04:00
Jacob McLemore
a1f18f0290
Chat-Plugins: Fix regression in weakness command ( #5484 )
2019-05-07 18:42:53 +09:30
whales
1a41502ff2
Stop hidetext hiding the log message ( #5483 )
...
Relevant when hidetexting yourself
2019-05-07 16:42:57 +09:30
Kirk Scheibelhut
a9b26fce72
Typescript server/verifier.js ( #5482 )
2019-05-07 14:09:01 +09:30
Kirk Scheibelhut
3f1fa344b9
Change EBC cast to use 'as'
2019-05-06 19:48:23 -07:00
Guangcong Luo
2cd150d1da
Merge EBC and ID changes
2019-05-07 12:07:41 +09:30
Kirk Scheibelhut
a0734bde6f
Redo Endless Battle Clause with a new specification ( #5472 )
2019-05-07 11:18:06 +09:30
The Immortal
4f08a4e4a9
Trademarked: Ban Ingrain
2019-05-07 03:16:58 +04:00
The Immortal
2935344fcd
Move Lilligant to PUBL
2019-05-06 22:12:52 +04:00
Marty-D
d7d1901535
Datacenters: Add new ranges
2019-05-06 12:28:08 -04:00
Marty-D
8980989580
DNSBL: Add some hostnames
2019-05-06 12:26:01 -04:00
Marty-D
611ddbd6f2
Fix crash in Trump Card
2019-05-06 12:23:36 -04:00
Kirk Scheibelhut
49403556d1
getEffectByID ( #5475 )
2019-05-06 13:05:12 +09:30
Konrad Borowski
6f41e28982
Trivia: Remove Weakest Link commands from help
...
This game mode is played very rarely.
2019-05-05 19:27:28 +02:00
The Immortal
99f3aa0445
ORAS LC: Ban Baton Pass
2019-05-05 19:38:55 +04:00
Austin Couturier
fc53f38cd2
[Gen 5] 1v1: Ban Perish Song ( #5476 )
...
[15:18:44] dom: can some1 ban perish song from gen5 1v1 i lead that tier thanks
2019-05-05 18:53:58 +04:00