Except that this has nothing to do with autostop adventures as I understand them, since it didn't stop automation after going to that location. It submitted adventure.php, choice.php, and fight.php, exactly as expected.
There is something odd, though.
I got my 4 stone triangles.
I set my Custom Combat to [ default ] -> consult consult.ash
I selected my Adventure Location as A Massive Zigguart
I set the Hidden Ziggurat choice adventure to "fight Protector Spirit"
I did not touch the "conditions" filed since that was completely irrelevant.
I told it to adventure once.
Completely as expected, it did this:
Code:
Requesting: https://www.kingdomofloathing.com/adventure.php?snarfblat=350
Retrieved: https://www.kingdomofloathing.com/adventure.php?snarfblat=350
Field: Location = [choice.php?forceoption=0]
Requesting: https://www.kingdomofloathing.com/choice.php?forceoption=0
Retrieved: https://www.kingdomofloathing.com/choice.php?forceoption=0
[790] A Massive Ziggurat
Encounter: Legend of the Temple in the Hidden City
Legend of the Temple in the Hidden City
Requesting: https://www.kingdomofloathing.com/choice.php?whichchoice=791&option=1&pwd
Retrieved: https://www.kingdomofloathing.com/choice.php?whichchoice=791&option=1&pwd
Field: Location = [fight.php?ireallymeanit=1499823965]
Retrieved: https://www.kingdomofloathing.com/fight.php?ireallymeanit=1499823965
Encounter: Protector Spectre
Round 0: Veracity wins initiative!
Completely as NOT expected, it then did this:
Code:
Starting consult script: consult.ash
Finished consult script: consult.ash
Starting consult script: consult.ash
Finished consult script: consult.ash
You're on your own, partner.
The first statement in my consult script is a "print" statement.
Looking at the code in FightRequest.java, I see this:
Code:
File scriptFile = scriptFiles.get( 0 );
KoLmafiaASH.logScriptExecution( "Starting consult script: ", scriptFile.getName(), consultInterpreter );
consultInterpreter.execute( "main", parameters );
KoLmafiaASH.logScriptExecution( "Finished consult script: ", scriptFile.getName(), consultInterpreter );
I don't have the beginning of a clue as to why my consult script was not actually invoked, near as I can tell.
Too bad I didn't do this in Eclipse.
Perhaps it really did "autostop" when it printed "Legend of the Temple in the Hidden City". Perhaps it left the state in a condition such that ASH refused to execute.