Commit Graph

23714 Commits

Author SHA1 Message Date
Guangcong Luo
7fd348a8a2 Fix Disable to disable moves right as they're being used.
(also changes Taunt's duration to 3 turns instead of 3 move-uses)
2012-02-14 23:10:55 -05:00
Guangcong Luo
9aab68cc50 Correctly fix Struggle recoil 2012-02-14 22:31:43 -05:00
Guangcong Luo
9c33678538 Add default avatar for Leader Jasmine 2012-02-14 22:30:12 -05:00
Guangcong Luo
3f8bc5f500 Add some ruleset legalities to Crobat 2012-02-14 22:28:47 -05:00
Guangcong Luo
515f0ae8ff Fix a crash in the new debug messages 2012-02-14 22:28:16 -05:00
Guangcong Luo
6a96cf93c0 New command: /forcerename
- /forcerename ihateps = make user 'ihateps' get a new nickname
- /forcerename ihateps, iloveps = change user 'ihateps's name to 'iloveps'
2012-02-14 22:27:47 -05:00
Guangcong Luo
0568c7ead9 Note unregistered users in /whois 2012-02-14 22:26:16 -05:00
Guangcong Luo
e284c1ef53 A more robust user renaming system:
- You can now quickly rename without changing ID, e.g. asdf -> Asdf
- Moderators can now reset a user's name to Guest, instead of banning them
2012-02-13 23:46:56 -05:00
Guangcong Luo
d7108e4c6b Some more debug messages in simulator.js 2012-02-13 23:45:27 -05:00
Guangcong Luo
14259540a9 Revise the rematch support message a bit 2012-02-13 23:45:04 -05:00
Guangcong Luo
3c868ea949 Fix Doom Desire and Future Sight to work after the user has fainted 2012-02-13 20:14:51 -05:00
Guangcong Luo
f996d22e42 Fix Magic Bounce and Magic Coat to bounce confusion-inducing moves 2012-02-13 10:43:50 -05:00
Guangcong Luo
59d5643e3a Fix White Herb and Simple interacting incorrectly 2012-02-13 10:41:42 -05:00
Guangcong Luo
eb4308936b Add Lorelei's trainer-sprite to the default sprites 2012-02-13 10:29:02 -05:00
Guangcong Luo
039054a811 Legalize Necturna for the CAP Necturna playtest 2012-02-12 23:56:30 -05:00
Guangcong Luo
b366c990c5 More improvements to the 'kick inactive players' feature:
- If it is still the first 30 seconds, wait until the next 30 seconds before reminding players they have a time limit
2012-02-12 23:55:59 -05:00
Guangcong Luo
301e42034e Enable logging again 2012-02-12 23:54:01 -05:00
Guangcong Luo
4edeba516b Better error message when authentication fails 2012-02-12 23:53:17 -05:00
Guangcong Luo
bdbb4955ef Implement Forewarn 2012-02-12 23:49:40 -05:00
Guangcong Luo
fd60f42325 Fix the forfeit and kick inactive features
- they now work correctly when one player has left
- they now no longer work after a battle has ended
- they don't go through in the case of a curCallback bug
2012-02-12 15:29:40 -05:00
Guangcong Luo
e32bc56a72 Make Struggle recoil always take effect
(instead of being blocked by Magic Guard et al.)
2012-02-12 15:27:51 -05:00
Guangcong Luo
f61eafadd7 Add /surrender as an alias for /forfeit 2012-02-12 15:27:08 -05:00
Guangcong Luo
d7e71ee225 Enable the forfeit feature
(I forgot I temporarily disabled it earlier)
2012-02-12 06:51:10 -05:00
Guangcong Luo
b82e02a288 Forfeit feature! Closing a room now confirms an immediate forfeit, instead of forcing the other player to wait 60 seconds for a timeout. 2012-02-12 06:44:51 -05:00
Guangcong Luo
a5d9d73bba Give /announce a help message if called with no arguments 2012-02-12 06:44:05 -05:00
Guangcong Luo
a2c5a431e6 Fix infinite loop when trying to Trace Trace. 2012-02-12 06:42:47 -05:00
Guangcong Luo
4aaa213e62 Merge branch 'master' of github.com:Zarel/Pokemon-Showdown 2012-02-11 18:37:59 -05:00
Guangcong Luo
4526a45c6f Make Ingrain and Suction Cups prevent drag-out 2012-02-11 18:37:34 -05:00
Guangcong Luo
af15645bda Make moderated chat apply only to the lobby 2012-02-11 18:35:47 -05:00
Guangcong Luo
32e87c9830 Merge pull request #2 from bmelts/master
Use package.json to define dependencies
2012-02-11 12:53:47 -08:00
Bill Meltsner
f4a9f0d9fd remove the node_modules folder from the repository and use package.json to define dependencies 2012-02-11 12:59:19 -05:00
Guangcong Luo
82bbd9798e Make the /lockdown notifications a lot more visible (to match the moderated chat notifications) 2012-02-11 07:02:00 -05:00
Guangcong Luo
024b863a88 Overhaul the battle timeout system.
Instead of a flat 3 minute timeout, your timeout time will decrease (to a minimum of 1 minute per turn) if you try to stall.
2012-02-11 07:00:32 -05:00
Guangcong Luo
252885387f README.md updated with some more details on hosting your own server 2012-02-11 02:22:48 -05:00
Guangcong Luo
20b3322556 Nicer battle URLs: /lobby-battle1337 -> /battle-ou1337 2012-02-11 02:18:55 -05:00
Guangcong Luo
dd845120f4 Convert logging.md to use CRLFs so Notepad can open it. 2012-02-11 02:16:25 -05:00
Guangcong Luo
ec750a8ecc README.md updated with some more information on hosting your own server. 2012-02-11 01:59:41 -05:00
Guangcong Luo
8b5f899688 Don't crash if lastbattle.txt doesn't exist. 2012-02-11 01:54:34 -05:00
Guangcong Luo
4e312b67ab Add /help documentation for /whois 2012-02-11 01:52:45 -05:00
Guangcong Luo
7170ee9980 Add logs/ and node_modules/v8-profiler/ to .gitignore 2012-02-11 01:51:57 -05:00
Guangcong Luo
c4eae170b0 Add the logs/ directory to the Git repository, and add documentation for the logs. 2012-02-11 01:50:48 -05:00
Guangcong Luo
c04929c9b5 Make /groups work properly 2012-02-11 01:47:17 -05:00
Guangcong Luo
29508148a6 Lots of changes to chat commands:
- Moderated chat mode is now implemented in chat-commands.js, not in app.js
- Moderated chat mode can now restrict by group: /modchat @ = only @ and & can talk
- New commands: /announce, /modchat, /sysop, /desysop, /whois
- New informational commands: /groups, /opensource, /avatars, /intro
- The /help documentation has been updated to match these (and other earlier) changes
- chat-commands.js has been refactored a ton, it uses switch instead of if-else's
2012-02-11 01:34:51 -05:00
Guangcong Luo
451ffd8a34 DW Lucario got released, apparently 2012-02-10 23:49:34 -05:00
Guangcong Luo
10382e0ff7 Some default avatars (todo: some way to save these longer-term) 2012-02-10 23:13:38 -05:00
Guangcong Luo
21199c36c7 Update documentation to reflect that voiced users no longer have ban/mute powers. 2012-02-09 23:14:20 -05:00
Guangcong Luo
b365e4cae2 Fix a whole bunch of crashes 2012-02-09 22:57:59 -05:00
Guangcong Luo
033e4e8923 Secure authentication should now work for servers other than the default server. 2012-02-09 22:42:18 -05:00
Guangcong Luo
46363680eb Implement /banredirect (shorthand: /br) to ban and redirect a user to another server or URL.
Also abstracts out the "user, message" split into its own function.
2012-02-09 22:34:00 -05:00
Guangcong Luo
928df6f498 Split parseCommands out into its own file: chat-commands.js 2012-02-09 22:05:13 -05:00