Commit Graph

21251 Commits

Author SHA1 Message Date
Guangcong Luo
85a5dc1847 PM: Support querying in a new process
Better subprocess query system for #7937.

I mentioned in #7937 that it should be a regular `child_process`, but
Mia's not _wrong_ that PM has some useful features that make it more
convenient than `child_process`. This change allows a
`QueryProcessManager` to easily run a query in a new child process.
2021-01-30 11:56:23 -08:00
Guangcong Luo
67f6d3908e Improve ProcessManager typing
This removes the need for some more casting... although I'm starting
to worry if generics are too unreadable. I suppose anyone working on
library code is likely to prefer generics to casting, and it's safer,
anyway.
2021-01-30 11:53:34 -08:00
The Immortal
7d5f9b455d Gen 5: Random Battle updates
- Various movepool improvements
- Prevent Toxic with setup or Trick Room
- Prevent Rain Dance with RestTalk
- Force Seed Flare and Horn Leech
- Reject Keen Eye
- Reject Intimidate so Shed Skin is rolled
- Fix Toxic/Flame Orb selection
- Improve Leftovers and Life Orb selection
2021-01-30 23:42:08 +04:00
Mia
e411890a47 Fix PM duplication 2021-01-30 13:41:47 -06:00
Guangcong Luo
f4abf52f61 Fix QueryProcessManager type signatures 2021-01-30 11:35:35 -08:00
Instruct
0685e88e4f
SSB4: Balance changes and Bugfixes, pt 2 (#7954) 2021-01-30 23:34:41 +04:00
Annika
353a81e3d4 Modlog: Properly implement timing of searches 2021-01-30 10:51:33 -08:00
Mia
8cf667a78d
Chat: Properly log slow async commands used in PM (#7966) 2021-01-30 09:41:40 -08:00
Guangcong Luo
cb7430ecfd Refactor logSlowMessage
Fixes #7962
2021-01-29 18:16:24 -05:00
Annika
3e4aa91e85
Megas for All: Remove debug prints 2021-01-29 15:14:47 -08:00
Mia
6b4507aba9
Chat: Track slow async commands (#7961) 2021-01-29 08:59:20 -08:00
Guangcong Luo
cb65fb868d Properly fix Auth#hasPermission 2021-01-28 22:04:03 -08:00
Annika
b92924fc8b Fix Auth#hasPermission
As per the discussion in #sim-dev:
  - Global permissions should always use User#tempGroup
  - Room permissions should check both the roomauth list and user and User#tempGroup
2021-01-28 18:42:16 -08:00
May Evans
5d506270b3
Gen 1: Move Graveler to NFE (#7959) 2021-01-28 19:24:04 -07:00
Guangcong Luo
1fc92ef977 Fix bugs in inRooms/games refactor 2021-01-28 20:35:30 -05:00
Guangcong Luo
5ace098eb5 Fix validator crash reporting
Validator crashes weren't being reported to the dev room. This fixes that.
2021-01-28 20:35:30 -05:00
Annika
1f7ea9e990 Fix bug with permission jurisdictions
This bug allowed people to punish people of the same and higher ranks. Monkeypatched on main.
2021-01-28 13:33:23 -08:00
Mia
3479c1f5e0 Admin: Allow dev staff to use /processes 2021-01-28 15:00:05 -06:00
Kris Johnson
081326b69c
Refactor minor activities (#7766) 2021-01-28 12:12:54 -08:00
Mia
a63fb0074a
CommandContext: Add a method for refreshing html pages (#7666) 2021-01-28 12:10:50 -08:00
Mia
1654307731
Helptickets: Fix bugs with unbanning (#7883) 2021-01-28 11:43:44 -08:00
Mia
c1cd4630b1
Users: Automatically expire inactive connections (#7957) 2021-01-28 11:43:02 -08:00
Mia
184e867761
Hangman: Support saving hangman entries (#7630) 2021-01-28 11:24:46 -08:00
Mia
db92804541
Support automodchat when all roomstaff are offline (#7810) 2021-01-28 11:14:55 -08:00
Mia
2688c21351
Improve /usersearch (#7956) 2021-01-28 10:54:21 -08:00
Distrib
4b404f5765
Improve /offertiehelp (#7952) 2021-01-28 10:43:06 -08:00
Mia
5c9c84c415
Remove User#inRooms and User#games (#7815) 2021-01-28 10:41:35 -08:00
Mia
11e4dcd272
Support using more moderation commands offline (#7742) 2021-01-28 10:41:24 -08:00
Marty-D
6d9fe41a27 Fix Plusle and Minun events 2021-01-27 16:38:12 -05:00
Justin Cheng
3827961f54
Consistency update on CAP 1v1 sets (#7953) 2021-01-27 13:35:52 +04:00
Leonard Craft III
0d78f967d6 Fix Ripen's interaction with Jaboca/Rowap Berries 2021-01-26 20:36:25 -06:00
urkerab
edafebbbd8
Fix Magnet Rise in Inverse Battles (#7943)
* Make Magnet Rise work in Inverse Battles

* Improve Inverse Battle tests

Co-authored-by: Leonard Craft III <leonardcraft64@gmail.com>
2021-01-26 20:08:50 -06:00
HematiteH2O
aad160c09c
Megas for All: Fix Hawlucha's ability + Data Mod (#7950) 2021-01-27 01:12:36 +04:00
The Immortal
9b5328d73b Shared Power: Update banlist 2021-01-27 01:00:09 +04:00
SirKira(!Uzumaki)
fad8e27b7e
Mention groupchat restrictions in /help makegroupchat (#7931)
* Change help for makegroupchat.

* Update server/chat-commands/room-settings.ts

thanks

Co-authored-by: Annika <annika0uwu@gmail.com>

Co-authored-by: Annika <annika0uwu@gmail.com>
2021-01-26 09:12:38 -08:00
Mia
a896f2e73a
Moderation: Log Owner forcepromotes to Staff/Upper Staff (#7951) 2021-01-26 09:10:48 -08:00
Leonard Craft III
e98ade77a6
Formats: Update VGC/BSS to Series 8 (#7940) 2021-01-26 16:55:22 +04:00
The Immortal
52e18def6a Formats: Update threads 2021-01-26 16:48:22 +04:00
The Immortal
767d32efe2 Random Battle: Enforce Grassy Glide Rillaboom 2021-01-26 01:22:30 +04:00
The Immortal
48da8e92e8 Rename Gen-NEXT format
And link the old dev thread.
2021-01-26 01:22:02 +04:00
Guangcong Luo
2dfc1f2a72
Improve NEXT documentation 2021-01-25 13:13:42 -08:00
Distrib
0ab6bcb80a
Daily spotlight: Display raw text in /daily (#7947) 2021-01-25 08:59:39 -08:00
The Immortal
2a2929ad66 Update NU threads 2021-01-25 20:38:21 +04:00
Annika
d280d8cd54
Add "hackmons" as an alias for Pure Hackmons
Approved by Ransei
2021-01-24 22:51:58 -08:00
Annika
70e41af150 Include rangelocks in Punishments#getPunishments 2021-01-24 22:10:47 -08:00
HematiteH2O
bc6915082e
[Megas for All] Slate 27 and Balance Changes (#7946) 2021-01-24 22:59:59 +04:00
The Immortal
31e725757c Minimal GBU: Use restricted list for legends 2021-01-24 22:49:58 +04:00
Marty-D
bc144b8504 Descriptions: Remove duplicates 2021-01-24 13:26:04 -05:00
The Immortal
35acb24a28 Gen 5 1v1: Ban Kyurem-Black 2021-01-24 19:19:33 +04:00
Marty-D
8947808628 Gen II: Fix damage calculation
Moves critical hit and item modifiers to the right places
2021-01-23 17:26:35 -05:00