Bug - Not A Bug PVP command is not recording phat loot stolen

Terion

Member
Cleared my results, and then ran some PVP rounds:
Code:
> pvp 3 loot hibernation

Use 3 PVP attacks to steal loot via Hibernation Ready
Attack 1 of 3
You challenged favors and lost the PvP fight
Attack 2 of 3
You challenged AngelSakura7 and won the PvP fight
Attack 3 of 3
You challenged Dupevred and won the PvP fight
You have 95 attacks remaining.

> pvp 5 loot hibernation

Use 5 PVP attacks to steal loot via Hibernation Ready
Attack 1 of 5
You challenged eChophANTom and won the PvP fight
Attack 2 of 5
You challenged Higardi and won the PvP fight
Attack 3 of 5
You challenged Ichigo777 and won the PvP fight
Attack 4 of 5
You challenged Perkk and lost the PvP fight
Attack 5 of 5
You challenged bobbackblob and won the PvP fight
You have 90 attacks remaining.
Loot is not shown in the gCLI, and Session Results is likewise empty.
Archives says I did get some things:
Code:
[view]	Terion (5)	vs	bobbackblob (1)	06-30 10:18pm	+2 Swagger/Stole crêepy mask
[view]	Terion (1)	vs	Perkk (6)	06-30 10:17pm	-200 Stats/+1 Swagger
[view]	Terion (5)	vs	Ichigo777 (1)	06-30 10:17pm	+2 Swagger/Stole black kettle drum
[view]	Terion (5)	vs	Higardi (1)	06-30 10:17pm	+2 Swagger/Stole filthy knitted dread sack
[view]	Terion (6)	vs	eChophANTom (0)	06-30 10:17pm	+2 Swagger/Stole tiny plastic taco cat
[view]	Terion (5)	vs	Dupevred (1)	06-30 10:17pm	+2 Swagger/+1 Flower
[view]	Terion (5)	vs	AngelSakura7 (2)	06-30 10:17pm	+2 Swagger/Stole ant pitchfork
[view]	Terion (3)	vs	favors (4)	06-30 10:16pm	-200 Stats/+1 Swagger
Did another PVP fight, which was a win, and got the page source html (wasn't sure what was needed, so put it all in):
Code:
<html><head>
<script language=Javascript>
<!--
if (parent.frames.length == -1) location.href="game.php";
top.charpane.location.href="charpane.php";
//-->
</script>
<script language=Javascript src="//images.kingdomofloathing.com/scripts/jquery-1.3.1.min.js"></script>
<script language=Javascript src="//images.kingdomofloathing.com/scripts/keybinds.min.2.js"></script>
<script language=Javascript src="//images.kingdomofloathing.com/scripts/window.20111231.js"></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 language="javascript">
	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;
	}
</script><script type="text/javascript" src="/images/scripts/pop_query.20130705.js"></script>
<script type="text/javascript" src="/images/scripts/ircm.20150220.js"></script>
<script type="text/javascript">
function pop_ircm_contents(i, some) {
	var contents = '',
		shown = 0,
		da = ' <a href="#" rel="?" class="small dojaxy">[some]</a> <a href="#" rel="',
		db = '" class="small dojaxy">[all]</a>',
		dc = '<div style="width:100%; padding-bottom: 3px;" rel="',
		dd = '<a href="#" rel="1" class="small dojaxy">[';
	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=d3471704bf71f24aad30efef69306aa1" id="pircm_'+i.id+'"><b>Auto-Sell ('+i.s+' meat):</b> '+dd+one+']</a>';
if (ss) { contents += da + i.n + db;}
contents += '</div>';
}

	return [contents, shown];
}
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 (top.chatpane.handleMessage) top.chatpane.handleMessage({type: 'event', msg: 'Oops!  Sorry, Dave, you appear to be ' + parts[1]});
				else  $('#ChatWindow').append('<font color="green">Oops!  Sorry, Dave, you appear to be ' + parts[1] + '.</font><br />' + "\n");
				return;
			}

			if (hoverCaller)  {
				float_results(hoverCaller, out);
				if (afterFunc) { afterFunc(out); }
				return;
			}
$(top.mainpane.document).find("#effdiv").remove(); if(!window.dontscroll || (window.dontscroll && dontscroll==0)) { window.scroll(0,0);}
			var $eff = $(top.mainpane.document).find('#effdiv');
			if ($eff.length == 0) {
				var d = top.mainpane.document.createElement('DIV');
				d.id = 'effdiv';
				var b = top.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('<a name="effdivtop"></a><center>' + out + '</center>').css('display','block');
			if (!window.dontscroll || (window.dontscroll && dontscroll==0)) {
				top.mainpane.document.location = top.mainpane.document.location + "#effdivtop";
			}
			if (afterFunc) { afterFunc(out); }
		}
	});
}
</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="//images.kingdomofloathing.com/styles.20150113.css">
<style type='text/css'>
.faded {
	zoom: 1;
	filter: alpha(opacity=35);
	opacity: 0.35;
	-khtml-opacity: 0.35; 
    -moz-opacity: 0.35;
}
</style>

<script language="Javascript" src="/basics.js"></script><link rel="stylesheet" href="/basics.1.css" /></head>

