Commit Graph

227 Commits

Author SHA1 Message Date
nyuszika7h
05d767db52 Merge branch 'stasis-fix-3' of git://github.com/brrr2/lykos 2014-04-30 19:44:54 +02:00
Yizhe Shen
4052fc9b27 Fix for fstasis(). 2014-04-30 13:36:22 -04:00
nyuszika7h
474fff8e2b Fix !fpull and make it always reply in PM/notice 2014-04-30 19:31:55 +02:00
nyuszika7h
0ed3fa249c Revert "!freload: reload modules/wolfgame.py too"
This reverts commit d9ad499f78.

It doesn't quite work out well.
2014-04-30 18:56:29 +02:00
nyuszika7h
7455bcaf8a Another fix to !fpull 2014-04-30 18:55:25 +02:00
nyuszika7h
7d1d68f2b8 Fixes to !fpull 2014-04-30 18:54:24 +02:00
nyuszika7h
25d80216a8 Merge pull request #25 from brrr2/stasis-fix-2 2014-04-30 18:49:10 +02:00
nyuszika7h
e907f46939 Rename !pull to !fpull and make it quieter 2014-04-30 18:39:35 +02:00
nyuszika7h
d9ad499f78 !freload: reload modules/wolfgame.py too 2014-04-30 18:36:26 +02:00
nyuszika7h
28850cbc1c Fix !fstasis 2014-04-30 18:35:25 +02:00
Yizhe Shen
bd303f5b48 Minor changes.
- Small changes in fstasis()
- Combined decorators for join()
- Added a space in decorator for vote()
- Added comma in decorator for freload()
2014-04-30 12:27:57 -04:00
nyuszika7h
7a2b869d68 Fix typo in previous commit 2014-04-30 18:27:22 +02:00
nyuszika7h
4a13d4b05c Make !fstasis work in channel 2014-04-30 18:26:17 +02:00
nyuszika7h
26cde6c312 Fix !freload 2014-04-30 18:19:41 +02:00
Yizhe Shen
959ef98f51 Fix for stasising.
- Removes cloaks from var.STASISED when var.STASISED[cloak] <= 0
- Slight rewrite of fstasis(). The stasis value for a player can now be
  specified directly. If data[1] <= 0, stasis is removed for the
  player if player had one. If data[1] > 0, that amount is set for the
  player's stasis. It now catches ValueError exceptions for invalid values
  of data[1].
2014-04-30 03:01:08 -04:00
nyuszika7h
860af415c9 Add !frehash as alias for !freload 2014-04-29 12:46:52 +02:00
nyuszika7h
953fdba21a Add !freload command
This command reloads botconfig.py and settings/wolfgame.py.
2014-04-29 12:44:56 +02:00
nyuszika7h
2186c12b7c Fix people staying in list with 0 stasis which removes them from !ping 2014-04-29 11:59:57 +02:00
nyuszika7h
5487722726 Merge pull request #23 from Cydrobolt/patch-2
!v, another useful shortcut
2014-04-26 13:23:17 +02:00
xnrand
d310389c40 Fix typo 2014-04-26 01:32:27 +00:00
xnrand
4e6f2cc452 Make !goat goatier
In the light of recent events in video games (goat simulator), the goat needs to be made more goaty.
2014-04-26 03:11:04 +02:00
Cydrobolt
b10e973f39 !v, another useful shortcut 2014-04-25 18:06:19 -04:00
nyuszika7h
18f0084499 Remove legacy !fdel alias 2014-04-25 21:42:20 +02:00
Cydrobolt
c05d1f5186 !j command to join a game 2014-04-25 15:38:46 -04:00
nyuszika7h
470b3092c3 Merge branch 'master' of github.com:lykoss/lykos 2014-03-27 15:59:09 +01:00
nyuszika7h
f7a0878d03 Add !ops (alias for !admins) 2014-03-27 15:58:45 +01:00
jacob1
dd0edb0a77 wolves can retract votes, and drunk can be cursed 2014-03-24 20:50:12 -04:00
nyuszika7h
1aa8641102 Minor cosmetic fix for exceptions in !pull
A space was missing after the colon following the exception name.
2014-03-22 12:19:17 +01:00
Yizhe Shen
4d6a3dc71f One more fix for issue #4.
Fix to ensure that the reapertimer thread terminates when the game ends
even if disk lag is encountered. This should be the final fix required for
issue #4.
2014-03-22 01:21:27 -04:00
Yizhe Shen
e0f598a2b0 Additional fix for issue #4.
Moved timer resets with mode resets. Solves the problem of extra
messages being sent after a game ends caused by disk I/O lag.
2014-03-06 08:45:02 -05:00
nyuszika7h
a9cb639378 Attempt to actually fix !stats in PM 2014-03-02 21:45:39 +01:00
nyuszika7h
37606dde4f Add !ping in PM (always replies pong) 2014-03-01 11:45:41 +01:00
nyuszika7h
7439aa8f7b Fix previous commit 2014-03-01 11:44:20 +01:00
nyuszika7h
8e0468c5d4 Make !ping reply 'Pong!' in-game 2014-03-01 11:40:54 +01:00
nyuszika7h
b5eea0a8a1 Actually disable rate limit, as setting it to 0 doesn't work 2014-02-24 10:48:47 +01:00
Tobias "ToBeFree" Frei
63753e2416 Remove inconsistent bold for "Players:" (wolf)
Thanks to jacob1 for pointing out this issue! :-)
If you find more like this, report them in ##werewolf-dev
2014-02-23 19:38:20 +01:00
Tobias "ToBeFree" Frei
eda0bc2df8 Adding a period to the end of the sentence
thanks to Calinou for pointing out this issue! :-)

I've looked through the rest of the code; it seems to be the only issue of that kind. If you find more, report in ##wolfgame-dev
2014-02-23 19:31:59 +01:00
Yizhe Shen
dd80dbb7ca Small fix in player_stats(). 2014-02-22 22:19:01 -05:00
nyuszika7h
8a3cc33794 Add !fsend for admins to send raw IRC messages 2014-02-22 20:14:51 +01:00
Yizhe Shen
e7cbd34303 Alternate fix for reset_modes().
Fixes a small oversight in reset_modes().
2014-02-22 06:58:19 -05: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
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