Commit Graph

231 Commits

Author SHA1 Message Date
Jimmy Cao
e59a7906db refactoring (multiple target privmsg) 2011-08-09 20:55:52 -05:00
Jimmy Cao
c2ef5fc2f7 disable daytime limit in debug mode again 2011-08-09 20:35:25 -05:00
Jimmy Cao
8384ebabdb fix bug 16 2011-08-09 20:16:09 -05:00
Jimmy Cao
d310dbabbb fixed issue 15 2011-08-09 17:32:21 -05:00
Jimmy Cao
6e87fed3cd check if the wolves are agreeing before ending the night. 2011-08-09 16:21:27 -05:00
Jimmy Cao
51fe49d9e9 newlines at the end of the files 2011-08-09 15:01:17 -05:00
Jimmy Cao
8c03005a88 now errors before the bot actually starts up successfully are logged 2011-08-09 14:56:03 -05:00
Jimmy Cao
cb9bdafc57 make traitors count for as wolves when checking for winning conditions 2011-08-09 14:18:01 -05:00
Jimmy Cao
b284195e28 slight change to the docs of !shoot 2011-08-09 13:51:05 -05:00
Jimmy Cao
e3215fada5 the aliases "protect" and "save" added for the G.Angel-Guard command 2011-08-09 13:19:00 -05:00
Jimmy Cao
160baa4432 Fixed a mistake from the last commit 2011-08-08 19:28:15 -05:00
Jimmy Cao
50b673da2c drunk is only pm'd on the first night 2011-08-08 19:25:57 -05:00
Jimmy Cao
1275265dc5 fixed bug that allowed gunner to be pm'd after death 2011-08-08 16:15:39 -05:00
Jimmy Cao
88bf7718b7 reduce the !stats, !votes rate limit to 15 seconds 2011-08-08 15:39:42 -05:00
Jimmy Cao
254e32f91a reset rate-limits for !stats/!votes in certain circumstances. Reduce the rate-limiting for !stats/!votes to 30 sec, and make it impossible for the gunner to kill the wolf at night if he's attacked 2011-08-08 15:38:54 -05:00
Jimmy Cao
5a110cb104 flastgame now pings the admin who did it after the game ends. 2011-08-08 15:10:02 -05:00
Jimmy Cao
3acd087774 now warning/killing for idling can be individually disabled 2011-08-08 13:56:27 -05:00
Jimmy Cao
cea4ae3d0a fixed a bug in endgame revealing of the cursed role, and also a bug where nick-changes are not regarded in the idler-killer 2011-08-08 13:49:25 -05:00
Jimmy Cao
0c418a5c2a fixed automatic /ns ghost bug 2011-08-07 23:56:28 -05:00
Jimmy Cao
309f84a325 make cloak matching case-insensitive on all operating systems 2011-08-07 23:36:49 -05:00
Jimmy Cao
a5a29b4a77 !admins now respects !away, glob syntax 2011-08-07 22:54:31 -05:00
Jimmy Cao
d86eb56e00 takes care of performance bottlenecks in command processing 2011-08-07 21:54:29 -05:00
Jimmy Cao
65b1123eeb glob syntax for the permissions/admins/owners list, more flexible permissions, no gunner suicide 2011-08-07 16:02:03 -05:00
Jimmy Cao
be7cb99219 fixed non-privmsg-nickserv authentication, added rate limiting for !stats, !votes, !admins, detectives now have a more complete PM message 2011-08-07 00:48:26 -05:00
Jimmy Cao
400aa4028a sorting of !stats roles 2011-08-06 00:17:12 -05:00
Jimmy Cao
512d5e7843 fixed a grammar mistake in !stats 2011-08-05 22:49:45 -05:00
Jimmy Cao
6cd0f3e02f add a period to the "You have selected ??? to be killed." message 2011-08-05 01:35:30 -05:00
Jimmy Cao
534cc2a074 (small change) - changed the message that the bot sends out when both the seer and wolf are not active during the first night 2011-08-05 00:47:15 -05:00
Jimmy Cao
7e04e3aed4 fixed wounded so that shot villagers can't vote and their votes are removed if they were shot after they voted 2011-08-05 00:28:37 -05:00
Jimmy Cao
eb8f247be4 Now !votes shows the amount of votes needed to lynch when there are no votes 2011-08-04 23:51:58 -05:00
Jimmy Cao
ea14343ec2 latest changes to botconfig.py 2011-08-04 22:15:37 -05:00
Jimmy Cao
63ce01c966 change the sunset from 16min to 15 min (to fix a math failure) 2011-08-04 20:49:57 -05:00
Jimmy Cao
b1bd754d38 now whether the bot joins immediately on connect, or after being cloaked is configurable 2011-08-04 19:42:55 -05:00
Jimmy Cao
fbaf578e8d now the bot only joins when it receives its cloak (bad idea?) 2011-08-04 19:23:49 -05:00
Jimmy Cao
0b88338d12 --debug argument now makes the bot start in debug mode; optional argument to !start - (debugmode|normalmode) that causes the bot to reboot into that mode; debug mode can be entirely disabled in botconfig.py 2011-08-04 19:10:49 -05:00
Jimmy Cao
44ce23957a fixed a bug caused by !admins being used by two or more people simultaneously 2011-08-04 12:18:12 -05:00
Jimmy Cao
732a6239a8 fixed a bug that is caused by fping being used nearly simultaneously by two users 2011-08-04 12:11:26 -05:00
Jimmy Cao
80b4cec6ce forgot to add this important (logging module) file earlier 2011-08-04 00:49:45 -05:00
Jimmy Cao
4288b53791 A change the the config - correctly make 15 min the daytime limit 2011-08-04 00:40:38 -05:00
Jimmy Cao
336efe237b added a warning for the sunset feature 2011-08-03 23:51:53 -05:00
Jimmy Cao
bc9d433168 made the shebang line specific to python 3.2 2011-08-03 21:34:56 -05:00
Jimmy Cao
2fb7a3a8b4 changed the logging format a lot 2011-08-03 16:26:07 -05:00
Jimmy Cao
4038d791de fixed the drunk gun chances 2011-08-03 10:20:12 -05:00
Jimmy Cao
d38405f7c2 some bugs have been fixed, bare logging made even more parseable 2011-08-02 22:22:45 -05:00
Jimmy Cao
9e676f2107 improved the logger (added a bare log without extra talk) 2011-08-02 20:54:14 -05:00
Jimmy Cao
849f60d620 fixed some bugs and added game logging capabilities 2011-08-02 19:56:51 -05:00
Jimmy Cao
38a018eff3 normalized the database substantially 2011-08-02 12:40:55 -05:00
Jimmy Cao
05c31d1a30 modified database table naming 2011-08-02 10:00:07 -05:00
Jimmy Cao
ed5f1ae43c fixed some slight bugs 2011-08-02 09:03:04 -05:00
Jimmy Cao
b81160cb48 fixed some bugs with database connection, and fixed a grammar mistake 2011-08-02 08:46:14 -05:00