Commit Graph

23714 Commits

Author SHA1 Message Date
Cathy J. Fitzpatrick
d5412a46ff No need to check if a user is banned multiple times 2013-05-11 17:43:40 -06:00
Cathy J. Fitzpatrick
d98bdbbff1 Don't accept join messages from banned users 2013-05-11 17:42:33 -06:00
Cathy J. Fitzpatrick
1293d9e213 Actually disconnect banned users 2013-05-11 17:39:35 -06:00
Cathy J. Fitzpatrick
65d6e67e83 Check for sockets with empty remoteAddress (!) 2013-05-11 17:39:13 -06:00
Cathy J. Fitzpatrick
e689c957f9 Eliminate the crypto variable in users.js 2013-05-11 16:35:19 -06:00
The Immortal
f640edd24b Malaconda Playtest ended 2013-05-12 01:55:28 +04:00
Guangcong Luo
30a345680c /modchat on shouldn't change modchat settings 2013-05-11 12:40:35 -07:00
Guangcong Luo
ddfbed1947 Re-fix loadbanlist crash 2013-05-11 09:15:18 -07:00
Guangcong Luo
bcecdc5189 Modchat registered must be specified explicitly 2013-05-11 08:44:43 -07:00
Guangcong Luo
a445b68106 Crashfix for /loadbanlist 2013-05-11 08:26:13 -07:00
Guangcong Luo
2844554bce Some mistake catching for lock feature 2013-05-11 08:25:53 -07:00
Guangcong Luo
94e0fb1bdc Muted users can speak in battles 2013-05-10 23:54:50 -07:00
Cathy J. Fitzpatrick
d5e340c48d Gen 4: Fix crash in Curse 2013-05-10 15:17:36 -06:00
Marty-D
c04ebfd99f Gen IV: Fix Growth. 2013-05-10 09:36:25 -04:00
Marty-D
f5326eed39 Gen IV: Fix Choice locking.
- Specifically, using Trick / Switcheroo while holding a Choice item and
receiving the same or a different Choice item keeps the user locked into
the move.
2013-05-10 09:10:54 -04:00
Guangcong Luo
0df639b80e Rearrange formats, Glitchmons no longer ladderable 2013-05-09 21:18:09 -07:00
Guangcong Luo
d35be5d57a Fix Truant/flinch interaction 2013-05-09 21:17:43 -07:00
Guangcong Luo
a64e7593a3 Locked users can PM auth 2013-05-09 21:17:10 -07:00
Guangcong Luo
01fb06e3a1 Don't join lobby if client asks not to 2013-05-09 18:45:14 -07:00
Cathy J. Fitzpatrick
8363741b9a Remove unused server-side /rating etc. code 2013-05-09 15:27:58 -06:00
Cathy J. Fitzpatrick
983fff8f6f Remove unused server-side /nick code
/nick is fully handled by the client without this code.
2013-05-09 15:27:58 -06:00
Marty-D
3fc599a9e8 Fix Bounce, Dig, Dive, and Fly.
- Correctly double the power of the moves that can do so against the
user.
2013-05-09 10:20:04 -04:00
Cathy J. Fitzpatrick
878033e614 Gen 3: Fix crash when using Spite 2013-05-09 01:59:22 -06:00
Cathy J. Fitzpatrick
2b1ad5dea2 Fix reporting of usercount peaks
This was broken by the global/lobby room split.
2013-05-08 16:25:51 -06:00
Guangcong Luo
bbb3aaca16 Merge pull request #223 from Joimer/patch-10
Remove Ubers Suspect, re-enable Ubers ladder.
2013-05-08 13:43:34 -07:00
Joim
53c66838ac Remove Ubers Suspect, re-enable Ubers ladder.
Moody has been kept banned, there is no need to keep the Ubers Suspect now.
2013-05-08 19:06:00 +03:00
Guangcong Luo
e4b59fa227 /lock feature, replaces /ipmute and /namelock 2013-05-07 22:12:55 -07:00
Marty-D
9e53be53c4 Gen IV: Fix Life Orb. 2013-05-07 16:28:44 -04:00
Cathy J. Fitzpatrick
e660fa2022 Fix the config.proxyip feature 2013-05-06 17:36:20 -06:00
Marty-D
bed84d61f5 Add some more immunity messages. 2013-05-05 21:09:08 -04:00
Cathy J. Fitzpatrick
04c86053c2 Revisions to join/part/rename batching 2013-05-05 17:49:39 -06:00
Cathy J. Fitzpatrick
21f002d59b Implement optional batching of joins, parts, and renames 2013-05-05 17:44:17 -06:00
Marty-D
a62cd46c88 Add a few helpful immunity messages. 2013-05-05 19:10:26 -04:00
The Immortal
82c52d0ef6 Randbats script update
- Add Blaze, Overgrow, Swarm, and Torrent counters
- Prevent Dragon Tail with Roar / Whirlwind
- Allow Simple with Stockpile
- Give Substitute + Reversal a Gem instead of Leftovers
2013-05-06 01:32:29 +04:00
Marty-D
109a3da4f6 Correct mechanics for signature items. 2013-05-05 17:07:56 -04:00
Cathy J. Fitzpatrick
212ac72dc8 Less obfuscated creation of default config.js file 2013-05-05 14:50:22 -06:00
Cathy J. Fitzpatrick
fb80b1d956 Less obfuscated fallback for fs.existsSync 2013-05-05 14:50:22 -06:00
Guangcong Luo
46473676c7 Sanitize whitespace characters in names 2013-05-05 02:36:00 -07:00
The Immortal
6ae3fb9496 Fix PU banlist
Primeape, Scolipede, Munchlax and Jynx were incorrectly allowed
2013-05-05 12:10:05 +04:00
Guangcong Luo
f60e20f5cd Another toName fix 2013-05-04 18:03:46 -07:00
Guangcong Luo
9ee457cad9 Fix toName sanitization 2013-05-04 17:58:17 -07:00
Cathy J. Fitzpatrick
d69bde3fa0 Fix bug in EV validation
Using a specially crafted `evs` array of the form

    set.evs = [255, 255, ..., "a"]

a user could have used a pokemon with 255 EVs in every stat, because the
expression '...a' > 510 evaluates to false.
2013-05-04 03:57:46 -06:00
Cathy J. Fitzpatrick
c8a9f27bd9 Fix maybeTrapped condition for unreleased abilities 2013-05-03 21:19:14 -06:00
Cathy J. Fitzpatrick
d27e68ab44 Revise /rating error message 2013-05-03 19:46:02 -06:00
Cathy J. Fitzpatrick
94b2ddb63f Gen 1: Fix Toxic after switching out 2013-05-03 16:34:20 -06:00
Marty-D
19fd64ae3e Fix a Final Gambit + Red Card interaction.
- Previously, using Final Gambit on a Pokemon holding a Red Card and
having the Red Card holder survive the hit would force the Final Gambit
user out and faint the Pokemon dragged in, rendering the battle
unplayable.
2013-05-03 15:01:47 -04:00
Cathy J. Fitzpatrick
2bd00efbaa Fix domain-relative avatar URI in chat-commands.js 2013-05-03 02:42:20 -06:00
Guangcong Luo
b8109f2f40 Don't duplicate PMs sent to yourself 2013-05-02 16:44:15 -07:00
Guangcong Luo
1c2d3d43ab Validate templates/moves properly in gen 1 2013-05-02 02:56:56 -07:00
Guangcong Luo
c3a497e341 Remove a redundant check 2013-05-02 02:56:45 -07:00