Bug - Fixed Auto-create failing with r19351

Magus_Prime

Well-known member
With r19351 auto-creation of both the Talisman and McClusky file never occurred. In both cases the following error appeared in the gCLI:

Code:
You acquire an item: McClusky file (page 5)
Verifying ingredients for McClusky file (complete) (1)...
Creating McClusky file (complete) (1)...
You are currently in a fight.

With r19348 auto-creation of the Bonerdragon necklace worked as expected.
 

heeheehee

Developer
Staff member
Hrm. The main difference I saw between my 0629 and 0630 logs were that my farming script decided to equip the moon-rune spoon, thereby making Mafia parsing sad.

But on a multi, I'm noticing that end-of-fight parsing is a bit funky, e.g.
Code:
Round 2: You win the fight!You shudder as the dirty old lihc breathes its last. Wait, do lihces breathe?Either way, your Evilometer beeps three times.Ben stands up on his hind legs and sniffs the air, chirping adorably.You gain 4 Mana Points.You gain 15 Strongness.You gain 14 Magicalness.You gain 11 Cheek.You gain a Moxie point!Adventure Again (The Defiled Niche)Go back to The Defiled Cyrptparent.charpane.location.href="charpane.php";

I'll look into this some more.
 

heeheehee

Developer
Staff member
Yeah. In general, the "wins the fight!" lines are no longer present. But FightRequest.won is set correctly in this case, since it resorts to a full-page match and contains WINWINWIN. Might be different if you're using a macro...

It looks like TagNode.getChildren() now only returns TagNodes, and is deprecated on top of that. TagNode.getAllChildren() is closer to what we want, and yields the following:

Round 2: gargantulihc takes 91 damage.
Round 2: gargantulihc takes 80 damage.
Round 2: You lose 17 hit points
Round 2: You win the fight!As the gargantulihc fades away into nothingness, your Evilometer emits a single loud beep.Ben stands up on his hind legs and sniffs the air, chirping adorably.You gain 3 Mana Points.You acquire an item: lihc eyeYou acquire an item: lihc eyeYou gain 18 Fortitude.You gain a Muscle point!You gain 44 Wizardliness.You gain a Mysticality point!You gain 19 Smarm.You hear strains of mellow music in the distance.Go back to the Cyrptparent.charpane.location.href="charpane.php";
Round 2: wins the fight!
After Battle: As the gargantulihc fades away into nothingness, your Evilometer emits a single loud beep.
After Battle: Ben stands up on his hind legs and sniffs the air, chirping adorably.
After Battle: You gain 3 Mana Points
You acquire an item: lihc eye
You acquire an item: lihc eye
After Battle: You gain 18 Fortitude
You gain a Muscle point!
After Battle: You gain 44 Wizardliness
You gain a Mysticality point!
After Battle: You gain 19 Smarm

test code is:
Code:
test load fight.html.txt
test fight 1
exit

There's still the extraneous Round 2 line before "wins the fight!", but that's enough of an improvement that I'll submit it.

r19353. I'm not sure I'll have much more time to look at this before tonight.
 

Attachments

  • fight.html.txt
    33 KB · Views: 28

Veracity

Developer
Staff member
It's much worse for my Evilometer test case. Notice that it logs everything after "You win the fight!" and never actually logs any of the after fight stuff - stat gains, item drops, etc.

> test load bogusfight.html.txt

Read 6,866 bytes into a 6,866 character string

> test fight 1

Round 2: gaunt ghuol takes 105 damage.
Round 2: You win the fight!Your Evilometer emits a single beep. The air in this part of the crypt smells slightly less evil...Hoare God Lobster reaches out his rod brand touches you.You gain 18 hit points.You gain 11 Mojo Points.You gain 51 MeatVague Summer gives you some meat under the table.You gain 11 Meat.You acquire an item: bland half-sized ghuol eggYou acquire an item: ghuol earsYour God Lobster imparts knowledge directly into your mind. (+8 Stats)You gain 5 Strongness.You gain 18 Wizardliness.You gain 25 Smarm.You catch a line from the song playing on your SongBoom™ BoomBox:"And the way the terroir plays upon the taste,"You take a sip of your Guarna and ink Latte with oil paint.Adventure Again (The Defiled Cranny)Go back to The Defiled Cyrptparent.charpane.location.href="charpane.php";
 

