Commit Graph

152 Commits

Author SHA1 Message Date
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
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
336efe237b added a warning for the sunset feature 2011-08-03 23:51:53 -05:00
Jimmy Cao
2fb7a3a8b4 changed the logging format a lot 2011-08-03 16:26:07 -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
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
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
f6d1e14e96 now the drunk is not displayed in the stats and also the end-game role-revealing messages (conforms to howlbot) 2011-08-01 14:23:25 -05:00
Jimmy Cao
ba88d83a9a made the wolf-killed-by-gunner-at-night message more visible 2011-08-01 12:45:29 -05:00
Jimmy Cao
eed6c1f4da now after gunner shoots, there is a check for game-end conditions (too many wounded that there is parity) 2011-08-01 12:20:44 -05:00
Jimmy Cao
3d265ea6f3 now you can't !ping in game 2011-07-31 18:58:46 -05:00
Jimmy Cao
b0eab1acce cleaned up the code to reflect the changes to !game 2011-07-30 22:31:10 -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
03664713d9 other player lists are now sorted alphabetically too, and also !off added as an alias of !die 2011-07-30 13:15:48 -05:00
Jimmy Cao
aa83784eaf sort the ping lists alphabetically (for MJ94) 2011-07-30 11:18:44 -05:00
Jimmy Cao
1764457ce3 !away now toggles, and !away does not prevent you from being !admins pinged 2011-07-30 11:07:30 -05:00
Jimmy Cao
4705e06620 fixed a bug in !stats that was caused by a bugfix earlier today that fixed something in the end-game role revealing 2011-07-30 03:02:04 -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
e2afd41a69 wolves can kill the traitor now 2011-07-29 23:43:40 -05:00
Jimmy Cao
e849fc70a7 fixed a difference between this and howl (wolves actually vote for their victim) 2011-07-29 23:36:21 -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
9f4bd896df cursed is revealed when the game ends (bugfix) 2011-07-29 18:54:35 -05:00
Jimmy Cao
33e4f264ef !rehash removed, docs added for !back 2011-07-29 18:07:59 -05:00
Jimmy Cao
2f18efbf75 !away and !back now have different functions, !restart/!bye stop the game 2011-07-29 16:04:46 -05:00
Jimmy Cao
1cc849537f now !help does not display aliases 2011-07-29 13:46:34 -05:00
Jimmy Cao
210472dc80 !votes from non-players are now allowed, !rehash added (but it's not very useful) 2011-07-28 21:52:42 -05:00
Jimmy Cao
2ca393da83 debug mode has no time limits 2011-07-28 20:13:16 -05:00
Jimmy Cao
61c64e9a77 now unmarking !away saves 2011-07-28 18:50:20 -05:00
Jimmy Cao
5059669142 !rforce gunner now works 2011-07-28 15:53:49 -05:00
Jimmy Cao
6ebdd8ac6f !fleave tells the other players what the kicked player's role was, and now dead players are no longer wounded if they die during the day 2011-07-28 15:30:35 -05:00
Jimmy Cao
91ae31249c case insensitive !force 2011-07-28 15:22:01 -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
ff3f22a2e5 now the gunner definitely dies when he is killed by wolf at night 2011-07-27 20:34:48 -05:00
Jimmy Cao
d4b3999316 fixed a bug of stupidity 2011-07-27 20:32:15 -05:00