<body>
<center><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Results:</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><style type='text/css'>.showall { display: none; }
.js tr.mini { display: table-row !important; }</style><div class="fight"><table><tr><td colspan="2" align="center"><a style="font-weight: bold" href="showplayer.php?who=523109">Terion</a> vs <a style="font-weight: bold" href="showplayer.php?who=1939674">beyondthemoon</a><br /></td></tr><tr><td nowrap><b>Hibernation Ready</b></td><td><b>Terion</b> wins!</td></tr><tr><td nowrap><b>Bear Hugs All Around</b></td><td><b>beyondthemoon</b> is a real hugger!</td></tr><tr><td nowrap><b>Beary Famous</b></td><td><b>beyondthemoon</b> wins!</td></tr><tr><td nowrap><b>Barely Dressed</b></td><td><b>beyondthemoon</b> wins! (A tie-breaker!)</td></tr><tr><td nowrap><b>Basket Reaver</b></td><td><b>Terion</b> wins!</td></tr><tr><td nowrap><b>Northern Digestion</b></td><td><b>Terion</b> wins!</td></tr><tr><td nowrap><b>Most Murderous</b></td><td><b>Terion</b> has defeated more bosses.</td></tr><tr><td colspan="2" height="5"></td></tr><tr><td colspan="2" align="center"><b>Terion</b> Wins!</td></tr><tr><td>Terion took an item:</td><td>scratch 'n' sniff dragon sticker</td></tr></table><center><p>You gain a little swagger <b>(+2)</b></center></div></div></td></tr></table></center></td></tr><tr><td height=4></td></tr></table><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Pick a Fight</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td>			<form action="peevpee.php" method="post">
				<input type=hidden name="action" value="fight" />
				<input type=hidden name="place" value="fight" />
				<input type=hidden name=pwd value="d3471704bf71f24aad30efef69306aa1" />
			
				Attack 
				<select name="ranked" id="ranked">
					<option value="1" selected="selected">a random opponent (+1 swagger)</option>
					<option value="2" >a random tougher opponent (+1 swagger, increased Fame gain)</option>
					<option value="0" >a specific player</option>
				</select>
				<span class="ranked0 ranked ">
				<input class=text type=text size=10 id="who" name=who value="" />!  
								<a id="searchp" href="searchplayer.php?for=pvp&hc=0" target="_new" class="if"><font size=1>[search players]</font></a>
								<div class="ift"></div>
				</span>
				<span class="ranked1 ranked"></span>
				<br />
				Use your
				<select name="stance"><option value="0" >Bear Hugs All Around</option><option value="1" >Beary Famous</option><option value="2" >Barely Dressed</option><option value="3" >Basket Reaver</option><option value="4" >Polar Envy</option><option value="5" >Maul Power</option><option value="6" >Grave Robbery</option><option value="7" >Most Things Eaten</option><option value="8" selected>Hibernation Ready</option><option value="9" >Visiting the Cousins</option><option value="10" >Northern Digestion</option><option value="11" >Most Murderous</option></select>				and try to take some
								<select name="attacktype">
					<option selected="selected"  class="ranked ranked1 ranked2"  value=fame>Fame<br>
					<option  class="ranked ranked1 ranked0 ranked2"  value=flowers>Flowers<br>
										<option  class="ranked ranked1 ranked0 ranked2"  selected="selected" value=lootwhatever>Phat Loot<br>
									</select>.
			
				<table>
				<tr>
					<td>If I win, shout:</td><td><input class=text type=text size=30 maxlength=50 name=winmessage value=""><input type=checkbox name=setdefaultwin><small>(set as default)</small></td>
				</tr>
				<tr>
					<td>If I lose, whimper:</td><td><input class=text type=text size=30 maxlength=50 name=losemessage value=""><input type=checkbox name=setdefaultlose><small>(set as default)</small></td>
				</tr>
				<tr><td colspan="2" align="center"><a href="peevpee.php?place=defmes"><small>[Set Defensive Messages]</small></a></td></tr>
				</table>
				<center>
					<p><input class=button type=submit value="A Fighter is You!" id="doattack">
					<p>You have 89 fights remaining today.</p>
				</center>
			</form>
			<p><center><a href="peevpee.php">Back to The Colosseum</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center><div id='menu' class='rcm'></div></body><script src="/ircm_extend.js"></script><script language="Javascript"> var notchat = true; var actions = { "sendmessage.php" : { "action" : 1, "title" : "Send Message", "arg" : "toid" }, "skillz.php" : { "action" : 1, "title" : "Buff", "arg" : "towho" }, "curse.php" : { "action" : 1, "title" : "Brick 'Em, Dano", "arg" : "whichitem=1649&targetplayer" }, "/./curse.php" : { "action" : 1, "title" : "Throw TP", "arg" : "whichitem=1923&targetplayer" }, "/msg" : { "action" : 3, "useid" : true, "query" : "Enter message to send to %:" }}; </script><script language="Javascript" src="/images/scripts/rcm.20101215.js"></script><script src="/onfocus.1.js"></script></html>
I'd guess it's something not picking up on "Terion took an item:</td><td>scratch 'n' sniff dragon sticker", but I'll let the code wizards who know what they're doing figure it out.

Edit:
Code:
> debug on

> pvp 5 loot hibernation

Use 5 PVP attacks to steal loot via Hibernation Ready
Attack 1 of 5
You challenged The Masked Monkey and won the PvP fight
Attack 2 of 5
You challenged PicklePizza and lost the PvP fight
Attack 3 of 5
You challenged whizstix and won the PvP fight
Attack 4 of 5
You challenged Everybody and lost the PvP fight
Attack 5 of 5
You challenged BacchicApollo and won the PvP fight
You have 84 attacks remaining.

> debug off
 

Attachments

  • DEBUG_20150630.txt
    72.4 KB · Views: 33
Last edited:
Top