Commit Graph

158 Commits

Author SHA1 Message Date
Bill Meltsner
a5a07cb490 Display a helpful message if someone tries to use /learn without specifying a move. 2012-09-22 10:50:04 -07:00
Guangcong Luo
1b6ff8324d Filter zalgo out of messages 2012-09-15 21:43:03 -07:00
Guangcong Luo
3187dee583 Fix /forcetie 2012-09-15 21:43:03 -07:00
MaikeruS
11423bf7e3 Change "Staff" to "Leader" in !groups 2012-09-09 14:25:05 +10:00
Bill Meltsner
7c7359fd36 /modlog is now limited to 100 actions.
/modlog [n] will be capped at 100, and /modlog [name] will only return the 100 most recent results.
/modlog [name] will now return the results in reverse chronological order, like /modlog [n].
2012-09-01 15:23:31 -07:00
Guangcong Luo
5d1d850fc5 Make sure guests can still use non-chat commands. 2012-08-31 20:00:38 -07:00
Guangcong Luo
b81f16f61f Give modlog its own permission 2012-08-28 23:12:55 -07:00
Bill Meltsner
6c6a232646 Fix /modlog interacting with single quotes. 2012-08-24 08:40:24 -05:00
Guangcong Luo
3e5dad4a9b Improved !learn and /learn
- lists compatible eggs
- mentions DW ability limitations for breeding
2012-08-21 23:17:50 -07:00
Guangcong Luo
7b4d7bcde0 /deauth - demote to a regular user 2012-08-21 23:17:50 -07:00
Guangcong Luo
b1742c8a80 Better move validator
(uses set theory)
(documented in comments)
2012-08-20 19:56:13 -07:00
Guangcong Luo
8663846964 /birkal tracking 2012-08-20 01:47:51 -07:00
Guangcong Luo
d0d6017654 Fix informational commands for new protocol 2012-08-16 11:57:30 -07:00
Guangcong Luo
17dcc94c0d Add permissions for announce/declare 2012-08-16 11:57:30 -07:00
Bill Meltsner
1fe2e309fa Un-reverse the permissions for /unbanall. 2012-08-16 09:09:30 -05:00
Guangcong Luo
27b15115c0 Better implementation of /announce
Special thanks to bmelts for idea
2012-08-16 00:48:51 -07:00
Guangcong Luo
a924b9237a Merge pull request #90 from ibojangles/master
different versions of announce
2012-08-15 17:52:28 -07:00
ibojangles
d8bf4752d3 different versions of announce
Made two versions of announce: 1. driver+ that has name attached
2. leader+ that is slightly differently colored and is anonymous

Leaders can use the driver one but not vice-versa.

Yes it's not super pretty but it works, so you can focus on better things.
2012-08-15 00:57:02 -03:00
Guangcong Luo
c2d09f55b2 New protocol - significantly reduced network usage 2012-08-14 20:02:56 -07:00
Guangcong Luo
01b751a88e Don't let failed challenges fall through to chat 2012-08-12 23:30:38 -07:00
Guangcong Luo
e8138debee Last command that needs to be chat-command: /trn
(tokenrename) performs a rename using a signed token
2012-08-12 22:58:43 -07:00
Guangcong Luo
faa7cb9e93 Consolidate more commands into chat-commands.js 2012-08-12 22:34:44 -07:00
Guangcong Luo
68650005ea New save-team syntax 2012-08-12 21:56:01 -07:00
Guangcong Luo
39dff5b008 Fix a few crashes in chat-commands 2012-08-12 20:26:09 -07:00
Guangcong Luo
e70e61e26f Make/cancel/accept/reject challenges with chat commands 2012-08-12 18:37:11 -07:00
Guangcong Luo
d3395c8727 Don't give Zarel admins automatically
(Zarel can still be given admins manually - see the code comments for details)
2012-08-12 18:33:06 -07:00
Guangcong Luo
59959ce24e Chat commands for most user actions
- we're moving to a new protocol! wheee!
2012-08-12 13:44:59 -07:00
ibojangles
6305f0886c /k and a banlist informational command 2012-08-11 00:51:42 -03:00
Guangcong Luo
231a9349d1 Offline promote/demote 2012-08-10 00:10:39 -07:00
Guangcong Luo
ba39237978 Don't crash on empty room 2012-08-09 20:47:29 -07:00
Guangcong Luo
2717566503 Make sure avatar changes don't deform chat 2012-08-01 18:19:57 -07:00
Guangcong Luo
4831e68a8c Multi-process battles!
Battles now occur in a separate process.
Hopefully, this results in a substantial increase in network stability.
WARNING: Battle crashes are now practically unrecoverable.
2012-08-01 13:48:58 -07:00
Guangcong Luo
31e642c5a2 Rename simulator.js to battles.js 2012-07-31 19:48:09 -07:00
Guangcong Luo
92623825ef Mutes no longer affect PMs because blarajan 2012-07-31 08:25:47 -07:00
Guangcong Luo
e0e14fe58f !birkal and /birkal
most useful commands ever
2012-07-29 23:27:05 -07:00
Guangcong Luo
e8d9baf3aa Disallow server-side /rank
(it should be client-side now)
2012-07-29 03:27:05 -07:00
verbiage
7bad10945c Changing the /rules command to send the user to smogon's sim rules page instead of PS's now outdated page. 2012-07-29 00:05:53 -07:00
Guangcong Luo
8c7449d441 Try to limit the number of open requests 2012-07-23 23:25:49 -07:00
Guangcong Luo
a95ee41a72 now displays Glicko2 stats 2012-07-12 02:31:31 -04:00
Bill Meltsner
c3027814f6 /modlog search terms enclosed in quotes will always be treated as text search, for tracking down users with numbers at the beginning of their names. 2012-07-10 14:08:56 -05:00
Guangcong Luo
f6aee3d8a2 Add /crashlogged as an alias for /crashnoted 2012-07-10 13:24:27 -04:00
Guangcong Luo
97850e5d84 New command: /kill
- stops the server
- server will restart automatically if running in forever
2012-07-10 13:24:15 -04:00
Marty-D
53c47d2084 Allow Staff to load the banlist. 2012-07-07 23:05:32 -03:00
小太
ead737980f Sanitise modlog output 2012-07-07 15:50:46 +10:00
Bill Meltsner
c31ee2a428 Add SockJS as the default networking library.
You can still use Socket.IO by setting config.protocol in config.js.
2012-07-06 22:56:28 -05:00
Guangcong Luo
ac9aa60a60 Add more information to log files:
- endType is one of: normal | forfeit | forced
- the entire battle log is now included
2012-07-02 10:10:51 -04:00
Guangcong Luo
2230458ebd 'Click here' is bad UI 2012-07-02 09:44:02 -04:00
verbiage
09f95db7e7 Update master 2012-07-01 21:54:37 -05:00
Bill Meltsner
64d210940a Add support for lists of words to be banned from being used in usernames (NOT chat).
& and higher can change the list with /banword and /unbanword (or /bw and /ubw respectively). The words/phrases are turned into IDs (only lowercase alphanumeric characters allowed) and checked against the ID form of a given username.

Keep in mind the list has no sense of context, and so overzealous banning, particularly of short or otherwise common words, should be avoided. Or else user "Cofagrigus" will want to have a word with you.
2012-07-01 21:46:55 -05:00
Bill Meltsner
9edc789937 Missed updating the help description for /modlog. 2012-07-01 21:35:04 -05:00