Commit Graph

694 Commits

Author SHA1 Message Date
skizzerz
9a697e13c2 Fix !flastgame to prevent people from using !j to get around it 2014-08-05 11:48:45 -05:00
skizzerz
9e4d8d7017 Merge remote-tracking branch 'upstream/master'
Conflicts:
	modules/wolfgame.py
2014-08-05 11:16:52 -05:00
nyuszika7h
a4b7c02450 Merge branch 'master' of https://github.com/lykoss/lykos 2014-08-05 14:28:53 +02:00
nyuszika7h
1a80bc1027 Allow admins to use !fgame without joining 2014-08-05 14:28:40 +02:00
Vgr E.Barry
191a910098 Fix issue where bot would spam services
This very simple fix probably seems redundant or even entirely
pointless, but it actually solves a big design flaw. It does not show
much for freenode, but for other networks (e.g. Esper), where I tweaked
my bot to use ns_ghost instead, it keeps trying to kill off an
(unregistered) nick, without having a password. This effectively causes
spam to the services, and results in an automatic ban.
2014-08-05 02:40:52 -04:00
skizzerz
1d9b4f54e6 Various fixes plus code exchange totem. 2014-08-05 00:54:01 -05:00
skizzerz
f4ef8ed55b impatience totem no longer affects self-vote 2014-08-04 21:02:34 -05:00
skizzerz
bfc182dc28 default to death totem in case odds don't add to 1, and list name of totem in error message if we don't know what to do with it' 2014-08-04 20:58:27 -05:00
nyuszika7h
85a342f9c5 Fix typo in !votes
Closes #44.
2014-08-04 10:45:17 +02:00
Skizzerz
3da561a408 Fix pestilence totem and wolf cub dying during nighttime not triggering angry wolves, and don't show winners if game is fstopped 2014-08-04 01:54:21 -05:00
Skizzerz
79a72aa33e Finish up most new totems except for exchange and retribution, completely untested code so probably breaks horribly 2014-08-04 01:22:29 -05:00
Skizzerz
21ef130f21 bugfixes 2014-08-04 00:36:09 -05:00
Skizzerz
2d331cdcd7 Fix fool being lynched and begin shaman bonanza, most of the totems do nothing atm but it *should* theoretically work 2014-08-04 00:23:29 -05:00
Skizzerz
b47ab14632 Fix grammar on lynch messages 2014-08-03 21:26:37 -05:00
Skizzerz
153e800bef fix amnesiac winning and amnesiacs turning into templates 2014-08-03 21:15:19 -05:00
Skizzerz
f9ece65d73 fix amnesiac gunner 2014-08-03 21:06:38 -05:00
Skizzerz
953d0eb0d8 Fix !stats issue if amnesiac dies 2014-08-03 20:16:29 -05:00
Skizzerz
4e31cc0a0f Gigantic update
1. Rewrite amnesiac: Instead of removing an existing role from the game for the first 2 days,
they now become a brand new random role. Seers, oracles, sorcerers, detectives, and revealing
totems will see through their amnesia so they can learn their actual role. Amnesiacs are neutral
until they clear up, and thus if the game ends while they are still amnesiac, they will win
alongside the default role (e.g. village if default is villagers, or wolves if default is cultists).

2. Make vengeful ghost take vengeance based on the role that killed them instead of making it based
on time of day. If they suicide due to being someone's lover, they will take vengeance on the team
that killed their lover. If they are gunner and their gun explodes, they take vengeance on the
village due to their shoddy gun construction processes.

3. Make clone always trigger even if their target idles out or !quits.

4. Make a harlot visiting victim, harlot visiting wolf, and bodyguard guarding victim able to
shoot wolves if they are also gunner, and for wolves to pick up their gun. In the event of a wolf
kill plus another non-wolf kill, the wolf kill takes precedence in the event of harlot visiting
victim and bodyguard guarding victim, and the non-wolf kill takes precedence in the event of
harlot visiting wolf (the non-wolf kill happens en-route to the wolves, and the gun disappears or
something, idk). Additionally, if the harlot visits victim or the bodyguard guards victim and the
harlot/bodyguard are also targeted by wolves, their special "died visiting/guarding victim" event
plays instead of the normal death message.

5. Change alive vengeful ghost win conditions to work like amnesiac: they win with the default
role if alive at the end of the game.

6. Minor wording fixes, such as the gunner shot wolf message with more commas than words.
Remember, every time you abuse a comma, God kills a kitten.
2014-08-03 17:04:18 -05:00
skizzerz
6920e2e20c Bugfixes: monster can no longer be mayor, and fix issue when bodyguard chooses not to guard anyone 2014-08-03 00:31:18 -05:00
skizzerz
2a0392bc42 Add back in regular lover win code that was accidentally removed, and make lover winning with fool configurable since there was a lot of pushback for the change. Still defaults to false though 2014-08-02 23:51:49 -05:00
skizzerz
137a4f2d03 Add jester role
Similar to fool, the jester wins if they are lynched. Unlike fool,
the game continues if jester is lynched and they win alongside the
normal winners.