Attachments

  • bogusfight.html.txt
    6.7 KB · Views: 27
Yeah, it was spamming my cli and session log full of function code, which didn't seem particularly problematic.
But I reverted back to r19348 when I noticed it wasn't counting my daily power pill drops (and also not counting any other post combat drops, but since I was fighting in hobopolis, I didn't particularly care about exact counts of those).

Edit, from my session logs:
Code:
Round 10: You win the fight!You remember a party at KoL Con VI, when you armwrestled MeatSeal. You lost, but it was a good workout!You gain 9 Fortitude.You absorb 7 Soulsauce from your opponent.A love dragonfly buzzes softly in your ear.You gain 4 Chutzpah.The Horn of Plenty searches for extra items, blowing a loud fanfare all the while.Max Headshroom says, "c-c-catch the wave!" and sends a wave of electricity at you.You gain 13 Mana Points.Freely Grinning surveys the scene from atop the throne and sighs.You spear some loose Meat off the ground with your garbage stickerYou gain 108 Meat.Disguised Canela gives you some meat under the table.You gain 11 Meat.PROSPSAQ spotlights your opponent's pockets for you.You acquire an item: hobo nickelYou notice some extra Meat hidden beneath a window-sill-stolen pie.You gain 68 Meat.BUS brokers a quick deal, and splits the profits with you.You acquire an item: hobo nickelBUS sneezes, and a pixel hits your shoe.You acquire an item: yellow pixelYou gain 35 Beefiness.You gain 57 Wizardliness.You gain 32 Smarm.You catch a line from the song playing on your SongBoom™ BoomBox:"It's giving me excitations"Adventure Again (Hobopolis Town Square)Go back to Central Hobopolisparent.charpane.location.href="charpane.php";
 function updateParseItem(iid, field, info) {
 var tbl = $('#ic'+iid);
 var data = parseItem(tbl);
 if (!data) return;
 data[field] = info;
 var out = [];
 for (i in data) {
  if (!data.hasOwnProperty(i)) continue;
  out.push(i+'='+data[i]);
 }
 tbl.attr('rel', out.join('&'));
 }
 function parseItem(tbl) {
 tbl = $(tbl);
 var rel = tbl.attr('rel');
 var data = {};
 if (!rel) return data;
 var parts = rel.split('&');
 for (i in parts) {
  if (!parts.hasOwnProperty(i)) continue;
  var kv = parts[i].split('=');
  tbl.data(kv[0], kv[1]);
  data[kv[0]] = kv[1];
 }
 return data;
 }



