Commit Graph

263 Commits

Author SHA1 Message Date
Jimmy Cao
d87d362d23 bug fix 2011-08-18 15:25:25 -05:00
Jimmy Cao
6e9747ae39 call sys.exit() 2011-08-18 00:04:26 -05:00
Jimmy Cao
a978623004 os._exit takes one argument 2011-08-17 23:55:49 -05:00
Jimmy Cao
037d13cecb use os._exit 2011-08-17 23:52:04 -05:00
Jimmy Cao
abf194b92b make it easier for the bot to exit, allow rejoin after part within 7 seconds 2011-08-17 23:19:21 -05:00
Jimmy Cao
45d8ed53ac hopefully fix the elusive nick-change bug, prevent DC'd users from rejoining after a game ends 2011-08-17 22:25:59 -05:00
Jimmy Cao
33c6cea33d bug fix for the quit-rejoin code 2011-08-17 16:13:08 -05:00
Jimmy Cao
ff21b99821 fix a typo/bug 2011-08-17 13:16:43 -05:00
Jimmy Cao
f756382429 parting now does not allow a player to rejoin 2011-08-17 02:11:23 -05:00
Jimmy Cao
b4d580a075 logging to a *separate* file when a player returns after he disconnects 2011-08-17 02:03:09 -05:00
Jimmy Cao
872fdccccc log when someone returns (after DC) 2011-08-17 01:50:48 -05:00
Jimmy Cao
c2d9d87a33 allow players that quit/part during the game to rejoin within a certain period of time after their disconnection 2011-08-17 01:37:29 -05:00
Jimmy Cao
39a0bf784d add timestamps for logging 2011-08-16 01:31:24 -05:00
Jimmy Cao
fc58c28f41 split messages that are too large, and also fix a bug where the bot doesn't completely exit on fbye 2011-08-15 23:07:21 -05:00
Jimmy Cao
08141d4822 fix a gunner message in the night bug, and a wolf killing bug caused by a recent commit 2011-08-15 21:59:58 -05:00
Jimmy Cao
16fcee2b65 wounded traitors count against wolves now. 2011-08-15 09:52:40 -05:00
Jimmy Cao
0e01479c31 bolded "almost setting" message 2011-08-14 23:52:18 -05:00
Jimmy Cao
825f0935f8 Some commands now notice if you aren't in the game 2011-08-14 23:37:46 -05:00
Jimmy Cao
8339efac1f !stats and !votes notice if the player who did it is not in the game 2011-08-14 23:20:12 -05:00
Jimmy Cao
8184d7f502 increase night timeout to 120 seconds, add rule #9 2011-08-14 22:52:52 -05:00
Jimmy Cao
0edf3eb1b2 fully implement autocomplete targeting 2011-08-14 22:40:07 -05:00
Jimmy Cao
f4bf25df10 better error handling 2011-08-14 21:40:05 -05:00
Jimmy Cao
e55335441c fixed bug in !kill that allowed the killing of other wolves 2011-08-13 17:01:11 +00:00
Jimmy Cao
8f208889b8 fix various minor bugs 2011-08-12 17:20:02 -05:00
Jimmy Cao
aad7bfa538 hopefully make fbye/fdie more smooth 2011-08-11 14:40:13 -05:00
Jimmy Cao
a08bb9e60e fixed error that sometimes happen when fdie is used 2011-08-11 13:29:54 -05:00
Jimmy Cao
b686a1caf4 fixed UI bug - if harlot dies while visiting or g.angel while protecting 2011-08-10 21:41:52 -05:00
Jimmy Cao
d0af655e3b faftergame, flastgame also improved 2011-08-10 21:33:26 -05:00
Jimmy Cao
8370618946 no "You Can't Kill" Message for traitors 2011-08-10 14:23:38 -05:00
Jimmy Cao
85308a83ec now !force/!rforce cannot be used by ALLOW-list-allowed-!force-people to force an admin-only command 2011-08-10 01:01:23 -05:00
Jimmy Cao
44e5a26d0e add an optional parameter to flastgame 2011-08-10 00:05:05 -05:00
Jimmy Cao
67aba83d71 flastgame disables next-game-starting if used during the joining phase 2011-08-09 22:12:25 -05:00
Jimmy Cao
e59a7906db refactoring (multiple target privmsg) 2011-08-09 20:55:52 -05:00
Jimmy Cao
c2ef5fc2f7 disable daytime limit in debug mode again 2011-08-09 20:35:25 -05:00
Jimmy Cao
8384ebabdb fix bug 16 2011-08-09 20:16:09 -05:00
Jimmy Cao
d310dbabbb fixed issue 15 2011-08-09 17:32:21 -05:00
Jimmy Cao
6e87fed3cd check if the wolves are agreeing before ending the night. 2011-08-09 16:21:27 -05:00
Jimmy Cao
51fe49d9e9 newlines at the end of the files 2011-08-09 15:01:17 -05:00
Jimmy Cao
8c03005a88 now errors before the bot actually starts up successfully are logged 2011-08-09 14:56:03 -05:00
Jimmy Cao
cb9bdafc57 make traitors count for as wolves when checking for winning conditions 2011-08-09 14:18:01 -05:00
Jimmy Cao
b284195e28 slight change to the docs of !shoot 2011-08-09 13:51:05 -05:00
Jimmy Cao
e3215fada5 the aliases "protect" and "save" added for the G.Angel-Guard command 2011-08-09 13:19:00 -05:00
Jimmy Cao
160baa4432 Fixed a mistake from the last commit 2011-08-08 19:28:15 -05:00
Jimmy Cao
50b673da2c drunk is only pm'd on the first night 2011-08-08 19:25:57 -05:00
Jimmy Cao
1275265dc5 fixed bug that allowed gunner to be pm'd after death 2011-08-08 16:15:39 -05:00
Jimmy Cao
88bf7718b7 reduce the !stats, !votes rate limit to 15 seconds 2011-08-08 15:39:42 -05:00
Jimmy Cao
254e32f91a 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 2011-08-08 15:38:54 -05:00
Jimmy Cao
5a110cb104 flastgame now pings the admin who did it after the game ends. 2011-08-08 15:10:02 -05:00
Jimmy Cao
3acd087774 now warning/killing for idling can be individually disabled 2011-08-08 13:56:27 -05:00
Jimmy Cao
cea4ae3d0a fixed a bug in endgame revealing of the cursed role, and also a bug where nick-changes are not regarded in the idler-killer 2011-08-08 13:49:25 -05:00