-
Notifications
You must be signed in to change notification settings - Fork 13
Function "quest"
Arguments for scripting mode:
accept first argument as
loop count
is how many times to do Quest before exit
Supported flags:
-
--exit=X
means bot will exit after X secs if not completed, no matter how many loop remaining -
--shutdown
shutdown your computer after bot exit -
--profile=X
pre-defined configuration - Global flags
Author: @daredoes
Since v3.6.0 at #93
Comment by author:
The following Pull Request adds an App that allows the user to go in an infinite loop on their quests.
It will first check for a Boss Level, followed by checking for any stars to pick a level, followed by checking for any empty stars to pick a level, followed lastly by checking for any level flags to go to the next level.
When it finds a level, it confirms so by looking for an energy icon. It then begins the level. It will rerun levels until the player is out of energy, and then move to the next app.
It has been placed at the start of the apps, as leveling up refills the energy bar, so we want to run it first in our AFK auto-run.
This PR also modifies the scanning for an image function by allowing the number of columns scanned to be changed, a helper function is then used to allow scanning the screen horizontally. Combined, this allows for a complete scan of the screen for a desired icon. To reduce error rates in finding a quest, and avoiding infinite loops, it looks for all possible images to click when scanning the whole screen, and returns all possible points.
A script has been added to the sample scripts so that the a user can change between characters and run the AFK loop on each character.
All of this could be a bit cleaner, but it works pretty well!
Hi, I'm a bot. Please give me a Star for this repository, thank you 😜