Await round, toggle speed, bug fixes, playthroughs #25
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Actions
Await round:
Press shift during recording to add an await round action (prompts user for round)
The playthrough will then keep track of the round number and wait for the specified round upon the action
Toggle speed
Add this action in in post (
speed slow
orspeed fast
)This changes the game speed after the command
I needed this to sell two dart monkeys before buying sauda in a run
Playthroughs
Glacial trail
Alternate bloons rounds - No MK, No LL w/ MK
Impoppable - No MK, No LL
Chimps
The Impoppable run also works for easy, medium & hard
Bugs
Ingame_paused screen not recognised
I believe this is due to the new 'accessibility' tab in the pause screen. I updated the screenshot in 1920x1080, but do not have the means to update 2560x1440
Round image area too small for "/100" gamemodes, but too large for the rest if changed
If the round image area is too large it will error, but if it is too small it will cut off the leading numbers. You may be able to fix this a better way, I did a patch job by adjusting the image area if the gamemode is detected as chimps or impoppable.
This was done by adding a gamemode parameter to
getResolutionDependentData
and is why you'll seesegmentCoordinates = getResolutionDependentData(resolution, mapConfig['gamemode'])['segmentCoordinates']
in various placesLogic changes
custom_ocr
now outputs a stringIn order to include the '/' In the round output,
custom_ocr
now has a string return typeVarious error checks for round recognition
Like cash, I added checks for errors in the round detection. The loop will be skipped if these checks fail and these checks are only active when the action is
await_round
await_round
action has no costThe new
await_round
action has no cost attribute and so had to be added to all the checks relating to actions with no cost.