Commit Graph

2049 Commits

Author SHA1 Message Date
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
jacob1
7a3b6d7274 Fix death totem message, add period to !bless response message 2016-02-01 00:27:20 -05:00
Vgr E. Barry
6475a57402 Break Python 3.2 compatibility 2016-01-31 16:54:54 -05: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
30699c69a8 fix sys.exit call preventing pull request #208 from being merged, closes #208 2016-01-02 01:36:55 -05:00
Lukas Martini
e7cdf1eb50 Support IPv6 connections 2016-01-02 01:28:50 -05: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
nyuszika7h
b9df37bcb4 Fix grammar in death message 2016-01-01 22:18:43 +01:00
nyuszika7h
f19e1851fd Add vim modeline to example botconfig to set file type 2016-01-01 22:18:07 +01: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 b342c6c53e.
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
jacob1
79d6313ba5 Minor fix to message
sounds odd when "all villagers, however, have survived" is appended
2015-12-23 18:15:50 -05:00
nyuszika7h
5d78e485ac Fix left over [sic] mistake 2015-12-24 00:13:21 +01:00
jacob1
a49eb9b76d Merge pull request #211 from Cr0wb4r/master
Death msgs
2015-12-23 18:00:29 -05:00
Cr0wb4r
7bec14df0c death messages
added a few death messages.
2015-12-23 16:58:57 -06: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
dd25d33962 Merge pull request #205 from lykoss/revert-204-ipv6
Revert "Support IPv6 connections"
2015-12-04 17:48:59 -07:00
Ryan Schmidt
609cb6e2a7 Revert "Support IPv6 connections" 2015-12-04 17:48:26 -07: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
nyuszika7h
6b416f736a Merge pull request #204 from lutoma/ipv6
Support IPv6 connections
2015-12-04 15:02:25 +01:00
Lukas Martini
5fdc1eff65 Support IPv6 connections 2015-12-04 11:46:43 +01:00
Lukas Martini
2ef78a9783 Hide commands in deadchat 2015-12-04 08:33:44 +01:00
jacob1
7a177a6360 Merge pull request #200 from lutoma/no-start-retract-query
Only allow retracting start votes in the main channel
2015-12-04 00:59:50 -05: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