3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-18 01:49:53 +01:00
Commit Graph

4820 Commits

Author SHA1 Message Date
Pragmatic Software
341cad090e Take tied ranking positions into account when determining offset 2015-02-17 01:47:28 -08:00
Pragmatic Software
e0971e8158 Update version 2015-02-17 01:32:28 -08:00
Pragmatic Software
954563b53a CJeopardy's rank command can now accept an optional offset argument 2015-02-17 01:31:40 -08:00
Pragmatic Software
f06aa9dda6 Update version 2015-02-15 20:30:34 -08:00
Pragmatic Software
b23935b8dc Create SQLite index for Messages table
This significantly speeds up certain SQL actions on
the Messages table that were done for anti-flood detection.

The bot should now be significantly more quicker to catch
floods promptly without delay.

(Also, comment out some logging messages. Perhaps revisit this
and wrap them with a debug registry variable instead.)
2015-02-15 20:30:28 -08:00
Pragmatic Software
19788eec47 Use 0 second timeout on SelectHandler's select
We do not need to wait for any timeout period in SelectHandler's
select since IRC.pm's select has a 1 second (by default) timeout.

Removing this unnecessary delay will increase the overall
responsiveness of the bot.
2015-02-15 20:23:07 -08:00
Pragmatic Software
1ffe857ba5 Print IRC debug messages to STDERR 2015-02-15 20:19:51 -08:00
Pragmatic Software
ec13cf14bc Search all channels if target channel is not a valid channel (private message, for instance) 2015-02-15 20:18:46 -08:00
Pragmatic Software
04f47ba3a1 Show "global" if namespace is ".*" 2015-02-15 20:17:36 -08:00
Pragmatic Software
9f265a0f0e Do not enforce anti-flood on logged in bot admins 2015-02-15 20:16:37 -08:00
Pragmatic Software
76bb9a2c5f Group players with identical stats under the same rank
If Bill and Bob both have 10 correct answers, place them both
under the same rank of #5 instead of putting Bill at #5 and
Bob at #6.
2015-02-14 14:03:26 -08:00
Pragmatic Software
559b9ddde1 Use NickList instead of MessageHistory for target channels 2015-02-14 04:03:39 -08:00
Pragmatic Software
800b097a34 Use NickList instead of MessageHistory for target channels 2015-02-14 04:03:18 -08:00
Pragmatic Software
ad1ab83298 Update bad_actions with more matches 2015-02-14 04:02:13 -08:00
Pragmatic Software
9f23aef2d0 Random IRC nicks cannot start with a digit 2015-02-14 04:01:09 -08:00
Pragmatic Software
6ce05f5a05 CGrammar: support prefixes for character constants and string literals 2015-02-13 21:34:02 -08:00
Pragmatic Software
022f86c3e1 Update version 2015-02-13 15:37:55 -08:00
Pragmatic Software
23f2b10ca7 Use descriptive titles instead of keywords in ranking output 2015-02-13 15:36:45 -08:00
Pragmatic Software
2db21dd011 Update version 2015-02-13 14:39:27 -08:00
Pragmatic Software
96c9c38215 Improvements to C Jeopardy rank command
Allow specifying a nick to show overall rankings for each category.
Limit rankings to top 15 or bottom 15.
Use temp variables to handle division-by-zero instead of setting player's data.
2015-02-13 14:39:20 -08:00
Pragmatic Software
2a63cced1d Update version 2015-02-11 21:38:48 -08:00
Pragmatic Software
7b7554802d Correct minor typo; descending --> ascending 2015-02-11 21:38:41 -08:00
Pragmatic Software
edd8762ae2 CJeopardy: Add rank command 2015-02-11 20:58:16 -08:00
Pragmatic Software
23ae41c2f2 Update version 2015-02-07 08:48:58 -08:00
Pragmatic Software
95b1f3eee6 Show message about ending own correct answer streak 2015-02-07 08:47:42 -08:00
Pragmatic Software
0da2287cde Implement "quickest answer" score tracking (and disable wrong answer streaks) 2015-01-31 16:41:05 -08:00
Pragmatic Software
e6c18eb428 Fix typo 2015-01-31 16:39:05 -08:00
Pragmatic Software
b7a511a2e1 Additional acceptable alternative answers 2015-01-30 18:41:05 -08:00
Pragmatic Software
adec5c1505 Update C Jeopardy colors 2015-01-30 18:40:19 -08:00
Pragmatic Software
9d4af761ca Add flock semaphore to prevent race conditions 2015-01-29 21:55:46 -08:00
Pragmatic Software
b693f96806 Update version 2015-01-29 01:40:00 -08:00
Pragmatic Software
9f5347ab06 Improve streak messages to be more frequent 2015-01-29 01:39:40 -08:00
Pragmatic Software
972b542582 Update version 2015-01-29 01:25:09 -08:00
Pragmatic Software
07a8da6edc Accept valid alternatives to "null character" 2015-01-29 01:24:59 -08:00
Pragmatic Software
652d91d748 Don't show nick unless checking another player's score 2015-01-29 01:23:57 -08:00
Pragmatic Software
f0593fece7 Add score and reset C Jeopardy commands 2015-01-28 13:11:04 -08:00
Pragmatic Software
f14b205148 Minor tweaks to score-streak messages 2015-01-28 03:31:36 -08:00
Pragmatic Software
e656c4f2cc Add scorestreaks to C Jeopardy 2015-01-28 03:04:28 -08:00
Pragmatic Software
b647034595 Remove leftover mh file 2015-01-28 01:03:00 -08:00
Pragmatic Software
01a0ec47a2 Remove outdated view_message_history.pl script 2015-01-28 01:01:24 -08:00
Pragmatic Software
3fee1f9dfc Update factoids (updated cjeopardy, etc) 2015-01-28 00:41:37 -08:00
Pragmatic Software
1f260c9e94 Improvements to C Jeopardy module
Moved to its own cjeopardy directory.

Added IRCColors module to print colored text.

Added Scorekeeper module to track scoring statistics.
2015-01-28 00:40:40 -08:00
Pragmatic Software
12cd9cb8e0 Improve launching of modules
If a `workdir` factoid key is present, the launcher will chdir
to make the specified value the current working directory.

Redirect stderr output to a $modulename-stderr in the module's
current working directory.
2015-01-27 23:49:30 -08:00
Pragmatic Software
56a926603f Fix -input option for TenDRA 2015-01-25 13:28:46 -08:00
Pragmatic Software
0f00ceae95 Add -noheaders option to disable pre-included headers 2015-01-24 19:01:44 -08:00
Pragmatic Software
a53b5473ae TenDRA: Show exit code return value from main() 2015-01-24 11:53:23 -08:00
Pragmatic Software
4b9e177aec Update version 2015-01-24 08:05:58 -08:00
Pragmatic Software
c3dde27328 cjeopardy: If answer is integral, then respond "too big!" or "too small!" respectively 2015-01-24 08:05:47 -08:00
Pragmatic Software
f31ce372cc Add language-specific comments for cmdline/output 2015-01-23 19:24:39 -08:00
Pragmatic Software
03d377000b Use language-specific commenting and syntax highlighter for pastes 2015-01-23 19:23:33 -08:00