skizzerz
a10e706474
Fix syntax errors and some other miscellaneous issues
2014-07-14 01:06:41 -05:00
Skizzerz
d970aefdbe
Finish adding roles, still completely untested
2014-07-13 17:43:11 -05:00
Skizzerz
7011c9b5d0
Roughly halfway done with adding new roles
2014-07-12 19:40:20 -05:00
Skizzerz
3f61a60f21
Merge branch 'master' of https://github.com/lykoss/lykos
...
Conflicts:
modules/wolfgame.py
2014-07-12 13:13:56 -05:00
Skizzerz
23b2e755ca
Initial commit to add a bunch of new roles
2014-07-12 13:10:44 -05:00
nyuszika7h
835e76c621
Disable !gstats rate limit
2014-07-12 16:41:12 +02:00
nyuszika7h
5c86786409
Set JOIN_TIME_LIMIT to 3600
2014-07-02 07:23:17 +02:00
Yizhe Shen
02b1a25644
Added a timer for joining the game. (issue #20 )
...
- Usage: set a non-zero value for var.JOIN_TIMER_LIMIT in seconds
- Added kill_join() to handle game cancellations
- Join timers set on first join and canceled if everybody quits or when a
game starts
2014-06-27 15:28:19 -04:00
nyuszika7h
b24c105f27
Set rate limit for !pstats and !gstats to 15s
2014-06-08 15:55:13 +02:00
nyuszika7h
2f95434e05
settings/wolfgame.py: Add TIME_RATE_LIMIT
2014-06-04 21:36:51 +02:00
jacob1
d56e1731b2
!p is case insensetive, and tells you when a player / role doesn't exist
...
At the request of / using some code from brrr
2014-05-31 23:37:04 -04:00
nyuszika7h
358788e893
Increase grace time for /part in-game to 30 seconds
2014-02-25 14:04:25 +01:00
nyuszika7h
d6c0ff209d
Disable rate limit for !pstats (for now)
2014-02-24 10:47:32 +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
9b10ba2851
Add aliases and rate limit for p/g/mystats
2014-02-20 16:36:55 +01: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
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
977112826f
Updated stats text. Player stats command checks for account.
...
Updated game text for stats commands. Fixed error with "mystats" help
string. Added additional check in player stats commands to find the
associated account before attempting to retrieve stats.
2014-02-10 19:01:11 -05:00
Yizhe Shen
8b235580a2
Fix for secure SQL operations.
...
Removed Python string operations from SQL operations.
2014-02-10 19:01:10 -05:00
Yizhe Shen
829fd260e2
Changed behaviour of "gamestats" command.
...
"gamestats" without a parameter will list game totals for all game
sizes. The role parameter for player stats commands is now case
insensitive.
2014-02-10 19:01:09 -05:00
Yizhe Shen
cbae0291f8
Added game stats to database and "gamestats" command.
...
Added a game stats table to game DB to store wolf/village wins for
each game size. Added "gamestats" command to display stored stats.
2014-02-10 19:01:07 -05:00
Yizhe Shen
1994e7330f
Added commands to access player stats.
...
Loosely based on code from jcao219. New commands are "player", "p", "mystats", "me". The commands access existing stats stored in the game database (data.sqlite3).
2014-02-10 19:01:06 -05:00
Yizhe Shen
2b57abc1fb
Added an option for hidden traitor.
...
Added the option in ./modules/wolfgame.py. When activated, if traitor dies before turning, he will only be revealed as a villager.
Also, when "stats" command is used, traitor will be counted as a villager. By default, it is set to True.
2014-02-09 14:17:01 -05:00
xnrand
92cd0f5f34
implement extra wait time for !join
...
i.e. it makes sure that there are at least X seconds of wait time left after a !join.
Feb01[18:03:40] +Zazie_Lavender | I think there should be an enforced 10 to 20 second wait after last !join
2014-02-01 19:30:50 +01:00
nyuszika7h
ca1a864364
Fix fatal typo in settings/wolfgame.py
2013-11-13 20:02:55 +01:00
nyuszika7h
d78d4c877e
Fix player limit, now is actually 21
2013-11-13 20:02:21 +01:00
nyuszika7h
9d1e0334f3
Update !rules
2013-11-11 20:25:38 +01:00
nyuszika7h
5961b2b4c7
Actually add wolf #4 at 20
2013-11-10 22:10:32 +01:00
nyuszika7h
1f1af21401
Reduce player limit to 21
...
Move wolf #4 to 20
Add cursed #2 to 18
2013-11-10 21:54:59 +01:00
nyuszika7h
734d917c3e
Increase player limit to 22
...
Add wolf #4 to 22
2013-11-10 21:51:35 +01:00
nyuszika7h
4987b4cfe2
Increase rate limit for !stats and !votes to 1 minute
2013-11-02 15:48:35 +01:00
nyuszika7h
68dc1440db
Fix previous commit
2013-09-07 00:42:36 +02:00
nyuszika7h
fd90e45ee4
Restore #wolfgame roles (for now)
2013-09-07 00:40:53 +02:00
nyuszika7h
6a9054fbf5
Partially revert old gun behavior
2013-09-05 21:46:10 +02:00
nyuszika7h
8a7ca99c75
Remove two harlot/cursed and move GA to 15
2013-09-05 21:11:57 +02:00
nyuszika7h
6131bbfd84
Remove two gunners as they are too overpowered
2013-09-05 21:08:16 +02:00
nyuszika7h
8509b370c0
Reduce chance for gunner shooting wolf if killed
2013-09-05 18:36:37 +02:00
nyuszika7h
5dddfa3d76
Move two harlots to 13
...
These roles are subject to change in the future, I'm still not sure what
would be the best role distribution.
2013-09-04 22:18:39 +02:00
nyuszika7h
da7ba385ff
Adjust gunner chances
2013-09-04 21:48:13 +02:00
nyuszika7h
eb508a906a
Move drunk to 7 players per suggestion from ecks
2013-09-04 21:39:44 +02:00
aLaserShark
98227201f5
Delete sabotage.py
...
the settings one
2013-09-04 10:22:51 -04:00
nyuszika7h
636f7b26d3
Prevent services from being pinged
2013-09-03 14:14:22 +02:00
nyuszika7h
e13cd35114
Update settings for my custom version of the bot
2013-08-26 15:49:46 +02:00
Robert Wall
4840c16da3
Change playercounts for drunk, traitor, and wolf2
...
Per discussion in #wolfgame-dev, this commit changes the playercounts at
which drunk, traitor, and wolf2 are introduced. It removes drunk from 6p
and 7p games (moving it from 6 to 8), adds traitor to 8p and 9p games
(moving it from 10 to 8), and removes wolf2 from 8p and 9p games (moving
it from 8 to 10).
Or, in other words, it moves drunk later and switches traitor and wolf2.
Statistics on the effect of these two changes can be measured
independently, because they affect different ranges of games.
If this commit causes gameplay or other issues, feel free to revert it.
2013-07-07 13:29:22 -07:00
Robert Wall
32881b41ac
Change the default value of IDLE_STASIS_PENALTY to 1.
...
This has been the effective default in #wolfgame for a few days, and
the channel seems to have had few complaints about it and a few
positive comments, so I'm switching it to default. Seconded by dwfreed.
2013-07-05 22:05:04 -07:00
Melissa Draper
1a6eb7c35b
Eliminate pronouns (S/He, his/her, etc) from messages
...
(See: http://code.google.com/p/wolf/issues/detail?id=89 )
2013-06-02 14:25:01 -07:00
Eitan Adler
a863de016b
Give people a little extra time
2013-06-01 16:11:11 +02:00
Eitan Adler
62975b9d6d
Update settings
2013-06-01 16:09:07 +02:00
Eitan Adler
7d9e543646
whitespace
2013-06-01 15:32:07 +02:00
Eitan Adler
1724ca5dc8
Per channel request
2013-05-26 10:00:35 +02:00
Eitan Adler
3df0c148e9
Add a kill messgae
2013-05-21 22:29:34 +02:00
Eitan Adler
9e8ac652ab
Try to do the goat herder, at 2 am
2013-05-18 01:37:42 -04:00
Eitan Adler
fcec06f53c
add new lynch message
2013-05-12 11:55:33 -04:00
Eitan Adler
5f17a27d60
don't kill by default
2013-05-12 11:52:05 -04:00
Eitan Adler
548f5b3616
fix typo
2013-05-03 00:22:57 -04:00
Eitan Adler
0b056f120b
change default settings for bold and color
2013-04-21 09:13:46 -04:00
Eitan Adler
501f51d5d6
add a control for self lynching
2013-04-21 09:13:11 -04:00
Eitan Adler
71a988df23
Clean up bot a bit.
...
Add messages & kicks for colour
2013-04-19 19:20:10 -04:00
Eitan Adler
1bec88ad77
add new settings for possible game feature
2013-04-14 01:10:10 -04:00
Eitan Adler
6239b31a71
Add short day settings.
...
This makes the games go slightly faster when there are fewer players
2013-04-13 23:15:27 -04:00
Eitan Adler
fa8b595dba
remove unused code
2013-04-09 19:08:41 -04:00
Eitan Adler
f7381a6c39
remove end of line whitespace
...
add comment to PING_MIN_WAIT
2013-04-09 19:07:28 -04:00
Eitan Adler
130ed3fb9d
restore fun of 10 player game
...
10 -> traitor, gunner; 12 -> werecrow, detective
2013-04-08 00:25:44 -04:00
Eitan Adler
1a657867ce
update default rules to be different
2013-04-07 23:04:47 -04:00
Eitan Adler
c260653196
drop daytime just a bit to encourage faster games
2013-04-07 00:33:53 -04:00
Eitan Adler
3089f2132f
add the old style bot
2013-04-07 00:32:30 -04:00
Eitan Adler
033e0d76a5
Update to a better set of roles
2013-04-07 00:32:12 -04:00
Jimmy Cao
4f9f1c035c
make the rules display the channel specified in the botconfig.py file (thanks vgr)
2012-09-21 01:05:48 +00:00
Jimmy Cao
92a0c62f95
Add option for Vgr's reverse (opt-in) ping mode
2012-08-24 00:34:41 -05:00
Jimmy Cao
080206c60b
add optional night time warning, not enabled by default
2012-07-13 21:21:19 -05:00
Jimmy Cao
aacaccd84d
make !simple make you receive notice for everything
2012-06-25 20:46:42 -05:00
Jimmy Cao
ec8c9fb5d1
clean up mess from rev 4024a398c535 and fix bugs
2012-06-24 21:36:31 -05:00
Jimmy Cao
5106785720
fix regression where wolf relay stopped working, add !simple database code
2012-06-24 21:29:17 -05:00
Jimmy Cao
931a9cac9f
better warning message for sunset
2012-06-24 01:38:35 -05:00
Jimmy Cao
3ed79ae9b5
small tweak to module system
2012-06-24 01:01:15 -05:00
Jimmy Cao
e7682e940b
Added gun looting feature: https://code.google.com/p/wolf/issues/detail?id=73
...
Feature is disabled by default in the settings
2012-04-14 22:21:46 -05:00
Jimmy Cao
a294fd3fca
backout revision 297
2012-02-26 18:29:25 -06:00
Jimmy Cao
04b29cb428
prevent crashing if !fgame is given invalid arguments
2012-02-26 18:18:11 -06:00
Jimmy Cao
e32c66b632
cleanup of fgame
2012-02-26 18:07:36 -06:00
zamabe
9314afcc60
Changed behavior of stats command and added a players command.
...
The stats command's behavior has been to ping every person already
playing. The solution placed into practice here is to split the
more annoying (and frankly, mostly unnecessary) half of the command
into a different command for use when actually wanted/needed.
2012-02-20 14:58:58 -06:00
zamabe
fbaeb31455
Allow players to join the game after being pinged.
...
Check for and enforce a minimum wait time when ping command is used
to avoid leaving players behind after pinging them.
2012-02-20 14:49:27 -06:00
Jimmy Cao
c4d6911954
small tweaks in !fgame
2011-12-29 13:30:59 -06:00
Jimmy Cao
945190a6e1
major restructuring
2011-12-28 17:44:11 -06:00