Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

[Bug] If bot stops after a street replay, it won't start properly #37

Open
curtiola opened this issue Jan 21, 2018 · 5 comments
Open

[Bug] If bot stops after a street replay, it won't start properly #37

curtiola opened this issue Jan 21, 2018 · 5 comments
Assignees
Labels

Comments

@curtiola
Copy link

curtiola commented Jan 21, 2018

The bot stopped at the end of a street replay, on the victory screen with the OK button, & 4 hours later when it tried to run again it wasn't looking for OK & just got stuck there.
1st.txt

Edit: It happened again & gets stuck every time it starts a street replay at all it seems, I assume because it's not treating it like a duel & waiting.
2nd.txt

I think having it look for the word "cancel" before it looks for OK could prevent it from starting replays, but I'm not sure what the best solution is, just a suggestion.

@will7200 will7200 self-assigned this Jan 22, 2018
@will7200 will7200 added the bug label Jan 22, 2018
@will7200 will7200 added this to To Do in General Maintenance via automation Jan 22, 2018
@will7200
Copy link
Owner

Weird, since I implemented a checker for street replay only for the second page. Does your street replay exist on the second page? I will investigate further.

@curtiola
Copy link
Author

Yeah it's on the PvP page in game, wild guess: maybe somehow because I hadn't shut down the bot program for at least 30 hours, it may have been unsure of the page it's on.
Not sure how it detects the 2nd page, is there a specific screen I should be starting the bot on?

@will7200
Copy link
Owner

Yeah, the bot tracks the location of the current page by the arrows at the bottom of the game. This gets updated for every possible battle location. Therefore there is no need to start on a particular page. This has been included in since the early days.

@curtiola
Copy link
Author

It's only happened to me those 2 times, so it must be working fine for the most part, maybe just didn't do the page check before looking for the OK button for some reason.

@will7200
Copy link
Owner

Hopefully fixed in d4f704d

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Development

No branches or pull requests

2 participants