Robert Wall
abefb90db2
Re-add missing . at the end of !retract response.
...
Minor change requested by someone in #wolfgame a while ago. The old
!retract message ended in a period, and it's still there in the logger
message, but the new in-channel message didn't have one.
2013-07-05 22:26:07 -07:00
Robert Wall
5630e6f537
Merge pull request #2 from skizzerz/wording
...
change wording for !join (suggested by Makiavel)
2013-07-05 22:11:27 -07:00
Robert Wall
c2887bc761
Add empty declarations and checks to partly fix START_WITH_DAY.
...
This commit adds some variable declarations and other minor things so
that setting var.START_WITH_DAY to 1 doesn't cause errors. This commit
doesn't actually fix that gamemode completely, since I'm still
pondering how best to make the game notify people of their roles when
the game starts in this mode, but it's a good start.
2013-07-05 22:00:13 -07:00
Robert Wall
339a63fe33
Clean up var.illegal_joins during !start, fix related !join bug
...
This patch fixes a bug in !join that caused new entries to be created in
the var.illegal_joins dictionary for every joining player because of a
missing check to see if the player's cloak is in the dictionary at all.
It also adds logic to !start to remove entries from the
var.illegal_joins dict if they currently have a value of 0, since these
entries are no longer relevant.
These changes together make !eval var.illegal_joins far more useful for
getting a list of *just* stasised players.
2013-06-28 19:58:30 -07:00
Skizzerz
f65f64102c
change wording for !join (suggested by Makiavel)
2013-06-27 21:35:49 -05:00
Robert Wall
b7cb0d38ab
Merge branch 'master' into elkyrww
2013-06-23 23:51:15 -07:00
Robert Wall
70132b6aea
Make the help command always reply in PM to reduce spamminess
2013-06-23 16:06:21 -07:00
Robert Wall
a813cc611f
Remind the village drunk of their role every night.
...
(See: http://code.google.com/p/wolf/issues/detail?id=86 )
2013-06-02 14:53:22 -07:00
Robert Wall
475ffe715b
Adding player count to !join, !leave, and !fleave
2013-06-02 14:47:39 -07:00
Melissa Draper
1a6eb7c35b
Eliminate pronouns (S/He, his/her, etc) from messages
...
(See: http://code.google.com/p/wolf/issues/detail?id=89 )
2013-06-02 14:25:01 -07:00
Eitan Adler
84fdc5ff2d
Be more careful about applying stasis
2013-06-02 12:23:56 +02:00
Eitan Adler
42dae3c818
the player may have not yet said anything
2013-06-01 16:18:08 +02:00
Eitan Adler
a2ec66f27d
Revert stasis on return
2013-06-01 16:06:24 +02:00
Eitan Adler
d309ae8568
Use make_stasis
2013-06-01 16:05:46 +02:00
Eitan Adler
0f4e7a91a1
fix prior (hence the 'sort of')
2013-06-01 16:04:39 +02:00
Eitan Adler
80d494bf86
use make_stasis correctly
...
remove stasis when a player returns (sort of)
2013-06-01 16:04:19 +02:00
Eitan Adler
9a1571fbf4
Move from roles -> special roles.
2013-06-01 16:02:14 +02:00
Eitan Adler
b6749abce8
add a 'special roles' option
2013-06-01 16:01:02 +02:00
Eitan Adler
2b0fd11a58
Use the correct stasis penalty
2013-06-01 16:00:17 +02:00
Eitan Adler
1e5af88fb1
Fix stasis usage
2013-06-01 15:59:34 +02:00
Eitan Adler
eb3d4d3ccd
When force starting pass the correct param as nick
2013-06-01 15:56:58 +02:00
Melissa Draper
a63c49ca4a
Add phase (day/night) to the roles stats line
2013-05-29 22:37:46 +12:00
Melissa Draper
7d4554b951
Fix last said bugs after player rejoins or their connection drops
2013-05-30 22:00:52 +12:00
Eitan Adler
30f182bcb3
fix coin
2013-05-26 17:04:29 +02:00
Eitan Adler
1724ca5dc8
Per channel request
2013-05-26 10:00:35 +02:00
Eitan Adler
4283f9b28e
disable until I'm awake
2013-05-18 01:54:43 -04:00
Eitan Adler
7d5b2cc7bd
don't fix the problem, just make goat herder the starter
2013-05-18 01:51:10 -04:00
Eitan Adler
3b818f6181
fix random
2013-05-18 01:46:24 -04:00
Eitan Adler
37fa6bfbd7
again... 2am is bad
2013-05-18 01:44:18 -04:00
Eitan Adler
f57b054db1
don't be an idiot
2013-05-18 01:43:36 -04:00
Eitan Adler
5e3baa317c
fix goat herder
2013-05-18 01:40:51 -04:00
Eitan Adler
9e8ac652ab
Try to do the goat herder, at 2 am
2013-05-18 01:37:42 -04:00
Eitan Adler
21872f39bc
fix duplicate 'on on'
2013-05-12 11:51:44 -04:00
Eitan Adler
501f51d5d6
add a control for self lynching
2013-04-21 09:13:11 -04:00
Eitan Adler
235cef0cd7
fix stasis
2013-04-21 00:12:46 -04:00
Eitan Adler
36d6cfaff3
add more color types
2013-04-19 19:32:48 -04:00
Eitan Adler
71a988df23
Clean up bot a bit.
...
Add messages & kicks for colour
2013-04-19 19:20:10 -04:00
Eitan Adler
70f7bbb45a
quick hack to test something about python
2013-04-15 15:29:22 -04:00
Eitan Adler
8c3544d44a
Fix !roles for real
...
Submitted by: dwfreed
2013-04-15 15:25:42 -04:00
Eitan Adler
e7685135ff
I hate laptops
2013-04-14 09:01:12 -04:00
Eitan Adler
45445aab00
add colour to !roles
2013-04-14 01:13:32 -04:00
Eitan Adler
92aad0da7d
Add stasis feature
2013-04-14 01:12:15 -04:00
Eitan Adler
6239b31a71
Add short day settings.
...
This makes the games go slightly faster when there are fewer players
2013-04-13 23:15:27 -04:00
Eitan Adler
eef1d2cd95
Disallow lynching yourself
2013-04-13 17:41:30 -04:00
Eitan Adler
975388665a
remove unused imports
2013-04-09 19:09:17 -04:00
Eitan Adler
5a8b2684fe
Add roles command
2013-04-09 18:58:34 -04:00
Eitan Adler
e54c4274c5
Merge jcaoi's flastgame fix
2013-04-07 23:06:50 -04:00
Eitan Adler
8c2b56960e
Change coin to be more pythonic
2013-04-07 23:06:13 -04:00
Eitan Adler
c96c05ac6d
Fix leave-from-different channel issue
2013-04-07 23:05:23 -04:00
Jimmy Cao
087d179317
Fix the problem where !help wouldn't work when used after flastgame
2013-04-06 23:55:44 -05:00
Eitan Adler
cd36e277ac
Add the ghost commands
2013-04-07 00:28:46 -04:00
Jimmy Cao
2de768ab44
Prevent silent traitor -> wolf transformation
2013-04-06 19:52:23 +00:00
Jimmy Cao
721e22d6bc
Avoid calling parse_nick twice in the away command handler
2013-01-10 17:12:42 -06:00
Jimmy Cao
3ac2f71411
Merged changes from Vgr
2013-01-10 16:54:08 -06:00
Nick Zolotko
a59f69c32b
PM Role Commands from Bot
...
Took out ! in both Harlot and G Angel PM messages. Added the command
character var to the detective role PM Message.
2012-10-17 20:16:07 -07:00
Jimmy Cao
31aa08775e
(thanks Vgr) make the ping limiting timer reset when a game starts
2012-09-17 16:33:10 -05:00
Jimmy Cao
a5b6c363d6
Make !frole not cause duplicate entries in the list of cursed villagers
2012-08-25 11:32:36 -05:00
Jimmy Cao
e0ebc4bd40
remove debug print statement from \!ping code
2012-08-24 00:39:09 -05:00
Jimmy Cao
92a0c62f95
Add option for Vgr's reverse (opt-in) ping mode
2012-08-24 00:34:41 -05:00
Jimmy Cao
9fc3d081ac
add night is about to end warning time = 0 to debug mode
...
fix bug in !eval and !exec which caused them to not work via PM
2012-07-29 10:33:23 -05:00
Jimmy Cao
6d169a7df3
allow !fstart from people who have not joined the game
2012-07-18 13:19:14 -05:00
Jimmy Cao
03cef5c7b2
fix bug with debug mode and allowing commands
2012-07-16 11:16:26 -05:00
Jimmy Cao
a4c16e6c20
match eval to eval and exec to exec -_-
2012-07-14 21:40:53 -05:00
Jimmy Cao
479e0656bc
allow the enabling of certain debug mode commands in normal mode via config
2012-07-14 21:34:11 -05:00
Jimmy Cao
e586397ce8
add !frestart verbosemode
2012-07-14 19:32:43 -05:00
Jimmy Cao
2d70cf7456
fix -q on rejoin
2012-07-14 19:22:25 -05:00
Jimmy Cao
080206c60b
add optional night time warning, not enabled by default
2012-07-13 21:21:19 -05:00
Jimmy Cao
e0299ace20
when it's enabled that the gunner can kill the wolf at night, make sure that the message the next day shows the wolf's real role
2012-07-03 20:07:39 -05:00
Jimmy Cao
f61e498185
make !frehash more powerful
2012-06-30 11:23:58 -05:00
Jimmy Cao
fc80be7692
remove print statement
2012-06-29 15:36:53 -05:00
Jimmy Cao
e02402d77e
sasl authentication, improved bot regain/release behavior, botconfig.py updated!
2012-06-29 13:59:59 -05:00
Jimmy Cao
4a959597a7
prevent certain debug mode crashes
2012-06-29 01:21:42 -05:00
Jimmy Cao
ce6351dd82
remove a few debug print's
2012-06-26 18:40:00 -05:00
Jimmy Cao
07e1cced3a
only -m and devoice when not in game
2012-06-26 14:28:19 -05:00
Jimmy Cao
fa97d15303
perform on-join devoicing/-m only after +o
2012-06-25 21:32:02 -05:00
Jimmy Cao
aacaccd84d
make !simple make you receive notice for everything
2012-06-25 20:46:42 -05:00
Jimmy Cao
033aa41917
allow /notice commands as an option in the botconfig (not turned on by default)
2012-06-25 17:53:24 -05:00
Jimmy Cao
0ae9781c5e
fix !simple, make it notice instead of privmsg
2012-06-24 22:41:24 -05:00
Jimmy Cao
750d5c55dc
fully implement !simple
2012-06-24 22:16:58 -05:00
Jimmy Cao
5106785720
fix regression where wolf relay stopped working, add !simple database code
2012-06-24 21:29:17 -05:00
Jimmy Cao
42cbe54656
allow the bot to ignore all commands sent to @#channel or +#channel (botconfig.py updated!)
2012-06-24 01:46:50 -05:00
Jimmy Cao
931a9cac9f
better warning message for sunset
2012-06-24 01:38:35 -05:00
Jimmy Cao
d28b8db8f2
fix bug to prevent commands sent to @#channel or +#channel making the bot respond in that channel
2012-06-24 01:31:47 -05:00
Jimmy Cao
3ed79ae9b5
small tweak to module system
2012-06-24 01:01:15 -05:00
Jimmy Cao
e8521bbfd3
show detective a player list
2012-04-17 20:04:47 -05:00
Jimmy Cao
e7682e940b
Added gun looting feature: https://code.google.com/p/wolf/issues/detail?id=73
...
Feature is disabled by default in the settings
2012-04-14 22:21:46 -05:00
Jimmy Cao
26e55d9ee4
(finally) make voice/devoice/quiet less weird
2012-04-09 15:42:48 -05:00
Jimmy Cao
9b3e187614
check for night end after death of any player
2012-04-09 15:34:40 -05:00
Jimmy Cao
5aef3b4c5b
fix a crashing bug when doing !help ping
2012-04-02 16:14:13 -05:00
Jimmy Cao
a294fd3fca
backout revision 297
2012-02-26 18:29:25 -06:00
Jimmy Cao
04b29cb428
prevent crashing if !fgame is given invalid arguments
2012-02-26 18:18:11 -06:00
Jimmy Cao
e32c66b632
cleanup of fgame
2012-02-26 18:07:36 -06:00
zamabe
9314afcc60
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.
2012-02-20 14:58:58 -06:00
zamabe
fbaeb31455
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.
2012-02-20 14:49:27 -06:00
Jimmy Cao
52e4e8c578
various tweaks
2011-12-29 17:41:25 -06:00
Jimmy Cao
c4d6911954
small tweaks in !fgame
2011-12-29 13:30:59 -06:00
Jimmy Cao
2d3862ffaf
better regex matching for quiet list at startup
2011-12-29 10:35:30 -06:00
Jimmy Cao
012cf83607
automatic devoice and -q when join
2011-12-29 02:45:54 -06:00
Jimmy Cao
7df93e497f
Rainboy's ingenius fix for issue 59: no devoice if player DC's
2011-12-29 00:32:26 -06:00
Jimmy Cao
16fe18f302
fixed werecrow bugs
2011-12-28 23:34:59 -06:00
Jimmy Cao
b2e5702187
fix the wording in werecrow messages
2011-12-28 19:01:12 -06:00
Jimmy Cao
945190a6e1
major restructuring
2011-12-28 17:44:11 -06:00