Commit Graph

2653 Commits

Author SHA1 Message Date
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
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
df2754dbad "An error has occured" -> "An error has occured and has been logged" 2011-07-29 17:25:49 -05:00
Jimmy Cao
435df06d5e fixed error logging in non-debug mode 2011-07-29 16:58:45 -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