jacob1
32db6b131d
allow using !gstats in alternate channels while a game is going on elsewhere
2016-02-01 20:54:47 -05:00
jacob1
56827a2ce2
lycan balance adjustments
...
lycan#2 moved down from 10 to 9p
wolf#2 swapped for wolf shaman
GA swapped for bodyguard
2016-02-01 20:54:15 -05:00
skizzerz
6738acc82c
Add disabled-by-default start spam killer
...
Like the color/bold killers, this can be configured to kick people if
they spam !start while it is being ratelimited for them.
2016-02-01 17:32:02 -06:00
skizzerz
f3a7be45d4
Relay wolf shaman and do prefix hiding in wolfchat
...
Commands starting with ! will no longer be relayed regardless of if one
is in wolfchat or deadchat. All wolf roles that issue commands now have
their commands properly relayed, so hiding commands this way isn't
really any issue.
2016-02-01 10:33:43 -06:00
skizzerz
344b7b108b
Don't time out night if dullahan can't do anything
2016-01-29 13:48:21 -06:00
skizzerz
587b03a970
Fix lingering entries in var.ORIGINAL_ROLES due to roleswaps in maelstrom
2016-01-27 21:45:19 -06:00
skizzerz
29e5873104
Don't show original roles in maelstrom in listings
2016-01-27 21:31:32 -06:00
skizzerz
3f9bf7468b
Fix clone taking on the role of someone when they're also dying
...
This only happens for simultaneous deaths (e.g. night deaths), as
chained deaths are resolved in a fashion that makes it impossible for
the clone to know he is also dying until after he inherits the new role.
Closes #214
2016-01-27 21:15:20 -06:00
skizzerz
16a8a86e4a
Persist templates in maelstrom
2016-01-14 17:46:50 -06:00
skizzerz
b29701782f
Maelstrom fixes
...
- Correctly assign random roles upon game start
- Let people know if they're villager/cultist or whatever even on nights
2 and beyond
2016-01-14 01:08:49 -06:00
jacob1
7de3fbb324
ok, I actually tested the fix this time (fix maelstrom)
2016-01-13 23:50:02 -05:00
jacob1
6bbd4b0ae1
Fix error with maelstrom game mode
...
Tested about as much as woffle apparently tested originally
2016-01-13 23:44:09 -05:00
skizzerz
6e22cd860c
Part 1 of 2
...
We were crowded in the cabin;
Not a soul would dare to sleep:
It was midnight on the waters,
And a storm was on the deep.
’Tis a fearful thing in winter
To be shattered by the blast,
And to hear the rattling trumpet
Thunder, “Cut away the mast!”
So we shuddered there in silence,
For the stoutest held his breath,
While the hungry sea was roaring,
And the breakers threatened death.
2016-01-13 22:07:51 -06:00
skizzerz
9d8f77c1e1
Fix stasis messages (both display for adding stasis as well as internal message keys)
2016-01-11 22:56:04 -06:00
skizzerz
281beda634
Fix wonky message ordering if a lynch is forced
2016-01-11 19:14:42 -06:00
jacob1
9f64b13489
fix crash when trying to !swap to someone not in var.USERS (fake nicks in debug mode)
2016-01-02 01:21:45 -05:00
jacob1
9ef0696da8
fix minor issues preventing pull request #184 from being merged, closes #184
2016-01-02 01:16:34 -05:00
William Maduno | Diitto
f552a6e86e
Fixes #184 (!swap, when targeting someone, should be case insensitive)
2016-01-02 01:10:02 -05:00
jacob1
00ddf27e23
fix crash when trying to fstart 4/5p random games, fixes #181
2016-01-02 00:51:51 -05:00
jacob1
cd8a3de8b3
fix being unable to join fake players in debug mode
...
It said they were in stasis for -1 games ... This change should only affect fake nicks, since if the user isn't in var.USERS they can't join anyway
2016-01-02 00:25:19 -05:00
jacob1
356368d7bb
fix idle players not having loss logged in stats (they aren't in var.DCED_PLAYERS)
2016-01-02 00:11:15 -05:00
Ryan Schmidt
0250f59fed
Fix deceit totems not canceling out properly for seer
...
If both seer and target have deceit totem, the result should be printed normally (e.g. the totems cancel out). They were not doing that previously, as it would route all non-village non-wolf roles into villager (e.g. harlot -> villager). Let's fix that.
2015-12-31 15:36:40 -07:00
Ryan Schmidt
48547972e9
Make is_user_stasised return a truthy value if the user is not found
...
This ensures that code paths that should not be run if the user is stasised are not run if we don't know the user's status. Generally we don't know the user's status because they are not in the main channel, and therefore allowing them to effectively bypass stasis by not being around is a bad thing. We return -1 to differentiate between actual stasis, and because -1 is still True when cast to boolean. This may have the effect of giving some very odd-looking error messages but that's a very minor issue.
2015-12-31 15:06:19 -07:00
Ryan Schmidt
8a71c839a9
Increase night timer for valentines
2015-12-29 14:01:09 -07:00
skizzerz
8845dd8d7c
Revert "Fix issue with !quit at the beginning of the game"
...
This reverts commit b342c6c53e83befce3a5db6309b565710c4e826f.
2015-12-27 22:53:49 -06:00
Vgr E. Barry
b342c6c53e
Fix issue with !quit at the beginning of the game
2015-12-27 23:23:40 -05:00
Ryan Schmidt
57e5aec9cd
Increase quit grace time to 60s
...
Rejoining an IRC server after quitting can take a bunch of time for slow connections or if a lot of channels are to be joined. Additionally, quits could be indicative of temporary internet issues, want to make sure we give sufficient time to reconnect in case of a DHCP lease expiring or whatnot.
2015-12-20 14:54:22 -07:00
Vgr E. Barry
a5c9541543
Make sure handle_error(im) is failproof
2015-12-13 10:32:58 -05:00
jacob1
06cea36c97
fix typo causing error when you abstain after previously abstaining another day
2015-12-06 15:35:40 -05:00
Ryan Schmidt
81da5cb789
Merge pull request #202 from lutoma/hide-deadchat-commands
...
Hide commands in deadchat
2015-12-04 07:09:21 -07:00
Lukas Martini
2ef78a9783
Hide commands in deadchat
2015-12-04 08:33:44 +01:00
Lukas Martini
b8b61a0c8d
Only allow retracting start votes in the main channel
2015-12-04 04:22:18 +01:00
Vgr E. Barry
548d212435
Fix 'random' not keeping template ordering
2015-12-02 08:38:08 -05:00
nyuszika7h
c6a5cea715
Log connection, end of MOTD and joining channels in normal mode
2015-11-27 17:37:04 +01:00
jacob1
d72eadf34f
fix players not becoming unentranced if succubus dying ends game
2015-11-25 18:59:16 -05:00
Ryan Schmidt
99c8845118
Merge pull request #198 from lykoss/wolf-shaman
...
Add the new wolf shaman
2015-11-23 17:47:17 -07:00
Vgr E. Barry
c47a84d058
Add the wolf shaman role
2015-11-23 19:36:02 -05:00
skizzerz
32d91ec3a4
Enable team stats for random (sometimes)
2015-11-23 18:27:08 -06:00
skizzerz
747249991e
Add botconfig.OWNERS_ONLY_COMMANDS to further restrict commands
2015-11-16 12:11:52 -07:00
jacob1
be4421dd59
fix fquit "not_playing" message
2015-11-16 10:56:23 -05:00
jacob1
cd44f2384f
!frole: add to ORIGINAL_ROLES or FINAL_ROLES to fix end of game output
2015-11-16 10:51:43 -05:00
jacob1
3fd1360fed
fix !stats for wolves in PM being out of order
...
should be in player join order, not randomly shuffled
2015-11-16 10:17:45 -05:00
skizzerz
debf9c78ff
Horrible hacky error fix to make pm available in proxy/decorators
2015-11-15 18:42:20 -06:00
Vgr E. Barry
c24ae0bb8f
Make deadchat preferences actually matter
...
derpidy derpidoo da
2015-11-15 19:24:59 -05:00
Vgr E. Barry
aa1af8dea8
Fix debug logging of totems. Closes #196
2015-11-15 19:24:33 -05:00
Emanuel Barry
837cf49c44
Merge pull request #191 from lykoss/proxy
...
Introduce proxies as a means of breaking circular import chains
2015-11-15 18:08:06 -05:00
skizzerz
8a36dd8442
Fix docstring
2015-11-15 17:06:46 -06:00
skizzerz
737f4e6184
Fix werecrow observe not working in some instances
2015-11-15 16:56:32 -06:00
skizzerz
a26f912f6e
Wrap the impl side of implementations in handle_error unconditionally as well
2015-11-15 13:51:46 -06:00
skizzerz
6f83a909df
Introduce proxies as a means of breaking circular import chains
2015-11-15 13:12:22 -06:00