var tp = top;
function pop_ircm_contents(i, some) {
 var contents = '',
 shown = 0,
 da = ' [some] <a href="#" rel="',
 db = '" class="small dojaxy">[all] ',
 dc = '<div style="width:100%; padding-bottom: 3px;" rel="',
 dd = ' [';
 one = 'one'; ss=some;
if (i.d==1 && i.s>0) { shown++; 
contents += dc + 'sellstuff.php?action=sell&ajax=1&type=quant&whichitem%5B%5D=IID&howmany=NUM&pwd=429c2ac991d91e2d97737bc10251d38f" id="pircm_'+i.id+'"> Auto-Sell ('+i.s+' meat): '+dd+one+'] ';
if (ss) { contents += da + i.n + db;}
contents += ' ';
}
one = 'one'; ss=some;
if (i.q==0) { shown++; 
contents += dc + 'inventory.php?action=closetpush&ajax=1&whichitem=IID&qty=NUM&pwd=429c2ac991d91e2d97737bc10251d38f" id="pircm_'+i.id+'"> Closet: '+dd+one+'] ';
if (ss) { contents += da + i.n + db;}
contents += ' ';
}
one = 'one'; ss=some;
if (i.q==0) { shown++; 
contents += dc + 'managecollection.php?action=put&ajax=1&whichitem1=IID&howmany1=NUM&pwd=429c2ac991d91e2d97737bc10251d38f" id="pircm_'+i.id+'"> Add to Display Case: '+dd+one+'] ';
if (ss) { contents += da + i.n + db;}
contents += ' ';
}
one = 'one'; ss=some;
if (i.q==0 && i.p==0 && i.u=="q" && i.d==1 && i.t==1) { shown++; 
contents += dc + 'craft.php?action=pulverize&ajax=1&smashitem=IID&qty=NUM&pwd=429c2ac991d91e2d97737bc10251d38f" id="pircm_'+i.id+'"> Pulverize: '+dd+one+'] ';
if (ss) { contents += da + i.n + db;}
contents += ' ';
}

 return [contents, shown];
}
tp=top
var todo = [];
function nextAction() {
 var next_todo = todo.shift();
 if (next_todo) {
 eval(next_todo);
 }
}
function dojax(dourl, afterFunc, hoverCaller, failureFunc, method, params) {
 $.ajax({
 type: method || 'GET', url: dourl, cache: false,
 data: params || null,
 global: false,
 success: function (out) {
  nextAction();
  if (out.match(/no\|/)) {
  var parts = out.split(/\|/);
  if (failureFunc) failureFunc(parts[1]);
  else if (window.dojaxFailure) window.dojaxFailure(parts[1]);
  else if (tp.chatpane.handleMessage) tp.chatpane.handleMessage({type: 'event', msg: 'Oops! Sorry, Dave, you appear to be ' + parts[1]});
  else $('#ChatWindow').append(' Oops! Sorry, Dave, you appear to be ' + parts[1] + '. ' + "\n");
  return;
  }

  if (hoverCaller) {
  float_results(hoverCaller, out);
  if (afterFunc) { afterFunc(out); }
  return;
  }
$(tp.mainpane.document).find("#effdiv").remove(); if(!window.dontscroll || (window.dontscroll && dontscroll==0)) { window.scroll(0,0);}
  var $eff = $(tp.mainpane.document).find('#effdiv');
  if ($eff.length == 0) {
  var d = tp.mainpane.document.createElement('DIV');
  d.id = 'effdiv';
  var b = tp.mainpane.document.body;
  if ($('#content_').length > 0) {
   b = $('#content_ div:first')[0];
  }
  b.insertBefore(d, b.firstChild);
  $eff = $(d);
  }
  $eff.find('a[name="effdivtop"]').remove().end()
  .prepend('  ' + out + ' ').css('display','block');
  if (!window.dontscroll || (window.dontscroll && dontscroll==0)) {
  tp.mainpane.document.location = tp.mainpane.document.location + "#effdivtop";
  }
  if (afterFunc) { afterFunc(out); }
 }
 });
}

You gain 7 Soulsauce
Preference testudinalTeachings changed from 175:2|197:0|192:1|188:2|193:1|183:2|267:3|271:0|104:5|102:1|199:4|266:0|160:5|209:0|176:3|-1:0|261:1|203:4|206:1|150:1 to 175:2|197:1|192:1|188:2|193:1|183:2|267:3|271:0|104:5|102:1|199:4|266:0|160:5|209:0|176:3|-1:0|261:1|203:4|206:1|150:1
Preference _boomBoxFights changed from 25 to 26

Notice how it did notice the end of fight, as indicated by _boomBoxFights increasing, but it also didn't notice that post combat drop, or it wouldn't be above 11.
 

Veracity

Developer
Staff member
Revision 19355 fixes the Evilometer (and end of battle detection) issues. Apparently tehe behavior of TagNode.getText() changed - although what it was advertised to do (recursively concatenate the text for all of the child nodes of a tag) did not change. KoL generates <p> nodes nested within <p> nodes and previously getText() apparently returned only the top-level text for such.

I made a utility method to get only the ContentNode gext under the current node and that resolves this issue, at least.

There are other places which call getText() which really do want the recursive behavior and break if we use the new method, so I only changed the place where we are specifically processing a <p> node. We'll see if anything else shows up.
 

