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 |
|
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
|
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
|
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
|
20d00de1db
|
fixed a bug that happens if all the wolves/seers don't act at all in a large game
|
2011-07-27 08:20:44 -05:00 |
|
Jimmy Cao
|
3fcab67036
|
added a comment
|
2011-07-26 23:25:50 -05:00 |
|
Jimmy Cao
|
875466e5d8
|
now fstart doesn't require the admin to actually be in the game.
|
2011-07-26 21:21:02 -05:00 |
|
Jimmy Cao
|
91e656847e
|
fixed a bug introduced by the commit that made !fstop revealed the roles
|
2011-07-26 21:15:22 -05:00 |
|
Jimmy Cao
|
80ffd11f9e
|
very small bugfix in !help
|
2011-07-26 21:08:29 -05:00 |
|
Jimmy Cao
|
f9e7f50d98
|
added !die, now !fstop displays the roles
|
2011-07-26 20:19:50 -05:00 |
|
Jimmy Cao
|
8cd2ec7a8d
|
you can now !op/!deop multiple people
|
2011-07-26 19:39:08 -05:00 |
|
Jimmy Cao
|
6a89fd80cf
|
fix a slight !admins bug
|
2011-07-26 17:57:18 -05:00 |
|
Jimmy Cao
|
e185648892
|
fixed the bug where gunners have infinite bullets
|
2011-07-26 17:55:45 -05:00 |
|
Jimmy Cao
|
c3fbd4f0b5
|
fixed a bug with cursed
|
2011-07-26 17:38:46 -05:00 |
|
Jimmy Cao
|
697f8f75c7
|
fix some minor typos and bugs
|
2011-07-25 12:21:00 -05:00 |
|
Jimmy Cao
|
f07d3a6c63
|
fix typo in a message
|
2011-07-25 04:20:26 -05:00 |
|
Jimmy Cao
|
dd286b7b43
|
added a notification if the g.a. protected victim
|
2011-07-25 04:07:23 -05:00 |
|
Jimmy Cao
|
aafb7a6b96
|
added the role settings for 22 and 29 players
|
2011-07-24 21:43:17 -05:00 |
|
Jimmy Cao
|
acc397261a
|
a few bugfixes and added !coin (which should be removed), license change
|
2011-07-24 00:32:09 -05:00 |
|
Jimmy Cao
|
70d5bdc9b8
|
added some more things useful for debug like !revealroles
|
2011-07-23 01:19:31 -05:00 |
|
Jimmy Cao
|
9ec729adb6
|
added !admin so that the owner of the bot can temporarily make someone an admin
|
2011-07-23 00:57:23 -05:00 |
|
Jimmy Cao
|
a8598d61f4
|
changed the !stats grammar a bit (no seer -> no seers) without bolded "no"
|
2011-07-23 00:38:09 -05:00 |
|
Jimmy Cao
|
fb56c98898
|
fixed another bug and also made !fjoin just !join
|
2011-07-23 00:26:11 -05:00 |
|
Jimmy Cao
|
5340ff6b74
|
bug fix
|
2011-07-23 00:21:33 -05:00 |
|
Jimmy Cao
|
b7f6d8f15e
|
make !fjoin more like !frole (you can do it on people who are in the channel)
|
2011-07-23 00:16:28 -05:00 |
|
Jimmy Cao
|
05a44098bf
|
fixed a bug and made !frole case-insensitive
|
2011-07-22 23:43:15 -05:00 |
|
Jimmy Cao
|
67d9509c1d
|
fdel and fquit
|
2011-07-22 23:36:28 -05:00 |
|
Jimmy Cao
|
85b22c5930
|
fixed a bug that caused the bot to sometimes not end the night prematurely when all have acted
|
2011-07-22 22:50:48 -05:00 |
|
Jimmy Cao
|
c354053757
|
!reset is now !fstop
|
2011-07-22 20:46:25 -05:00 |
|
Jimmy Cao
|
1ad1aa303d
|
fixed a small bug in !chankick
|
2011-07-20 15:39:38 -05:00 |
|
Jimmy Cao
|
a638d7add9
|
added documentation for !admins, now !away'd admins don't get pinged with !admins
|
2011-07-20 00:40:29 -05:00 |
|
Jimmy Cao
|
16d046ecf6
|
make the end-game messages aware of nick changes that occur during the game
|
2011-07-19 23:05:10 -05:00 |
|
Jimmy Cao
|
38c2356534
|
added !admins
|
2011-07-19 22:50:52 -05:00 |
|
Jimmy Cao
|
2912b23056
|
fixed a bug where wolfbot crashes (from implementing the auto-game-over when seer/wolf are idle first round)
|
2011-07-19 22:23:54 -05:00 |
|
Jimmy Cao
|
d1d05c1eb6
|
added variable's feature [A]: if wolves and seers don't act first night, then game auto-ends
|
2011-07-19 22:21:23 -05:00 |
|
Jimmy Cao
|
742aa34e92
|
added more documentation for some commands
|
2011-07-19 20:57:32 -05:00 |
|
Jimmy Cao
|
7375437bb8
|
added !away (!back), also works in a PM
|
2011-07-19 20:21:08 -05:00 |
|
Jimmy Cao
|
6f722e7e37
|
small fix to make it display the wolf first during the role-revealing after game ends
|
2011-07-19 18:37:54 -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
|
5f69041ba0
|
implement getting !help for individual commands
|
2011-07-18 16:51:02 -05:00 |
|
Jimmy Cao
|
cd3946b402
|
added updated the function documentation for some commands
|
2011-07-18 16:14:55 -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
|
4f33acf925
|
added license at the top of a few files
|
2011-07-18 13:42:30 -05:00 |
|
Jimmy Cao
|
fa3df32c29
|
fixed the guardian angel message
|
2011-07-18 13:15:22 -05:00 |
|
Jimmy Cao
|
b481e42474
|
fixed error with fleave caused by recent changes to the idler-killer
|
2011-07-18 13:02:12 -05:00 |
|
Jimmy Cao
|
a66dff8504
|
nicks that start with ` are no longer considered fake
|
2011-07-18 12:55:07 -05:00 |
|
Jimmy Cao
|
3e6cff78ea
|
relieved some lag for the wolf relay with dwfreed's tip of taking the advantage of multiple privmsg targets
|
2011-07-17 22:46:49 -05:00 |
|
Jimmy Cao
|
797f3514a7
|
fixed some minor stuff
|
2011-07-17 21:49:05 -05:00 |
|
Jimmy Cao
|
0211053b1d
|
full threading for the reaper function
|
2011-07-17 20:30:26 -05:00 |
|
Jimmy Cao
|
d64b4ee2f8
|
fixed bugs introduced by the last commit
|
2011-07-17 18:35:59 -05:00 |
|
Jimmy Cao
|
77c78c8788
|
added the ability to auto-nickserv-ghost or auto-nickserv-release
|
2011-07-16 15:57:29 -05:00 |
|
Jimmy Cao
|
dfb6e1b4ec
|
fixed a bug for detective; players who are just changing host don't quit the game; better error handling
|
2011-07-16 15:09:09 -05:00 |
|
Jimmy Cao
|
01523edac3
|
fixed an english grammar blunder
|
2011-07-16 00:01:17 -05:00 |
|
Jimmy Cao
|
f0a732e8c5
|
cleaned stuff up
|
2011-07-12 07:14:48 -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
|
9ea736f6e5
|
adjusted rate limit, fixed bug
|
2011-07-10 15:09:43 -05:00 |
|