Commit Graph

1167 Commits

Author SHA1 Message Date
nyuszika7h
d295a0bdc2 Re-add settings/__init__.py
That shouldn't have been removed. Oops. Now I also added a notice to
anyone who may be looking at the otherwise pretty empty file in the
future.
2015-02-21 23:05:08 +01:00
nyuszika7h
9f6e474ff6 Remove unused code and files 2015-02-21 23:03:11 +01:00
Janik Kleinhoff
66169aead4 s/game is canceled/the game is canceled/ 2015-02-21 21:44:54 +00:00
Vgr E.Barry
dbf614c0cc Fix !time not being usable in the join phase.
Previously, !time could be used in the join phase to see how much time
was left before the game started. With my decorators overhaul I broke
this feature. Adding this back in.
2015-02-20 17:24:23 -05:00
Janik Kleinhoff
7e6e190a1e Fix an undefined variable error (blame Vgr) 2015-02-18 05:05:26 +00:00
skizzerz
7d18a3b902 Alpha tweaks
- Fix bug when using bite and not specifying a victim where victim was
  None and thus trying to get their role resulted in a KeyError
- Forward params from bite onwards to kill so you no longer need to do
  both (although you can still bite one person and kill someone else if
  you REALLY wanted to for some reason... it still won't work though)
- If the bite failed for any reason (including if they targeted lycan
  who just instantly turns), refund the bite so the alpha wolf can try
  again after a wolf dies again during the day.
2015-02-16 23:39:27 -06:00
jacob1
805f49b985 fix crash when displaying certain characters on windows ಠ_ಠ 2015-02-16 22:53:21 -05:00
Janik Kleinhoff
40f9d9c04a !force: fix behaviour on fake nicks
!force 12 is meant to force 12, not to force 1 and 2.
Fixes issue introduced in 7f2e315.
2015-02-14 16:32:21 +00:00
Vgr E.Barry
c094028f87 Fix error arising when monster wins. 2015-02-14 11:03:46 -05:00
skizzerz
3d8ba4c1dd Add valentine mode 2015-02-13 19:28:00 -06:00
skizzerz
e5fd6326ba If GA guards harlot and harlot visits and harlot is attacked, play the harlot was attacked message 2015-02-07 20:19:18 -06:00
nyuszika7h
df64ebdd22 Fix !faftergame in PM with channel commands 2015-02-05 14:33:17 +01:00
nyuszika7h
b632f659e8 Fix code introduced in 1ce5d69 to be more clear
`L[:4:3]' isn't immediately obvious, especially for people coming from
other programming languages.
2015-02-05 14:16:32 +01:00
skizzerz
9652eb3cec Fix death triggers
Whenever a single target has multiple triggers (e.g. mad scientist +
assassin or assassin + lover), and the kills would overlap, errors would
happen. A previous attempt to fix this for the single case of scientist
+ lover/assassin was ill conceived and did not take deadlist into
account. Fix this properly now.
2015-02-01 18:57:03 -06:00
Vgr E.Barry
1ce5d69113 Improve is_admin and is_owner to check for cloak in privmsg if available. 2015-02-01 06:08:44 -05:00
skizzerz
b490d91f7a More ghost fixes with assistance from jacob1
- A ghost driven away by retribution totem can now get team wins if
  their team wins, but will not get individual wins. They used to
  unconditionally lose.
- Make it so ghosts driven away by retribution totem are no longer
  messaged and are no longer able to kill.
2015-01-31 22:38:32 -06:00
skizzerz
3f990a22ec Fix dead vengeful ghost always winning with village even if they are wolfteam, and clean up a weird-looking conditional 2015-01-31 21:58:33 -06:00
nyuszika7h
8df527e9d7 Fix grammar in message displayed on initial !join 2015-01-28 16:36:00 +01:00
Vgr E.Barry
98901ab86e Add a spontaneous combustion quit message. 2015-01-27 16:24:33 -05:00
skizzerz
ba9a9839fd noreveal balance tweaks: remove CS and make traitor turning message play when traitor turns 2015-01-26 22:24:16 -06:00
skizzerz
42e67f7900 Alpha balance tweak: remove gunner 2015-01-25 19:51:55 -06:00
Vgr E.Barry
52502de515 Add monster to cursed restrictions. 2015-01-21 21:36:02 -05:00
Janik Kleinhoff
d0db82faab simple clone role message: add missing period 2015-01-21 02:49:45 +00:00
nyuszika7h
677bb85053 Remove leftover debug print statements 2015-01-18 16:35:03 +01:00
Vgr E.Barry
26c81c2c03 Add timestamps in the client and module loader. 2015-01-18 09:22:03 -05:00
nyuszika7h
07a684465e Merge pull request #109 from lykoss/fsync-command
fsync command
2015-01-18 10:16:04 +01:00
Janik Kleinhoff
f5da2aff99 mode sync: handle targetless mode changes as well 2015-01-18 05:39:00 +00:00
jacob1
653e881b39 put timestamp on RESTARTING message + 2 others
not on the 'loading module wolfgame' message since that will be removed soon and it helps divide logs anyway
2015-01-18 00:10:46 -05:00
jacob1
be6ab9d723 really fix OverflowError with huge stasis values (by setting a cap) 2015-01-17 23:51:56 -05:00
jacob1
befcc1d8ce fix observe error 2015-01-17 22:57:57 -05:00
Janik Kleinhoff
db65f07694 Call sync_modes() on incoming server mode change (i.e. netjoin) 2015-01-17 18:56:53 +00:00
nyuszika7h
c20512163e fstasis: Handle OverflowError gracefully 2015-01-17 19:00:46 +01:00
jacob1
39e835fe60 remove useless variable and if statement check 2015-01-16 01:09:56 -05:00
jacob1
7f2e3153e7 !force works on commands with raw_nick (vote) + some logic changes 2015-01-16 01:02:56 -05:00
jacob1
91c2c26a45 print error message when running with python 2 2015-01-14 22:53:11 -05:00
Vgr E.Barry
39c437517f Remove randomly-added unrelated file. 2015-01-14 20:16:26 -05:00
Vgr E.Barry
a4806d6e89 Fix debug logging breaking assassin and love suicide. 2015-01-14 20:00:50 -05:00
Janik Kleinhoff
b9634c2b0c Add fsync command to sync modes manually 2015-01-14 21:05:57 +00:00
Janik Kleinhoff
be4e5ff510 mass_mode: allow setting modes without argument
This allows setting e.g. -m at the same time as devoicing old players.
2015-01-14 21:05:57 +00:00
Janik Kleinhoff
1f916a8f57 mass_mode: look at ISUPPORT MODES= token 2015-01-14 21:05:57 +00:00
nyuszika7h
adb039e83d Make !vote/!v work as an alias for !game in the join phase 2015-01-14 19:47:13 +01:00
nyuszika7h
431ebe86d3 wait: Add per-user rate limit 2015-01-14 13:50:14 +01:00
nyuszika7h
54fe9b347b wait: Use 'playing' in the decorator 2015-01-14 13:49:29 +01:00
jacob1
21d84922e1 don't log non-admin commands that have been !fallowed to the console 2015-01-13 21:28:36 -05:00
jacob1
0f566e3e39 more clear admin command logging
puts channel name first instead of in between the command and the arguments
2015-01-13 20:47:47 -05:00
Vgr E.Barry
87bb3fc599 Remove bold from logged messages and fix templates never logging. 2015-01-13 20:16:47 -05:00
Vgr E.Barry
d7c5f6f9ac Make logging messages consistent. 2015-01-13 20:01:57 -05:00
Vgr E.Barry
cdc04dc3e3 Add some more logging at some places. 2015-01-13 20:01:55 -05:00
Vgr E.Barry
ae8a4d350b Fix vengeful ghost logging message. 2015-01-13 20:01:54 -05:00
Vgr E.Barry
778c3bc232 Tweak a few debug messages. 2015-01-13 20:01:52 -05:00