heeheehee

Developer
Staff member
Revision 19355 fixes the Evilometer (and end of battle detection) issues. Apparently tehe behavior of TagNode.getText() changed - although what it was advertised to do (recursively concatenate the text for all of the child nodes of a tag) did not change. KoL generates <p> nodes nested within <p> nodes and previously getText() apparently returned only the top-level text for such.

I made a utility method to get only the ContentNode gext under the current node and that resolves this issue, at least.

There are other places which call getText() which really do want the recursive behavior and break if we use the new method, so I only changed the place where we are specifically processing a <p> node. We'll see if anything else shows up.

Thank you for figuring this out. I was struggling to find old documentation, and wasn't sure what might have subtly changed.
 

Veracity

Developer
Staff member
Old documentation would not have helped.

Here is the code from the old version:

Code:
    /**
     * @return Text content of this node and it's subelements.
     */
    public StringBuffer getText() {
        StringBuffer text = new StringBuffer();
        for (int i = 0; i < children.size(); i++) {
            Object item = children.get(i);
            if (item instanceof ContentToken) {
                text.append( ((ContentToken)item).getContent() );
            } else if (item instanceof TagNode) {
                StringBuffer subtext = ((TagNode)item).getText();
                text.append(subtext);
            }
        }

        return text;
    }
And here is the code from the new version:

Code:
    /**
     * @return Text content of this node and it's subelements.
     */
    public CharSequence getText() {
        StringBuilder text = new StringBuilder();
        for (Object item :children) {
            if (item instanceof ContentNode) {
                text.append(((ContentNode) item).getContent());
            } else if (item instanceof TagNode) {
                CharSequence subtext = ((TagNode) item).getText();
                text.append(subtext);
            }
        }

        return text;
    }
I don't see a functional difference.

Looking at this more closely, I did not identify the root cause. With the old version, the HTML parse tree looks like this:

Code:
    <p>
    <center>
      You win the fight!
      <!--WINWINWIN-->
      <p>
      <p>
        Your Evilometer emits a single beep.  The air in this part of the crypt smells slightly less evil...
      <p>
      <p>
        <!--familiarmessage-->
      <center>
        <table>
          <tbody>
            <tr>
              <td align="center" valign="center">
                <img src="https://s3.amazonaws.com/images.kingdomofloathing.com/itemimages/godlob.gif" width="30" height="30">
              <td valign="center">
                <i>
                  Klugh
                God Lobster touches you and your foe each with one tentacle and transfers their failing life energy.
And I get this in my session log:

Round 2: Veracity wins the fight!
After Battle: Your Evilometer emits a single beep. The air in this part of the crypt smells slightly less evil...
After Battle: Klugh God Lobster touches you and your foe each with one tentacle and transfers their failing life energy.

Whereas with the new version, this is the HTML parse tree:

Code:
    <p>
      <center>
        You win the fight!
        <!--WINWINWIN-->
        <p>
        <p>
          Your Evilometer emits a single beep.  The air in this part of the crypt smells slightly less evil...
        <p>
        <p>
          <!--familiarmessage-->
          <center>
            <table>
              <tbody>
                <tr>
                  <td align="center" valign="center">
                    <img src="https://s3.amazonaws.com/images.kingdomofloathing.com/itemimages/godlob.gif" width="30" height="30">
                  <td valign="center">
                    <i>
                      Hoare
                    God Lobster reaches out his rod
                    <i>
                      brand
                    touches you.
And I get this in my session log:

Round 2: You win the fight!Your Evilometer emits a single beep. The air in this part of the crypt smells slightly less evil...Hoare God Lobster reaches out his rod brand touches you.You gain 18 hit points.You gain 11 Mojo Points.You gain 51 MeatVague Summer gives you some meat under the table.You gain 11 Meat.You acquire an item: bland half-sized ghuol eggYou acquire an item: ghuol earsYour God Lobster imparts knowledge directly into your mind. (+8 Stats)You gain 5 Strongness.You gain 18 Wizardliness.You gain 25 Smarm.You catch a line from the song playing on your SongBoom™ BoomBox:"And the way the terroir plays upon the taste,"You take a sip of your Guarna and ink Latte with oil paint.Adventure Again (The Defiled Cranny)Go back to The Defiled Cyrptparent.charpane.location.href="charpane.php";

