Commit Graph

2636 Commits

Author SHA1 Message Date
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
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
Jimmy Cao
638b93e3b3 now the gunner still dies if he shot the wolf 2011-07-27 20:29:49 -05:00
Jimmy Cao
e597e3bb7d updated README 2011-07-27 20:16:05 -05:00
Jimmy Cao
b62c1045bc fix small bug from last commit 2011-07-27 19:34:08 -05:00
Jimmy Cao
16131895c1 added the capability for multiple owners 2011-07-27 19:33:07 -05:00
Jimmy Cao
dcda60012d use mode +o instead of /cs op 2011-07-27 18:36:51 -05:00
Jimmy Cao
c7c0690c20 tweaked the anti-flood 2011-07-27 18:07:36 -05:00
Jimmy Cao
b0518a81f3 made debug mode, !chankick better 2011-07-27 17:03:34 -05:00
Jimmy Cao
69531682f9 fixed !fquit bug 2011-07-27 16:34:43 -05:00
Jimmy Cao
0b889d5933 made debug mode better, now there are no time limits in debug mode, and !fwait now accepts a parameter, and !fstop doesn't crash the bot if used in the joining phase 2011-07-27 16:19:23 -05:00
Jimmy Cao
dc51b7fb51 (continue the last commit) 2011-07-27 15:22:26 -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
123d21bf86 fine-tuned the anti-flood-rate-limit, added lots of docs, and fixed the cursed/gunner selection (now it's correct) 2011-07-27 13:41:36 -05:00
Jimmy Cao
5a7a3edba5 added one line to the readme 2011-07-27 08:28:07 -05:00