Vgr E. Barry
1a64a72a78
Change variable name
2015-10-19 15:20:10 -04:00
Vgr E. Barry
e4ca30f830
Remove priorities in events
2015-10-19 15:06:02 -04:00
Vgr E. Barry
f1922540af
Change lovers cluster win message
2015-10-19 15:05:28 -04:00
Vgr E. Barry
27f39c916f
Change handling of chk_win events
2015-10-19 15:05:14 -04:00
Vgr E. Barry
04180bc036
Add alternate win condition if only lovers are alive
...
The message could use a better phrasing, but anyway this works.
2015-10-19 14:51:03 -04:00
skizzerz
26e7acc8f8
More fallow/fdeny fixes
...
- Always apply host-based allows/denies even in var.ACCOUNTS_ONLY is set
- Fix display of mixed-mode allows/denies for a particular user
- Make -acc and -host switches operate more intelligently on both the
bare command as well as when given an argument
2015-10-18 20:56:27 -05:00
skizzerz
db0823bb37
Let vengeful ghosts use !retract
2015-10-18 19:20:08 -05:00
skizzerz
15b547ed77
Fix -acc and -host switches on fallow/fdeny
2015-10-18 15:18:55 -05:00
Ryan Schmidt
1aff6f4e6a
Merge pull request #173 from laneatomic/simple-ident-track
...
update simple, notice to track ident@host for users sharing hosts
2015-10-14 18:59:53 -07:00
Lane Farrow
a9210b03c4
update simple, notice to track ident@host for users sharing hosts
2015-10-14 20:23:02 -05:00
Vgr E. Barry
45d13846a1
Fix !game and !lynch to not display the same vote twice
...
Players may no longer vote-spam individual players (or mistakenly vote
the same person/game mode twice)
2015-10-13 16:46:21 -04:00
Vgr E. Barry
4befeef033
Add missing period
...
That'll teach me to merge early
2015-10-13 10:16:29 -04:00
Emanuel Barry
ef522ea8ce
Merge pull request #171 from acz13/patch-1
...
abra0's suggestion
2015-10-13 10:14:12 -04:00
jacob1
e30c8e3e19
this seems to fix the problem where the IRC lib ate errors
2015-10-12 19:22:25 -04:00
acz13
33f99d03a9
Update settings.py
2015-10-12 19:22:19 -04:00
acz13
1cfd36eedd
abra0's suggestion
...
<+abra0> petition to add "I'm sorry I can't do that Dave" to !ping responses
2015-10-12 19:07:41 -04:00
jacob1
a83911f054
fix error when returning to the game via /nick
2015-10-11 21:59:00 -04:00
jacob1
3845d4e0b3
fix matchmaker, warlock, and piper causing night to end early if they !quit after acting
...
alpha wolf and turncoat also aren't removed from variables when quitting, but chk_nightdone checks if those roles are still in pl for some reason
2015-10-09 12:44:40 -04:00
Vgr E. Barry
6dd8f88bf6
Ensure socket is closed unconditionally (re: #169 )
...
I cannot reproduce the bug locally, but this will force the socket to
close if it didn't for whatever reason, which is what seems like could
have caused the issue.
2015-10-08 12:03:08 -04:00
jacob1
7a058f77e7
fix !swap bugs
...
Didn't remove players from var.DISCONNECTED, leading to idling out every 10 seconds and getting lots of stasis while still being in the game
Didn't actually check whether the player was in channel or not
2015-10-06 23:01:39 -04:00
jacob1
0ac28c290b
fix bot not being able to connect to some strange networks
2015-10-04 00:14:30 -04:00
skizzerz
da762e6d73
Fix pl not being updated with chained deaths in del_player
2015-10-03 22:12:42 -05:00
jacob1
651c46d6a5
don't stop the game on error
2015-10-03 22:46:02 -04:00
jacob1
b047963cdb
fix !roles roles erroring
2015-10-03 22:44:48 -04:00
jacob1
86ae193541
fix hag not working
...
broken in d9812e552d
(blame woffle)
2015-10-03 19:01:53 -04:00
jacob1
5048af853e
fix players not being devoiced when unidentifying mid game
...
fixes flaw in 151d010047
2015-10-03 17:57:44 -04:00
jacob1
c8dea37284
devoice all players before faftergame commands get run
2015-10-03 17:37:41 -04:00
jacob1
3f112b19bc
fix previous !fjoin commit not working
2015-10-03 16:27:22 -04:00
jacob1
4612c0dec5
fix using !frole to join a new player during a game
2015-10-03 16:26:09 -04:00
jacob1
1e420a0235
!fjoin checks if the bot is opped before joining the list of players
...
prevents mass spam ...
2015-10-03 16:25:29 -04:00
jacob1
9c36602e21
fix error when lover changes nickname and then is matched again
2015-10-03 16:12:45 -04:00
Janik Kleinhoff
2e69bfa7ce
.mailmap: add @Vgr255, @ilbelkyr
2015-10-02 10:45:23 +00:00
Vgr E. Barry
151d010047
Fix devoicing someone twice when they unidentify
2015-09-30 08:38:35 -04:00
nyuszika7h
d1902392ba
Add missing import
2015-09-22 23:02:51 +02:00
nyuszika7h
eb835bebe2
Clarify comment in example config
2015-09-22 23:02:51 +02:00
skizzerz
5132908397
Fix alpha wolf issues
...
- Make bite able to end night
- Bite was always working even if the target was immunized
- Ensure protection applies when killing a target that was
immunized-but-bitten
2015-09-21 22:33:52 -05:00
jacob1
4a471d39b1
fix error handler not displaying errors on startup
2015-09-18 00:02:40 -04:00
Emanuel Barry
112ffdf80b
Fix indent (blame woffle)
...
You can't `.update()` a dict you're currently iterating over.
2015-09-13 10:17:03 -04:00
skizzerz
d9812e552d
Lots of shaman fixes (blame jacob1)
...
- var.SHAMANS now properly stores who is actually receiving totem, as it
should. It now holds a tuple so it can still track the original target
for purposes of letting shaman know if target changed.
- properly reset all totem vars before handing them out so totems don't
last for multiple days.
- luck/misdirection now applies before exchange totem is checked, making
it consistent with every other role ever.
completely untested, but should be fine :)
2015-09-13 00:04:24 -05:00
nyuszika7h
aaddfb5a93
Fix never reached condition
2015-09-09 18:07:34 +02:00
Vgr E. Barry
0219941d08
Get rid of conceal_roles in the game_mode decorator
...
A game mode is considered "hidden" if it doesn't have a `ROLE_GUIDE`
attribute. The `default` game mode was modified to have those
attributes, and is not hidden.
2015-09-09 10:37:45 -04:00
Vgr E. Barry
ae5f78decc
Add a proper repr() for oyoyo.TokenBucket (useful for debugging)
2015-09-09 10:05:35 -04:00
Vgr E. Barry
4810bb408f
chr(32)
2015-09-09 10:05:03 -04:00
Vgr E. Barry
d427bd8ca4
Move the try-except block in evilvillage's chk_win
2015-09-09 10:04:41 -04:00
nyuszika7h
384ee8495c
Merge pull request #165 from lykoss/better_gamemodes
...
Update handling of game modes
2015-09-09 16:01:39 +02:00
Vgr E. Barry
c37631e90c
Update handling of game modes
...
This change moves the game modes into their own `src/gamemodes.py`, and
also allows setting game modes via `gamemodes.py`.
2015-09-09 09:57:41 -04:00
jacob1
9467a21279
fix some comments in transition_day to be on their own line
2015-09-09 01:36:10 -04:00
jacob1
50dc87938a
allow hunter to pick a new target if their old one idles/quits
...
It also sends hunters/ghosts a message informing them of this
2015-09-09 01:18:39 -04:00
jacob1
4257de5f76
fix hunter being able to use 'pass' after killing on a previous night (ending night early)
2015-09-08 23:24:38 -04:00
jacob1
0246698b87
fix !roles # to work as intended
2015-09-08 23:03:24 -04:00