Also change it so that a fool's lover does NOT win with fool, so
that fool/jester win mechanics are similar (since jester's lover
would die with jester). It doesn't pay to fall in love with fools!
2014-08-02 22:27:10 -05:00
skizzerz
a8e1f84412 Fix detection of harlot visiting wolfvictim and wolves stealing gun and other wolf-kill related things 2014-08-02 14:14:56 -05:00
skizzerz
2584bebd4a Don't show gun message to wolves with 0 bullets. Closes #64 2014-08-02 13:35:17 -05:00
skizzerz
48a404d170 don't message gunners if they have no bullets left 2014-08-01 22:45:57 -05:00
skizzerz
40863c3b8e fix typo 2014-08-01 19:06:01 -05:00
nyuszika7h
d2b96752c7 Make !votes work in PM 2014-08-01 11:55:19 +02:00
skizzerz
7f269874d6 Disable amnesiac pending rewrite 2014-07-31 22:15:23 -05:00
skizzerz
cc3edf0997 missing period at end of sentence 2014-07-31 21:03:18 -05:00
skizzerz
c87ace5a8e fix issue where not all wolf cubs/traitors turned at once 2014-07-31 20:27:16 -05:00
skizzerz
d0b9627026 fix nightdone checks 2014-07-31 08:55:47 -05:00
skizzerz
0930fdfd96 Fix night done check to exclude hunters that have acted 2014-07-29 22:36:19 -05:00
skizzerz
864aa176a2 Fix error with mad scientist 2014-07-28 18:13:17 -05:00
skizzerz
c94d6a51b8 Fix duplicate lover message if the same pair was selected twice 2014-07-27 22:14:35 -05:00
skizzerz
97f19509c1 Make revealing totem reveal the actual role (traitor even if hidden traitor is on, and amnesiac's real role). Amnesiac remembers who they are immediately if revealed this way. References issue #43 2014-07-27 15:04:34 -05:00
skizzerz
4815d242c8 Remove try/except that was suppressing errors, and fix issue where roles containing idlers were not enumerated. Closes #55 2014-07-27 14:21:02 -05:00
skizzerz
16b3f36eb3 Clean up win checks, and properly detect if clone won. Closes #48 2014-07-27 14:02:40 -05:00
skizzerz
3698e6d6bf Add end of game lovers message. Closes #1 2014-07-27 13:40:04 -05:00
skizzerz
b2d5d15606 Rework timers to track when they started and how long they last so \!time can be more accurate. Closes #42 2014-07-26 13:28:24 -05:00
skizzerz
a73b891b8d Fix desperation totem when day times out. Closes #52 2014-07-26 12:36:10 -05:00
skizzerz
caa2c55b08 Notify wolves when lycan turns. Closes #47 2014-07-26 12:25:02 -05:00
skizzerz
0a9d5c8817 Swap what GA and bodyguard do because it makes more sense if bodyguard dies and GA doesn't 2014-07-26 12:20:47 -05:00
skizzerz
9265d9cfa5 Fix vengeful ghost always targeting villagers after night 1 2014-07-25 23:05:10 -05:00
skizzerz
060ea15bff Fix end of game crash if vengeful ghost idles 2014-07-25 22:45:35 -05:00
skizzerz
40fcfb3a6c Fix bad grammar in message and fix issue where mad scientist has two targets 2014-07-25 22:03:35 -05:00
skizzerz
25b4f1bfbf Fix crash if vengeful ghost dc'ed and fix messages sent off to clones 2014-07-25 20:25:49 -05:00
skizzerz
202c03d0d9 Merge branch 'master' of https://github.com/lykoss/lykos
Conflicts:
	modules/wolfgame.py
	settings/wolfgame.py
2014-07-25 08:30:53 -05:00
skizzerz
ddbeff5977 Fix crash on nickchange if the user is being killed by wolves or is a lover 2014-07-25 08:27:34 -05:00
nyuszika7h
8b76de1aea Improve !fpull 2014-07-25 10:09:33 +02:00
skizzerz
f185556680 Don't fire desperation totem if the person with the totem lynches themselves last. Closes #54 2014-07-24 21:55:43 -05:00
skizzerz
9f5b30aa95 Fix wolf retract 2014-07-24 20:41:57 -05:00
skizzerz
2c47b5610c Allow bodyguard/GA to guard assassin target at night as well. Closes #49 2014-07-24 20:18:03 -05:00
nyuszika7h
b18dd92733 Fix players receiving 0 stasis 2014-07-22 11:09:45 +02:00
skizzerz
2ab85c4d4d Time lord now always triggers on death 2014-07-21 23:14:55 -05:00
skizzerz
60f98b9b1b Fix game not ending if last person leaves during join phase 2014-07-21 00:12:24 -05:00
skizzerz
42f7b6e176 crazed shaman only wins if survives 2014-07-20 21:28:23 -05:00
skizzerz
c8d52a442c Spelling/grammar fixes 2014-07-20 20:52:47 -05:00
skizzerz
6cb320d1e3 Fix vengeful ghost winning with fool/monsters 2014-07-20 19:52:36 -05:00
skizzerz
b28d67a877 Fix wolf cub not turning into wolf 2014-07-20 19:08:37 -05:00
skizzerz
4d000d1857 Don't count wins for templates 2014-07-20 19:00:32 -05:00
skizzerz
c0f6aad73f Fix issues with clone
Clone gets amnesiac's real role if cloning amnesiac
Don't crash if cloning wolf
Closes #44
2014-07-20 18:25:24 -05:00
skizzerz
5cc5e13081 Fix error with guardian angel 2014-07-20 18:07:23 -05:00
skizzerz
ac9bc89699 Finish up previous commit of end of game messages
Closes #23, #30, #31
2014-07-20 18:04:17 -05:00
Skizzerz
2c4ade2454 Lots of end-game message stuff.
The lover of a fool can win with the fool. The lover of a monster can win with monsters.
List winners at end of game.
Idlers are the scum of the earth and never win.
Displays a message if everyone died (originally by nyuszika7h, replicated here due to merge conflicts).
2014-07-20 14:08:26 -05:00
nyuszika7h
0aa076eb6b Check win condition only after checking all idlers 2014-07-20 13:41:26 +02:00
skizzerz
f45a6279d5 Time lord changes:
Bump day time down to 60s and night time down to 30s
Time lord triggers if they die during day for any reason (except idling)
Reduce rate limit for !time to 10s instead of 60
2014-07-19 18:47:17 -05:00
skizzerz
10e50e88c8 Don't do death triggers when someone idles out/quits/etc. Closes #41 2014-07-19 18:32:21 -05:00
skizzerz
f23c899ce2 Show amnesiac as villager in !myrole. Closes #40 2014-07-19 18:24:35 -05:00
Skizzerz
eb299c6232 Add check to ensure nightroles only act at night. Closes #39 2014-07-19 18:16:37 -05:00
skizzerz
cc25784ad4 Allow 0 wolf kills at night. Closes #33 2014-07-19 18:06:39 -05:00
skizzerz
8c772af3ef Merge branch 'master' of https://github.com/lykoss/lykos
Conflicts:
	modules/wolfgame.py
2014-07-19 17:50:47 -05:00
Ryan Schmidt
6976f4d211 Merge pull request #22 from jacob1/clone
clone gets player list, wolves are informed when clone turns into wolf and clone gets the wolf list too
Closes #14
2014-07-19 17:49:14 -05:00
skizzerz
d0c21560ac Properly restore var.ROLES["person"] if we can't apply templates. Closes #34 2014-07-19 17:45:03 -05:00
skizzerz
e0df1de960 Don't do weird stuff if we !fgame the default role. Closes #36 2014-07-19 17:39:31 -05:00
skizzerz
28fa4b0913 Turn wolf cub into wolf if they are the only one left. Closes #16 2014-07-19 17:37:51 -05:00
nyuszika7h
d353ab5ff3 Make !fghost usable by admins 2014-07-19 19:26:41 +02:00
nyuszika7h
0df8098ade Revert "autopep8"
This reverts commit 4189d5c874.
2014-07-19 19:09:24 +02:00
nyuszika7h
4189d5c874 autopep8 2014-07-19 19:05:49 +02:00
skizzerz
cb55f9129b Force assassin to target someone
If assassin times out night, this selects a random target for them and
lets them know who it is. The target is selected amongst players NOT
going to die that day, so only chance of a reselect is due to lovers,
bullets, or lynchings.

Closes #26
2014-07-19 00:02:50 -05:00
skizzerz
736d5f572e Additional fixes
Fix issue introduced in last commit where regular gunners didn't get
bullets.
Fix wolves ending night when angry with only one target selected.
Closes #28
2014-07-18 23:44:31 -05:00
Ryan Schmidt
32312ed2d6 Bugfixes
Fix crash if a template cannot be assigned due to role restrictions.
Fix gunner being able to become sharpshooter even if sharpshooter isn't
in the list of allowed thingies.
2014-07-18 23:23:27 -05:00
jacob1
6f16848302 fix grammar mistake in headshot message 2014-07-18 23:56:06 -04:00
jacob1
fdf6fa7ab2 add clone message when using !simple 2014-07-18 22:15:57 -04:00
jacob1
a937775874 improve previous clone commit 2014-07-18 22:09:06 -04:00
skizzerz
a670925779 Merge remote-tracking branch 'upstream/master'
Conflicts:
	modules/wolfgame.py
	settings/wolfgame.py
2014-07-18 08:53:11 -05:00
skizzerz
585bdb142f Fix death trigger roles like assassin and vengeful ghost. Closes #27 2014-07-17 23:17:03 -05:00
skizzerz
b1bfba32a8 Fix amnesiac duplication when they remember who they are, and make \!stats not instantly reveal what role the amnesiac is. Closes #3 2014-07-17 22:49:28 -05:00
skizzerz
339db52165 Make village elder and death totem not able to be guarded against. Closes #5 2014-07-17 21:23:14 -05:00
skizzerz
6e43f60974 Properly return from pass if a hunter isn't using the command. Fixes #25 2014-07-17 20:53:50 -05:00
skizzerz
88de4eb9b7 Fix \!frole removing roles, fix a syntax error, and fix #20 for real this time 2014-07-17 20:50:32 -05:00
skizzerz
b5e44a572a Alert hag/sorcerer to being cursed. Closes #2 2014-07-17 19:35:58 -05:00
skizzerz
f4d66a28a5 Add !totem as an alias for !give 2014-07-17 19:30:32 -05:00
skizzerz
d84d69f66a Merge branch 'master' of https://github.com/skizzerz/lykos 2014-07-17 19:29:30 -05:00
Ryan Schmidt
dcf5ec63e1 Merge pull request #17 from nyuszika7h/fix-none-totem
Fix None receiving a mysterious totem when the receiver died
2014-07-17 19:28:51 -05:00
skizzerz
a6fd31f322 Don't let del_player kill an already dead player. Closes #20 2014-07-17 19:03:52 -05:00
jacob1
78c964fcc5 clone gets player list, wolves are informed when clone turns into wolf and clone gets the wolf list too 2014-07-17 19:58:20 -04:00
nyuszika7h
b93bf38894 Prettify !revealroles 2014-07-17 22:12:47 +02:00
nyuszika7h
b1a529d13f Fix endgame message when monster kills villagers
Closes #10.
2014-07-17 16:49:38 +02:00
nyuszika7h
c54ec2a4b8 Fix None receiving a mysterious totem when the receiver died
Closes #15.
2014-07-17 16:28:20 +02:00
nyuszika7h
304f16ce7f Fix !admins in PM 2014-07-17 16:03:33 +02:00
skizzerz
2f5055714e Fix crash if a dead person was given narc totem 2014-07-17 00:14:32 -05:00
skizzerz
3203b10015 Hide traitor turning message if role reveal is off 2014-07-16 23:34:20 -05:00
skizzerz
1acb9fc51d Fix clone 2014-07-16 20:56:48 -05:00
skizzerz
66fd6211a5 Finish clone role 2014-07-16 19:00:57 -05:00
skizzerz
53cbeef9f1 Fix amnesiac duplicating when they remember their role (I think). Closes #9 2014-07-16 18:49:26 -05:00
skizzerz
625e2a8d73 Merge branch 'master' of https://github.com/skizzerz/lykos 2014-07-16 18:43:06 -05:00
skizzerz
1899792c29 Fix issue #7 - gunner/narc totem always deducted from villager count 2014-07-16 18:42:56 -05:00
Ryan Schmidt
68ad9d435d Merge pull request #12 from nyuszika7h/fix-lover-crash
Fix crash when already dead lover tries to commit suicide
2014-07-16 18:37:54 -05:00
skizzerz
3e58856b90 Fix issue #4 and some other bugs 2014-07-16 18:37:11 -05:00
nyuszika7h
e750fbae21 Fix crash when already dead lover tries to commit suicide 2014-07-16 23:51:59 +02:00
nyuszika7h
730f9a3b18 Revert "Add !q as an alias for !quit"
This reverts commit 93546dee9d.
2014-07-16 17:22:19 +02:00
skizzerz
49c04e6dcc fix circular assassining redux 2014-07-16 00:37:26 -05:00
skizzerz
cb41e0c996 fix circular assassining 2014-07-16 00:24:57 -05:00
Ryan Schmidt
3a2bfcfefb Do not tell amnesiac what they are 2014-07-16 00:00:50 -05:00
Ryan Schmidt
9fde1ca0a2 moar bugfixes 2014-07-15 23:39:20 -05:00
nyuszika7h
6378c9e1a9 Fix it for real now 2014-07-15 23:17:22 +02:00
nyuszika7h
53546b7a91 Fix previous commit (maybe) 2014-07-15 23:04:23 +02:00
nyuszika7h
cce7c34caf Disable !join until opped and try to regain op 2014-07-15 22:59:08 +02:00
nyuszika7h
96afc582f4 Allow passing host to fstasis instead of just nick 2014-07-15 20:34:46 +02:00
Transfusion
ae64979e34 Enable CTCP PING as per issue #37 2014-07-15 21:23:41 +08:00
skizzerz
36dd881411 much bug, many fixes, wow 2014-07-15 01:04:16 -05:00
Skizzerz
a31bf8b4e9 Finish matchmaker 2014-07-14 20:48:00 -05:00
skizzerz
f41b92a156 bugfixes 2014-07-14 02:20:08 -05:00
skizzerz
a10e706474 Fix syntax errors and some other miscellaneous issues 2014-07-14 01:06:41 -05:00
Skizzerz
77a6bfe3db Fixes plus additional commands I forgot, still a bit of work left 2014-07-14 00:29:52 -05:00
Skizzerz
d970aefdbe Finish adding roles, still completely untested 2014-07-13 17:43:11 -05:00
Skizzerz
7011c9b5d0 Roughly halfway done with adding new roles 2014-07-12 19:40:20 -05:00
Skizzerz
3f61a60f21 Merge branch 'master' of https://github.com/lykoss/lykos
Conflicts:
	modules/wolfgame.py
2014-07-12 13:13:56 -05:00
Skizzerz
23b2e755ca Initial commit to add a bunch of new roles 2014-07-12 13:10:44 -05:00
nyuszika7h
835e76c621 Disable !gstats rate limit 2014-07-12 16:41:12 +02:00
nyuszika7h
6717f61e6f Small tweak to !coin 2014-07-10 13:08:27 +02:00
nyuszika7h
b39c31efe1 Revert "Add warning to !coin/!pony"
This reverts commit 0fcf10494f.
2014-07-10 13:08:03 +02:00
nyuszika7h
0fcf10494f Add warning to !coin/!pony 2014-07-10 13:01:46 +02:00
nyuszika7h
d351159d8a Small consistency fix 2014-07-04 11:22:42 +02:00
nyuszika7h
d4ebbf6d9a Add missing period 2014-07-02 07:41:13 +02:00
nyuszika7h
14aca5ee64 Merge pull request #39 from jacob1/master 2014-07-02 07:34:29 +02:00
jacob1
cba018b5c0 guardian angel can choose not to guard anyone at night 2014-07-02 01:24:28 -04:00
jacob1
c1a256c162 GA dies when guarding, victims name not revealed 2014-07-01 23:11:52 -04:00
Yizhe Shen
02b1a25644 Added a timer for joining the game. (issue #20)
- Usage: set a non-zero value for var.JOIN_TIMER_LIMIT in seconds
- Added kill_join() to handle game cancellations
- Join timers set on first join and canceled if everybody quits or when a
  game starts
2014-06-27 15:28:19 -04:00
Nick Richardson
a16cf60243 Change Goated Message
Change "already goated" message to make it easier to understand
2014-06-23 18:13:06 -06:00
nyuszika7h
a8ce61ced0 Improve output format for !fsend again 2014-06-22 12:58:34 +02:00
nyuszika7h
bcfa31625b Add !w as an alias to !wait 2014-06-21 23:57:05 +02:00
Yizhe Shen
2b748de465 !time: Fix for time command.
- Checks time remaining for day based on the number of players who were
  alive at the start of the day
- Added check to make sure timers are active
- Added debug mode override for SHORT_DAY_LIMIT_CHANGE and
  SHORT_DAY_LIMIT_WARN
2014-06-10 23:34:40 -04:00
nyuszika7h
ace7e90dfc Allow !admins and !roles in PM 2014-06-08 14:45:51 +02:00
nyuszika7h
b11e4992b6 Fix !time 2014-06-08 13:53:58 +02:00
jacob1
c63a444ee6 fix cursed traitor when using !simple, bold names of wolves to make them stick out more 2014-06-04 21:58:02 -04:00
nyuszika7h
1dd2d230d4 !fsend: Fix typo 2014-06-04 21:46:19 +02:00
nyuszika7h
7869826205 !fsend: More spacing to improve readability 2014-06-04 21:10:47 +02:00
nyuszika7h
fb97cf8aee !fsend: Add timestamp 2014-06-04 21:08:33 +02:00
nyuszika7h
1bcab60c27 !time: Fix negative value at nighttime 2014-06-04 21:01:13 +02:00
nyuszika7h
558795ba51 !time: Add rate limit and notice when there is no game running 2014-06-04 20:54:36 +02:00
nyuszika7h
0958a8201c Merge branch 'cursed' of git://github.com/jacob1/lykos 2014-06-04 20:50:49 +02:00
jacob1
ca23189939 cleanup !time a little and tell whether it's day or night 2014-06-04 12:07:15 -04:00
Srijay Kasturi
bbb7564a0c Instead of just erroring, just show all the current votes 2014-06-02 00:50:16 -04:00
jacob1
d56e1731b2 !p is case insensetive, and tells you when a player / role doesn't exist
At the request of / using some code from brrr
2014-05-31 23:37:04 -04:00
jacob1
08855dba9a wolves know who cursed is 2014-05-31 11:42:44 -04:00
jacob1
98c807da85 !time command, returns time left until day/night end 2014-05-31 11:41:20 -04:00
Benjamin Donald-Wilson
93546dee9d Add !q as an alias for !quit 2014-05-30 09:11:12 +00:00
nyuszika7h
397221537b Fix players being stasised when they quit
Commit 9cd0641 made players get stasised whenever they leave a game, not
just when they are /kicked by a channel operator.
2014-05-10 17:00:21 +02:00
nyuszika7h
3c90875291 Merge branch 'master' of git://github.com/lykoss/lykos 2014-05-10 09:16:59 +02:00
nyuszika7h
9cd06412ad Stasis players when they are /kicked
Suggested by @ishanyx.
2014-05-10 09:16:42 +02:00
nyuszika7h
b16b1e75af Shuffle player lists sent to specials in PM
As requested by elky.
2014-05-07 12:40:08 +02:00
Yizhe Shen
1cdf586b2a Small fix for fpull. Removed freload. 2014-04-30 15:23:15 -04:00
nyuszika7h
05d767db52 Merge branch 'stasis-fix-3' of git://github.com/brrr2/lykos 2014-04-30 19:44:54 +02:00
Yizhe Shen
4052fc9b27 Fix for fstasis(). 2014-04-30 13:36:22 -04:00
nyuszika7h
474fff8e2b Fix !fpull and make it always reply in PM/notice 2014-04-30 19:31:55 +02:00
nyuszika7h
0ed3fa249c Revert "!freload: reload modules/wolfgame.py too"
This reverts commit d9ad499f78.

It doesn't quite work out well.
2014-04-30 18:56:29 +02:00
nyuszika7h
7455bcaf8a Another fix to !fpull 2014-04-30 18:55:25 +02:00
nyuszika7h
7d1d68f2b8 Fixes to !fpull 2014-04-30 18:54:24 +02:00
nyuszika7h
25d80216a8 Merge pull request #25 from brrr2/stasis-fix-2 2014-04-30 18:49:10 +02:00
nyuszika7h
e907f46939 Rename !pull to !fpull and make it quieter 2014-04-30 18:39:35 +02:00
nyuszika7h
d9ad499f78 !freload: reload modules/wolfgame.py too 2014-04-30 18:36:26 +02:00
nyuszika7h
28850cbc1c Fix !fstasis 2014-04-30 18:35:25 +02:00
Yizhe Shen
bd303f5b48 Minor changes.
- Small changes in fstasis()
- Combined decorators for join()
- Added a space in decorator for vote()
- Added comma in decorator for freload()
2014-04-30 12:27:57 -04:00
nyuszika7h
7a2b869d68 Fix typo in previous commit 2014-04-30 18:27:22 +02:00
nyuszika7h
4a13d4b05c Make !fstasis work in channel 2014-04-30 18:26:17 +02:00
nyuszika7h
26cde6c312 Fix !freload 2014-04-30 18:19:41 +02:00
Yizhe Shen
959ef98f51 Fix for stasising.
- Removes cloaks from var.STASISED when var.STASISED[cloak] <= 0
- Slight rewrite of fstasis(). The stasis value for a player can now be
  specified directly. If data[1] <= 0, stasis is removed for the
  player if player had one. If data[1] > 0, that amount is set for the
  player's stasis. It now catches ValueError exceptions for invalid values
  of data[1].
2014-04-30 03:01:08 -04:00
nyuszika7h
860af415c9 Add !frehash as alias for !freload 2014-04-29 12:46:52 +02:00
nyuszika7h
953fdba21a Add !freload command
This command reloads botconfig.py and settings/wolfgame.py.
2014-04-29 12:44:56 +02:00
nyuszika7h
2186c12b7c Fix people staying in list with 0 stasis which removes them from !ping 2014-04-29 11:59:57 +02:00
nyuszika7h
5487722726 Merge pull request #23 from Cydrobolt/patch-2
!v, another useful shortcut
2014-04-26 13:23:17 +02:00
xnrand
d310389c40 Fix typo 2014-04-26 01:32:27 +00:00
xnrand
4e6f2cc452 Make !goat goatier
In the light of recent events in video games (goat simulator), the goat needs to be made more goaty.
2014-04-26 03:11:04 +02:00
Cydrobolt
b10e973f39 !v, another useful shortcut 2014-04-25 18:06:19 -04:00
nyuszika7h
18f0084499 Remove legacy !fdel alias 2014-04-25 21:42:20 +02:00
Cydrobolt
c05d1f5186 !j command to join a game 2014-04-25 15:38:46 -04:00
nyuszika7h
470b3092c3 Merge branch 'master' of github.com:lykoss/lykos 2014-03-27 15:59:09 +01:00
nyuszika7h
f7a0878d03 Add !ops (alias for !admins) 2014-03-27 15:58:45 +01:00
jacob1
dd0edb0a77 wolves can retract votes, and drunk can be cursed 2014-03-24 20:50:12 -04:00
nyuszika7h
1aa8641102 Minor cosmetic fix for exceptions in !pull
A space was missing after the colon following the exception name.
2014-03-22 12:19:17 +01:00
Yizhe Shen
4d6a3dc71f One more fix for issue #4.
Fix to ensure that the reapertimer thread terminates when the game ends
even if disk lag is encountered. This should be the final fix required for
issue #4.
2014-03-22 01:21:27 -04:00
Yizhe Shen
e0f598a2b0 Additional fix for issue #4.
Moved timer resets with mode resets. Solves the problem of extra
messages being sent after a game ends caused by disk I/O lag.
2014-03-06 08:45:02 -05:00
nyuszika7h
a9cb639378 Attempt to actually fix !stats in PM 2014-03-02 21:45:39 +01:00
nyuszika7h
37606dde4f Add !ping in PM (always replies pong) 2014-03-01 11:45:41 +01:00
nyuszika7h
7439aa8f7b Fix previous commit 2014-03-01 11:44:20 +01:00
nyuszika7h
8e0468c5d4 Make !ping reply 'Pong!' in-game 2014-03-01 11:40:54 +01:00
nyuszika7h
b5eea0a8a1 Actually disable rate limit, as setting it to 0 doesn't work 2014-02-24 10:48:47 +01:00
Tobias "ToBeFree" Frei
63753e2416 Remove inconsistent bold for "Players:" (wolf)
Thanks to jacob1 for pointing out this issue! :-)
If you find more like this, report them in ##werewolf-dev
2014-02-23 19:38:20 +01:00
Tobias "ToBeFree" Frei
eda0bc2df8 Adding a period to the end of the sentence
thanks to Calinou for pointing out this issue! :-)

