Commit Graph

132 Commits

Author SHA1 Message Date
HoeenHero
2948444777 Fix learn without a specified format 2018-12-16 10:21:47 -05:00
Alexander B
05897a66d6 Fix priority in /movesearch (#5026) 2018-12-13 05:59:13 +04:00
whales
b44a904e7e Learn: Validate gen number (#5013) 2018-12-08 21:50:37 -06:00
urkerab
a5a2586c7b Remove obsolete crashlogger parameter (#5001) 2018-11-29 16:55:17 -06:00
Marty-D
8650951451
Update movesearch 2018-10-21 23:38:04 -04:00
CheeseMuffin
6b9953eb6d Dexsearch: Stop vulpix appearing in lc searches (#4892) 2018-10-08 01:13:16 -05:00
Kris Johnson
b6094806da Support ZU in the teambuilder (server-side) (#4888) 2018-10-07 15:56:36 +04:00
whales
7432d3fc8f Fix set gen/format /learn (#4868) 2018-09-22 15:50:49 -05:00
asgdf
2395816d8b Include dance move flag in /dt and /ms (#4847) 2018-09-09 12:05:47 -04:00
Guangcong Luo
eb28444f79 Fix /learn
There were previously bugs with specifying formats or pentagon
requirements.

Bug caught by LGTM:

fc22f4fb8d/files/chat-plugins/datasearch.js (xeb305f9d77a01f51):1
2018-09-06 02:31:12 -05:00
asgdf
5fee29ce5c Itemsearch: make 'show all' parameter independent from whitespace (#4793) 2018-08-07 06:59:16 +09:00
asgdf
c37ce0ee2a Itemsearch: Fix some results not being the best match (#4781) 2018-08-03 02:39:30 +09:00
Spandan Punwatkar
07c276343d Fix logical error in movesearch (#4731) 2018-06-25 00:08:23 -07:00
whales
9d014c7786 Exempt non-static commands from the broadcast cooldown (#4594) 2018-04-29 14:27:23 -05:00
Marty-D
6bf35eeb2c Rename BLs 2018-04-24 20:29:06 -04:00
whales
8f3c2a4c78 Dexsearch: Don't allow invalid type searches (#4616) 2018-04-22 11:19:16 -05:00
TheMezStrikes
d2d390643a Datasearch: Allow exclusion of multiple gens (#4514)
Also makes /ds maxgen[n] work with the "all" parameter
2018-03-26 08:27:18 -05:00
CheeseMuffin
8ae4fcea41 Dexsearch: Fix error in old gen ds (#4506) 2018-03-21 23:10:54 +09:00
asgdf
459f7c919a Fix movesearch for trapping moves (#4480) 2018-03-11 08:09:54 +09:00
Guangcong Luo
2ba6a770fe Validator: Fix message for Hidden Abliity checking
Also allow passing "HA" or "Hidden" to /learn, to do some basic
checking for Hidden Ability legality. This doesn't currently do full
validation - event abilities aren't checked, for instance.
2018-02-13 22:07:58 +09:00
Guangcong Luo
f0dfc02a4b Fix past-gen /learn 2018-01-31 21:53:10 -06:00
CheeseMuffin
7f82b76ea6 Dexsearch: Add LC Uber to help (#4385) 2018-01-30 10:09:10 -06:00
Guangcong Luo
de7c58aad7 Validator: Fix egg move checking 2018-01-28 15:37:18 -05:00
Guangcong Luo
4f64074b6c Improve evolution move validation
This is specifically made to fix Nasty Plot + Surf Raichu.

Specifically, prevo moves are no longer compatible with evo event
moves.

Other incompatibilities (specifically, modern prevo moves with old-gen
evo moves) will be harder to fix, unfortunately.
2018-01-28 10:37:43 -06:00
KrisXV
aefa8c986a Add doublesTier (#4339) 2018-01-26 14:23:38 -06:00
KrisXV
ebd832a91c Dexsearch: Fix "!weak" (#4374) 2018-01-24 15:12:57 -06:00
KrisXV
43c209155c Dexsearch: Add "weak" parameter (#4370) 2018-01-23 19:27:08 -06:00
Guangcong Luo
8132ab5981 Use PM.isParentProcess to detect parent/child process 2018-01-18 04:24:49 -06:00
Guangcong Luo
ab1f995daa Rewrite Process Manager
Process Manager is now lib/process-manager.js

It's been entirely rewritten to reflect what I think a process manager
API should look like.

In particular, there are now two Process Managers, QueryProcessManager
and StreamProcessManager.

Pass QueryProcessManager a pure-ish query function (sync or async) that
takes a JSON value and returns a JSON value, and PM.query() will
execute that function in a subprocess, and return a Promise for its
return value.

StreamProcessManager is the same idea: Pass it a function to create an
ObjectReadWriteStream, and PM.createStream() will create a stream in a
subprocess and return a stream connected to it.
2018-01-18 03:34:16 -06:00
Jeremy Piemonte
7ba4eb62d1 Datasearch: Consistently capitalize Gen in UI (#4309) 2018-01-05 10:05:33 -06:00
Marty-D
4f5427eb95
Fix "irregular whitespace" in previous commit 2017-12-28 16:23:32 -05:00
Caleb Young
205cf11901 Fix for...of bug in /learn command (#4290) 2017-12-28 16:07:41 -05:00
Guangcong Luo
cb1e1133be Fix bugs from for-of refactor 2017-12-28 12:28:40 -05:00
Kris Johnson
a6ce5c9dc1 Refactor chat-plugins and formats to for...of (#4288) 2017-12-28 05:22:28 -06:00
Jeremy Piemonte
e0c08eafba Standardize help commands (#4285) 2017-12-27 19:35:32 -06:00
Teremiare
c8fadb61c9 Dexsearch: don't show nfe pokemon as lc (#4262) 2017-12-18 15:33:06 -06:00
Guangcong Luo
193e948592 Move crashlogger.js -> lib/crashlogger.js 2017-12-16 15:40:45 -06:00
Guangcong Luo
738c60ed8b Move repl.js -> lib/repl.js 2017-12-16 15:40:45 -06:00
Kris Johnson
37b84a021d Datasearch: Fix zboosts and add protect flag (#4225) 2017-12-08 16:03:32 -06:00
urkerab
59a3e299e8 Allow OU dexsearch to find (OU) (#4209) 2017-12-03 08:54:35 -06:00
Guangcong Luo
f4e535bbd6 Enforce consistent key spacing
This was previously not enforced because we used `:1` in too many
places, but those places seem to all be refactored out at this point.
2017-12-01 08:16:23 -06:00
Guangcong Luo
9bdf674d5f Refactor more tables to arrays
See #4079

Now we're just missing oldgens.
2017-11-30 19:40:16 -06:00
Guangcong Luo
022839335f Add Gen 2 Virtual Console moves 2017-11-24 18:51:32 -06:00
Guangcong Luo
bb5761c9a1 Fix chat plugins using old checkLearnset 2017-11-02 13:51:20 -04:00
Guangcong Luo
0e728281e6 Move team-validator to sim/team-validator 2017-11-01 05:22:37 -05:00
Insist
fb2a8b1e3a Dexsearch Help: Fix spelling (#4106) 2017-11-01 04:34:21 -05:00
MacChaeger
86bbf874b0 /itemsearch: Fix using the 'all' parameter (#4091)
Previously, the command allowed users to broadcast with ', all'
I removed the ',all' option because the command doesn't support separating words with just a comma anyway.
2017-10-29 13:21:41 -05:00
Guangcong Luo
21c9063588 Fix syntax error 2017-10-28 11:51:08 -05:00
Kris Johnson
703882d41d Update /ds and /ms descriptions (#4089) 2017-10-28 11:11:15 -05:00
urkerab
83dc4b07d9 /ds<N> single result details should be for gen<N> (#4051) 2017-10-11 19:15:19 -05:00