Skip to content

A Bot that automatically answers 10 Trivias for crowns on selected accounts.

License

Notifications You must be signed in to change notification settings

TempJannik/Wizard101-Trivia-Bot

Repository files navigation

Wizard101-Trivia-Bot

WARNING: I have had reports of bans occuring, so KI is most likely trying to find accounts using this bot. Use at your own risk

UPDATE 2023

This bot no longer works unless updated by someone.

Changes with the captcha

The usage of this bot is now no longer free. To get around the captchas you will have to spend money on a captcha solving service. This bot is configured to work with https://capmonster.cloud/ . To use this bot, create an account on capmonster, load up funds onto your account ($2 is the minimum) and set your API Key in the config.txt file.

Capmonster charges $0.6 per 1000 Captchas. That means in theory $0.6 for 1000 Trivias or 10000 Crowns. Due to their error rate however you can assume the total will be more around $0.8-$1.0 per 1000 Captchas.

Recaptchas also take longer to solve, it can be anywhere from a couple seconds to three minutes for each. Keep this in mind. On the last test runs, running 10 accounts (100 trivias) would take around 25 minutes (2m 30s per account) with the default settings. You might be able to get better results messing around with the settings.

I will not take responsibility for any investment you make, spend money at your own risk!

Introduction

I've seen implementations of these type of bots but I've seen none that allow account switching as well which is why I made this Bot. This will allow you to supply your accounts and have them automatically go through the needed quizzes.

To use this you have 2 choices, with or without Python. Using python is better for more technically experienced people and others who want to know whats being run on their PC. For everyone else I supplied a release in the form of a .exe file.

Features

  • Solve Trivia
  • Solve Recaptchas
  • Switch/Log in to Accounts
  • Solve Trivias on multiple accounts at the same time
  • Run "invisible" in background

Config Guide

After the bot starts for the first time it will generate a config.txt file. Open it with any texteditor to change your settings. Available settings:

  • threads: This is the amount of parallel accounts the bot will do trivia on. Default is 1, I recommend not to go over 2 as you might experience more Too Many Request errors.
  • headless: This mode, if turned on, will make chrome run in the background. You will not see any chrome tabs, you only have the console output. To turn it on set to 1, set back to 0 to see the tabs again.
  • smartwait: This is an evasion method for the Too many requests error. Most of the time used by the bot is waiting for captchas to complete. So the most request-intensive action, the answering of questions will be limited to 1 thread at a time. When that thread is done and waiting for a captcha solve the next thread will continue.
  • smartwaitthreads: The amount of parallel threads on which the bot will answer questions. If going above 1 it is recommended to up your answerDelay to prevent too many requests error.
  • tooManyRequestsCooldown: The amount of seconds to wait after receiving the "Too Many Requests" error. Default is 45 seconds.
  • totalCrownsEarned: The total amount of crowns this bot has earned you. This will update everytime an account completes its trivias and will persist across multiple uses of the bot.
  • answerDelay: The amount of seconds to wait before answering each question in a trivia. This can help prevent "Too Many Requests" errors. Default is set to 0.0 seconds

Restart the bot for the changes to take effect.

Installation without Python

  1. Download the release.zip from the Releases section and extract the contents into a new folder.
  2. Tesseract 5 - Make sure to install it under C:\Program Files\Tesseract-OCR or change the default path in the config.txt https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-v5.0.0-alpha.20200328.exe 2. Chromedriver - I have supplied my chromedriver in this repository, however you may need to get another version depending on what version of Chrome you have.
  3. Chromedriver - I have supplied my chromedriver in this repository, however you may need to get another version depending on what version of Chrome you have. If the supplied does not work please do the following:

Usage without Python

  1. Open accounts.txt and enter your account information in username:password format, one account per line
  2. Configure your config.txt
  3. Start the bot with by double clicking TriviaBot.exe
  4. ???
  5. Profit

Installation with Python

  1. Download the repository by clicking on the green Clone or Download button on the Top Right, then click Download as ZIP.
  2. Extract the ZIP to any location on your PC.
  3. Python 3.6.4 - Make sure to Check the "Add to PATH" box in the installation! Other versions might work as well but this is the version developement was made on. https://www.python.org/downloads/release/python-364/
  4. Open cmd (Type Command Prompt in the windows search) and type cd "YOUR PROJECT PATH HERE" for example cd "C:\Users\Jannik\source\repos\TriviaBot"
  5. Now type pip install -r requirements.txt
  6. Tesseract 5 - Make sure to install it under C:\Program Files\Tesseract-OCR https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-v5.0.0-alpha.20200328.exe
  7. Chromedriver - I have supplied my chromedriver in this repository, however you may need to get another version depending on what version of Chrome you have. If the supplied does not work please do the following:

Usage with Python

  1. Open accounts.txt and enter your account information in username:password format, one account per line
  2. Configure your config.txt
  3. Open cmd (Type Command Prompt in the windows search) and type cd "YOUR PROJECT PATH HERE" for example cd "C:\Users\Jannik\source\repos\TriviaBot"
  4. Start the bot with python TriviaBot.py
  5. ???
  6. Profit

Changelog

  • August 2nd 2020: Added Recaptcha support
  • May 26th 2020: Added Timestamps (thanks for the suggestion AvengerSpencer#9825), fixed a bug causing captchas to error out, better error handling
  • May 20th 2020: Fixed a variety of bugs/instabilities, accounts will restart instead of skipping on error, account queue implemented, preventing downtime on threads, config migration
  • May 15th 2020: Added proper Config file, crowns tracking
  • May 14th 2020: Retry failed quizzes (Thanks @zisop16)
  • May 13th 2020: Headless mode, stability improvements
  • May 11th 2020: Multithreading support
  • May 10th 2020: Removed Selenium logging, fixed bug, captcha retry limit
  • May 8th 2020: Login stablility, better chrome clean up
  • May 6th 2020: Fix Captcha bugs, exception handling, quiz throttle handling and version checking
  • May 5th 2020: Initial Release

Credits

  • The Daily Crown Quiz Answering Extension - Looking at it helped me understand the captchas better and some javascript handling.
  • Zenmaster#6969 - Helping out with testing and formatting Questions/Answers
  • ToxOver#9831 - Me
  • zisop16 - Method for logging in with old captchas
  • Kawhi Not#0002 - Recommending the specific Captcha solving service
  • Any Contributors on Github and submitters of bugs