HughJeffner / FFRK-LabMem

Highly customizable FFRK Labyrinth Bot
MIT License
10 stars 4 forks source link

Autobattle not turned on automatically. #216

Closed EirikDaude closed 2 years ago

EirikDaude commented 2 years ago

I started labmem a few hours ago, and when I came back I noticed it had become stuck on the first battle, because auto-battle wasn't enabled. Normally it notices this, and enables it - I don't know why it didn't happen this time.

Trying to disable autobattle a bit later, to see if it would be turned on automatically, led to the same issue occuring again.

bilde

It is not a big problem, as I usually check in to see if the run is progressing as expected before leaving the house, but occassionally I forget.

HughJeffner commented 2 years ago

Ah, I see what the problem is now. When wait mode is enabled the party never gets defeated which triggers the auto battle check. The (default) 15 minute battle timer restarts FFRK and the cycle repeats.

The auto battle check is somewhat 'expensive' so that's why it doesn't check at the start every battle. I think a compromise may be to check it after the 15 minute battle timer.

EirikDaude commented 2 years ago

Makes sense. Thanks for looking into it.

HughJeffner commented 2 years ago

Alright I added this in 7.9 #218

Planned to be released in the next week or so