Commit Graph

122 Commits

Author SHA1 Message Date
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
Spherical Ice
46634c5382 Properly format the word Pokémon in datasearch (#4043) 2017-10-07 16:23:43 -05:00
CheeseMuffin
1ef6c5546b Dexsearch: Fix more maxgen bugs (#4005) 2017-09-23 16:51:34 -05:00
CheeseMuffin
54cce22642 Dexsearch: fix maxgen parameter (#4004) 2017-09-21 23:26:50 -05:00
Guangcong Luo
f6f79459db Fix datasearch constructor crash 2017-09-05 05:40:45 -04:00
CheeseMuffin
ae894c5947 Dexsearch: Add Ubers alias (#3902) 2017-08-30 08:57:30 -04:00
CheeseMuffin
2ae3ad7c11 Dexsearch: Fix types, and randmove (#3879) 2017-08-12 17:30:06 -07:00
CheeseMuffin
0a206452cc Dexsearch: Add CAP LC and CAP NFE as tiers (#3865) 2017-08-07 21:05:57 -05:00
Marty-D
d1aa17251b Fix movesearch bugs 2017-08-05 17:02:48 -04:00
CheeseMuffin
745c196603 Dexsearch: minor improvements (#3755) 2017-08-02 19:36:13 -04:00
CheeseMuffin
aaf68f092e Dexsearch: fix CAP tiering (#3851) 2017-08-01 22:43:15 -04:00