Commit Graph

56 Commits

Author SHA1 Message Date
Jimmy Cao
18d0c74ff9 removed nick change tracking 2011-10-23 15:20:37 -05:00
Jimmy Cao
fc7dbcb8e9 fix nick change recording 2011-09-10 14:00:16 -05:00
Jimmy Cao
922ec19b7f change line endings to unix style 2011-09-03 23:41:31 -05:00
Jimmy Cao
446f62f6b8 add a player record on join in the database 2011-08-21 00:39:06 -05:00
Jimmy Cao
61cf387d0d Tweak the stats database so that tying stats data to a player is much easier 2011-08-19 00:15:05 -05:00
Jimmy Cao
abf194b92b make it easier for the bot to exit, allow rejoin after part within 7 seconds 2011-08-17 23:19:21 -05:00
Jimmy Cao
ff21b99821 fix a typo/bug 2011-08-17 13:16:43 -05:00
Jimmy Cao
f756382429 parting now does not allow a player to rejoin 2011-08-17 02:11:23 -05:00
Jimmy Cao
c2d9d87a33 allow players that quit/part during the game to rejoin within a certain period of time after their disconnection 2011-08-17 01:37:29 -05:00
Jimmy Cao
8184d7f502 increase night timeout to 120 seconds, add rule #9 2011-08-14 22:52:52 -05:00
Jimmy Cao
f4bf25df10 better error handling 2011-08-14 21:40:05 -05:00
Jimmy Cao
51fe49d9e9 newlines at the end of the files 2011-08-09 15:01:17 -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
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
63ce01c966 change the sunset from 16min to 15 min (to fix a math failure) 2011-08-04 20:49:57 -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
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
b81160cb48 fixed some bugs with database connection, and fixed a grammar mistake 2011-08-02 08:46:14 -05:00
Jimmy Cao
b468d97db8 fixed some bugs and made !flastgame better 2011-08-01 22:42:06 -05:00
Jimmy Cao
2be2bb98e2 updated the player stats stuff 2011-08-01 22:26:06 -05:00
Jimmy Cao
c488699141 use sqlite for the persistent data 2011-08-01 21:38:18 -05:00
Jimmy Cao
bc14aa1f5b fixed !revealroles (debug-only), !game is debug only now and !no is removed 2011-07-30 22:16:23 -05:00
Jimmy Cao
a98061e55e somewhat modified the anti-flood, and fixed some howl differences 2011-07-30 02:38:33 -05:00
Jimmy Cao
d31ddeb4ce trivial changes (nothing that affects the code) - moving lines around to organize it better 2011-07-29 22:29:41 -05:00
Jimmy Cao
2ca393da83 debug mode has no time limits 2011-07-28 20:13:16 -05:00
Jimmy Cao
5059669142 !rforce gunner now works 2011-07-28 15:53:49 -05:00
Jimmy Cao
649fc46127 now unhooking is more specific, auth by server password, persistent !away 2011-07-28 15:04:31 -05:00
Jimmy Cao
cbc7ecc464 now DEBUG_MODE (configurable variable) is part of botconfig.py, not var.py 2011-07-27 15:22:14 -05:00
Jimmy Cao
697f8f75c7 fix some minor typos and bugs 2011-07-25 12:21:00 -05:00
Jimmy Cao
aafb7a6b96 added the role settings for 22 and 29 players 2011-07-24 21:43:17 -05:00
Jimmy Cao
7375437bb8 added !away (!back), also works in a PM 2011-07-19 20:21:08 -05:00
Jimmy Cao
da8571f559 turned off some debug features and changed the winning-conditions check so that traitors are not counted as wolves (howlbot behavior) 2011-07-19 18:18:00 -05:00
Jimmy Cao
c2b4fe2ab3 corrected the role settings 2011-07-18 19:22:28 -05:00
Jimmy Cao
9ffd8aa58f major update and fix for the function that checks if night is done (all seers, wolves, etc have acted) 2011-07-18 16:00:53 -05:00
Jimmy Cao
0211053b1d full threading for the reaper function 2011-07-17 20:30:26 -05:00
Jimmy Cao
26c0a71501 !help 2011-07-11 05:15:01 -05:00
Jimmy Cao
2a324cbc8d fixed the leguin bug, allowed more customization of chances 2011-07-10 16:14:45 -05:00
Jimmy Cao
276ecb53b5 added the player limit 2011-07-10 15:52:57 -05:00
Jimmy Cao
ad750d8f66 added a tokenbucket algo rate limiter, and added the detective role 2011-07-10 14:40:54 -05:00
Jimmy Cao
0fc4629d8b improved admin commands 2011-07-09 18:00:23 -05:00
Jimmy Cao
177982f9db added a few admin features. 2011-07-09 16:18:22 -05:00
Jimmy Cao
de35286d9d added !goat, !force, etc 2011-07-09 15:47:17 -05:00
Jimmy Cao
9151570c73 started implementing G.Angel, and fixed a KICK bug 2011-07-09 02:10:32 -05:00