Bug - Fixed Ignore fake item acquisition messages when PvPing

ereinion

Member
If it helps anyone debug this, I acquired an unknown item while pvp-ing today. I was using the cli, so I can only get the html from the archives, but here's what happened:
Code:
Attack 117 of 136
You gain a little swagger
You challenged Pantsless      and lost the PvP fight
Attack 118 of 136
Unrecognized item found:      Ereinion gained fame:
You acquire an item: serrated proboscis extension      Ereinion gained fame:
You gain a little swagger
You challenged      PazSox and won the PvP fight
Attack 119 of 136
A you can see I obtained a new item: "Ereinion gained fame:", but no serrated proboscis extension as far as I can tell.

I have "Automatically fast-forward all PvP fights" and "Use compact PvP mode" checked in the in-game options, though I'm not sure either of those would have affected the outcome? Anyway, the html from the archived fight is:
Code:
<html><head>
<script language=Javascript>
<!--
if (parent.frames.length == 0) location.href="game.php";
//-->
</script>
<script language=Javascript src="[URL="http://kolmafia.us/view-source:http://images.kingdomofloathing.com/scripts/jquery-1.3.1.min.js"]http://images.kingdomofloathing.com/scripts/jquery-1.3.1.min.js[/URL]"></script>
<script language=Javascript src="[URL="http://kolmafia.us/view-source:http://images.kingdomofloathing.com/scripts/keybinds.min.2.js"]http://images.kingdomofloathing.com/scripts/keybinds.min.2.js[/URL]"></script>
<script language=Javascript src="[URL="http://kolmafia.us/view-source:http://images.kingdomofloathing.com/scripts/window.20111231.js"]http://images.kingdomofloathing.com/scripts/window.20111231.js[/URL]"></script>
<script language="javascript">function chatFocus(){if(top.chatpane.document.chatform.graf) top.chatpane.document.chatform.graf.focus();}
if (typeof defaultBind != 'undefined') { defaultBind(47, 2, chatFocus); defaultBind(190, 2, chatFocus);defaultBind(191, 2, chatFocus); defaultBind(47, 8, chatFocus);defaultBind(190, 8, chatFocus); defaultBind(191, 8, chatFocus); }</script><script type="text/javascript">
    document.documentElement.className = 'js';
    jQuery(function (_) {
        _('#ranked').change(function (e) {
            var cl = '.ranked' + _(this).val();
            _('.ranked').hide().attr('disabled', true);
            _(cl).show().attr('disabled', false);
            var dis = _('option:selected:disabled');
            if (dis.length > 0) {
                dis.parent().val(dis.next().val());
            }
        }).change();
        _('.if').click(function (e) {
            e.preventDefault();
            var url = _(this).attr('href');
            var div = _(this).parent().find('.ift');
            if (div.find('iframe').length) {
                div.empty();
            } else {
                var ifr = _('<iframe />').css({width: '100%', height: 400});
                ifr.attr('src', url);
                div.append(ifr);
            }
        });
    });
</script>
<style type="text/css">
    .js .hide {display: none;}
    .mini td { padding-top: 1em; border-bottom: 1px solid black; vertical-align:top;}
    .js .mini { display: none; }
    .js .final { display: none; }
    .wf { font-size: 130%; font-weight: bold}
    .minidesc { border: 1px solid black; padding: .5em; }
    .miniclick { text-decoration: underline }
</style><style type="text/css">
    .fight img {display: none; }
</style><script type="text/javascript">
    var sel = '.mini:not(:visible), .final:not(:visible)';
    var showMini = function () {
        var minis = $(sel);
        minis.eq(0).show();
        if (minis.size() > 1) {
            setTimeout(showMini, 1000);
        }
    };
    jQuery(function ($) {
        showMini();
        $('.showall').click(function (e) {
            e.preventDefault();
            $(sel).show();
        });
        $('.miniclick').click(
            function () { $(this).parents('td:first').find('.minidesc').toggle();}
        );
    });
</script><link rel="stylesheet" type="text/css" href="[URL="http://kolmafia.us/view-source:http://images.kingdomofloathing.com/styles.20130904.css"]http://images.kingdomofloathing.com/styles.20130904.css[/URL]">
<style type='text/css'>
.faded {
    zoom: 1;
    filter: alpha(opacity=35);
    opacity: 0.35;
}
</style>

</head>

