loathers / autoscend

An ascension script for KoLMafia
Other
45 stars 67 forks source link

Haunted Bedroom post-combat choices aren't being handled well #30

Closed macgregor closed 4 years ago

macgregor commented 4 years ago

Issue by Malibu-Stacey Wednesday May 08, 2019 at 06:00 GMT _Originally opened as https://github.com/soolar/sl_ascend/issues/208_


So this may actually be caused by a KoLmafia bug that they've been ignoring for a while but there may be some way sl_ascend can handle it in the interim so I thought I should report it.

I noticed some issues with the post-combat choices in the Haunted Bedroom today. It appears to not handle the post-combat choice at all until it attempts to adventure again. See the attached log from the first combat in the Haunted Bedroom. It tries to go buy MP restores from Doc Galaktik between adventures but can't because it's still in the post-combat choice (it had a few thousand meat so that definitely wasn't the issue).

It's not a huge issue in an Ed run as you can see but it might be a problem in other paths which rely on the pre and post adventure scripts more.

haunted_bedroom.log

Malibu-Stacey commented 4 years ago

Fixed for Ed in #195 Not currently an issue for any other path as far as I know but the current hack of calling autoAdv repeatedly should (and will) be refactored.