Notice that the old HTML cleaner did not mske the <center> the child of the <p>, whereas the new one does. THAT is the root cause.
(Note also that those were from different fights.)

With the change I submitted, this is what "test fight 1" prints for the fight:

Round 2: gaunt ghuol takes 105 damage.
Round 2: Veracity wins the fight!
After Battle: Your Evilometer emits a single beep. The air in this part of the crypt smells slightly less evil...
After Battle: Hoare God Lobster reaches out his rod brand touches you.
After Battle: You gain 18 hit points
After Battle: You gain 11 Mojo Points
You gain 51 Meat
You gain 11 Meat.
You acquire an item: ghuol egg
You acquire an item: ghuol ears
After Battle: Your God Lobster imparts knowledge directly into your mind. (+8 Stats)
After Battle: You gain 5 Strongness
After Battle: You gain 18 Wizardliness
After Battle: You gain 25 Smarm

So, it worked, somehow.

(I also notice that it did not log "Vague Summer gives you some meat under the table" although it did log "You gain 11 Meat."
Messages from your horse are not tagged with <!--familiarmessage-->, which probably would make those automatically log. A pity.
 
This still seems broken kolmafia says this:

Code:
[1128] Barf Mountain
Encounter: garbage tourist
Round 0: txranger      wins initiative!
Round 1: You lose 12 hit points
Round 1: txranger      executes a macro!
KoLmafia thinks it is round 2 but KoL thinks it is      round 1
[COLOR=purple]WHAM: Running SmartStasis[/COLOR]
Round      1: txranger executes a macro!
Round 1: txranger tries to steal an item!
Round      2: UCIZ's hide-a-bed suddenly flips open, slamming your opponent to the      ground and causing 43 damage.
Round 2: garbage tourist takes 43 damage.
Round      2: txranger casts SUMMON LOVE GNATS!
Round 3: UCIZ's hide-a-bed      suddenly flips open, slamming your opponent to the ground and causing 46      damage.
Round 3: garbage tourist takes 46 damage.
Round 3: txranger      casts EXTRACT!
You acquire an item: Source essence
Round 4: UCIZ      gallops at your opponent, trampling her underfoot for 39 damage.
Round      4: garbage tourist takes 39 damage.
Round 4: txranger casts SUMMON      MAYFLY SWARM!
Round 5: You open the little container full of mayfly      bait and swing it around. A big swarm of mayflies buzzes into the area.
Round      5: UCIZ gallops at your opponent, trampling her underfoot for 41 damage.
Round      5: garbage tourist takes 41 damage.
Round 5: txranger wins the fight!
After      Battle: The swarm of mayflies buzzes off into the distance and returns a      few moments later carrying a rolled up FunFunds™ bill.
You      acquire an item: FunFunds™
After Battle: A love stag beetle      brushes up against your ankle affectionately.
After Battle: You gain 4      Strongness
After Battle: You gain 5 Mysteriousness
After Battle:      Pretentious Catequil surveys the scene from your back, and gains 1      Experience.
After Battle: Captain Honathan emits an enthusiastic      "Arrrr," grabs a shovel, and digs up some extra Meat for you. (+30% Meat      Drops)
After Battle: You rest for a moment on UCIZ. It's a bit lumpy,      so you look under the cushion and find a large and elaborate tv remote      that you've never seen before. You sell it to a passing gnome for some      extra meat.
You gain 20 Meat.
After Battle: "Allow Me To Recommend A      Local Specialty," Honathan says, and hands you a elemental sugarcube.
You      acquire an item: elemental sugarcube
After Battle: You gain 9 Strongness
After      Battle: You gain 13 Mysteriousness
After Battle: You gain 40 Smarm

But Kol in the relay browser shows this:

Code:
You fish around in your opponent's pocket, but you don't find anything.

UCIZ's hide-a-bed suddenly flips open, slamming your opponent to the ground and causing 43 damage.

She hits you with a bag of garbage, but thankfully it was just recyclables.
Round 3!
You waft some of your gnat-specific aromas into the air surrounding your opponent. Right on cue, a cloud of gnats converges on her.

UCIZ's hide-a-bed suddenly flips open, slamming your opponent to the ground and causing 46 damage.

The swarm of love gnats distracts and annoys your foe, preventing her from attacking you.
Round 4!
You reach into your foe's leg and pull out some juicy, pulsating data.
Source essence    You acquire an item: Source essence

UCIZ gallops at your opponent, trampling her underfoot for 39 damage.

The swarm of love gnats distracts and annoys your foe, preventing her from attacking you.
Round 5!
    You open the little container full of mayfly bait and swing it around. A big swarm of mayflies buzzes into the area.

UCIZ gallops at your opponent, trampling her underfoot for 41 damage.

You win the fight!

You're making steady progress, but you're still pretty close to the back of the line.
    The swarm of mayflies buzzes off into the distance and returns a few moments later carrying a rolled up FunFunds™ bill.
FunFunds™    You acquire an item: FunFunds™
    A love stag beetle brushes up against your ankle affectionately.
You gain 4 Strongness.

You relax for a moment and watch meteors streak across the cosmos, and consider what it all means.
You gain 5 Mysteriousness.
    Pretentious Catequil surveys the scene from your back, and gains 1 Experience.

    Captain Honathan emits an enthusiastic "Arrrr," grabs a shovel, and digs up some extra Meat for you. (+30% Meat Drops)

You rest for a moment on UCIZ. It's a bit lumpy, so you look under the cushion and find a large and elaborate tv remote that you've never seen before. You sell it to a passing gnome for some extra meat.
    Honathan fishes some meat out of your foe's pockets, and puts it in his tip jar.
    You gain 5377 Meat
    Honathan does an elaborate bottle-juggling routine.
bag of park garbage    You acquire an item: bag of park garbage [use multiple]
bag of park garbage    You acquire an item: bag of park garbage [use multiple]

You notice some extra Meat hidden in the bottom of a filthy rollercoaster car.
Meat    You gain 20 Meat.
    "Allow Me To Recommend A Local Specialty," Honathan says, and hands you a elemental sugarcube.
elemental sugarcube    You acquire an item: elemental sugarcube [mix]

You gain 9 Strongness.
You gain 13 Mysteriousness.
You gain 40 Smarm.

    You catch a line from the song playing on your SongBoom™ BoomBox:
"Turnaround meat eyes, every now and then I get some meat"

You take a sip of your Inky rawhide Latte with a shake of cinnamon.You fish around in your opponent's pocket, but you don't find anything
.
 
Last edited by a moderator:

Veracity

Developer
Staff member
We don't log message from meteors, although we log the results.
We don't log familiar actions due to mumming chest costumes.
We don't log love gnats stunning each round.
We don't log familiars gaining experience in the Baby Bjorn
We don't log boombox verses
We don't log sipping latte.

None of the above is new.

I was surprised to not see

You gain 5377 Meat

in the log, though. That's the only thing that looks wrong.
 

Veracity

Developer
Staff member
With r19351 auto-creation of both the Talisman and McClusky file never occurred. In both cases the following error appeared in the gCLI:

Code:
You acquire an item: McClusky file (page 5)
Verifying ingredients for McClusky file (complete) (1)...
Creating McClusky file (complete) (1)...
You are currently in a fight.

With r19348 auto-creation of the Bonerdragon necklace worked as expected.
Yesterday for me with the latest fix for the new HTMLCleaner:

Code:
[324] Hippy Camp
Encounter: filthy hippy jewelry maker
Round 0: Veracity wins initiative!
Round 1: Veracity casts DISINTEGRATE!
You acquire an effect: Everything Looks Yellow (100)
Round 2: Veracity wins the fight!
After Battle: Your God Lobster reaches out his rod and touches you.
After Battle: You gain 8 hit points
After Battle: You gain 13 Mojo Points
You gain 15 Meat.
You acquire an item: phat turquoise bead
You acquire an item: filthy corduroys
You acquire an item: filthy knitted dread sack
You acquire an item: reodorant
You acquire an item: patchouli incense stick
You acquire an item: hemp string

Create 1 meat paste
You acquire an item: meat paste
You lose 10 Meat

Combine 1 hemp string + 1 vertebra of the Bonerdagon
You acquire an item: Bonerdagon necklace
Crafting used 1 each of hemp string and vertebra of the Bonerdagon
You acquire an item: clay peace-sign bead
You acquire an item: beach glass bead
You acquire an item: double-barreled sling
After Battle: Your God Lobster imparts knowledge directly into your mind. (+7 Stats)
After Battle: You gain 6 Strengthliness
After Battle: You gain 7 Enchantedness
After Battle: You gain 14 Roguishness
I'll do McClusky File and Talisman today, probably. I expect them to work. If so, I will close this.
 

Veracity

Developer
Staff member
Successfully auto-created the Talisman o' Namsilat and the McClusky file (complete).
This is fixed.
 

Veracity

Developer
Staff member
Mafia is noticing/tracking my post-fight meat drops (at least, not the big one).
As I said, works for me, every time, every character.

Code:
[749521] Barf Mountain
Encounter: horrible tourist family
Round 0: Tebryn wins initiative!
Round 1: Tebryn casts SING ALONG!
Round 2: Tebryn casts SUMMON MAYFLY SWARM!
Round 3: You open the little container full of mayfly bait and swing it around. A small swarm of mayflies buzzes into the area.
Round 3: Stubert climbs up and sits on your shoulder, and hands you some Meat. Huh, where did he find that?
You gain 84 Meat.
Round 3: Tebryn executes a macro!
Round 3: Tebryn attacks!
Round 4: horrible tourist family takes 16188 damage.
Round 4: Tebryn wins the fight!
After Battle: The swarm of mayflies buzzes off into the distance. Goodbye, little mayflies!
After Battle: Stubert sits on your fallen opponent's body, blows a smoke ring, and winks at you.
You gain 4374 Meat
After Battle: Wingwang pirouettes in the air, searching for scattered items. Maybe he was a pierougi in a past life.
You acquire an item: bag of gross foreign snacks
You acquire an item: crident
You acquire an item: duct tape wallet
After Battle: You gain 7 Beefiness
After Battle: You gain 24 Mysteriousness
After Battle: You gain 7 Roguishness
Let me see a DEBUG log that shows the last round of a Fight that does not record the final Meat drop.

Until then, since I am unable to reproduce it with any of my characters, there is nothing I can do.
 

heeheehee

Developer
Staff member
I can actually reproduce this one.

Code:
test load barf_fight.txt; test fight 0;
on the attached file works reliably for me.

My session log says:
[573581] Barf Mountain
Encounter: garbage tourist
Round 0: heeheehee wins initiative!
Round 0: heeheehee attacks! (auto-attack)
Round 1: garbage tourist takes 5873 damage.
Round 1: Pokey dribbles some juice into your ear, healing you somewhat. I know that doesn't make any sense but give me a freaking break, it is the ghost of a pickle.
Round 1: You gain 8 hit points
Round 1: Your opponent somehow loses her entire arm behind ÒGEBLI's cushions. This causes 46 damage.
Round 1: garbage tourist takes 46 damage.
Round 1: heeheehee wins the fight!
After Battle: You gain 65 hit points
After Battle: You gain 70 Mana Points
After Battle: You gain 12 hit points
After Battle: You gain 7 Mana Points
After Battle: Pokey surveys the scene from your back and sighs.
After Battle: Captain Hubert rubs his hands together gleefully, thinking about all the Meat he's gonna carve off your foe. (+30% Meat Drops)
After Battle: You look underneath ÒGEBLI's cushions, and find some loose meat!
After Battle: You gain 12 Strengthliness
After Battle: You gain 19 Enchantedness
After Battle: You gain 12 Cheek
 

Attachments

  • barf_fight.txt
    15.2 KB · Views: 12
Top