Bug - Fixed Harvesting winter garden + ice machine results in incorrect inventory.

Veracity

Developer
Staff member
You put on some mittens and harvest all of the crops in your winter garden.

You acquire 3 handfuls of snow berries
You acquire 3 ice harvests

You hear the machine in your workshed randomly kick on, and when you go to investigate, you discover that it has produced some snow and ice!

You acquire an item: snow berries
You acquire an item: ice harvest
Yes.

gCLI:

Harvesting your garden
You acquire snow berries (3)
You acquire ice harvest (3)
You acquire an item: snow berries (3)
You acquire an item: ice harvest (3)
No.

I would guess this is a result of preprocessing and saving up results mod. Fortunately, I saved a DEBUG log:

Code:
<html><head><script language=Javascript><!--if (parent.frames.length == 0) location.href="game.php";top.charpane.location.href="charpane.php";//--></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 language=Javascript src="//images.kingdomofloathing.com/scripts/jquery-1.3.1.min.js"></script><script type="text/javascript" src="http://images.kingdomofloathing.com/scripts/pop_query.20130705.js"></script><script type="text/javascript" src="http://images.kingdomofloathing.com/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=fb83fd20463d229468ebf90f3c882b0c" id="pircm_'+i.id+'"><b>Auto-Sell ('+i.s+' meat):</b> '+dd+one+']</a>';if (ss) { contents += da + i.n + db;}contents += '</div>';}one = 'one'; ss=some;if (i.q==0) { shown++;contents += dc + 'inventory.php?action=closetpush&ajax=1&whichitem=IID&qty=NUM&pwd=fb83fd20463d229468ebf90f3c882b0c" id="pircm_'+i.id+'"><b>Closet:</b> '+dd+one+']</a>';if (ss) { contents += da + i.n + db;}contents += '</div>';}one = 'one'; ss=some;if (i.q==0 && i.g==0 && i.t==1) { shown++;contents += dc + 'managestore.php?action=additem&qty1=NUM&item1=IID&price1=&limit1=&ajax=1&pwd=fb83fd20463d229468ebf90f3c882b0c" id="pircm_'+i.id+'"><b>Stock in Mall:</b> '+dd+one+']</a>';if (ss) { contents += da + i.n + db;}contents += '</div>';}one = 'one'; ss=some;if (i.q==0) { shown++;contents += dc + 'managecollection.php?action=put&ajax=1&whichitem1=IID&howmany1=NUM&pwd=fb83fd20463d229468ebf90f3c882b0c" id="pircm_'+i.id+'"><b>Add to Display Case:</b> '+dd+one+']</a>';if (ss) { contents += da + i.n + db;}contents += '</div>';}one = 'one'; ss=some;if (i.q==0 && i.t==1) { shown++;contents += dc + 'clan_stash.php?action=addgoodies&ajax=1&item1=IID&qty1=NUM&pwd=fb83fd20463d229468ebf90f3c882b0c" id="pircm_'+i.id+'"><b>Contribute to Clan:</b> '+dd+one+']</a>';if (ss) { contents += da + i.n + db;}contents += '</div>';}one = 'one'; ss=some;if (i.u && i.u != ".") { shown++;contents += dc + 'inv_'+(i.u=="a"?"redir":(lab=(i.u=="u"?"use":(i.u=="e"?"eat":(i.u=="b"?"booze":(i.u=="s"?"spleen":"equip"))))))+'.php?ajax=1&whichitem=IID&itemquantity=NUM&quantity=NUM'+(i.u=="q"?"&action=equip":"")+'&pwd=fb83fd20463d229468ebf90f3c882b0c" id="pircm_'+i.id+'"><b>'+ucfirst(unescape(i.ou ? i.ou.replace(/\+/g," ") : (lab=="booze"?"drink":lab)))+':</b> '+dd+one+']</a>';if (ss && i.u != 'q' && !(i.u=='u' && i.m==0)) { 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><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></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>You put on some mittens and harvest all of the crops in your winter garden.<center><table class="item" style="float: none" rel="id=7071&s=5&q=0&d=1&g=0&t=1&n=3&m=0&p=0&u=a&ou=make+stuff"><tr><td><img src="http://images.kingdomofloathing.com/itemimages/snowberries.gif" alt="snow berries" title="snow berries" class=hand onClick='descitem(988776416)'></td><td valign=center class=effect>You acquire <b>3 handfuls of snow berries</b></td></tr></table></center><center><table class="item" style="float: none" rel="id=7072&s=5&q=0&d=1&g=0&t=1&n=3&m=0&p=0&u=a&ou=make+stuff"><tr><td><img src="http://images.kingdomofloathing.com/itemimages/iceharvest.gif" alt="ice harvest" title="ice harvest" class=hand onClick='descitem(978968903)'></td><td valign=center class=effect>You acquire <b>3 ice harvests</b></td></tr></table></center><p>You hear the machine in your workshed randomly kick on, and when you go to investigate, you discover that it has produced some snow and ice!<center><table class="item" style="float: none" rel="id=7071&s=5&q=0&d=1&g=0&t=1&n=1&m=0&p=0&u=a&ou=make+stuff"><tr><td><img src="http://images.kingdomofloathing.com/itemimages/snowberries.gif" alt="snow berries" title="snow berries" class=hand onClick='descitem(988776416)'></td><td valign=center class=effect>You acquire an item: <b>snow berries</b></td></tr></table></center><center><table class="item" style="float: none" rel="id=7072&s=5&q=0&d=1&g=0&t=1&n=1&m=0&p=0&u=a&ou=make+stuff"><tr><td><img src="http://images.kingdomofloathing.com/itemimages/iceharvest.gif" alt="ice harvest" title="ice harvest" class=hand onClick='descitem(978968903)'></td><td valign=center class=effect>You acquire an item: <b>ice harvest</b></td></tr></table></center></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>Your Campsite</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><table cellspacing=0 cellpadding=0><tr><td height=15 align=center><a href="campground.php?action=inspectdwelling"><img src="http://images.kingdomofloathing.com/otherimages/tinyglass.gif" width=15 height=15 border=0></a></td><td></td><td></td><td></td><td></td></tr><tr><td width=100 height=100><a href="campground.php?action=rest"><img src="http://images.kingdomofloathing.com/otherimages/campground/rest4_free.gif" width=100 height=100 border=0 alt="Rest in Your Dwelling" title="Rest in Your Dwelling"></a></td><td width=100 height=100><a href=campground.php?action=workshed><img src=http://images.kingdomofloathing.com/otherimages/campground/workshed.gif width=100 height=100 border=0 alt="Your Workshed" title="Your Workshed"></a></td><td width=100 height=100><img src="http://images.kingdomofloathing.com/otherimages/plains/plains1.gif" width=100 height=100></td><td width=100 height=100><img src="http://images.kingdomofloathing.com/otherimages/plains/plains2.gif" width=100 height=100></td><td width=100 height=100><a href="closet.php"><img src="http://images.kingdomofloathing.com/otherimages/campground/closet.gif" width=100 height=100 border=0 alt="Your Colossal Closet" title="Your Colossal Closet"></a></td></tr><tr><td width=100 height=100><a href="campground.php?action=telescope"><img src="http://images.kingdomofloathing.com/otherimages/campground/telescope.gif" width=100 height=100 border=0 alt="A Telescope" title="A Telescope"></a></td><td width=100 height=50><img src="http://images.kingdomofloathing.com/otherimages/campground/smallblank1.gif" width=100 height=50></td><td width=100 height=100><img src="http://images.kingdomofloathing.com/otherimages/plains/plains2.gif" width=100 height=100></td><td width=100 height=100><a href="trophies.php"><img src="http://images.kingdomofloathing.com/otherimages/campground/trophycase.gif" width=100 height=100 border=0 alt="Trophy Case" title="Trophy Case"></a></td><td width=100 height=100><a href="campground.php?action=bookshelf"><img src="http://images.kingdomofloathing.com/otherimages/campground/bookshelf.gif" width=100 height=100 border=0 alt="Your Mystical Bookshelf" title="Your Mystical Bookshelf"></a></td></tr><tr><td width=100 height=100><img src=http://images.kingdomofloathing.com/otherimages/campground/wintergarden0.gif width=100 height=100 border=0 alt="A Winter Garden (no growth)" title="A Winter Garden (no growth)"></td><td width=100 height=100><a href=campground.php?action=inspectkitchen><img src="http://images.kingdomofloathing.com/otherimages/campground/kitchen.gif" width=100 height=100 border=0 alt="Your Kitchen" title="Your Kitchen"></a></td><td width=100 height=100><img src="http://images.kingdomofloathing.com/otherimages/plains/plains1.gif" width=100 height=100></td><td width=100 height=100><a href="familiar.php"><img src="http://images.kingdomofloathing.com/otherimages/campground/bigterrarium.gif" width=100 height=100 border=0 alt="Familiar-Gro Terrarium" title="Familiar-Gro Terrarium"></a></td><td width=100 height=100><a href="questlog.php"><img src="http://images.kingdomofloathing.com/otherimages/campground/questlog2.gif" width=100 height=100 border=0 alt="Your Quest Log" title="Your Quest Log"></a></td></tr><tr><td width=100 height=100><img src="http://images.kingdomofloathing.com/otherimages/plains/plains8.gif" width=100 height=100></td><td width=100 height=100><img src="http://images.kingdomofloathing.com/otherimages/plains/plains1.gif" width=100 height=100></td><td width=100 height=100><img src="http://images.kingdomofloathing.com/otherimages/plains/plains7.gif" width=100 height=100></td><td width=100 height=100><img src="http://images.kingdomofloathing.com/otherimages/plains/plains9.gif" width=100 height=100></td><td width=100 height=100><a href="campground.php?action=stone"><img src="http://images.kingdomofloathing.com/otherimages/campground/hippystone.gif" width=100 height=100 border=0 alt="Magical Mystical Hippy Stone" title="Magical Mystical Hippy Stone"></a></td></tr></table></center><p><center><a href="main.php">Back to the Main Map</a></centeR></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center></body></html>
 
Top