Commit Graph

23714 Commits

Author SHA1 Message Date
Cathy J. Fitzpatrick
7483bef50d Fix sending empty battle room updates 2013-05-23 21:04:38 -07:00
Guangcong Luo
0c0019f010 Rename broadcastable to canBroadcast for consistency 2013-05-23 19:32:34 -07:00
Guangcong Luo
0f87f8e59d canTalk now handles all chat filtering 2013-05-23 19:31:21 -07:00
Guangcong Luo
e73e3f14e5 Move access denied message to this.can 2013-05-23 19:18:15 -07:00
Guangcong Luo
87005eff94 Faster broadcast cooldown implementation
This one uses an early return instead of a flag to suppress the
broadcast.
2013-05-23 19:10:01 -07:00
Guangcong Luo
dfcdd3234c Cooldown for broadcastable commands 2013-05-23 19:05:46 -07:00
Guangcong Luo
b5d0acf47b Fix crash 2013-05-23 06:26:53 -07:00
Guangcong Luo
b7f396002b Retire /birkal 2013-05-23 06:26:31 -07:00
Guangcong Luo
6a6d0bd87e Add rank to /birkal as requested by Birkal 2013-05-23 06:13:22 -07:00
Cathy J. Fitzpatrick
a4414e108b Fix /birkal and !birkal 2013-05-23 05:57:47 -07:00
Guangcong Luo
3544815e97 Fix a bunch of bugs in chat commands 2013-05-23 05:51:10 -07:00
Guangcong Luo
a89dc80e0c Fix a bunch of !learn bugs 2013-05-23 05:36:00 -07:00
Guangcong Luo
cbbc8143ae Fix !data 2013-05-23 05:29:41 -07:00
Guangcong Luo
08a00d64b1 Refactor chat commands
chat-commands.js is no more, it's been split into command-parser.js,
commands.js, and config/commands.js.

There's also a new API for commands which should be much easier to
use.
2013-05-23 05:25:33 -07:00
Cathy J. Fitzpatrick
d5dcbc9f08 Custom name filtering 2013-05-23 05:05:45 -06:00
Cathy J. Fitzpatrick
1b45a5b409 Guests can't join chatrooms other than the lobby 2013-05-23 00:31:31 -06:00
Cathy J. Fitzpatrick
497fb3c6a0 connectUser no longer accepts a room argument 2013-05-23 00:21:14 -06:00
Cathy J. Fitzpatrick
f12db3ac19 Fix guest usercount mechanics 2013-05-23 00:19:22 -06:00
Guangcong Luo
e51eef90c4 Fix obscure crash when banning a user with a chat queue 2013-05-22 21:53:59 -07:00
Guangcong Luo
9f79b1423e Switch to new protocol 2013-05-22 20:43:13 -07:00
Cathy J. Fitzpatrick
f305a1ea74 Actually remove old config.pkg code 2013-05-22 20:15:43 -06:00
Cathy J. Fitzpatrick
30283da75c Move config.pkg to parseCommand.package 2013-05-22 20:13:57 -06:00
Cathy J. Fitzpatrick
ac272e216d Support logging all chat rooms 2013-05-22 20:00:14 -06:00
Guangcong Luo
a93a3ad73a Fix loglobby logging non-lobby rooms 2013-05-22 18:40:32 -07:00
Cathy J. Fitzpatrick
36cc44634f Include the global usercount in the lobby join queue 2013-05-22 19:23:44 -06:00
Marty-D
5a5a0bc812 Gen III: Preliminary Ability fixes. 2013-05-22 18:15:24 -04:00
Cathy J. Fitzpatrick
3a8662102f Fix Flower Gift boosting Pokemon other than Cherrim 2013-05-22 06:31:21 -06:00
Guangcong Luo
1c63d49032 Fix force-forfeit message 2013-05-21 21:43:42 -07:00
Guangcong Luo
f81ffc6533 Consolidate DW tiers 2013-05-21 21:01:44 -07:00
Guangcong Luo
3bc5d1e203 Exempt commands from the chat throttling 2013-05-21 21:01:44 -07:00
Cathy J. Fitzpatrick
9ffeba97ef Refactor: Don't reuse the same variable name 2013-05-21 20:49:19 -06:00
Cathy J. Fitzpatrick
6333c317d3 Refactor: Eliminate resolveUser 2013-05-21 20:32:07 -06:00
Cathy J. Fitzpatrick
3bcbe9e2b5 Drop JSON messages received from clients 2013-05-21 20:26:20 -06:00
Cathy J. Fitzpatrick
3c2d04da67 Don't report recent joins/etc. if there are none 2013-05-21 17:09:04 -06:00
Marty-D
c671c01f6b Gen III: Fix learnset checking. 2013-05-21 15:06:01 -04:00
Guangcong Luo
af585745d4 Support private rooms 2013-05-21 01:29:33 -07:00
Guangcong Luo
8c8cb9e58a Better error messages for invalid team data 2013-05-20 17:04:35 -07:00
Guangcong Luo
dd63b1b6dd Fix Arceus/Transform interaction 2013-05-20 14:24:33 -07:00
Marty-D
2d347505b8 Gen III: Preliminary item fixes. 2013-05-20 14:18:20 -04:00
Cathy J. Fitzpatrick
e9f39a2767 watchconfig now defaults to true 2013-05-19 07:08:20 -06:00
Cathy J. Fitzpatrick
92dfa8de8d Delete servertoken from config-example.js 2013-05-19 07:08:20 -06:00
Guangcong Luo
ce1c187cd6 Merge pull request #230 from AuroraCR/patch-2
Adding driver symbol to lock message, since drivers can lock too
2013-05-19 02:01:10 -07:00
Aurora
3ad4f45cec Adding driver symbol to lock message, since drivers can lock too 2013-05-19 19:00:17 +10:00
Cathy J. Fitzpatrick
7ede342b06 Remove HP Percentage Mod from Hackmons and Balanced Hackmons 2013-05-18 20:39:58 -06:00
Cathy J. Fitzpatrick
5c6e3a7a91 Fix crash when demoting offline user 2013-05-18 20:30:43 -06:00
Guangcong Luo
d0453b4550 Merge pull request #229 from AuroraCR/patch-2
Update chat-commands.js
2013-05-18 01:42:47 -07:00
AuroraCR
8df020b179 Update chat-commands.js
adding full stop to warn message
2013-05-18 18:39:35 +10:00
Cathy J. Fitzpatrick
50096104a9 Modchat fixes
- modchat now applies to /announce and /declare
- users can no longer remove modchat unless they can talk in the
  current modchat
2013-05-17 18:51:56 -06:00
Guangcong Luo
75a0241d5e Update default permissions 2013-05-17 14:21:01 -07:00
Guangcong Luo
60ca1a8394 Commands for manually manipulating IP banlist 2013-05-17 14:17:17 -07:00