Commit Graph

23714 Commits

Author SHA1 Message Date
HoeenHero
864d2aaefa Fix bots bypassing the AFK timer 2019-07-02 11:21:37 -04:00
Bär Halberkamp
3bed11f2d6 Using /status while away or busy should preserve status type 2019-07-02 16:31:50 +02:00
Bär Halberkamp
18b0bd1396 Away: fix duplicate protocol message 2019-07-02 16:22:03 +02:00
whales
a8de9f999c Notify users when trying to use a banned status (#5571) 2019-07-02 15:04:04 +02:00
Bär Halberkamp
a84d495eff ACTUALLY pass forStatus to namefilter calls 2019-07-02 14:41:33 +02:00
Bär Halberkamp
1ca759b1c1 Fix one last place where statuses were cleared without that being a good thing 2019-07-02 14:36:53 +02:00
whales
6015b01d1b Fix typing on NameFilter (#5568)
* Fix typing on NameFilter

* actually fix properly lol
2019-07-02 14:33:04 +02:00
Bär Halberkamp
b912e9ec83 Don't spam staff room about status message abuse 2019-07-02 14:15:29 +02:00
Bär Halberkamp
ec3bfe8294 Fix /rules 2019-07-02 14:13:11 +02:00
Bär Halberkamp
48c9304a4a Fix a bug with clearing non-afk statuses 2019-07-02 13:58:30 +02:00
Spandan Punwatkar
eec921a474 Update Nature Swap (#5567) 2019-07-02 14:44:18 +04:00
Bär Halberkamp
89e0aa4c72 Add status commands to /help 2019-07-02 01:24:48 +02:00
Guangcong Luo
c5eeea2818 Fully fix double-elimination tournaments
(Also improve documentation of ElimNode)

PR #5509 was the correct direction, but it missed a spot.
2019-07-01 15:10:59 -07:00
urkerab
d7cc1dfec5 Fix Follow the Leader's validation (#5566) 2019-07-01 13:52:31 -07:00
Kirk Scheibelhut
23ebc12a57 Fix last-slot Zoroark in random team generation 2019-07-01 13:17:43 -07:00
Marty-D
6c26bf68dc Tiers: Update for July tier shift 2019-07-01 15:52:04 -04:00
The Immortal
2356de35e0 Update RoA Spotlight 2019-07-01 22:58:18 +04:00
The Immortal
5f776dd738 Add July OM of the Month 2019-07-01 22:23:58 +04:00
Kirk Scheibelhut
a61c10eeb8
Remove hardcoded URLs in favor of Config.routes (#5557) 2019-07-01 10:19:21 -07:00
Kirk Scheibelhut
df083d7528 Remove Object.assign(function) pattern from TeamValidator{Async} 2019-07-01 08:20:51 -07:00
Kirk Scheibelhut
65aeec5c1d Change invite only modjoin from + -> % (#5562) 2019-06-30 18:21:22 -07:00
Guangcong Luo
64ae404da9 Lock (don't ban) IPs of permabanned users
This makes it so permabanned users can't permanently take out a shared
IP.
2019-06-30 21:19:10 -04:00
Guangcong Luo
f569c020ee Fix #hostfilter entering punishments table 2019-06-30 21:18:52 -04:00
Guangcong Luo
7722d48bea Report host type in /ip 2019-06-30 21:18:30 -04:00
Bär Halberkamp
ed5d534224
Add an AFK timer and status messages (#5002) 2019-07-01 01:47:13 +02:00
asgdf
6e709206c3 Support /math in PMs (#5561) 2019-06-30 15:50:33 -07:00
Marty-D
f722ec9846 RU: Ban Linoone
https://www.smogon.com/forums/posts/8170548/
2019-06-29 18:56:35 -04:00
Kirk Scheibelhut
0941b9b546 Fix lint error in server/ip-tools.ts 2019-06-29 07:28:58 -07:00
Kirk Scheibelhut
b6aad4eed0 Rework random teams to only perform 2 iterations (#5558) 2019-06-28 19:53:38 -07:00
Marty-D
d16d375017
UU: Add Mega Altaria suspect notice 2019-06-28 12:59:33 -04:00
Guangcong Luo
3ccc94279a Update /offertie
- Disallow use in tournaments

- Add /requesttie alias
2019-06-27 19:16:12 -04:00
Marty-D
208c22ad72
Fix multi-hit moves against Berserk/Emergency Exit/Wimp Out too 2019-06-27 17:01:36 -04:00
Kirk Scheibelhut
8fe6d89d14 Make sure randomly generated monotype teams are actually all one type 2019-06-27 12:10:03 -07:00
Guangcong Luo
82e8dc6ea1 Add proxy IP detector to IPTools
By default, PS doesn't have very many tools for dealing with ban
evaders on proxies - most of the main server's protection is in private
code.

This commit adds a basic IP evaluator to PS. It categorizes IPs into
residential, mobile, and proxy (and a few other determinations), and
locks proxy IPs by default. DNSBL entries remain semilocked.

This behavior can, as always, be customized via hostfilter. Detect
`user.locked === '#hostfilter'` for the proxy IP lock, which you can
just set `user.locked = null` to disable.

Fixes #5239
2019-06-27 10:25:19 -07:00
Kirk Scheibelhut
d279a95829 Ensure random team generation always ends up with 6 Pokemon (#5556) 2019-06-27 10:23:25 -07:00
Jacob McLemore
36edfd8bde Datasearch: Add ability to search for moves not in a Pokemon's moveset (#5522) 2019-06-27 09:24:56 -07:00
Marty-D
605ce563ca
Fix Berserk/Emergency Exit/Wimp Out damage detection 2019-06-27 08:29:46 -04:00
HoeenHero
1df2fc5ead Remove leftover code for previously removed ticket types 2019-06-25 19:09:33 -04:00
HoeenHero
efe6245239 Fix input logs (#5539) 2019-06-26 07:38:17 +09:00
The Immortal
c340832f8e Remove ZU suspect notice 2019-06-25 22:32:59 +04:00
The Immortal
9f8e20da8e Random Battle: Fix Monotype teams
And remove unused item selection.
2019-06-25 22:28:57 +04:00
LegoFigure11
cb60a80327 /calc: Update credits and add Battle Spot calculator (#5554) 2019-06-26 03:11:18 +09:00
Marty-D
c1dde231a9 CAP: Nerf Aurumoth 2019-06-25 10:23:06 -04:00
The Immortal
e955abe924
BW OU: Ban Shadow Tag 2019-06-25 04:29:38 +04:00
whales
ba473ac1ea Allow for namelocking without their exact current name (#5552) 2019-06-23 14:54:27 -07:00
anAwsomePerson
9b6950f282 Change dexsearchhelp (#5555) 2019-06-23 14:52:14 -07:00
Marty-D
f65fe2c049 Don't stop moves before the first hit while asleep
The point of this check was to end a multi-hit move if you fell asleep to Effect Spore in the middle of the move, not be applied to every move (i.e. Doom Desire and Future Sight).
2019-06-22 20:38:47 -04:00
whales
233e9d07dc Fix whitelisting FRd names (#5553) 2019-06-22 22:58:49 +09:00
Guangcong Luo
4d231a7f96 Comment replay permission check 2019-06-22 21:54:39 +09:00
Marty-D
806bb477c6 Datacenters: Add new ranges 2019-06-21 16:57:30 -04:00