[516] The Filthworm Queen's Chamber
Encounter: the queen filthworm
[724] The Filthworm Queen's Chamber
Encounter: the queen filthworm
Round 0: Veracity wins initiative!
Round 1: Veracity casts THRUST-SMACK!
Round 2: the queen filthworm takes 311 damage.
[1479] Exposure Esplanade
Encounter: Randy Black, the Iceman who Cometh
Round 0: Veracity wins initiative!
Round 1: Veracity casts SAUCEGEYSER!
Round 2: cold hobo takes 5404 damage.
Round 2: cold hobo takes 100 damage.
[2101] Dreadsylvanian Castle
Encounter: Prisoner #719782: "Two Clavicle" Moore
Round 0: Veracity wins initiative!
Round 1: Veracity executes a macro!
Round 1: Veracity attacks!
Round 2: sleaze skeleton takes 496 damage.
[10613] Sloppy Seconds Diner
Encounter: Honey Blasted Baked Strawberry Luxurious Sundae
Round 0: Veracity wins initiative!
Round 1: Veracity executes a macro!
Round 1: Veracity tries to steal an item!
Round 2: Veracity casts POCKET CRUMBS!
Round 3: sloppy seconds sundae drops 133 attack power.
Round 3: sloppy seconds sundae drops 69 defense.
[4143] The Copperhead Club
Encounter: Harper Collins the bartender
Round 0: Veracity wins initiative!
Round 1: Veracity attacks!
Round 2: copperhead club bartender takes 759 damage.
[240] The Haunted Storage Room
Encounter: portrait of Countess Minerva Spookyraven
Round 0: Veracity wins initiative!
Round 1: Veracity attacks!
Round 2: portrait of Countess Minerva Spookyraven takes 164 damage.
[618] Video Game Level 3
Encounter: diseased skeleton vice-president
Round 0: Veracity wins initiative!
Round 1: Veracity casts CLUB FOOT!
Round 2: diseased skeleton vice-president drops 15 defense.
Round 2: diseased skeleton vice-president takes 39 damage.
[1978] The Roman Forum
Encounter: Abacus Flavius the Gladiator
Round 0: Veracity wins initiative!
Round 1: Veracity executes a macro!
Round 1: Veracity tries to steal an item!
Round 2: Trorg yaps loudly and repeatedly at your opponent until he throws some meat at him to shut him up.
Round 2: You gain 8 Meat.
Round 2: Elvis Grrl gives him an atomic wedgie. He takes 35 damage and blushes deeply.
Round 2: Abacus Flavius the Gladiator takes 35 damage.
If somebody has access to a Hobopolis or Dreadsylvania instance, I'd be curious (and grateful) to see what the session log says today for a monster in such a place.
[1244] Dreadsylvanian Castle
Encounter: Belladonna Grimbelch
Round 0: xKiv wins initiative!
I also notice that ASH last_monster() gets the last (current) monster from the MonsterStatusTracker, not lastEncounter, so that is Yet Another Way that a consult script can get the monster it is fighting, rather than using the session log.
Try revision 15734.ETA: actually, I wonder if logging the "real" encounter name *in addition to* the canonicalized monster name (if different) could be helpful to someone. Like spading name patterns or something. But then, people can always print lastEncounter in betweenbattlescript, of course.
[532344] The Haunted Storage Room
Encounter: portrait of Count Ezekiel Y. Spookyraven
Round 0: Brianna wins initiative!
Round 1: Brianna attacks!
Round 2: ancestral Spookyraven portrait takes 2940 damage.
Round 2: Brianna wins the fight!
You gain 8 Beefiness
You gain 4 Magicalness
You gain 12 Roguishness
> version
KoLmafia v16.8 r15734
[503] The Filthworm Queen's Chamber
Encounter: the queen filthworm
Round 0: Bale wins initiative!
You lose 1 hit point
> ashq last_monster().print()
queen filthworm
> get lastEncounter
the queen filthworm
<body>
<img src='/images/itemimages/blank.gif' id='dragged'><div id='debug'></div><div class=contextmenu id='skillmenu'></div><div class=contextmenu id='itemsmenu'></div><div id=topbar><center><table class=actionbar cellpadding=0 cellspacing=1><tbody><tr class=label><td></td><td></td><td></td><td></td><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td><td>7</td><td>8</td><td>9</td><td>0</td><td>–</td><td>=</td><td></td><td></td><td></td></tr><tr class=blueback><td><a href='fight.php?action=custom'><img src='/images/itemimages/plexpock.gif'></td><td class=spacer></td><td><img src='/images/itemimages/book3.gif' id='skills'></td><td class=spacer></td><td><img src='/images/itemimages/blank.gif' id='button1'></td><td><img src='/images/itemimages/blank.gif' id='button2'></td><td><img src='/images/itemimages/blank.gif' id='button3'></td><td><img src='/images/itemimages/blank.gif' id='button4'></td><td><img src='/images/itemimages/blank.gif' id='button5'></td><td><img src='/images/itemimages/blank.gif' id='button6'></td><td><img src='/images/itemimages/blank.gif' id='button7'></td><td><img src='/images/itemimages/blank.gif' id='button8'></td><td><img src='/images/itemimages/blank.gif' id='button9'></td><td><img src='/images/itemimages/blank.gif' id='button10'></td><td><img src='/images/itemimages/blank.gif' id='button11'></td><td><img src='/images/itemimages/blank.gif' id='button12'></td><td valign=center align=center class=page><a class=nounder href='javascript:pageup();'><img src='/images/otherimages/tinyup.gif' class=updown></a><br><span id='page_out'></span><br><a class=nounder href='javascript:pagedown();'><img src='/images/otherimages/tinydown.gif' class=updown></a></td><td class=spacer></td><td><img src='/images/itemimages/backpack.gif' id='items'></td></tr><tr class=label><td>script</td><td></td><td>skills</td><td></td><td id='qty1'></td><td id='qty2'></td><td id='qty3'></td><td id='qty4'></td><td id='qty5'></td><td id='qty6'></td><td id='qty7'></td><td id='qty8'></td><td id='qty9'></td><td id='qty10'></td><td id='qty11'></td><td id='qty12'></td><td></td><td></td><td>items</td></tr></tbody></table></center></div><div class=content id='content_'><div id='effdiv' style='display: none'></div><div style='overflow: auto'><center><!--faaaaaaart--><table width=95% cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Combat: Round 1, Fight 1!</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><table><tr><td><div id=monsterpic style='position: relative;'> <img id='monpic' src="/images/adventureimages/filthworm4.gif" width=100 height=100></div></td><td valign=center>You're fighting <span class="elementstench" id='monname'>the queen filthworm</span><font size=2 color=gray><br />HP: 245, Atk: 223, Def: 184, Type: bug<br />Drops: heart of the filthworm queen (100)</font></td><td width=30></td><td><table><tr><td width=30><img src=/images/itemimages/nicesword.gif width=30 height=30 alt="Enemy's Attack Power" title="Enemy's Attack Power"></td><td width=50 valign=center align=left><b><font size=+2>223</font></b></td><td><img src=/images/itemimages/stinkbug.gif alt="This monster is a Bug" title="This monster is a Bug"></td></tr><tr><td width=30><img src=/images/itemimages/whiteshield.gif width=30 height=30 alt="Enemy's Defense" title="Enemy's Defense"></td><td width=50 valign=center align=left><b><font size=+2>184</font></b></td><td><img src=/images/itemimages/stench.gif width=30 height=30 alt="This monster is Stinky. Stench is weak against Cold and Sleaze." title="This monster is Stinky. Stench is weak against Cold and Sleaze."></td></tr><tr><td width=30><img src=/images/itemimages/hp.gif width=30 height=30 alt="Enemy's Hit Points" title="Enemy's Hit Points"></td><td width=50 valign=center align=left><b><font size=+2>245</font></b></td><td><img src=/images/itemimages/watch.gif alt="Initiative +50%" title="Initiative +50%"></td></tr></table></td></tr></table><br><script type="text/javascript">var monsterstats = {"hp":"245","def":"184","off":"223"};</script></center><blockquote>This is the queen of all filthworms. I guess if you have to be a filthworm, it's better to be the queen than just a regular drone, but not quite as good as not being a filthworm at all. She's bigger than the other filthworms, wears a crown made of green goo, and the stench -- well, have you ever been out in a rose garden on a nice spring day, wearing clothes fresh from the dryer and really expensive cologne, and then you walk under a window ledge with a freshly baked apple pie cooling on it?<p>
<p>
Well, her smell is the exact opposite of that.</blockquote><center><p><p>You get the jump on her.<p>You gag as you approach her. What a stench!<center><table><tr><td><img src="/images/itemimages/hp.gif" height=30 width=30></td><td valign=center class=effect>You lose 1 hit point. (<font color=green><b>stench damage</b></font>)</td></tr></table></center><div id='fightform' class='hideform'><p><center><table><a name="end"><form name=attack action=fight.php method=post><input type=hidden name=action value="attack"><tr><td align=center><input id='tack' picurl=obsnutcracker onclick="return killforms(this)" class=button type=submit value="Attack with your obsidian nutcracker"></td></tr></form></a><form name=useitem action=fight.php method=post><input type=hidden name=action value="useitem"><tr><td align=left><select name=whichitem><option value=0>(select an item)</option><option picurl=adder value=6713>adder (1)</option><option picurl=poisoncup value=829>anti-anti-antidote (4)</option><option picurl=beer value=2350>beer bomb (3)</option><option picurl=matchbook value=6683>book of matches (1)</option><option picurl=cast value=474>cast (3)</option><option picurl=ramekin value=6282>chipotle wasabi cilantro aioli (3)</option><option picurl=disease value=452>disease (1)</option><option picurl=camera value=7266>disposable instant camera (1)</option><option picurl=potion4 value=2091>fancy bath salts (1)</option><option picurl=hairwad value=1922>gob of wet hair (3)</option><option picurl=spirit value=1939>grouchy restless spirit (3)</option><option picurl=cloaca value=7788>ice-cold Cloaca Zero (1)</option><option picurl=inkwell value=1958>inkwell (2)</option><option picurl=firecrack value=747>Knob Goblin firecracker (1)</option><option picurl=seltzer value=344>Knob Goblin seltzer (4)</option><option picurl=leftovers value=1777>leftovers of indeterminate origin (2)</option><option picurl=bandage1 value=7975>linen bandages (2)</option><option picurl=molotov value=2400>molotov cocktail cocktail (2)</option><option picurl=padl value=2065>PADL Phone (1)</option><option picurl=torpedo value=630>photoprotoneutron torpedo (1)</option><option picurl=potion1 value=610>procrastination potion (1)</option><option picurl=wine value=7980>sacramental wine (3)</option><option picurl=tooth value=2>seal tooth (1)</option><option picurl=shortwrit value=6711>short writ of habeas corpus (1)</option><option picurl=bandage3 value=7977>silk bandages (3)</option><option picurl=tal_r value=8136>talisman of Renenutet (8)</option><option picurl=teqgrenade value=2068>tequila grenade (1)</option><option picurl=potion5 value=469>wussiness potion (1)</option><option picurl=yeinsult value=6278>Ye Olde Medieval Insult (4)</option></select> <input class=button type=submit onclick="return killforms(this);" value="Use Item"></td></tr></form><form name=skill action=fight.php method=post><input type=hidden name=action value="skill"><tr><td align=center><select name=whichskill><option value='none'>(select a skill)</option><option value="7246" picurl="lb_stink" >Summon Love Stinkbug (0 Mana Points)</option><option value="7247" picurl="lb_gnats" >Summon Love Gnats (0 Mana Points)</option><option value="7248" picurl="lb_scarab" >Summon Love Scarabs (0 Mana Points)</option><option value="17007" picurl="krakfist" >Fist of the Mummy (5 Mana Points)</option><option value="17008" picurl="jackalhead" >Howl of the Jackal (10 Mana Points)</option><option value="17012" picurl="cobrahead" >Lash of the Cobra (12 Mana Points)</option><option value="17010" picurl="scarab" >Storm of the Scarab (8 Mana Points)</option><option value="17009" picurl="lionface" >Roar of the Lion (15 Mana Points)</option><option value="17013" picurl="sun" >Wrath of Ra (40 Mana Points)</option><option value="17019" picurl="jetplane" >Curse of Vacation (30 Mana Points)</option><option value="17018" picurl="kacoin" >Curse of Fortune (1 Ka coin)</option><option value="17014" picurl="marshmallow" >Curse of the Marshmallow (2 Mana Points)</option><option value="17016" picurl="gooball" >Curse of Yuck (5 Mana Points)</option><option value="17017" picurl="familytree" >Curse of Heredity (10 Mana Points)</option><option value="17015" picurl="confused" >Curse of Indecision (5 Mana Points)</option><option value="17020" picurl="stench" >Curse of Stench (35 Mana Points)</option><option value="17047" picurl="exclam" >Mild Curse (0 Mana Points)</option></select> <input class=button type=submit onclick="return killforms(this);" value="Use Skill"></td></tr></form><form name=macro action=fight.php method=post><input type=hidden name=action value="macro"><input type="hidden" name="macrotext" value=""><tr><td align=center><select name=whichmacro><option value='0'>(select a macro)</option><option value="80723" picurl="grimglaive" >Spam Attack</option><option value="81441" picurl="vampirefangs" >Spam Infection</option><option value="134959" picurl="dv_mark6" >Stasis 'till I Die</option><option value="18415" picurl="heboulder" >Yellow Ray</option></select> <input class=button type=submit onclick="return killforms(this);" value="Execute Macro"></td></tr></form><form name=runaway action=fight.php method=post><input type=hidden name=action value="runaway"><tr><td align=center><input class=button onclick="return killforms(this);" type=submit value="Run Away"></td></tr></form></table></center></div><br><a href='#' onclick='document.getElementById("fightform").className="showform"; document.getElementById("formlink").style.display = "none";' id='formlink' class=tiny>(show old combat form)</a></td></tr></table></center></td></tr><tr><td height=4></td></tr></table><!--faaaaaaart--></center></div></div><script>var pwd="23db18f3e2f457efe2a5da06be0461ae";</script><script src='/images/scripts/actionbar.20140514.js'></script></body>
Round 1: Bale casts SUMMON LOVE SCARABS!
Round 2: queen filthworm takes 20 damage.
You gain 6 Mana Points
Round 2: Bale casts CURSE OF FORTUNE!
Round 3: queen filthworm takes 4 damage.
You lose 67 hit points
Round 3: Bale casts STORM OF THE SCARAB!
Round 4: queen filthworm takes 725 damage.
Round 4: Bale wins the fight!
After Battle: Temsebbekeepes tidies up the room, clearing away any dust or loose scraps of meat.
You gain 3533 Meat
You acquire an item: heart of the filthworm queen
You acquire an item: Ka coin
You gain 15 Beefiness
You gain 43 Wizardliness
You gain 14 Smarm
The Encounter is whatever KoL tells us inside the "monname" span, as before.
Monster actions logged thereafter are the "official" name of the monster, taken from the same place ASH uses to get last_monster().
> ashq last_monster().print()
> last_monster
In that case, I don't understand what was getting fixed.
Why so complicated? That could have been just
<span class="elementstench" id='monname'>the queen filthworm</span>