I've looked through the rest of the code; it seems to be the only issue of that kind. If you find more, report in ##wolfgame-dev
2014-02-23 19:31:59 +01:00
Yizhe Shen
dd80dbb7ca Small fix in player_stats(). 2014-02-22 22:19:01 -05:00
nyuszika7h
8a3cc33794 Add !fsend for admins to send raw IRC messages 2014-02-22 20:14:51 +01:00
Yizhe Shen
e7cbd34303 Alternate fix for reset_modes().
Fixes a small oversight in reset_modes().
2014-02-22 06:58:19 -05:00
Yizhe Shen
aaba54baa2 Fix for mode-reset lag.
Moved mode resets to a separate method so it can be called
separately. This allows it to be performed before disk I/O at the
end of a game.
2014-02-21 19:26:34 -05:00
nyuszika7h
879ea90ab1 Remove trailing whitespace 2014-02-21 22:54:30 +01:00
nyuszika7h
3e2649bad1 Merge branch 'cloak_account' of git://github.com/brrr2/lykos 2014-02-21 22:52:51 +01:00
nyuszika7h
e80c78ba36 Fix previous commit 2014-02-21 10:35:21 +01:00
nyuszika7h
35a7e02f81 Respect !simple for !gstats/!pstats 2014-02-21 10:25:53 +01:00
nyuszika7h
b90ba46e73 Fix previous commit (again) 2014-02-21 10:08:44 +01:00
nyuszika7h
a3cf5cb780 Fix previous commit 2014-02-21 10:05:41 +01:00
nyuszika7h
91e7816861 Fix rate limit for gstats/pstats and remove mystats in favor of pstats 2014-02-21 10:03:48 +01:00
Yizhe Shen
ff1f8ee496 Fix for updating user cloak and account.
Fixes the rare case when "simple" stops working.
2014-02-21 03:10:11 -05:00
nyuszika7h
c7b8a6505e Actually fix !gstats for real now 2014-02-20 16:58:38 +01:00
nyuszika7h
d39f199bf5 Fix previous commit 2014-02-20 16:56:33 +01:00
nyuszika7h
fea8ccd1bd Fix gstats and pstats in PM 2014-02-20 16:55:18 +01:00
nyuszika7h
3e0df48c7c Fix !pull again... 2014-02-20 16:49:05 +01:00
nyuszika7h
5ed31496a3 Add missing import
And remove redundant double import.
2014-02-20 16:46:57 +01:00
nyuszika7h
346364b938 Fix previous commit 2014-02-20 16:45:14 +01:00
nyuszika7h
6d37e32b0a Add !pull command 2014-02-20 16:43:38 +01:00
nyuszika7h
9b10ba2851 Add aliases and rate limit for p/g/mystats 2014-02-20 16:36:55 +01:00
nyuszika7h
7ca06ebabf Final fix for stasis, it finally works right!
In the future I might add nick completion.
2014-02-19 21:13:04 +01:00
nyuszika7h
9145231e58 Fix previous commit
If this doesn't work, I'll test locally first, I should have done that
in the first place.
2014-02-19 21:05:10 +01:00
nyuszika7h
05f048c6c9 Even more fixes for stasis. 2014-02-19 21:02:37 +01:00
nyuszika7h
b2ff0a486b Fix programming error made because I'm tired 2014-02-19 20:43:17 +01:00
nyuszika7h
8f01f49461 Fix previous commit 2014-02-19 20:41:54 +01:00
nyuszika7h
16b695de65 Further fixes to stasis (hopefully the last one for now). 2014-02-19 20:31:30 +01:00
nyuszika7h
49303b62eb More fixes to stasis. 2014-02-19 20:26:09 +01:00
nyuszika7h
23574cdd45 Merge branch 'master' of github.com:lykoss/lykos 2014-02-19 20:18:14 +01:00
nyuszika7h
6943dbdd4e Some fixes to stasis (cf. GH-5). 2014-02-19 20:18:00 +01:00
nyuszika7h
e82920b57d Merge pull request #1 from brrr2/min_players_fix
Fix for invalid values of MIN_PLAYERS.
2014-02-19 14:32:57 +01:00
nyuszika7h
c5f290a50c Merge pull request #3 from jacob1/master
fix bug where targeted harlot could still shoot wolves (and get an extra bullet)
2014-02-19 14:32:28 +01:00
nyuszika7h
29473b2098 Fix previous commit 2014-02-19 14:28:53 +01:00
nyuszika7h
2137a4466f Clarify fstasis messages. Closes #2. 2014-02-19 14:27:08 +01:00
jacob1
ffdd94ed4a fix bug where targeted harlot could still shoot wolves (and get an extra bullet) 2014-02-18 20:53:06 -05:00
Yizhe Shen
0ad366fd39 Fix for invalid values of MIN_PLAYERS.
Also added some bolding.
2014-02-17 17:41:23 -05:00
nyuszika7h
8342114844 Merge branch 'master' of git://github.com/xnrand/seerwolf 2014-02-17 10:43:19 +01:00
xnrand
d769943c0a Add feature for wait time added for each !join
Ineffective by default because the wait time is set to 0 in the default
configuration file.
2014-02-17 05:02:27 +01:00
Yizhe Shen
9ad5713471 Added MIN_PLAYERS setting. 2014-02-16 20:24:46 -05:00
Yizhe Shen
3d367f6bea Minor changes.
Added grand total to the output of "gamestats" command when no size is
given. Changed camel case to '_' for a couple of variables. Added
identification check for "player" command.
2014-02-15 22:38:15 -05:00
Yizhe Shen
04d2702f36 Added get_player_totals(). Some code cleanup.
If the "player" or "mystats" command is called without a role,
then the bot will now list the total games that the player has
played in each role.
2014-02-13 21:59:52 -05:00
Yizhe Shen
04a4f00f80 Added check for abnormal game stop before updating game stats. 2014-02-13 19:05:39 -05:00
Yizhe Shen
32fa38a6c9 Refactored some stats code.
Made update_roles_stats() and update_game_stats() a bit cleaner.
2014-02-13 18:05:59 -05:00
Yizhe Shen
ab1731d93c Removed redundant check in "myrole" command. 2014-02-12 18:53:22 -05:00
Yizhe Shen
e7dad23525 Added check for gun/bullets for "myrole" command.
Adds additional notification of gun/bullets if the player has them.
Minor change in the way messages are sent out for "myrole" command.
2014-02-12 18:53:20 -05:00
Yizhe Shen
609490e87b Added "myrole" command.
A command to remind players of their role during games.
2014-02-12 18:53:19 -05:00
Yizhe Shen
79b870499b Added additional limits for "gamestats" parameters.
Added check to make sure the parameter is an integer between 4 and
var.MAX_PLAYERS.
2014-02-10 23:46:24 -05:00
Yizhe Shen
977112826f Updated stats text. Player stats command checks for account.
Updated game text for stats commands. Fixed error with "mystats" help
string. Added additional check in player stats commands to find the
associated account before attempting to retrieve stats.
2014-02-10 19:01:11 -05:00
Yizhe Shen
829fd260e2 Changed behaviour of "gamestats" command.
"gamestats" without a parameter will list game totals for all game
sizes. The role parameter for player stats commands is now case
insensitive.
2014-02-10 19:01:09 -05:00
Yizhe Shen
a12128b486 Fix for multi-word roles.
Also added help definition for "mystats" command.
2014-02-10 19:01:08 -05:00
Yizhe Shen
cbae0291f8 Added game stats to database and "gamestats" command.
Added a game stats table to game DB to store wolf/village wins for
each game size. Added "gamestats" command to display stored stats.
2014-02-10 19:01:07 -05:00
Yizhe Shen
1994e7330f Added commands to access player stats.
Loosely based on code from jcao219. New commands are "player", "p", "mystats", "me". The commands access existing stats stored in the game database (data.sqlite3).
2014-02-10 19:01:06 -05:00
Yizhe Shen
2b57abc1fb Added an option for hidden traitor.
Added the option in ./modules/wolfgame.py. When activated, if traitor dies before turning, he will only be revealed as a villager.
Also, when "stats" command is used, traitor will be counted as a villager. By default, it is set to True.
2014-02-09 14:17:01 -05:00
nyuszika7h
2ac60b47fb Fix previous commit. 2014-02-09 12:24:57 +01:00
nyuszika7h
a406485319 Prevent detective from IDing themselves. Closes #18. 2014-02-09 11:33:45 +01:00
jacob1
193387bb0f Shooting a werecrow tells you it was one.
Also some other small changes.
2014-02-07 23:57:57 -05:00
nyuszika7h
781317785d Merge branch 'master' of git://github.com/xnrand/seerwolf 2014-02-01 19:36:19 +01:00
nyuszika7h
6e2d7f3d49 Slightly change message when last player leaves 2014-02-01 19:36:00 +01:00
xnrand
92cd0f5f34 implement extra wait time for !join
i.e. it makes sure that there are at least X seconds of wait time left after a !join.

