Albert Zhang
b56eb6678d
Convert for...length loops in top-level js files to for...of loops ( #4007 )
...
NOT converted:
- Loops where the index was needed (these could be converted using Array.entries(), possibly)
- Loops that were iterated backwards
- Other weird loops that didn't simply iterate over all elements
Refs #3918
2017-09-25 15:09:00 -05:00
urkerab
34eade2e87
Simplify artificial replication of Item Clause ( #4018 )
2017-09-24 23:40:06 -05:00
LegoFigure11
ca0ed8c8de
BSS Factory: Major updates ( #4015 )
2017-09-25 04:47:29 +08:00
urkerab
eee503a0d2
Default to battle room's data ( #4017 )
2017-09-25 04:45:30 +08:00
Ben Davies
f0da576d11
Add Gengar alias Morfent's husbando
...
A very important alias no longer lost to time
2017-09-24 13:30:02 -03:00
Marty-D
a8413731dd
Fix Choice-lock before attempting a move
2017-09-24 12:13:30 -04:00
MacChaeger
05cdd33542
Fix Dancer activation order ( #4009 )
2017-09-23 20:17:00 -04:00
The Immortal
6143b0f0c0
Remove UU suspect test
2017-09-24 06:28:38 +08:00
CheeseMuffin
1ef6c5546b
Dexsearch: Fix more maxgen bugs ( #4005 )
2017-09-23 16:51:34 -05:00
Ben Davies
37fc24da55
Room Settings: fix potential RegExp crashes in banword checking ( #4013 )
2017-09-23 10:28:06 -05:00
Ben Davies
620fc48e3c
Commands: cap /makechatroom roomid length at 225 characters ( #4012 )
...
This prevents a crash when attempting to read/write a Chatroom's modlog
file on most filesystems, which typically cap filename length at 255
bytes.
2017-09-23 09:44:24 -05:00
Marty-D
78be53834a
Add event Mimikyu
2017-09-23 09:02:56 -04:00
The Immortal
ee66ef2a4d
Move Charizard to BL4
2017-09-23 20:12:25 +08:00
Ben Davies
48230ee8fc
Modlog: cap search queries at 2500 characters ( #4011 )
...
Prevents crashes in the modlog child process when PS is configured not
to use ripgrep.
2017-09-23 01:37:16 -05:00
urkerab
804d0ea4a0
Remove some move effects to improve compatibility with Instruct ( #4003 )
2017-09-23 01:35:01 -05:00
urkerab
0aafc2ac73
Gen II: Remove bogus Illusion check ( #4010 )
2017-09-22 20:31:33 -04:00
Honko
10dfa2388c
Gen 3 Randbats: Fix illegal move ( #4008 )
...
Nidoking can't learn Superpower until Gen 4.
2017-09-22 15:26:23 -04:00
CheeseMuffin
54cce22642
Dexsearch: fix maxgen parameter ( #4004 )
2017-09-21 23:26:50 -05:00
The Immortal
331f152124
Add RU suspect test
2017-09-22 12:00:56 +08:00
Marty-D
c909fae032
Add new event Pokemon
2017-09-21 21:35:37 -04:00
Konrad Borowski
a2200fce1d
Automatically detect name of Node.js binary when using ./pokemon-showdown ( #4001 )
...
In Ubuntu, the binary is called nodejs. In order to support this possibility,
./pokemon-showdown script was changed into shell/Node.js polyglot which calls
the correct Node.js binary or informs that Node.js is not installed.
2017-09-21 20:33:10 -05:00
The Immortal
c682712ca5
AAA: Unban Aegislash
2017-09-22 09:32:04 +08:00
Albert Zhang
2164d08229
Fix breakage with node-static 0.7.9 and mime 2 ( #4002 )
...
mime 2 broke node-static 0.7.9, update to 0.7.10 fixes this
2017-09-21 16:19:57 -05:00
Insist
e3157e36e1
Random Doubles: Fix typo ( #3996 )
2017-09-20 18:12:44 -04:00
Ben Davies
5b9e1f3547
Sockets: fix SSL crash logging
2017-09-19 13:42:59 -03:00
Ben Davies
8315e8a641
Sockets: fix crashes on startup and workers not dying properly, refactor ( #3991 )
...
- Workers weren't handling dying correctly. Workers getting killed
using Sockets.killWorker were not cleaning up user connections and some
normal process deaths were going through the crashlogger when they
shouldn't have been.
- Depending on how they died, workers would sometimes never disconnect
their IPC channel, which is likely the reason behind the zombie
processes and some of the IPC crashes
- Sockets no longer get their `id` and `remoteAddress` properties mutated
2017-09-19 09:35:54 -05:00
Kris Johnson
36d10c0aa5
Aliases: Remove OU Theorymon ( #3995 )
...
OU Theorymon is no longer a format
2017-09-18 20:00:51 -05:00
Ben Davies
77b4c77864
Dex: constructor is not a format alias
2017-09-18 21:20:03 -03:00
Honko
ff19cc4183
Gen 4 Random Battle: Minor updates ( #3994 )
...
* Ensure that Relicanth always gets Head Smash
* Ensure that Water Spout Wailord gets Specs/Scarf instead of LO, even with Self-Destruct
* Ensure that Body Slam Jirachi and Dunsparce don't get Band/Scarf
* Default to Leftovers instead of Life Orb on sets with Super Fang
2017-09-19 08:11:26 +08:00
Marty-D
e6f0f0efd7
Update Instruct
2017-09-18 19:36:52 -04:00
Ben Davies
94c317b9ec
Config: add missing documentation for networking-related settings ( #3988 )
...
`Config.workers` especially deserves to be documented. The other config
settings don't entirely need to be documented, but for the sake of
transparency `Config.ssl` and `Config.bindaddress` have been added as
well.
2017-09-17 19:52:12 -04:00
urkerab
c28347edda
Fix choice lock for the combined Pledge move ( #3993 )
2017-09-17 19:47:35 -04:00
Guangcong Luo
2f5933406e
NEXT: Fix grammar in README
2017-09-17 18:46:48 -05:00
The Immortal
5a1f3bc50e
Ban Aurora Veil from RU
2017-09-18 06:43:35 +08:00
Kris Johnson
510536d68b
Arena Trap was banned from OU ( #3992 )
...
* Arena Trap was banned from OU
http://www.smogon.com/forums/threads/sm-ou-suspect-process-round-5-voting.3615232/page-5#post-7513063
@theimmortal
* OU suspect test is over
2017-09-18 06:05:46 +08:00
CheeseMuffin
333392505b
Trivia: status command show player points ( #3990 )
...
* Trivia: status command show player points
* Reduce verbosity
2017-09-16 23:16:15 -03:00
Marty-D
b365d3fea6
Update screen-related descriptions
2017-09-16 13:04:34 -04:00
CheeseMuffin
358f620522
Trivia: Only voices can submit in QW ( #3978 )
2017-09-16 11:49:32 -03:00
panpawn
0aa90dfedc
Hidetext: Add 'hidealttext' alias ( #3985 )
2017-09-16 09:59:32 -04:00
Ben Davies
4db842fca7
Matchmaker: do not default user parametres to null
2017-09-16 07:33:21 -03:00
Kris Johnson
cbb744d52f
Monotype is now an official tier ( #3987 )
...
* Monotype is now an official tier
http://www.smogon.com/forums/threads/core-metagames-policy.3615101/
* Update formats.js
2017-09-16 15:17:11 +08:00
urkerab
625f06239b
Fix mismatched team complex ban messages ( #3984 )
2017-09-16 00:52:46 -04:00
Insist
27454fb38d
THP: Fix typo ( #3986 )
2017-09-15 23:24:23 -04:00
Marty-D
977af547d6
Fix Aurora Veil
2017-09-15 20:47:14 -04:00
Kevin Lau
b617848319
Random Battle: Update Necrozma to its usage stats ( #3983 )
...
* Random Battle: Update Necrozma to its usage stats
* Update formats-data.js
2017-09-16 06:43:33 +08:00
The Immortal
dd486cf24f
Remove RU suspect test
2017-09-16 06:20:48 +08:00
Kris Johnson
56a61b3f2f
MnM: Ban Marshadow from holding stones ( #3981 )
...
* MnM: Ban Marshadow from holding stones
* Update formats-data.js
2017-09-14 10:12:51 +08:00
Marty-D
2d60597554
Ensure a minimum number of Pokemon to start a battle
2017-09-13 15:00:53 -04:00
Marty-D
99792df611
Fix crash in Doubles Custom Game
2017-09-13 10:33:02 -04:00
Bär Halberkamp
8a8747c62b
/rules: Trim target before checking for 'delete'.
...
This makes it harder to accidentally set room rules to "delete "
2017-09-11 23:14:14 +02:00