Commit Graph

28 Commits

Author SHA1 Message Date
blazikenmask
47f38b34e9 WiFi plugin: fix grammatical errors, slighly modify giveaway object 2015-01-11 18:53:50 +05:30
Guangcong Luo
daa073d687 Merge pull request #1383 from codelegend/wifi
Add wi-fi chat plugin: giveaways
2015-01-09 20:57:53 -08:00
Morfent
94458778da Trivia plugin: use command namespacing, fix typos
...which would've ruined participants' leaderboard rankings, stop
binding the Trivia object's context to timeouts now that they're no
longer needed, make question database commands exclusive to Question
Workshop
2015-01-07 03:26:38 -04:00
Morfent
eda1783a9c Trivia plugin: export triviaData 2015-01-05 17:02:43 -04:00
Morfent
2e6022220b Trivia plugin: fix endless games...
Fix number and timer modes' question timeouts looping until no questions
are left, refactor Trivia object to only make methods the commands use
public, optimize /triviaaccept and /triviareject
2015-01-04 20:21:01 -04:00
blazikenmask
3f898e67b4 add wifi plugin: giveaways 2015-01-03 14:27:35 +05:30
Guangcong Luo
cfd02b9380 Fix crash in Scavengers 2014-12-22 14:49:27 -05:00
Guangcong Luo
660682b665 Merge pull request #1299 from kotarou3/jeopardy
Jeopardy
2014-12-15 15:57:52 -06:00
Morfent
4986a81832 Trivia plugin: refactor game commands, bug fixes
Stop the Q/A loop from clearing timeouts constantly so games can be
ended in case it still loops endlessly, refactor game commands and
config vars, minor bug fixes in /triviasubmit and /triviastatus
2014-12-14 23:26:02 -04:00
小太
c5a36c52d9 Add Jeopardy chat plugin 2014-12-15 01:54:30 +11:00
Morfent
2ea45413b9 Trivia plugin: fix crash in timer mode (again)
This whole time I thought negative values were falsey. At least I caught it before it could crash anything again.
Also fix /triviarank picking up the wrong alt's rank
2014-12-13 22:44:20 -04:00
Morfent
e4516d17c0 Trivia plugin: move curA, responders, and phase to Trivia properties 2014-12-12 23:00:24 -04:00
Morfent
de576e9b12 Trivia plugin: fix crash in Trivia.timeAnswers() 2014-12-08 02:36:33 -04:00
Morfent
e7ec00f5e2 Trivia plugin: modify timer mode, refactor /ta
Timer mode now gives points to all who answer within the time limit
instead of the first, and /ta works more straightforwardly. sleep should
no longer cause the Q/A loop to ignore any commands until it runs out of
questions.
2014-12-06 00:20:23 -04:00
Morfent
53433b2e20 Trivia plugin: correct scores with the wrong type
Fix scores broken from commit 6d7a3cf333,
remove unused curQ variable, remove unused parameters in the
commands, and lower the rank required to edit questions to %.
2014-11-25 03:35:47 -04:00
Morfent
698fd694fc Trivia plugin: fix crash in number mode
Also fix styling of the tables in /triviaqs and /triviareview
2014-11-22 17:22:43 -04:00
Morfent
6d7a3cf333 Trivia plugin: revert refactor, keep working updates 2014-11-17 11:19:33 -04:00
Morfent
46ffa07212 Trivia plugin: refactor Trivia object and values
Fix bug in the question/answer loop that would assign undefined to
either curQ, curA, or phase, preventing anyone from answering any
questions until this.curQs was empty, by changing all of the game
variables from global variables to Trivia properties. Created a
constructor for Trivia so its methods could be kept in its prototype
object to reduce property lookup times and later to allow me to refactor
parts of the commands that deal with these properties as prototype
methods.

Fix room.addRaw not updating chat.
2014-11-13 10:15:54 -04:00
Morfent
d9f26b4c07 Voices can start/end trivia games 2014-10-27 19:09:59 -03:00
Morfent
1b6127c7d9 Fix /triviaend and /triviakick 2014-10-21 20:53:53 -03:00
Morfent
3b0a651978 Fix crash in /triviaplayers 2014-10-17 15:19:12 -03:00
Morfent
2a438048ce Add chat plugin config directory 2014-10-12 23:27:38 -03:00
Morfent
56fc5ca0e6 Update trivia plugin 2014-10-12 18:18:57 -03:00
Morfent
eea20673ff Fix possible crash in /triviaanswer 2014-10-09 17:37:01 -03:00
Morfent
cd6ce3d0a4 Trivia plugin 2014-10-09 08:54:13 -03:00
Guangcong Luo
12b673bb49 Fix style errors; update gulpfile
I used a hack to make the multiple declaration errors go away,
so all that remained in jsHint were actual errors, which I've
now mostly fixed.

All this linting ended up uncovering one actual bug: Uproar's
message not showing. It's a very minor bug in a move no one uses,
so I'm going to fold it into this commit.
2014-08-10 18:06:44 -04:00
macrarazy
e2caf6d57b Have error messages for scavenger commands. 2014-08-10 11:55:57 +05:00
小太
a2bfb57bfe Move chat plugins to their own directory 2014-08-04 18:33:52 +10:00