Commit Graph

23714 Commits

Author SHA1 Message Date
Marty-D
9a029f43f3
Fix /ipsearch 2018-01-23 20:19:28 +00:00
Bär Halberkamp
90498f0328 TOTD: compare ids of the command namespace
This keeps things like /AOTD from crashing the plugin
2018-01-23 20:18:56 +01:00
Bär Halberkamp
d44deff94a TOTD: fix spelling 2018-01-23 19:51:55 +01:00
Bär Halberkamp
99bd44eec6 TOTD: fix typo 2018-01-23 19:48:02 +01:00
Bär Halberkamp
6211dfd68e Make upper staff immune to room punishments
This was discussed in upper staff and approved by a policy admin
2018-01-23 19:37:51 +01:00
Bär Halberkamp
0ce1dc9fcf Rewrite the studio's plugin, and add versions for the tvbf room 2018-01-23 19:37:51 +01:00
urkerab
f0c93655c4 Fix Protective Pads mechanics (#4362) 2018-01-23 11:19:07 -05:00
Guangcong Luo
e6cc393109 Fix unused variable in ProcessManager 2018-01-23 07:45:03 -06:00
SkiAmplitude
7f857b575e Update credits (#4369) 2018-01-22 21:37:04 -05:00
Marty-D
2ca4259581 RU: Remove suspect test and ban Durant 2018-01-22 19:41:52 -05:00
HoeenHero
67b8febf2f VGC: Update bans (#4367) 2018-01-22 17:58:12 -06:00
Guangcong Luo
777203d4e5 Fix hotpatching formats 2018-01-22 11:58:39 -06:00
Austin Couturier
0b8d6e986d Give drivers the ability to hidetext expired users (#4353) 2018-01-22 03:43:47 -06:00
Guangcong Luo
0c2d712540 Fix Process Manager releasing
This now makes processWrapper.release() a lot more consistent about
actually releasing a process.
2018-01-21 11:37:30 -06:00
Guangcong Luo
2ea6f39876 Fix Process Manager default respawn
Now calling respawn() without any arguments will respawn the same
number of processes currently running.
2018-01-21 11:37:30 -06:00
Articuno-I
baa028a6fd Refactor twineedle.multihit to match doublekick (#4363) 2018-01-21 11:05:37 -06:00
urkerab
d60d45bf2c Don't trick away the Custap Berry being eaten (#4361) 2018-01-21 10:39:06 -06:00
The Immortal
9a171a600f BSS8: Add Cancel Mod 2018-01-22 00:04:59 +08:00
The Immortal
e8d8a6f115 Random Battle: Improve Slaking 2018-01-21 23:52:51 +08:00
Guangcong Luo
e3a955b678 Fix mistaken const 2018-01-20 15:43:38 -06:00
Guangcong Luo
e43c17ee9d Correctly get alt ID in /hidetext 2018-01-20 14:42:45 -06:00
Guangcong Luo
08921e16ca Refactor /hidetext for modern code standards 2018-01-20 14:40:25 -06:00
Guangcong Luo
6677950e9b Deprecate chatContext.splitTargetText
chatContext.splitOne already exists and is less of a hack.
2018-01-20 14:34:52 -06:00
Guangcong Luo
1fa1ce589c Improve documentation for context.splitTarget 2018-01-20 14:01:09 -06:00
Guangcong Luo
1c119bf3fa Fix streams.js doc comment
(Also improve STREAMS documentation a bit)
2018-01-20 12:16:47 -06:00
Guangcong Luo
7e26ea49df Add new API room.log.hasUsername 2018-01-20 02:47:50 -06:00
whales
6488c2b318 Make forfeiting return success properly (#4360) 2018-01-20 02:08:31 -06:00
Guangcong Luo
bb0e00e0a8 Fix STABmons move legality checker 2018-01-20 02:07:25 -06:00
Guangcong Luo
aae46ffd46 Support checkLearnset in format rules
Fixes #4356
2018-01-20 02:05:21 -06:00
Guangcong Luo
fcfd7c9c25 TypeScript: Add otherFormes to Template 2018-01-19 23:50:22 -06:00
Guangcong Luo
e8163824ff Remove validate-conditionals eslint rule
As far as I can tell, `curly, multi-line, consistent` does everything I
want; there's no reason to keep around a validate-conditionals rule.

Which is probably good, since eslint is deprecating the API for this,
anyway. The nice thing about not relying on deprecated APIs is that now
you can lint PS with `eslint` rather than needing to memorize
command-line switches.
2018-01-19 13:25:10 -06:00
Guangcong Luo
691ee5a5c2 Make !report work in PMs 2018-01-19 12:33:50 -06:00
Guangcong Luo
a03a214c5b Fix modlog alt tracking 2018-01-19 03:58:59 -06:00
ZestOfLife
d287c30a63 Fix unusual comma in hidetext's help (#4358) 2018-01-19 17:44:37 +08:00
Kris Johnson
4f061d1786 Add Mix and Mega suspect test (#4357)
http://www.smogon.com/forums/threads/mix-and-mega-suspect-test-7-deoxys-speed.3626245/
2018-01-19 14:22:01 +08:00
Guangcong Luo
66269d8e96 Fix Modlog maxLines passing 2018-01-18 20:39:44 -06:00
Guangcong Luo
6c10e3ade4 Fix stream destroying
This should correctly fix the memory leak in subprocess streams.
2018-01-18 20:25:28 -06:00
HoeenHero
631f64d66c Fix typo in room settings (#4354) 2018-01-19 05:06:31 +08:00
The Immortal
7be24dd635
Add 1v1 suspect test 2018-01-19 03:17:44 +08:00
Bär Halberkamp
b9e960def2 Wifi: fix typo 2018-01-18 19:52:20 +01:00
HoeenHero
f9fbe1f2f1 Help Tickets: Add confirmation button (#4346) 2018-01-18 07:57:40 -06:00
Guangcong Luo
cb5232d570 Fix permissions bug from #4336 2018-01-18 08:49:07 -05:00
Guangcong Luo
e2c2e3ad57 Fix bugs in battle process protocol update 2018-01-18 08:40:40 -05:00
Kris Johnson
ae81e3482c STABmons: Unhardcode checkLearnset (#4349) 2018-01-18 20:06:28 +08:00
Guangcong Luo
76cb64edb7 Temporarily increase VGC timer duration 2018-01-18 06:25:45 -05:00
Guangcong Luo
4dc62498f9 Fix TypeScript not finding config
It took me way too long to realize the Travis build error was a
TypeScript error, because TypeScript runs before PS generates a Config
file.

There are two fixes, we could either run mocha first, or we could
suppress the TypeScript errors. Suppressing TypeScript errors always
makes me feel bad, but I think it's more useful to everyone if they're
shown before running Mocha tests.
2018-01-18 04:55:15 -06:00
Guangcong Luo
8132ab5981 Use PM.isParentProcess to detect parent/child process 2018-01-18 04:24:49 -06:00
Guangcong Luo
327b004b74 Better support for destroying streams 2018-01-18 04:14:58 -06:00
Guangcong Luo
43103f98ae Disable ProcessManager in tests 2018-01-18 04:10:19 -06:00
Guangcong Luo
6ae6a8daf2 Remove debug code 2018-01-18 03:45:41 -06:00