<body>
<center><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>FIGHT!</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Fight Replay: 2014-02-02 09:59pm</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><table><tr><td colspan="2" align="center"><a style="font-weight: bold" href="[URL="http://kolmafia.us/view-source:http://www.kingdomofloathing.com/showplayer.php?who=352230"]showplayer.php?who=352230[/URL]">Ereinion</a> vs <a style="font-weight: bold" href="[URL="http://kolmafia.us/view-source:http://www.kingdomofloathing.com/showplayer.php?who=352918"]showplayer.php?who=352918[/URL]">PazSox</a><br /></td></tr><tr><td nowrap><b>Adventurer's Prowess</b></td><td><b>PazSox</b> out-stats Ereinion by 2%, and wins!</td></tr><tr><td nowrap><b>What is it Good For?</b></td><td><b>PazSox</b> wins, huuh, g'God, y'all.</td></tr><tr><td nowrap><b>Sharing the Love</b></td><td><b>Ereinion</b> has spread more love.</td></tr><tr><td nowrap><b>Karmic Battle</b></td><td><b>Ereinion</b> has gained 933 karma.  That's more than 555.</td></tr><tr><td nowrap><b>Snootee Customer Loyalty</b></td><td><b>Ereinion</b> is a more loyal Chez Snootee customer.</td></tr><tr><td nowrap><b>Most Things Eaten</b></td><td><b>PazSox</b> has eaten more things!</td></tr><tr><td nowrap><b>Meat Lover</b></td><td><b>Ereinion</b> wins!</td></tr><tr><td colspan="2" height="5"></td></tr><tr><td colspan="2" align="center"><b>Ereinion</b> Wins!</td></tr><tr><td>Ereinion said:</td><td>PWNED LIKE CRAPSTORM.</td></tr><tr><td>PazSox said:</td><td>You acquire an item: serrated proboscis extension</td></tr><tr><td>Ereinion gained fame:</td><td>1</td></tr><tr><td>PazSox lost fame:</td><td>1</td></tr><tr><td colspan="2">Ereinion gained 2 swagger.</td></tr><tr><td>Ereinion took an item:</td><td>Pretty Flower</td></tr></table><p><center><a href="[URL="http://kolmafia.us/view-source:http://www.kingdomofloathing.com/peevpee.php?place=fight&ranked=0&who=PazSox"]peevpee.php?place=fight&ranked=0&who=PazSox[/URL]">[retaliate!]</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table><p><center><a href="[URL="http://kolmafia.us/view-source:http://www.kingdomofloathing.com/peevpee.php?place=logs"]peevpee.php?place=logs[/URL]">Back to Archives</a></center></p></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></body></html>
 
Last edited:

zekaonar

Member
pvp erroneously reported getting a 29M item

Check the bolded fight. I don't seem to have a defective game grid token in my inventory, and I don't think it's stealable. I did however get the lint. Closet that lint if you have some.


Use all remaining PVP attacks to steal loot via muscle
Attack 1 of 24
You acquire an item: pencil stub
You gain a little swagger
You challenged Alan Gorealan and won the PvP fight, 6 to 1!
Attack 2 of 24
You acquire an item: molten scrap metal
You gain a little swagger
You challenged mooshotty2 and won the PvP fight, 4 to 0!
Attack 3 of 24
You gain a little swagger
You challenged Dim Mak and lost the PvP fight, 3 to 4!
Attack 4 of 24
You gain a little swagger
You challenged Eroquin and lost the PvP fight, 3 to 4!
Attack 5 of 24
You gain a little swagger
You challenged Hammered and lost the PvP fight, 3 to 4!
Attack 6 of 24
You acquire an item: oyster basket
You gain a little swagger
You challenged GrEEnKing01 and won the PvP fight, 5 to 1!
Attack 7 of 24
You acquire an item: pearidot
You gain a little swagger
You challenged Noodle_Mage and won the PvP fight, 4 to 1!
Attack 8 of 24
You acquire an item: disintegrating quill pen
You gain a little swagger
You challenged frankenchrist and won the PvP fight, 6 to 1!
Attack 9 of 24
You acquire an item: Mer-kin begsign
You gain a little swagger
You challenged adeyke and won the PvP fight, 4 to 1!
Attack 10 of 24
You acquire an item: broken skull
You gain a little swagger
You challenged gargleous maximus and won the PvP fight, 6 to 0!
Attack 11 of 24
You acquire an item: spooky shrunken head
You gain a little swagger
You challenged pikachu666chaos and won the PvP fight, 5 to 0!
Attack 12 of 24
You acquire an item: bottle of vodka
You gain a little swagger
You challenged TheGame24 and won the PvP fight, 6 to 0!
Attack 13 of 24
You acquire an item: grave robbing shovel
You gain a little swagger
You challenged Cuddlebun and won the PvP fight, 4 to 1!
Attack 14 of 24
You acquire an item: hot powder
You gain a little swagger
You challenged Eyeber and won the PvP fight, 5 to 2!
Attack 15 of 24
You acquire an item: pocket lint (white)
You gain a little swagger
You challenged LotsOfPhil and won the PvP fight, 4 to 1!
Attack 16 of 24
You acquire an item: batgut
You gain a little swagger
You challenged StevOLotz and won the PvP fight, 6 to 0!
Attack 17 of 24
You acquire an item: phat turquoise bead
You gain a little swagger
You challenged Oakianus and won the PvP fight, 4 to 1!
Attack 18 of 24
You acquire an item: meat paste
You gain a little swagger
You challenged Sergeant Margie and won the PvP fight, 5 to 0!
Attack 19 of 24
You acquire an item: quake of arrows
You gain a little swagger
You challenged Zinnia and won the PvP fight, 5 to 1!
Attack 20 of 24
You acquire an item: Hell ramen
You gain a little swagger
You challenged Badumshaloooop and won the PvP fight, 4 to 2!
Attack 21 of 24
Unrecognized item found: You gain a little swagger
You acquire an item: defective game grid token You gain a little swagger
You challenged Whack and lost the PvP fight, 3 to 4!
Attack 22 of 24

You acquire an item: spooky mushroom
You gain a little swagger
You challenged Blagama and won the PvP fight, 4 to 1!
Attack 23 of 24
You acquire an item: 33398 scroll
You gain a little swagger
You challenged Juntao and won the PvP fight, 4 to 1!
Attack 24 of 24
You acquire an item: pretty flower
You gain a little swagger
You challenged Sir Pancake and won the PvP fight, 5 to 1!
You have 0 attacks remaining.
 

lostcalpolydude

Developer
Staff member
I thought I had a nice fix for this, but then I remembered compact PvP mode. Mafia already doesn't track stat loss there, not tracking item gain might be fine too?
 

lostcalpolydude

Developer
Staff member
I was informed today that items acquired in compact mode are already not being parsed by mafia, so 15026 doesn't make anything worse. I'll go back and add that feature some other time.
 
Top