Let's see what we can deduce from the DEBUG log.
(I notice you REDACTED the PHPSESSID. If you are still in the same session right now - i.e., you have not logged out - that is wise, I guess, but simply logging out will invalidate it. I hope you didn't spend too much time doing that!)
Code:
Requesting: https://www.kingdomofloathing.com/adventure.php?snarfblat=343
Retrieved: https://www.kingdomofloathing.com/adventure.php?snarfblat=343
Field: Location = [fight.php?ireallymeanit=1498987186]
Requesting: https://www.kingdomofloathing.com/fight.php?ireallymeanit=1498987186
Retrieved: https://www.kingdomofloathing.com/fight.php?ireallymeanit=1498987186
You're fighting <span id='monname'>a pygmy witch lawyer</span>
[471] The Hidden Office Building
Encounter: pygmy witch lawyer
Round 0: LeaChim wins initiative!
Starting consult script: WHAM.ash
<font color="purple">WHAM: Running SmartStasis</font>
class net.sourceforge.kolmafia.request.GenericRequest
Round 1: LeaChim executes a macro!
Requesting: https://www.kingdomofloathing.com/fight.php?action=macro¯otext=scrollwhendone%3B+sub+batround%3B++if+pastround+29%3B+abort+%22Stopping+fight+because+it+has+gone+on+for+too+long+%28set+WHAM_maxround+to+a+higher+value+if+you+think+this+was+in+error%29%22%3B+endif%3B+endsub%3B+pickpocket%3B+call+batround%3B+
Retrieved: https://www.kingdomofloathing.com/fight.php?action=macro¯otext=scrollwhendone%3B+sub+batround%3B++if+pastround+29%3B+abort+%22Stopping+fight+because+it+has+gone+on+for+too+long+%28set+WHAM_maxround+to+a+higher+value+if+you+think+this+was+in+error%29%22%3B+endif%3B+endsub%3B+pickpocket%3B+call+batround%3B+
Round 1: LeaChim tries to steal an item!
<font color="purple">WHAM: Starting evaluation and performing of attack</font>
<font color="purple">WHAM: We are going to 1-shot with attack with your weapon.</font>
class net.sourceforge.kolmafia.request.GenericRequest
Round 2: LeaChim executes a macro!
Requesting: https://www.kingdomofloathing.com/fight.php?action=macro¯otext=scrollwhendone%3B+sub+batround%3B++if+pastround+29%3B+abort+%22Stopping+fight+because+it+has+gone+on+for+too+long+%28set+WHAM_maxround+to+a+higher+value+if+you+think+this+was+in+error%29%22%3B+endif%3B+endsub%3B+attack%3B+call+batround%3B+
Retrieved: https://www.kingdomofloathing.com/fight.php?action=macro¯otext=scrollwhendone%3B+sub+batround%3B++if+pastround+29%3B+abort+%22Stopping+fight+because+it+has+gone+on+for+too+long+%28set+WHAM_maxround+to+a+higher+value+if+you+think+this+was+in+error%29%22%3B+endif%3B+endsub%3B+attack%3B+call+batround%3B+
Round 2: LeaChim attacks!
Round 3: pygmy witch lawyer takes 262 damage.
Round 3: LeaChim wins the fight!
...
Finished consult script: WHAM.ash
You fought a pygmy witch lawyer. That is interesting only insofar we can see what a WHAM fight looks like, request-wise.
Let's see going to the Ziggurat.
Code:
Visit to HiddenCity: A Massive Ziggurat in progress...
class net.sourceforge.kolmafia.request.AdventureRequest
Requesting: https://www.kingdomofloathing.com/adventure.php?snarfblat=350
Retrieved: https://www.kingdomofloathing.com/adventure.php?snarfblat=350
Field: Location = [choice.php?forceoption=0]
class net.sourceforge.kolmafia.session.ChoiceManager$1
Requesting: https://www.kingdomofloathing.com/choice.php?forceoption=0
Retrieved: https://www.kingdomofloathing.com/choice.php?forceoption=0
[489] A Massive Ziggurat
Encounter: Legend of the Temple in the Hidden City
Legend of the Temple in the Hidden City
class net.sourceforge.kolmafia.session.ChoiceManager$1
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=1498987646]
class net.sourceforge.kolmafia.request.FightRequest
Requesting: https://www.kingdomofloathing.com/fight.php?ireallymeanit=1498987646
Retrieved: https://www.kingdomofloathing.com/fight.php?ireallymeanit=1498987646
Encounter: Protector Spectre
Round 0: LeaChim wins initiative!
Starting consult script: WHAM.ash
Finished consult script: WHAM.ash
Starting consult script: WHAM.ash
Finished consult script: WHAM.ash
You're on your own, partner.
<a href=main.php target=mainpane class=error>Click here to continue in the relay browser.</a><br>
Finished ASH script: yaaz.ash
You adventured at the Ziggurat (adventure.php)
It redirected to choice.php
KolMafia automated the choice: taking choice 1 to fight
It redirected to fight.php
KoLmafia automated the fight
You win initiative in round 0
KoLmafia calls WHAM.ash
WHAM.ash returns without submitting a request
KoLmafia calls WHAM.ash
WHAM.ash returns without submitting a request
KoLmafia's code to detect a "consult script that did nothing" kicks in and it aborts.
This is a bug in WHAM, not a bug in KoLmafia.