zamabe
6de1e1a2a4
Changed behavior of stats command and added a players command.
...
The stats command's behavior has been to ping every person already
playing. The solution placed into practice here is to split the
more annoying (and frankly, mostly unnecessary) half of the command
into a different command for use when actually wanted/needed.
13 years ago
zamabe
603f955a00
Allow players to join the game after being pinged.
...
Check for and enforce a minimum wait time when ping command is used
to avoid leaving players behind after pinging them.
13 years ago
Jimmy Cao
e8001c19de
small tweaks in !fgame
13 years ago
Jimmy Cao
38edcffdb1
major restructuring
...
--HG--
rename : wolfgame.py => modules/wolfgame.py
rename : var.py => settings/wolfgame.py
rename : decorators.py => tools/decorators.py
rename : wolfgamelogger.py => tools/wolfgamelogger.py
13 years ago
Jimmy Cao
e0ff07d7ef
changed database structure a bit
13 years ago
Jimmy Cao
a7e8ad3831
better stats (needs testing)
13 years ago
Jimmy Cao
9b10167511
removed nick change tracking
13 years ago
Jimmy Cao
e1c6b35b1f
fix nick change recording
13 years ago
Jimmy Cao
3f36fb3fb5
change line endings to unix style
13 years ago
jcao219
345b597dc9
add a player record on join in the database
13 years ago
jcao219
908d08acd7
Tweak the stats database so that tying stats data to a player is much easier
13 years ago
jcao219
e6639118db
make it easier for the bot to exit, allow rejoin after part within 7 seconds
13 years ago
jcao219
b53d7de319
fix a typo/bug
13 years ago
jcao219
8e5cd95d55
parting now does not allow a player to rejoin
13 years ago
jcao219
c81d98dfbb
allow players that quit/part during the game to rejoin within a certain period of time after their disconnection
13 years ago
jcao219
56f6108bd0
increase night timeout to 120 seconds, add rule #9
13 years ago
jcao219
2afda11e1b
better error handling
13 years ago
jcao219
33db26a4f0
newlines at the end of the files
13 years ago
jcao219
9eb8203c9b
reduce the !stats, !votes rate limit to 15 seconds
13 years ago
jcao219
ac1194ddbb
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
13 years ago
jcao219
3e56a66c37
fixed non-privmsg-nickserv authentication, added rate limiting for !stats, !votes, !admins, detectives now have a more complete PM message
13 years ago
jcao219
344ce70f60
change the sunset from 16min to 15 min (to fix a math failure)
13 years ago
jcao219
d7599cd9c8
A change the the config - correctly make 15 min the daytime limit
13 years ago
jcao219
14ca6c49b0
added a warning for the sunset feature
13 years ago
jcao219
7c1b9f094a
fixed the drunk gun chances
13 years ago
jcao219
f90ced467a
some bugs have been fixed, bare logging made even more parseable
13 years ago
jcao219
cabd9d7cfd
improved the logger (added a bare log without extra talk)
13 years ago
jcao219
006754de51
fixed some bugs and added game logging capabilities
13 years ago
jcao219
fac7d6b01d
normalized the database substantially
13 years ago
jcao219
61ca24cd18
modified database table naming
13 years ago
jcao219
7e0a61d405
fixed some bugs with database connection, and fixed a grammar mistake
13 years ago
jcao219
0cc9a59763
fixed some bugs and made !flastgame better
13 years ago
jcao219
bb9329547c
updated the player stats stuff
13 years ago
jcao219
3403424845
use sqlite for the persistent data
13 years ago
jcao219
200ccb65a6
fixed !revealroles (debug-only), !game is debug only now and !no is removed
13 years ago
jcao219
fa593d0db1
somewhat modified the anti-flood, and fixed some howl differences
13 years ago
jcao219
36c6480659
trivial changes (nothing that affects the code) - moving lines around to organize it better
13 years ago
jcao219
cb6a36ab87
debug mode has no time limits
13 years ago
jcao219
acc26cbc3e
!rforce gunner now works
13 years ago
jcao219
a181cc05bf
now unhooking is more specific, auth by server password, persistent !away
13 years ago
jcao219
1477407d7c
now DEBUG_MODE (configurable variable) is part of botconfig.py, not var.py
13 years ago
jcao219
9ba83b5709
fix some minor typos and bugs
14 years ago
jcao219
42b7dd0994
added the role settings for 22 and 29 players
14 years ago
jcao219
8bf8bcd369
added !away (!back), also works in a PM
14 years ago
jcao219
5ebcf40c8b
turned off some debug features and changed the winning-conditions check so that traitors are not counted as wolves (howlbot behavior)
14 years ago
jcao219
471ae4b826
corrected the role settings
14 years ago
jcao219
f78a5e92f1
major update and fix for the function that checks if night is done (all seers, wolves, etc have acted)
14 years ago
jcao219
5336a4b795
full threading for the reaper function
14 years ago
jcao219
2e59808b99
!help
14 years ago
jcao219
a1f3adb00f
fixed the leguin bug, allowed more customization of chances
14 years ago