Commit Graph

1143 Commits

Author SHA1 Message Date
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
Vgr E.Barry
7b1f710fb1 Improve debug logging messages. 2015-01-13 20:01:50 -05:00
Vgr E.Barry
cecf1c6fc5 Improve a few minor things.
Prevents "Unhandled command <stuff>" from writing to file, add back
weird piece of code to prevent too many templates and "would send
message to fake nick" message and creates file on startup if it doesn't
exist.
2015-01-13 19:59:02 -05:00
Vgr E.Barry
4cc26e3ac2 Improve logger to use custom timestamps. 2015-01-13 19:59:00 -05:00
Vgr E.Barry
20eda8c5d1 Removed obsolete logging code. 2015-01-13 19:58:58 -05:00
Vgr E.Barry
55a14d6a3f Add a proper logging feature. Closes #72. 2015-01-13 19:58:55 -05:00
jacob1
ee00420812 fix missing space in oracle message 2015-01-12 14:21:27 -05:00
Vgr E.Barry
cbd3c60890 Fix bot crashing on start if DENY_ACCOUNTS is not empty. 2015-01-11 22:11:14 -05:00
Vgr E.Barry
813dc38cbf Modify message for oracle. 2015-01-11 21:37:47 -05:00
Vgr E.Barry
8a35862cb8 Don't display message about not receiving a PM on first night. 2015-01-11 21:21:19 -05:00
Vgr E.Barry
c29ed805e1 Allows !v to view votes in PM. Closes #106. 2015-01-11 19:29:34 -05:00
Vgr E.Barry
982d6cb697 Fixed help not respecting !notice. Closes #107. 2015-01-11 19:23:45 -05:00
nyuszika7h
5917db89dc CONTRIBUTING.markdown: Minor grammar fix 2015-01-08 22:29:46 +01:00
nyuszika7h
71a85bbd38 Fix rate limit affecting !fstart 2015-01-08 15:54:59 +01:00
nyuszika7h
59a6339729 Unify "not logged in to NickServ" notices
In some places, the bot says "not logged in to NickServ", while in other
places, it saays "not identified with NickServ". This changes all such
notices to use the first form.
2015-01-07 19:51:08 +01:00
nyuszika7h
667b824065 Fix typo: s/logged in/not logged in/ 2015-01-07 19:49:56 +01:00
jacob1
fa326b5fb3 fix fail with complete_match 2015-01-05 12:56:34 -05:00
jacob1
784bbe0111 prevent cases where you can unintentionally vote / act on yourself 2015-01-05 10:59:25 -05:00
skizzerz
5f458cc9dc Fix vengeful ghost incorrectly winning 2015-01-04 20:47:49 -06:00
skizzerz
b4fc0a214b Reduce number of immunizations doctor gets
Now doctor gets 2 at 10p, 3 at 15p, and 4 at 23p. Formerly it was 2 at
10p, 3 at 12p, 4 at 18p, and 5 at 24p.

This reduces the doctor to being able to only immunize between 13.64%
and 20% of the village (min at 22p, max at 10p and 15p), down from
between 17.39% and 25% (min at 23p, max at 12p).
2015-01-03 21:29:25 -06:00
Vgr E.Barry
e2c5c819d6 Make "frestart normalmode" behave as intended. 2015-01-03 20:04:13 -05:00
Vgr E.Barry
932d9f45f4 Improved argument parsing.
Made launch arguments override the config's values. Added a --normal
switch for overriding both debug and verbose parameters if present.
2015-01-03 19:49:58 -05:00
Vgr E.Barry
11b35c79ff Allow debug and verbose modes to be set directly from config. 2015-01-03 19:33:15 -05:00
Vgr E.Barry
555f80eb5e Merge branch 'master' of https://github.com/lykoss/lykos 2015-01-03 18:21:49 -05:00
Vgr E.Barry
4a6bd6665f Fixes faftergame (again). 2015-01-03 18:21:27 -05:00