Feb01[18:03:40] +Zazie_Lavender | I think there should be an enforced 10 to 20 second wait after last !join
2014-02-01 19:30:50 +01:00
jacob1
4c213e077b Fix bug where game might end early when multiple people are killed at night 2014-01-02 19:18:16 -05:00
xnrand
113064ac45 new image 2013-12-22 01:38:28 +01:00
nyuszika7h
77be645d9c Limit wolf gunner to 1 bullet
It's sometimes too easy to win for wolves, even with 2 bullets.
2013-11-10 22:20:24 +01:00
nyuszika7h
29f210b394 Fix !pony working when you're not playing 2013-11-10 22:03:49 +01:00
xnrand
f95abc7303 Improvements to the random pictures announcing on kill
Added a new picture, you will like this one.
Changed that one .jpg URL that actually pointed to a .gif file to .jpg.
Changed picking algorithm to have fixed chances even when adding new pictures. Uses random.choice().
We don't want to have these pictures quite as often. We once had a 1/100 chance. To balance things out a bit, a 1/50 chance should do.
2013-11-10 20:09:08 +01:00
Kyle Fahringer
d34207dc67 add three more pictures
wolfbot needs more gif
2013-11-10 13:46:06 -05:00
nyuszika7h
da0681b90d Show admins which are !away in !admins 2013-11-06 22:39:32 +01:00
xnrand
9765c276c6 Fix fatal typo 2013-11-03 11:52:14 +01:00
nyuszika7h
180d36851e Allow using !stats in PM 2013-10-16 22:34:28 +02:00
nyuszika7h
dcb7016b2f Prevent seer from seeing themselves 2013-10-01 22:21:50 +02:00
nyuszika7h
ab2048d5ef Merge branch 'fix-werecrow' 2013-09-18 20:20:49 +02:00
nyuszika7h
55cc34df3f Fix werecrow dying when wolf is shot dead at night
Previously, if a wolf was shot dead at night, any werecrows that have
observed were removed from the game without announcement, although they
would remain voiced.

