Commit Graph

979 Commits

Author SHA1 Message Date
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
jacob1
4ae7cafe94 Merge pull request #62 from brrr2/pstats-fix
Fix to allow player_stats to be case-insensitive for nicks.
2014-08-27 01:34:10 -04: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
nyuszika7h
999a612da8 wolfbot.py: error on Python <3.2 2014-08-25 20:30:58 +02:00
jacob1
9d238293e9 use "python3" command instead of "python3.2" 2014-08-25 14:29:57 -04: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
Ryan Schmidt
6e2cae8e6b Remove jester from default role set
The inclusion of jester was causing a disproportionately high number of wolf wins due to wolves voting jester as a strategy in order to bring numbers to even. Per discussion in -ops, it was decided that removing jester would be good in order to prevent this (an alternative option being reducing number of wolves so that the gameplay can still happen, but it requires more finesse on the wolves' part in order to utilize).
2014-08-18 19:02:23 -05:00
skizzerz
361cb0dd6e Fix typo in rapidfire where day ending warning was not shown 2014-08-17 21:45:28 -05: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
c6799e36f5 Create CONTRIBUTING.md 2014-08-17 19:06:23 +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