Yizhe Shen
e7cbd34303
Alternate fix for reset_modes().
...
Fixes a small oversight in reset_modes().
2014-02-22 06:58:19 -05:00
nyuszika7h
a02b9792bb
Fix reset_modes
2014-02-22 10:38:53 +01:00
Yizhe Shen
aaba54baa2
Fix for mode-reset lag.
...
Moved mode resets to a separate method so it can be called
separately. This allows it to be performed before disk I/O at the
end of a game.
2014-02-21 19:26:34 -05:00
nyuszika7h
879ea90ab1
Remove trailing whitespace
2014-02-21 22:54:30 +01:00
nyuszika7h
3e2649bad1
Merge branch 'cloak_account' of git://github.com/brrr2/lykos
2014-02-21 22:52:51 +01:00
nyuszika7h
e80c78ba36
Fix previous commit
2014-02-21 10:35:21 +01:00
nyuszika7h
35a7e02f81
Respect !simple for !gstats/!pstats
2014-02-21 10:25:53 +01:00
nyuszika7h
d051330b0f
Revert "Add total games to !pstats without role"
...
This reverts commit 42b98813d0
.
Total game count is inaccurate if the player is both gunner/cursed and
another role.
2014-02-21 10:18:52 +01:00
nyuszika7h
42b98813d0
Add total games to !pstats without role
2014-02-21 10:15:50 +01:00
nyuszika7h
b90ba46e73
Fix previous commit (again)
2014-02-21 10:08:44 +01:00
nyuszika7h
a3cf5cb780
Fix previous commit
2014-02-21 10:05:41 +01:00
nyuszika7h
91e7816861
Fix rate limit for gstats/pstats and remove mystats in favor of pstats
2014-02-21 10:03:48 +01:00
Yizhe Shen
ff1f8ee496
Fix for updating user cloak and account.
...
Fixes the rare case when "simple" stops working.
2014-02-21 03:10:11 -05:00
nyuszika7h
c7b8a6505e
Actually fix !gstats for real now
2014-02-20 16:58:38 +01:00
nyuszika7h
d39f199bf5
Fix previous commit
2014-02-20 16:56:33 +01:00
nyuszika7h
fea8ccd1bd
Fix gstats and pstats in PM
2014-02-20 16:55:18 +01:00
nyuszika7h
3e0df48c7c
Fix !pull again...
2014-02-20 16:49:05 +01:00
nyuszika7h
5ed31496a3
Add missing import
...
And remove redundant double import.
2014-02-20 16:46:57 +01:00
nyuszika7h
346364b938
Fix previous commit
2014-02-20 16:45:14 +01:00
nyuszika7h
6d37e32b0a
Add !pull command
2014-02-20 16:43:38 +01:00
nyuszika7h
9b10ba2851
Add aliases and rate limit for p/g/mystats
2014-02-20 16:36:55 +01:00
nyuszika7h
7ca06ebabf
Final fix for stasis, it finally works right!
...
In the future I might add nick completion.
2014-02-19 21:13:04 +01:00
nyuszika7h
9145231e58
Fix previous commit
...
If this doesn't work, I'll test locally first, I should have done that
in the first place.
2014-02-19 21:05:10 +01:00
nyuszika7h
05f048c6c9
Even more fixes for stasis.
2014-02-19 21:02:37 +01:00
nyuszika7h
b2ff0a486b
Fix programming error made because I'm tired
2014-02-19 20:43:17 +01:00
nyuszika7h
8f01f49461
Fix previous commit
2014-02-19 20:41:54 +01:00
nyuszika7h
16b695de65
Further fixes to stasis (hopefully the last one for now).
2014-02-19 20:31:30 +01:00
nyuszika7h
49303b62eb
More fixes to stasis.
2014-02-19 20:26:09 +01:00
nyuszika7h
23574cdd45
Merge branch 'master' of github.com:lykoss/lykos
2014-02-19 20:18:14 +01:00
nyuszika7h
6943dbdd4e
Some fixes to stasis (cf. GH-5).
2014-02-19 20:18:00 +01:00
nyuszika7h
e82920b57d
Merge pull request #1 from brrr2/min_players_fix
...
Fix for invalid values of MIN_PLAYERS.
2014-02-19 14:32:57 +01:00
nyuszika7h
c5f290a50c
Merge pull request #3 from jacob1/master
...
fix bug where targeted harlot could still shoot wolves (and get an extra bullet)
2014-02-19 14:32:28 +01:00
nyuszika7h
29473b2098
Fix previous commit
2014-02-19 14:28:53 +01:00
nyuszika7h
2137a4466f
Clarify fstasis messages. Closes #2 .
2014-02-19 14:27:08 +01:00
jacob1
ffdd94ed4a
fix bug where targeted harlot could still shoot wolves (and get an extra bullet)
2014-02-18 20:53:06 -05:00
Yizhe Shen
0ad366fd39
Fix for invalid values of MIN_PLAYERS.
...
Also added some bolding.
2014-02-17 17:41:23 -05:00
nyuszika7h
8342114844
Merge branch 'master' of git://github.com/xnrand/seerwolf
2014-02-17 10:43:19 +01:00
xnrand
d769943c0a
Add feature for wait time added for each !join
...
Ineffective by default because the wait time is set to 0 in the default
configuration file.
2014-02-17 05:02:27 +01:00
Yizhe Shen
9ad5713471
Added MIN_PLAYERS setting.
2014-02-16 20:24:46 -05:00
Yizhe Shen
510dcfa9bf
Fix for getting game totals.
...
Fixed upper limit of range in get_game_totals().
2014-02-16 19:34:05 -05:00
Yizhe Shen
3d367f6bea
Minor changes.
...
Added grand total to the output of "gamestats" command when no size is
given. Changed camel case to '_' for a couple of variables. Added
identification check for "player" command.
2014-02-15 22:38:15 -05:00
Yizhe Shen
04d2702f36
Added get_player_totals(). Some code cleanup.
...
If the "player" or "mystats" command is called without a role,
then the bot will now list the total games that the player has
played in each role.
2014-02-13 21:59:52 -05:00
Yizhe Shen
04a4f00f80
Added check for abnormal game stop before updating game stats.
2014-02-13 19:05:39 -05:00
Yizhe Shen
32fa38a6c9
Refactored some stats code.
...
Made update_roles_stats() and update_game_stats() a bit cleaner.
2014-02-13 18:05:59 -05:00
Yizhe Shen
7f9def0b2c
Added percentages to stats.
...
Added percentages when stats are outputted. Updated output for
"gamestats" command when no parameter is given.
2014-02-13 18:05:58 -05:00
Yizhe Shen
ab1731d93c
Removed redundant check in "myrole" command.
2014-02-12 18:53:22 -05:00
Yizhe Shen
e7dad23525
Added check for gun/bullets for "myrole" command.
...
Adds additional notification of gun/bullets if the player has them.
Minor change in the way messages are sent out for "myrole" command.
2014-02-12 18:53:20 -05:00
Yizhe Shen
609490e87b
Added "myrole" command.
...
A command to remind players of their role during games.
2014-02-12 18:53:19 -05:00
nyuszika7h
28d431a3c1
Merge pull request #20 from brrr2/stats-pr
...
Adds player and game stats commands
2014-02-12 12:12:36 +01:00
Yizhe Shen
79b870499b
Added additional limits for "gamestats" parameters.
...
Added check to make sure the parameter is an integer between 4 and
var.MAX_PLAYERS.
2014-02-10 23:46:24 -05:00