nyuszika7h
ffa7f7c58c
leave & fleave: Don't say role if it's "person"
...
And other minor improvements.
2014-09-28 00:55:36 +02:00
nyuszika7h
11b508d40b
fstasis: Add missing return
2014-09-27 12:49:03 +02:00
nyuszika7h
2a306fcc7c
fstasis: Improve messages
2014-09-27 12:46:07 +02:00
jacob1
f1f166f052
fix fstasis not handling hostmasks with capital letters properly
2014-09-27 00:53:56 -04:00
Romtam
b7fac7be4c
Added missing dot
2014-09-26 19:35:43 +07:00
Janik Kleinhoff
92a8c5bd60
Make fjoin message for fake nicks consistent with others
2014-09-25 23:30:58 +02:00
jacob1
dc156da64c
don't display the join message / pm fake nicks when in debug mode
2014-09-25 16:37:05 -04:00
jacob1
82b53f92d9
village can't abstain on day one
2014-09-25 16:00:06 -04:00
nyuszika7h
6dc4f4859f
Fix the bot telling you you haven't voted after retracting abstain
...
Reported by @Vgr255 on IRC.
2014-09-20 11:53:11 +02:00
Janik Kleinhoff
b2e0a6b1a3
Add quieting code again, but disabled by default
...
This reverts commit 5e4bb1ed5d
and puts
the relevant quiet-related code in a conditional instead, depending on a
newly-added var.QUIET_DEAD_PLAYERS setting.
2014-09-18 16:12:17 +02:00
nyuszika7h
5e4bb1ed5d
Remove quieting
...
Per discussion in ##werewolf-ops, nick changes are easier to notice than
PM logs which could be faked, and we can ban repeat offenders if needed
anyway.
2014-09-18 15:48:43 +02:00
Janik Kleinhoff
0669799f1e
is_fake_nick: only all-numeric nicks are fake
...
The previous check had quite a few issues, e.g. on UID nicks.
2014-09-17 22:00:24 +02:00
Janik Kleinhoff
62b9b1627d
Fix crash with idle warnings and nick changes
...
Sorry for breaking it. :s
2014-09-17 21:57:39 +02:00
Janik Kleinhoff
bae19598cb
!myrole: remind shamans of their totem
...
This is especially useful if the shaman did not see the original message
informing them of their role (e.g. due to connection issues).
2014-09-17 20:48:04 +02:00
Janik Kleinhoff
4de6899209
!myrole: remind lovers of their love
2014-09-17 20:31:23 +02:00
xnrand
60c0a136f5
bold in wolf gun death messages
2014-09-15 01:03:55 +02:00
Janik Kleinhoff
b8c2f6d841
Warn idlers a second time in PM
2014-09-12 14:59:03 +02:00
skizzerz
8d1a527724
Fix autolose not happening if someone quits
2014-09-09 20:47:11 -05:00
skizzerz
3a6280ad8c
Add settings to disable abstain and also limit it
...
By default, abstain is enabled and limited to being used once per
game. Both of these can be changed in settings.py.
2014-09-08 22:38:57 -05:00
nyuszika7h
eeb812c40e
!start: Fix pluralization
2014-09-07 11:53:47 +02:00
nyuszika7h
a2201c5061
Fix mad scientist message
2014-09-06 22:37:04 +02:00
jacob1
e84e786d39
fix players not being removed from var.KILLS when they die, and revert f8574e1892
2014-09-05 19:44:46 -04:00
jacob1
250e7d7462
fix error when exchange totem happens and wolves are angry
2014-09-05 19:43:26 -04:00
jacob1
457372fa3e
fix lykos devoicing people that weren't in the game sometimes
2014-09-05 19:42:35 -04:00
jacob1
b43140d362
fix error when using !retract after !abstain
2014-09-05 19:41:18 -04:00
Janik Kleinhoff
6af09159a2
Allow !fjoin to bypass stasis
...
Allow admins to fjoin people who are currently stasised without removing
their stasis entirely. Stasis is unaffected by this on its own, although
note that a game being played will still normally reduce the stasis
penalty for now, even if the stasised player actually played in the game
due to being fjoined.
2014-09-04 13:08:21 +02:00
Janik Kleinhoff
41b8740eb1
Make stasis persist through restarts by saving it in the DB
...
Fixes lykoss/lykos#28 .
2014-09-04 01:45:54 +02:00
Janik Kleinhoff
9b9f35487b
Put !fquit message on a single line
2014-09-04 01:08:09 +02:00
Janik Kleinhoff
59c9d5df14
Don't reveal traitor when they're !fquit
...
This is consistent with them otherwise leaving the game by abnormal
means (idling out, parting, quitting, getting kicked).
2014-09-04 01:08:09 +02:00
jacob1
1933247a56
fix people not getting devoiced when changing to guest/away nick
2014-09-03 12:33:28 -04:00
jacob1
9bed1186c0
changing to certain nicks in game counts as quitting (fixes some /ns regain / idler issues)
2014-09-03 11:55:21 -04:00
jacob1
8293dd3850
kill all the idlers at once so they all get stasis
2014-09-03 11:55:21 -04:00
nyuszika7h
f8574e1892
Fix error when wolves' target dies before sunrise
2014-09-03 16:52:08 +02:00
nyuszika7h
ebc806fd25
Make !retract use the same message for !nolynch
...
The reasoning behind this is that retracting your vote not to lynch does
not necessarily mean that you will indeed lynch someone.
Also, retracting a vote not to lynch will now reset the !votes rate
limit, just like retracting a normal vote.
2014-09-03 16:36:48 +02:00
nyuszika7h
a205e7b877
Fix "cursed wolf" after cursed traitor transforms
2014-08-31 00:18:27 +02:00
Janik Kleinhoff
2fdb1d7dd0
Always display new player count when people leave during join phase.
...
Previously, leaving by quitting, parting or getting kicked would not
display the new player count. Fixes lykoss/lykos#61 .
2014-08-30 04:51:32 +02:00
jacob1
5690e91b41
fix bug where wolfchat would ignore !notice and use !simple instead
2014-08-29 20:05:31 -04:00
Janik Kleinhoff
ff8912e8a3
Revert "Avoid having the village 'mourn' a wolfteam or monster death."
...
As it turns out, this has further implications that ought to be resolved
before making this part of the bot.
2014-08-29 20:49:39 +02:00
Janik Kleinhoff
dff9ec1e52
Avoid having the village 'mourn' a wolfteam or monster death.
2014-08-29 06:58:10 +02:00
Janik Kleinhoff
818b58f569
*really* avoid people getting around !flastgame with !j
2014-08-29 05:49:32 +02:00
Janik Kleinhoff
eb1387b7c2
Add a !notice toggle separate from !simple.
...
!simple used to determine whether you were given simple instructions
*and* whether the bot NOTICEs you; now, it only controls the former and
!notice controls the latter.
2014-08-29 04:12:35 +02:00
Janik Kleinhoff
0bb5f3b75d
Fix/improve various messages a little bit.
2014-08-29 02:10:21 +02:00
Janik Kleinhoff
9c87bce157
Make command help more consistent; make sure commands are documented.
2014-08-29 00:51:53 +02:00
Yizhe Shen
7376fe54ea
Fix to allow player_stats to be case-insensitive for nicks.
2014-08-26 22:04:48 -04:00
nyuszika7h
b251a34e31
Make on_give_me_ops independent from endofwho
2014-08-27 00:23:52 +02:00
nyuszika7h
37c0c075fa
Try to gain op when bot thinks it isn't opped
2014-08-26 23:58:29 +02:00
skizzerz
3146baa983
Ensure we have enough params for fsay and fact
2014-08-24 22:03:48 -05:00
skizzerz
b466c47026
Fix some \!nolynch related issues with awkward messages, inconsistent functionality, and improper interaction with vote-altering totems.
2014-08-24 21:50:28 -05:00
skizzerz
06f51a3731
Fix case where people were not being marked as not-dced if they joined as a different nick and then /nicked to return to village.
2014-08-24 12:35:29 -05:00
nyuszika7h
c5ff638056
Add !fsay and !fact
2014-08-24 18:14:32 +02:00
nyuszika7h
883599155a
Merge pull request #58 from skizzerz/master
...
Various bugfixes and new mad scientist option
2014-08-22 21:13:14 +02:00
nyuszika7h
c666d8967e
!fghost: remove potentially confusing message
2014-08-22 15:43:34 +02:00
skizzerz
b82cc92997
Add option for mad scientist to skip over dead players, based on how many players joined the game
2014-08-22 01:03:50 -05:00
skizzerz
d69cd50f8d
Allow hunter to change their kill at night using !kill without needing to !retract first
2014-08-22 01:03:50 -05:00
skizzerz
68bfe2b65d
Do not display duplicate death messages, a night kill overrides any chained kills (lovers, scientists, assassins, etc.)
2014-08-22 01:03:50 -05:00
jacob1
f2a92402e9
fix grammar mistake in headshot message (again)
2014-08-21 01:32:10 -04:00
jacob1
bfc6b6f8cf
small cleanup / bugfix in !roles
2014-08-20 01:27:19 -04:00
skizzerz
6ee671f903
Fix bug where night would abruptly end if there are no wolves alive to receive gun.
2014-08-19 22:40:26 -05:00
jacob1
d34a65dd98
add missing period for matchmaker message in !simple
2014-08-19 21:58:08 -04:00
jacob1
8fd41d4bf9
fix !roles with argument
2014-08-19 21:54:17 -04:00
jacob1
fc1f110773
!stats orders names in join order
2014-08-19 21:30:55 -04:00
jacob1
e0d3476a2c
!roles properly displays roles that drop out, and can show roles for a specific player count
2014-08-19 21:26:04 -04:00
nyuszika7h
390fd937bf
Fix indentation
2014-08-17 22:35:29 +02:00
nyuszika7h
552be7f18b
Update aliases for !nolynch
2014-08-17 22:25:52 +02:00
Vgr E.Barry
edc9ec1ed9
Added nolynch/abstain command
...
Features:
- Added var.NO_LYNCH
- Tweaked hurry_up to count not-lynching players
- Makes day end without a lynch if enough players abstain
- Consider pacifists and not-lynching as equal for lynching calculation
(in chk_decision and hurry_up)
- Add "x players have refrained from voting" in !votes
- Added actual nolynch/abstain command, which is a toggle to no_lynch or
not
- Make !voting automatically remove the player from the no-lynchers
- Make !retract remove the player from no-lynchers
2014-08-17 22:19:53 +02:00
nyuszika7h
c823689dbd
Fix previous commit
2014-08-17 19:12:48 +02:00
nyuszika7h
2e5b087d3b
Fix !fgame check for admins/owners
2014-08-17 18:02:31 +02:00
skizzerz
84b2fdc24e
Improvements
...
- Make rapidfire more rapid by reducing timers and adding in time lord
- Correctly credit someone for a win if they die and THEN /part or /quit
(someone that dies and is /kicked will not get a win, as that usually
means they cheated or something.)
- Break up long messages (roles, player totals) at intelligent points.
2014-08-12 23:07:02 -05:00
skizzerz
b39ecbace0
Remove left-behind debug message and fix bug if someone changes nicks during night causing night to not end properly
2014-08-12 17:50:37 -05:00
skizzerz
dd46ea26a9
Merge branch 'master' of https://github.com/lykoss/lykos
2014-08-11 21:32:22 -05:00
nyuszika7h
1e2de1de9a
Fix !fgoat
2014-08-11 10:35:49 +02:00
skizzerz
d8dbdabdd1
Ensure idlers never get credited for win
2014-08-10 19:53:49 -05:00
skizzerz
4bc9be8454
Merge branch 'master' of https://github.com/lykoss/lykos
...
Conflicts:
modules/wolfgame.py
2014-08-10 19:12:19 -05:00
nyuszika7h
9216ef0c45
Add missing dot
2014-08-11 00:08:08 +02:00
nyuszika7h
11e411a052
Fix previous commit
2014-08-11 00:07:33 +02:00
nyuszika7h
df48af8a9d
Improve !fgoat
2014-08-11 00:06:39 +02:00
nyuszika7h
885873701f
Merge pull request #48 from brrr2/fix
...
Update for showing votes, time and roles.
2014-08-10 23:37:23 +02:00
skizzerz
bd2451b3b5
Redo default roles and fix bug where day timing out didn't correctly apply vote altering totems
2014-08-10 14:14:27 -05:00
skizzerz
cd43225b53
Visiting harlots now die if given death totem, and harlots that visit a visiting harlot that was given death totem and also targeted by wolves now dies as well. Closes #71
2014-08-10 12:05:42 -05:00
Yizhe Shen
5700ec7d01
Updated output behaviour for in-game commands available in PM.
...
- Updated behaviour for listroles(), show_votes(), timeleft()
- Uses !simple settings when those commands are given in PM
- Uses notice if channel is +z and a game is in progress
2014-08-09 15:00:05 -04:00
skizzerz
c6359b3908
Make mad scientist always trigger on death
2014-08-09 00:26:51 -05:00
skizzerz
4e7fbdada2
Merge branch 'master' of https://github.com/lykoss/lykos
...
Conflicts:
modules/wolfgame.py
2014-08-07 22:54:09 -05:00
skizzerz
a9f3125a9c
remove bit of logging code that was erroring out night if we had 2 wolf kills. We're already logging dead people later on anyway so this is 100% unnecessary
2014-08-07 22:53:02 -05:00
skizzerz
83fb02666d
Fix clone cloning amnesiac
2014-08-06 19:46:36 -05:00
Vgr E.Barry
cdf96cfc2b
Added !fgoat command for admins. Allows unlimited amount of goats.
2014-08-06 13:42:33 -04:00
Skizzerz
5a5c8fbb50
Fix impatience totem allowing votes while dead
2014-08-05 23:22:01 -05:00
Skizzerz
8b49e1c0c8
Finish retribution totem and remove unused config var
2014-08-05 23:19:54 -05:00
Skizzerz
277c99db41
Fix exchange totem and wolf cub and other improvements
2014-08-05 21:34:46 -05:00
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