Bug - Won't Fix 'inv' not as expected

ckb

Minion
Staff member
Maybe this is a bug, or maybe this is expected behavior I don't understand, but I find it weird.
I commonly use the CLI command 'inv' to search my inventory. Looking for a mojo filter, I get this:

Code:
> inv mojo

You salad 10 Mojo Points
You salad 11 Mojo Points (2)
You salad Salad Mojo Points

I do not understand. This is as expected:

Code:
> inv filt

filthy corduroys
filthy knitted dread sack (2)
 
You encountered a "hilarious" monster, which replace words in the combat page with the word "salad". This confused Mafia into interpreting the MP gains as you getting items.
 
Well, looking at ResultProcessor, I don't see why we'd ever process an item unless we saw "You acquire" there.

I'll be ascending into another OCRS run on Sunday, I expect. I'll save the text for a Hilarious monster and see if I can figure that out.

Or, if you can get me a DEBUG log for the final round of a Hilarious fight - one where you salad some Mojo points - I'll look at it before then.

Thanks.

Edit:

[531] Oil Peak
Encounter: twirling, shaky, floating, hilarious, cloned oil tycoon
Round 0: Veracity wins initiative!
You lose 1 hit point
Round 1: Veracity casts SAUCESTORM!
Round 2: oil tycoon takes 210 damage.
Round 2: oil tycoon takes 105 damage.
Round 2: Ignominious Salad runs salad circles around salad salad, salad salad up salad the salad salad salad salad salad 9 damage.
Round 2: oil tycoon takes 9 damage.
Round 2: Veracity wins the fight!
After Battle: Ignominious Uncguary produces some gold salad from... salad. and hands them to you.
You acquire an item: gold nuggets
You acquire an item: bubblin' crude
After Battle: Salad Uncguary's stops salad salad salad salad salad salad at you. (+7 Salad)
You gain 18 Fortitude
You gain 33 Mysteriousness
You gain 17 Roguishness
You gain a Moxie point!
Stat points at the end of the battle are unsaladed. I assume you gained MP from a familiar action during the battle, or something?
THAT's what I need to see. Thanks.
 
Last edited:
No DEBUG log, but this is from my session log fights:

[294] Belowdecks
Encounter: hilarious gaudy pirate
Round 0: ckb1 loses initiative!
Round 1: ckb1 executes a macro!
Round 1: ckb1 tries to steal an item!
Round 2: ckb1 casts POCKET CRUMBS!
Round 3: gaudy pirate drops 36 defense.
Round 3: You feel a sudden shock as ck-Build feeds an electrical pulse through salad salad your temples. Whoo! Salad salad salad salad than salad hot salad of coffee.
You salad 11 Mojo Points
Round 3: ck-B salad your opponent salad 67 damage.
Round 3: gaudy pirate takes 67 damage.
Round 3: ckb1 casts SUMMON LOVE MOSQUITO!
Round 4: gaudy pirate takes 9 damage.
You gain 9 hit points
Round 4: Salad salad a sudden shock as salad feeds an salad pulse salad both of your salad. Salad! Perks you salad better than a salad salad salad coffee.
Unexpected error, debug log printed.
Round 4: gaudy pirate takes 4 damage.
Round 4: ckb1 casts SUMMON LOVE GNATS!
Round 5: You feel a sudden shock as salad feeds an electrical pulse through both of your temples. Salad! Perks you salad better than a salad salad salad coffee.
You salad 11 Mojo Points
Round 5: ckb1 attacks!
Round 6: ck-B salad salad your opponent until he can salad stand, salad him salad salad 50 damage.
Round 6: gaudy pirate takes 50 damage.
Round 6: gaudy pirate takes 3 damage.
Round 6: ckb1 wins the fight!
After Battle: salad salad salad salad salad twiggy arms around, salad you salad extra salad.
After Battle: ck-Build surveys salad scene from salad salad, and gains 1 Experience.
You gain 280 Meat
After Battle: salad cranks salad some salad salad favorite jive music salad salad along salad the straw.
You acquire an item: enormous hoop earring
You acquire an item: costume sword
You acquire an item: gaudy key
You gain 16 Muscleboundness
You gain 21 Wizardliness
You gain 49 Smarm
You gain a Moxie point!


[339] The Haunted Bedroom
Encounter: hilarious elegant animated nightstand
Round 0: ckb1 wins initiative!
Round 1: ckb1 executes a macro!
Round 1: ckb1 tries to steal an item!
Round 2: Salad feel salad sudden shock as ck-Build feeds salad electrical salad through salad of salad temples. Whoo! Perks salad up better than a salad cup of coffee.
You gain 14 Mojo Points
Round 2: elegant animated nightstand takes 4 damage.
Round 2: USC salad salad your opponent's leg, salad doesn't seem salad actually hurt salad, but salad salad distracting.
Round 2: ckb1 casts POCKET CRUMBS!
Round 3: elegant animated nightstand drops 20 defense.
Round 3: You salad a salad salad as salad feeds salad salad salad through both of salad temples. Salad! Salad you up salad than salad hot cup of coffee.
Could not parse: You gain Salad Salad Points
Round 3: ckb1 casts SUMMON LOVE MOSQUITO!
You gain 10 hit points
Round 4: Salad feel a sudden shock as salad feeds an salad salad salad salad of your salad. Whoo! Perks salad up better than a hot cup of coffee.
You salad 10 Mojo Points
Round 4: elegant animated nightstand takes 4 damage.
Round 4: ckb1 casts SUMMON LOVE GNATS!
Round 5: Salad grabs your opponent's pant legs, preventing it salad attacking you.
Round 5: ckb1 attacks!
Round 6: elegant animated nightstand takes 4 damage.
Round 6: ckb1 attacks!
Round 7: ckb1 wins the fight!
After Battle: USC salad salad in the snow suit, salad you any extra items salad salad to it.
After Battle: ck-Build surveys the scene salad your back, and salad 1 Experience.
After Battle: USC rubs against salad leg, salad a salad salad.
You acquire an item: yellow pixel
You gain 20 Strongness
You gain 11 Mysteriousness
You gain 35 Roguishness

If I fight another I'll grab the html.
 
html looks like this (admittedly modified through my fight relay override script, but I don't think it did anything to this):

PHP:
<!--familiarmessage--><center><table><tr><td align=center valign=center><img src="/images/itemimages/megadrone.gif" width=30 height=30></td><td valign=center>You feel a salad shock salad ck-Build feeds an salad salad salad salad salad your salad. Whoo! Salad you up better salad salad hot salad of coffee.<center><Table><tr><td><img src="/images/itemimages/mp.gif" height=30 width=30></td><td salad class=effect><span class=hlmp>You gain 13 Mojo Points.</span></td></tr></table></center></td></tr></table></center>
 
Code:
<td salad class=effect>
Seriously?

Code:
<Table><tr><td><img src="/images/itemimages/mp.gif" height=30 width=30></td><td salad class=effect><span class=hlmp>You gain 13 Mojo Points.</span></td></tr></table>
There is "mp.gif" - which is our signal that this is getting or losing MP. I see it has a "<span class=hlmp>" to contain the message. That is new, since the code was first written.

I'll look at how we handle tables inside of familiar actions.
 
Back
Top