jacob1
69b05f4a52
fix error when dead vengeful ghost uses !myrole
2015-05-13 00:39:33 -04:00
skizzerz
c0ea08edfc
Remove amnesia, mode is both broken and superseded by random
2015-05-11 21:56:31 -05:00
skizzerz
9ef00a9ae3
Make revealroles split output intelligently
2015-05-10 22:17:21 -05:00
skizzerz
7fd98331f4
Make nobody win if all the safes and all the wolves die off at once in evilvillage
2015-05-10 17:52:54 -05:00
skizzerz
56f61c18eb
Also make village win in evilvillage if there are no more cultists
2015-05-09 22:10:30 -05:00
skizzerz
9745e18d66
Evilvillage balance changes:
...
Make villagers win if they equal or outnumber wolfteam
Replace oracle with seer
Add a 12p tier
2015-05-09 21:24:58 -05:00
skizzerz
d6f89adbd0
Fix error with roles by doing default game mode properly, also make game modes inherit GameMode
2015-05-09 21:05:36 -05:00
jacob1
77262cea75
Merge pull request #131 from lykoss/events
...
Add event system
2015-05-09 20:43:38 -04:00
skizzerz
ee9716feeb
Evilvillage balance tweaks
2015-05-09 19:13:35 -05:00
skizzerz
abf1e1ddd6
Fix up evilvillage
...
Villagers win if the wolves die, wolves win if all villagers are dead
(removes the stupid way of wolves winning for cultists to elect
themselves to be voted).
Also swap shaman and hunter so villagers always have a means of getting
a kill no matter the game size.
2015-05-09 12:19:31 -05:00
skizzerz
28f2dcebf8
Add event system with one sample event in chk_win
...
Further information on how this system works may be found on the wiki.
If there is no information on the wiki, poke woffle incessently until
there is.
2015-05-09 12:19:31 -05:00
skizzerz
b8fa7c3373
Set aleatoire minimum to 8p
2015-05-07 22:27:20 -05:00
Janik Kleinhoff
2aa9df07b9
!wiki: escape the query before building regex
2015-05-07 15:59:48 +00:00
skizzerz
a18cfca087
Let augur be cursed, since it doesn't make sense otherwise (they see through it, and det can also be cursed)
2015-04-29 21:56:04 -05:00
skizzerz
59a2247a12
Fix silenced ghost still killing (at random)
2015-04-28 20:47:53 -05:00
skizzerz
dc9196237c
Fix end-of-game message for lycan
...
Lycans and people with lycanthropy totem now properly show up as wolves
if they turned during the game by removing special-case tracking for
them (var.LYCANS) and opting for the generic role-change tracking
(var.FINAL_ROLES) instead. Also, make it so that wolves don't "turn
into" wolves if they are afflicted with lycanthropy and then
subsequently targeted by wolves (which can happen with luck/misdirection
totem).
2015-04-27 23:13:37 -05:00
nyuszika7h
f7af95405a
fjoin: Remove stasis if it's 1 game, error otherwise
2015-04-20 20:46:18 +02:00
nyuszika7h
a6c4303e3e
Don't ignore host stasis if user is identified
2015-04-20 20:46:18 +02:00
jacob1
c55b6703c5
don't allow fjoining users that aren't in the channel
2015-04-18 21:27:16 -04:00
jacob1
abbca6d167
fix bug where inchan is set to false when it shouldn't be (breaks nick tracking)
2015-04-18 18:58:24 -04:00
jacob1
2f0a827fe8
nyuszika7h fell into a river and was swept away.
2015-04-18 17:54:31 -04:00
jacob1
f3fd5b970c
remove LEAVE_ON_LOGOUT setting, now enabled automatically when ACCOUNTS_ONLY is on
...
note: this setting seems to trigger when switching accounts also
2015-04-18 17:45:40 -04:00
jacob1
b35287f0a1
stasis is only added to accounts, not cloaks, when var.ACCOUNTS_ONLY is on
...
can still manually specify a host with !fstasis. Also when an account is stasised, it no longer hides the fact that the host might be stasised also
2015-04-16 13:12:50 -04:00
jacob1
f68ad397a8
don't ping a playing using an account of someone else with that account is already joined
...
I mostly made this to have it stop pinging my alt, mooo
2015-04-16 12:56:47 -04:00
jacob1
2b4895f34c
don't allow fjoining unidentified players when var.ACCOUNTS_ONLY is on
2015-04-16 12:55:21 -04:00
nyuszika7h
1d77fc4a29
Revert "Ping joined players even if the bot was quit and restarted manually"
...
This reverts commit 1db767cafa
.
This is actually rarely useful, and more often annoying, especially when
debugging.
2015-04-16 18:53:58 +02:00
nyuszika7h
4b01eb2990
notify_error: Don't send a duplicate message if DEV_CHANNEL is the current channel
2015-04-16 18:52:57 +02:00
nyuszika7h
cc3805f064
Don't ping unidentified users if ACCOUNTS_ONLY is enabled
2015-04-16 16:19:35 +02:00
nyuszika7h
c93ead1642
Remove rarely used constant
2015-04-16 16:17:42 +02:00
nyuszika7h
a03b585bde
Fix minor oversight in commit baa3831
2015-04-16 16:17:42 +02:00
nyuszika7h
1db767cafa
Ping joined players even if the bot was quit and restarted manually
2015-04-16 16:17:42 +02:00
nyuszika7h
4ab966fc06
Handle errors gracefully when pinging previously joined players
2015-04-16 16:17:42 +02:00
nyuszika7h
1de23dafb8
Unhook the initial WHO hooks after processing them
...
This fixes an issue where calling !ping or !admins would disable
accounts, because they unconditionally send a normal WHO request.
2015-04-16 16:17:42 +02:00
nyuszika7h
9479807852
Use separate hook IDs where using the same one doesn't make sense
...
I'd prefer not using the same hook ID for anything, but it's convenient
to be able to unhook multiple related things at once, so we'll just
change the hook IDs again if it's ever needed. Nothing should be
hardcoding them anyway, so changing them shouldn't cause issues.
2015-04-16 16:16:07 +02:00
jacob1
cf096c20d0
fix !roles <gamemode> <playercount> not working, fix !roles random <playercount> working
...
Also add a message if there are no roles defined for a acertain player count instead of saying nothing
2015-04-07 21:33:47 -04:00
nyuszika7h
599ad45544
Reorganize imports
2015-04-07 12:01:59 +02:00
nyuszika7h
528e484937
Tweak "no players remaining" message
...
"Nobody wins." sounds awkward IMO, and it's quite obvious anyway.
2015-04-06 14:48:36 +02:00
nyuszika7h
f56e9344cf
!time: Clarify game cancellation message
2015-04-06 13:39:01 +02:00
Ryan Schmidt
6bae3b9a3a
Fix mad scientist message sometimes showing incorrect targets
...
Closes #124
2015-04-05 23:47:05 -05:00
jacob1
6097a58820
fix error when alpha wolf is only wolf and gunner tries shooting at night
2015-04-05 00:51:22 -04:00
Ryan Schmidt
a30e6e8aca
Merge pull request #122 from lykoss/no-module-system
...
Remove the module system
2015-04-04 10:41:40 -05:00
Vgr E.Barry
3c5f742f74
Add loading print
2015-04-04 07:39:58 -04:00
Vgr E.Barry
0727fb317c
Fix faulty import
2015-04-04 07:39:56 -04:00
Vgr E.Barry
378334478c
Move files around and update references
2015-04-04 07:39:54 -04:00
skizzerz
5264a2a0da
Fix lykos on IRCds that do not have WHOX support
...
- Disable account support if we do not have WHOX so that bot still works
(and have it use regular WHO replies in that case).
- Don't join alt channels if there aren't any (prevents null JOINs being
sent to server).
- Allow configuring how the bot quiets users with QUIET_MODE and
QUIET_PREFIX, the default is "q" and "" so it sets +q n!u@h, but you
could configure it to say "b" and "~q:" where it will set +b ~q:n!u@h.
- Properly error out if we have sasl enabled but the ircd does not.
Known Issues:
- pstats does not work, as it is still tied to nickserv accounts
2015-04-03 22:23:02 -05:00
jacob1
2d14bdc0fe
minion can use !myrole to get the original wolf list
2015-03-30 13:34:16 -04:00
nyuszika7h
6f313217ca
Allow !join to vote for a game mode even if already playing
2015-03-30 19:29:32 +02:00
nyuszika7h
27fe548c2f
Fix SIGUSR2 handling
2015-03-30 16:25:50 +02:00
nyuszika7h
3bcb188b32
Add random fortunes
2015-03-28 17:15:16 +01:00
nyuszika7h
fd8d0bbdf7
Use var.GIF_CHANCE instead of hardcoded chance
2015-03-28 17:14:48 +01:00