Feature - Implemented enable after-adventure script after manual adventuring

Veracity

Developer
Staff member
I see what happens with the "script" button issue, now. Fortunately, I can reproduce it with KoLmafia stationary buttons and I don't have to enable the CAB.

- I am in a fight. I press the "script" button.
Browser: GET /fight.php?action=custom
KoLmafia: 302 Found
Location: /fight.php?action=script

KoLmafia proceeds to execute the fight with a macro via a FightRequest

Browser: GET /fight.php?action=script
KoLmafia: 200 OK

I don't understand why we don't do the After Adventure Script after the second fight.php. Actually, I do: we don't run a RelayRequest for it.

Pondering.
 

AlbinoRhino

Active member
Finally got a chance to try it and it's all working perfectly. And you are right, it's much nicer that the script goes ahead and runs while you're waiting for the browser pages to load anyway, instead of waiting for them to complete. Thanks again for all of your awesomeness Veracity !
 
Top