For those who are curious, this is because lists are copied by reference
on assignment in Python; any changes made on the variable you assigned
the list to will be reflected in the original list. This can be avoided
by making a shallow copy of the list using `list(x)` or `x[:]`.
2013-09-18 20:14:52 +02:00
nyuszika7h
b329fb823e Fix flashback dog 2013-09-13 15:32:37 +02:00
nyuszika7h
6117444de8 Merge branch 'fix-wolfrelay-actions' 2013-09-12 16:37:17 +02:00
nyuszika7h
ff0078e9ec Bold nick for actions in wolf relay
Without this fix, a wolf team member could '/nick Someone' and leave a
fake detective paper, which is indistinguishable from a real one.
2013-09-12 16:36:24 +02:00
aLaserShark
44da66a50e super secure flashback dog 2013-09-11 10:18:58 -04:00
aLaserShark
3566dd5886 import random 2013-09-11 10:13:19 -04:00
aLaserShark
3066870932 pointless flashback dog
http://i.imgur.com/nO8rZ.gif
has a 1/100 chance of appearing every time someone is killed
2013-09-11 10:11:28 -04:00
nyuszika7h
97a8abff45 Revert "Prevent visited harlot from being killed"
This reverts commit f49e7371b8.

Thinking about it, the old behavior actually makes sense. X visits Y,
and Y visits X. When wolf targets X, they find Y, and vice versa.
2013-09-05 21:44:08 +02:00
aLaserShark
62faf8b2e8 Delete sabotage.py
fud
2013-09-04 10:21:34 -04:00
nyuszika7h
b96c98b01d Add !pony command 2013-08-29 23:23:38 +02:00
nyuszika7h
a8ed5bd3c4 Re-add coin landing on side/bot 2013-08-29 23:20:24 +02:00
nyuszika7h
b5c83eaf42 Allow negative value in !fwait
This is a quite hacky way, and although in my tests, it does not crash
the bot, it might be possible, and there might be a better way to do
this.
2013-08-26 17:52:32 +02:00
nyuszika7h
f49e7371b8 Prevent visited harlot from being killed
At 12 players, there are two harlots, and they can visit each other.
This is intended to make both of them invincible, but the actual
behavior was that the one visiting the victim would die.
2013-08-26 16:30:28 +02:00
Robert Wall
ed62cbbfc9 Change branch condition for checking if night is over, fixes #17
chk_nightdone used to check whether the number of people seen equals
the number of seers (and the same for harlot, etc.). This means night
times out if the seer (etc.) leaves after seeing but before night is
otherwise ended. This commit changes equals to >=, and swaps around the
wolf part of that condition so that it matches the other parts.
2013-07-15 19:37:10 -07:00
Robert Wall
1487256f09 Oops, I fail at paying attention. Fixing last commit. 2013-07-13 21:06:30 -07:00
Robert Wall
a1b948a93a Merge branch 'master' of github.com:LycanthropeTheGreat/lycanthrope 2013-07-13 21:02:53 -07:00
Robert Wall
58ce84235f Move various in-channel messages to user notices
This commit moves the !votes and !stats rate limit warnings to user
notices intead of in-channel messages, to be consistent with the other
rate limit warnings and because those messages are usually just
pointless noise. It also moves the CARE_BOLD and CARE_COLOR messages
to user notices, because they're spammy and annoying and just make
things worse when they're in-channel.
2013-07-13 20:58:19 -07:00
Melissa Draper
7f8d5286b3 Exclude illegal_joins (stasised people) from the !ping list.
Pinging people who are in stasis to join games is both futile and
inflammatory. Closes issue #16
2013-07-14 10:29:35 +12:00
Robert Wall
ecd62cf0ef Simplify stasis logic for people who leave the channel.
Instead of setting make_stasis as soon as they leave, then setting it
again with a negative number if they rejoin, we can just set it when
they actually reach the timer and are killed. We were actually doing
*both* up to now (which was probably what was causing the double stasis
mentioned in issue #8), so I just removed the make_stasis calls when
people leave and come back, and kept the one when they get killed.
2013-07-12 20:59:59 -07:00
Robert Wall
cca373904d Check whether night is done after werecrow !observes. Closes #9 2013-07-12 20:48:34 -07:00
Robert Wall
77e09e1f03 Make traitor an invalid target for !kill. Closes #14 2013-07-12 20:26:40 -07:00
Skizzerz
3db7fec992 Make seer see werecrow as wolf instead of crow 2013-07-12 00:52:52 -05:00
Robert Wall
c6faab1a03 Adding a . to the end of the join message.
Requested by nyuszika7h in #wolfgame-dev.
2013-07-06 02:20:54 -07:00
Robert Wall
6f3d7a54ca Change message when wolves win to mention injury (closes #1)
The message about wolves winning was unclear that the comparison is
between wolves and uninjured villagers, which caused confusion a few
times because people thought the game ended due to a bug. This commit
changes the message to avoid this confusion.
2013-07-06 00:39:30 -07:00
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