Binary searches are now used instead of linear ones when splicing
questions in and slicing all the questions in a category from the
questions arrays. Stalemates are now handled after scoring answers
instead of just before asking a question.
- the ladder is now saved in triviadata.json, and gets updated at the
same time ranks do instead of needing to loop through the leaderboard
once more
- Trivia.inactivityCounter clears properly on answer
- number and timer modes accept multiple answers again
- added question and intermission timeout consts
- Trivia property names are more specific
Fix giveaways becoming frozen/endless from hotpatching, fix possible
crash in lottery giveaways, simplify lottery drawings, and improve
wording in multiple statements
- /trivia rank now shows the user's rank for each of the three score
types
- Add /trivia ladder
- Fix crash in timer mode scoring
- Fix /trivia submit excluding all but the first answer in certain cases
- Fix /trivia accept and reject
- Consistent object notation
Log the user that the giveaway was done for in the modlog ontop of roomauth who did it
Wifi Plugin: Log what user have done giveaways
remove 'has'
Wifi Plugin: Log what user have done giveaways
Add back in the space.
- participants are now stored in a map
- part of the score calculations are now handled on answer, rather than
all of them being done when the answering period ends
- the responders object has been removed in favour of storing more
information in participants
- /trivia qs with no argument returns question statistics
- some slight optimizations in the question commands
- /trivia help is now less verbose
- the code is now much more legible
well, ``lotto`` is a command, so it makes sense that ``join`` and ``leave`` have ``joinlotto`` and ``leavelotto`` as aliases in addition to ``joinlottery`` and ``leavelottery``.
Users weren't able to guess more than once in a question giveaway because their current name was in their list of previous names.
http://prntscr.com/6c5r4p
Added a line of code to fix that problem. Thanks to Cranham (and maybe a few others too) for pointing this out originally, btw.
The plugin can now manage nominations on its own instead of not doing
much more than broadcasting HTML, and the Artist of the Day survives
hotpatching and server restarts.
following morfents commit but updating it for the wi-fi plugin aswell, to avoid issues after hotpatching
Wi-fi Plugin: Finish Exporting states
Wi-fi Plugin: Finish Exporting states
Fix build errors
Wi-fi Plugin: Finish Exporting states
Fix massive style errors I made with indentation