New Content - Implemented Pyramid Revamp

Darzil

Developer
Doesn't using the initial wheel generate the container page? I thought I saw it starting there, but maybe that was just part of my wild clicks when manually running it. :D
The lower chamber is unlocked by the first non-combat in the middle chamber, the control room by the second.
 

Theraze

Active member
For some reason, I kept thinking that the carved wheel was still around. Grr. Sorry about that.
 

Crowther

Active member
For some reason, I kept thinking that the carved wheel was still around. Grr. Sorry about that.
Hmm. I didn't realize the crumbling wooden wheel wasn't the same thing. Or that the "down" adventures come on a fixed schedule.
 

Darzil

Developer
r14345 should allow adventuring in lower chamber. Probably can't test til tomorrow. Slow and Steady is slow.
 

Darzil

Developer
r14347 gets rid of lots of unneeded PyramidRequest code.

I think all that is outstanding is recognising the various possible results of visiting lower chamber, as the text on the wiki and the old PyramidRequest code is out of date. If anyone has a multi in position to visit each non Ed chamber without anything, with/without coin, with/without bomb to grab the html that can be added. If not, I'll get to it at some point.
 

Bale

Minion
r14345 should allow adventuring in lower chamber. Probably can't test til tomorrow. Slow and Steady is slow.

Just tested this in r14359. It did not work. Debug log:

Code:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
         KoLmafia v16.3 r14359, Windows XP, Java 1.7.0_55
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Please note: do not post this log in the KoLmafia thread of KoL's
 Gameplay-Discussion forum. If you would like the KoLmafia dev team
 to look at it, please write a bug report at kolmafia.us. Include
 specific information about what you were doing when you made this
 and include this log as an attachment.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Timestamp: Mon Aug 11 04:03:41 EDT 2014
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Starting relay script: relay_Guide.ash
Finished relay script: relay_Guide.ash
Validating adventure sequence...

Starting ASH script: preAdventureScript.ash
Finished ASH script: preAdventureScript.ash
Starting recovery script: Universal_recovery.ash
Finished recovery script: Universal_recovery.ash
Starting recovery script: Universal_recovery.ash
Finished recovery script: Universal_recovery.ash
Visit to Pyramid: The Lower Chambers in progress...
class net.sourceforge.kolmafia.request.AdventureRequest
Connecting to place.php...

Requesting: http://www.kingdomofloathing.com/place.php?whichplace=pyramid&action=pyramid_state0
3 request properties
Field: Cookie = [appserver=www9; PHPSESSID=vh8dq7fh9isiema9kol2prgh52]
Field: User-Agent = [KoLmafia v16.3]
Field: Content-Type = [application/x-www-form-urlencoded]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/place.php?whichplace=pyramid&action=pyramid_state0
10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Mon, 11 Aug 2014 08:03:45 GMT]
Field: Content-Length = [7256]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Connection = [keep-alive]
Field: Content-Type = [text/html; charset=UTF-8]
Field: X-Powered-By = [PHP/5.3.3]
Field: Server = [nginx/1.0.15]
Field: Pragma = [no-cache]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]

Retrieving server reply
ResponseText has 7256 characters.
<html><head><script language=Javascript><!--if (parent.frames.length == 0) location.href="game.php";//--></script><script language=Javascript src="http://images.kingdomofloathing.com/scripts/keybinds.min.2.js"></script><script language=Javascript src="http://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="http://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.20120523.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=78b57d792359e188871e866fcf7add20" 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=78b57d792359e188871e866fcf7add20" 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=78b57d792359e188871e866fcf7add20" 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=78b57d792359e188871e866fcf7add20" id="pircm_'+i.id+'"><b>Add to Display Case:</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 $('#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="http://images.kingdomofloathing.com/styles.20130904.css"><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>The Ancient Buried Pyramid</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><div id=background style='position:relative;'><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_bg.gif" width=400 height=300 border=0><div id=pyramid_back style=' position: absolute; top: 16; left: 306; height: 30; width: 115;'><a  href=place.php?whichplace=desertbeach><img src="http://images.kingdomofloathing.com/otherimages/1x1trans.gif" width=115 height=30 border=0 alt="Back to Desert Beach" title="Back to Desert Beach"></a></div><div id=pyramid_upper style=' position: absolute; top: 70; left: 154; height: 55; width: 85;'><a  href=adventure.php?snarfblat=406><img src="http://images.kingdomofloathing.com/otherimages/1x1trans.gif" width=85 height=55 border=0 alt="The Upper Chamber (1)" title="The Upper Chamber (1)"></a></div><div id=pyramid_middle style=' position: absolute; top: 127; left: 118; height: 71; width: 91;'><a  href=adventure.php?snarfblat=407><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_middle.gif" width=91 height=71 border=0 alt="The Middle Chamber (1)" title="The Middle Chamber (1)"></a></div><div id=pyramid_control style=' position: absolute; top: 143; left: 209; height: 55; width: 80;'><a  href=place.php?whichplace=pyramid&action=pyramid_control><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_controlroom.gif" width=80 height=55 border=0 alt="The Control Room" title="The Control Room"></a></div><div id=pyramid_state1a style=' position: absolute; top: 198; left: 80; height: 80; width: 235;'><a  href=place.php?whichplace=pyramid&action=pyramid_state1a><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_bottom1a.gif" width=235 height=80 border=0 alt="The Lower Chambers (1) (passageway to tomb)" title="The Lower Chambers (1) (passageway to tomb)"></a></div></div><p><a href=place.php?whichplace=desertbeach>Back to Desert Beach</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center></body></html>

[568] The Lower Chambers (Empty/Empty/Ed's Chamber)
Encounter: The Ancient Buried Pyramid
Processing results...

Starting ASH script: postAdventureScript.ash
Finished ASH script: postAdventureScript.ash
Starting ASH script: preAdventureScript.ash
Finished ASH script: preAdventureScript.ash
Starting recovery script: Universal_recovery.ash
Finished recovery script: Universal_recovery.ash
Starting recovery script: Universal_recovery.ash
Finished recovery script: Universal_recovery.ash
Visit to Pyramid: The Lower Chambers in progress...
class net.sourceforge.kolmafia.request.AdventureRequest
Connecting to place.php...

Requesting: http://www.kingdomofloathing.com/place.php?whichplace=pyramid&action=pyramid_state0
3 request properties
Field: Cookie = [appserver=www9; PHPSESSID=vh8dq7fh9isiema9kol2prgh52]
Field: User-Agent = [KoLmafia v16.3]
Field: Content-Type = [application/x-www-form-urlencoded]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/place.php?whichplace=pyramid&action=pyramid_state0
10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Mon, 11 Aug 2014 08:03:45 GMT]
Field: Content-Length = [7256]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Connection = [keep-alive]
Field: Content-Type = [text/html; charset=UTF-8]
Field: X-Powered-By = [PHP/5.3.3]
Field: Server = [nginx/1.0.15]
Field: Pragma = [no-cache]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]

Retrieving server reply
ResponseText has 7256 characters.
<html><head><script language=Javascript><!--if (parent.frames.length == 0) location.href="game.php";//--></script><script language=Javascript src="http://images.kingdomofloathing.com/scripts/keybinds.min.2.js"></script><script language=Javascript src="http://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="http://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.20120523.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=78b57d792359e188871e866fcf7add20" 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=78b57d792359e188871e866fcf7add20" 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=78b57d792359e188871e866fcf7add20" 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=78b57d792359e188871e866fcf7add20" id="pircm_'+i.id+'"><b>Add to Display Case:</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 $('#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="http://images.kingdomofloathing.com/styles.20130904.css"><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>The Ancient Buried Pyramid</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><div id=background style='position:relative;'><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_bg.gif" width=400 height=300 border=0><div id=pyramid_back style=' position: absolute; top: 16; left: 306; height: 30; width: 115;'><a  href=place.php?whichplace=desertbeach><img src="http://images.kingdomofloathing.com/otherimages/1x1trans.gif" width=115 height=30 border=0 alt="Back to Desert Beach" title="Back to Desert Beach"></a></div><div id=pyramid_upper style=' position: absolute; top: 70; left: 154; height: 55; width: 85;'><a  href=adventure.php?snarfblat=406><img src="http://images.kingdomofloathing.com/otherimages/1x1trans.gif" width=85 height=55 border=0 alt="The Upper Chamber (1)" title="The Upper Chamber (1)"></a></div><div id=pyramid_middle style=' position: absolute; top: 127; left: 118; height: 71; width: 91;'><a  href=adventure.php?snarfblat=407><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_middle.gif" width=91 height=71 border=0 alt="The Middle Chamber (1)" title="The Middle Chamber (1)"></a></div><div id=pyramid_control style=' position: absolute; top: 143; left: 209; height: 55; width: 80;'><a  href=place.php?whichplace=pyramid&action=pyramid_control><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_controlroom.gif" width=80 height=55 border=0 alt="The Control Room" title="The Control Room"></a></div><div id=pyramid_state1a style=' position: absolute; top: 198; left: 80; height: 80; width: 235;'><a  href=place.php?whichplace=pyramid&action=pyramid_state1a><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_bottom1a.gif" width=235 height=80 border=0 alt="The Lower Chambers (1) (passageway to tomb)" title="The Lower Chambers (1) (passageway to tomb)"></a></div></div><p><a href=place.php?whichplace=desertbeach>Back to Desert Beach</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center></body></html>

[568] The Lower Chambers (Empty/Empty/Ed's Chamber)
Encounter: The Ancient Buried Pyramid
Processing results...

Starting ASH script: postAdventureScript.ash
Finished ASH script: postAdventureScript.ash
Starting ASH script: preAdventureScript.ash
Finished ASH script: preAdventureScript.ash
Starting recovery script: Universal_recovery.ash
Finished recovery script: Universal_recovery.ash
Starting recovery script: Universal_recovery.ash
Finished recovery script: Universal_recovery.ash
Visit to Pyramid: The Lower Chambers in progress...
class net.sourceforge.kolmafia.request.AdventureRequest
Connecting to place.php...

Requesting: http://www.kingdomofloathing.com/place.php?whichplace=pyramid&action=pyramid_state0
3 request properties
Field: Cookie = [appserver=www9; PHPSESSID=vh8dq7fh9isiema9kol2prgh52]
Field: User-Agent = [KoLmafia v16.3]
Field: Content-Type = [application/x-www-form-urlencoded]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/place.php?whichplace=pyramid&action=pyramid_state0
10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Mon, 11 Aug 2014 08:03:45 GMT]
Field: Content-Length = [7256]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Connection = [keep-alive]
Field: Content-Type = [text/html; charset=UTF-8]
Field: X-Powered-By = [PHP/5.3.3]
Field: Server = [nginx/1.0.15]
Field: Pragma = [no-cache]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]

Retrieving server reply
ResponseText has 7256 characters.
<html><head><script language=Javascript><!--if (parent.frames.length == 0) location.href="game.php";//--></script><script language=Javascript src="http://images.kingdomofloathing.com/scripts/keybinds.min.2.js"></script><script language=Javascript src="http://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="http://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.20120523.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=78b57d792359e188871e866fcf7add20" 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=78b57d792359e188871e866fcf7add20" 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=78b57d792359e188871e866fcf7add20" 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=78b57d792359e188871e866fcf7add20" id="pircm_'+i.id+'"><b>Add to Display Case:</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 $('#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="http://images.kingdomofloathing.com/styles.20130904.css"><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>The Ancient Buried Pyramid</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><div id=background style='position:relative;'><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_bg.gif" width=400 height=300 border=0><div id=pyramid_back style=' position: absolute; top: 16; left: 306; height: 30; width: 115;'><a  href=place.php?whichplace=desertbeach><img src="http://images.kingdomofloathing.com/otherimages/1x1trans.gif" width=115 height=30 border=0 alt="Back to Desert Beach" title="Back to Desert Beach"></a></div><div id=pyramid_upper style=' position: absolute; top: 70; left: 154; height: 55; width: 85;'><a  href=adventure.php?snarfblat=406><img src="http://images.kingdomofloathing.com/otherimages/1x1trans.gif" width=85 height=55 border=0 alt="The Upper Chamber (1)" title="The Upper Chamber (1)"></a></div><div id=pyramid_middle style=' position: absolute; top: 127; left: 118; height: 71; width: 91;'><a  href=adventure.php?snarfblat=407><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_middle.gif" width=91 height=71 border=0 alt="The Middle Chamber (1)" title="The Middle Chamber (1)"></a></div><div id=pyramid_control style=' position: absolute; top: 143; left: 209; height: 55; width: 80;'><a  href=place.php?whichplace=pyramid&action=pyramid_control><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_controlroom.gif" width=80 height=55 border=0 alt="The Control Room" title="The Control Room"></a></div><div id=pyramid_state1a style=' position: absolute; top: 198; left: 80; height: 80; width: 235;'><a  href=place.php?whichplace=pyramid&action=pyramid_state1a><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_bottom1a.gif" width=235 height=80 border=0 alt="The Lower Chambers (1) (passageway to tomb)" title="The Lower Chambers (1) (passageway to tomb)"></a></div></div><p><a href=place.php?whichplace=desertbeach>Back to Desert Beach</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center></body></html>

[568] The Lower Chambers (Empty/Empty/Ed's Chamber)
Encounter: The Ancient Buried Pyramid
Processing results...

Starting ASH script: postAdventureScript.ash
Finished ASH script: postAdventureScript.ash
Starting ASH script: preAdventureScript.ash
Finished ASH script: preAdventureScript.ash
Starting recovery script: Universal_recovery.ash
Finished recovery script: Universal_recovery.ash
Starting recovery script: Universal_recovery.ash
Finished recovery script: Universal_recovery.ash
Visit to Pyramid: The Lower Chambers in progress...
class net.sourceforge.kolmafia.request.AdventureRequest
Connecting to place.php...

Requesting: http://www.kingdomofloathing.com/place.php?whichplace=pyramid&action=pyramid_state0
3 request properties
Field: Cookie = [appserver=www9; PHPSESSID=vh8dq7fh9isiema9kol2prgh52]
Field: User-Agent = [KoLmafia v16.3]
Field: Content-Type = [application/x-www-form-urlencoded]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/place.php?whichplace=pyramid&action=pyramid_state0
10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Mon, 11 Aug 2014 08:03:45 GMT]
Field: Content-Length = [7256]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Connection = [keep-alive]
Field: Content-Type = [text/html; charset=UTF-8]
Field: X-Powered-By = [PHP/5.3.3]
Field: Server = [nginx/1.0.15]
Field: Pragma = [no-cache]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]

Retrieving server reply
ResponseText has 7256 characters.
<html><head><script language=Javascript><!--if (parent.frames.length == 0) location.href="game.php";//--></script><script language=Javascript src="http://images.kingdomofloathing.com/scripts/keybinds.min.2.js"></script><script language=Javascript src="http://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="http://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.20120523.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=78b57d792359e188871e866fcf7add20" 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=78b57d792359e188871e866fcf7add20" 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=78b57d792359e188871e866fcf7add20" 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=78b57d792359e188871e866fcf7add20" id="pircm_'+i.id+'"><b>Add to Display Case:</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 $('#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="http://images.kingdomofloathing.com/styles.20130904.css"><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>The Ancient Buried Pyramid</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><div id=background style='position:relative;'><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_bg.gif" width=400 height=300 border=0><div id=pyramid_back style=' position: absolute; top: 16; left: 306; height: 30; width: 115;'><a  href=place.php?whichplace=desertbeach><img src="http://images.kingdomofloathing.com/otherimages/1x1trans.gif" width=115 height=30 border=0 alt="Back to Desert Beach" title="Back to Desert Beach"></a></div><div id=pyramid_upper style=' position: absolute; top: 70; left: 154; height: 55; width: 85;'><a  href=adventure.php?snarfblat=406><img src="http://images.kingdomofloathing.com/otherimages/1x1trans.gif" width=85 height=55 border=0 alt="The Upper Chamber (1)" title="The Upper Chamber (1)"></a></div><div id=pyramid_middle style=' position: absolute; top: 127; left: 118; height: 71; width: 91;'><a  href=adventure.php?snarfblat=407><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_middle.gif" width=91 height=71 border=0 alt="The Middle Chamber (1)" title="The Middle Chamber (1)"></a></div><div id=pyramid_control style=' position: absolute; top: 143; left: 209; height: 55; width: 80;'><a  href=place.php?whichplace=pyramid&action=pyramid_control><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_controlroom.gif" width=80 height=55 border=0 alt="The Control Room" title="The Control Room"></a></div><div id=pyramid_state1a style=' position: absolute; top: 198; left: 80; height: 80; width: 235;'><a  href=place.php?whichplace=pyramid&action=pyramid_state1a><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_bottom1a.gif" width=235 height=80 border=0 alt="The Lower Chambers (1) (passageway to tomb)" title="The Lower Chambers (1) (passageway to tomb)"></a></div></div><p><a href=place.php?whichplace=desertbeach>Back to Desert Beach</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center></body></html>

[568] The Lower Chambers (Empty/Empty/Ed's Chamber)
Encounter: The Ancient Buried Pyramid
Processing results...

Starting ASH script: postAdventureScript.ash
Finished ASH script: postAdventureScript.ash
Starting relay script: relay_Guide.ash
Starting ASH script: preAdventureScript.ash
Finished relay script: relay_Guide.ash
Finished ASH script: preAdventureScript.ash
Starting recovery script: Universal_recovery.ash
Finished recovery script: Universal_recovery.ash
Starting recovery script: Universal_recovery.ash
Finished recovery script: Universal_recovery.ash
Visit to Pyramid: The Lower Chambers in progress...
class net.sourceforge.kolmafia.request.AdventureRequest
Connecting to place.php...

Requesting: http://www.kingdomofloathing.com/place.php?whichplace=pyramid&action=pyramid_state0
3 request properties
Field: Cookie = [appserver=www9; PHPSESSID=vh8dq7fh9isiema9kol2prgh52]
Field: User-Agent = [KoLmafia v16.3]
Field: Content-Type = [application/x-www-form-urlencoded]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/place.php?whichplace=pyramid&action=pyramid_state0
10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Mon, 11 Aug 2014 08:03:46 GMT]
Field: Content-Length = [7256]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Connection = [keep-alive]
Field: Content-Type = [text/html; charset=UTF-8]
Field: X-Powered-By = [PHP/5.3.3]
Field: Server = [nginx/1.0.15]
Field: Pragma = [no-cache]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]

Retrieving server reply
ResponseText has 7256 characters.
<html><head><script language=Javascript><!--if (parent.frames.length == 0) location.href="game.php";//--></script><script language=Javascript src="http://images.kingdomofloathing.com/scripts/keybinds.min.2.js"></script><script language=Javascript src="http://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="http://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.20120523.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=78b57d792359e188871e866fcf7add20" 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=78b57d792359e188871e866fcf7add20" 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=78b57d792359e188871e866fcf7add20" 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=78b57d792359e188871e866fcf7add20" id="pircm_'+i.id+'"><b>Add to Display Case:</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 $('#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="http://images.kingdomofloathing.com/styles.20130904.css"><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>The Ancient Buried Pyramid</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><div id=background style='position:relative;'><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_bg.gif" width=400 height=300 border=0><div id=pyramid_back style=' position: absolute; top: 16; left: 306; height: 30; width: 115;'><a  href=place.php?whichplace=desertbeach><img src="http://images.kingdomofloathing.com/otherimages/1x1trans.gif" width=115 height=30 border=0 alt="Back to Desert Beach" title="Back to Desert Beach"></a></div><div id=pyramid_upper style=' position: absolute; top: 70; left: 154; height: 55; width: 85;'><a  href=adventure.php?snarfblat=406><img src="http://images.kingdomofloathing.com/otherimages/1x1trans.gif" width=85 height=55 border=0 alt="The Upper Chamber (1)" title="The Upper Chamber (1)"></a></div><div id=pyramid_middle style=' position: absolute; top: 127; left: 118; height: 71; width: 91;'><a  href=adventure.php?snarfblat=407><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_middle.gif" width=91 height=71 border=0 alt="The Middle Chamber (1)" title="The Middle Chamber (1)"></a></div><div id=pyramid_control style=' position: absolute; top: 143; left: 209; height: 55; width: 80;'><a  href=place.php?whichplace=pyramid&action=pyramid_control><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_controlroom.gif" width=80 height=55 border=0 alt="The Control Room" title="The Control Room"></a></div><div id=pyramid_state1a style=' position: absolute; top: 198; left: 80; height: 80; width: 235;'><a  href=place.php?whichplace=pyramid&action=pyramid_state1a><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_bottom1a.gif" width=235 height=80 border=0 alt="The Lower Chambers (1) (passageway to tomb)" title="The Lower Chambers (1) (passageway to tomb)"></a></div></div><p><a href=place.php?whichplace=desertbeach>Back to Desert Beach</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center></body></html>

[568] The Lower Chambers (Empty/Empty/Ed's Chamber)
Encounter: The Ancient Buried Pyramid
Processing results...

Starting ASH script: postAdventureScript.ash
Finished ASH script: postAdventureScript.ash
Starting ASH script: preAdventureScript.ash
Finished ASH script: preAdventureScript.ash
Starting recovery script: Universal_recovery.ash
Finished recovery script: Universal_recovery.ash
Starting recovery script: Universal_recovery.ash
Finished recovery script: Universal_recovery.ash
Visit to Pyramid: The Lower Chambers in progress...
class net.sourceforge.kolmafia.request.AdventureRequest
Connecting to place.php...

Requesting: http://www.kingdomofloathing.com/place.php?whichplace=pyramid&action=pyramid_state0
3 request properties
Field: Cookie = [appserver=www9; PHPSESSID=vh8dq7fh9isiema9kol2prgh52]
Field: User-Agent = [KoLmafia v16.3]
Field: Content-Type = [application/x-www-form-urlencoded]

Retrieving server reply...
KoLmafia declares world peace.

Retrieved: http://www.kingdomofloathing.com/place.php?whichplace=pyramid&action=pyramid_state0
10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Mon, 11 Aug 2014 08:03:46 GMT]
Field: Content-Length = [7256]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Connection = [keep-alive]
Field: Content-Type = [text/html; charset=UTF-8]
Field: X-Powered-By = [PHP/5.3.3]
Field: Server = [nginx/1.0.15]
Field: Pragma = [no-cache]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]

Retrieving server reply
ResponseText has 7256 characters.
<html><head><script language=Javascript><!--if (parent.frames.length == 0) location.href="game.php";//--></script><script language=Javascript src="http://images.kingdomofloathing.com/scripts/keybinds.min.2.js"></script><script language=Javascript src="http://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="http://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.20120523.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=78b57d792359e188871e866fcf7add20" 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=78b57d792359e188871e866fcf7add20" 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=78b57d792359e188871e866fcf7add20" 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=78b57d792359e188871e866fcf7add20" id="pircm_'+i.id+'"><b>Add to Display Case:</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 $('#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="http://images.kingdomofloathing.com/styles.20130904.css"><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>The Ancient Buried Pyramid</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><div id=background style='position:relative;'><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_bg.gif" width=400 height=300 border=0><div id=pyramid_back style=' position: absolute; top: 16; left: 306; height: 30; width: 115;'><a  href=place.php?whichplace=desertbeach><img src="http://images.kingdomofloathing.com/otherimages/1x1trans.gif" width=115 height=30 border=0 alt="Back to Desert Beach" title="Back to Desert Beach"></a></div><div id=pyramid_upper style=' position: absolute; top: 70; left: 154; height: 55; width: 85;'><a  href=adventure.php?snarfblat=406><img src="http://images.kingdomofloathing.com/otherimages/1x1trans.gif" width=85 height=55 border=0 alt="The Upper Chamber (1)" title="The Upper Chamber (1)"></a></div><div id=pyramid_middle style=' position: absolute; top: 127; left: 118; height: 71; width: 91;'><a  href=adventure.php?snarfblat=407><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_middle.gif" width=91 height=71 border=0 alt="The Middle Chamber (1)" title="The Middle Chamber (1)"></a></div><div id=pyramid_control style=' position: absolute; top: 143; left: 209; height: 55; width: 80;'><a  href=place.php?whichplace=pyramid&action=pyramid_control><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_controlroom.gif" width=80 height=55 border=0 alt="The Control Room" title="The Control Room"></a></div><div id=pyramid_state1a style=' position: absolute; top: 198; left: 80; height: 80; width: 235;'><a  href=place.php?whichplace=pyramid&action=pyramid_state1a><img src="http://images.kingdomofloathing.com/otherimages/pyramid/pyramid_bottom1a.gif" width=235 height=80 border=0 alt="The Lower Chambers (1) (passageway to tomb)" title="The Lower Chambers (1) (passageway to tomb)"></a></div></div><p><a href=place.php?whichplace=desertbeach>Back to Desert Beach</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center></body></html>

[568] The Lower Chambers (Empty/Empty/Ed's Chamber)
Encounter: The Ancient Buried Pyramid
Processing results...

KoLmafia declares world peace.
Starting relay script: relay_Guide.ash
Finished relay script: relay_Guide.ash
 

Darzil

Developer
Had you ever visited the container document? I guess maybe I'll set state to 1 when you first unlock the control room, which should help for people who haven't ascended since the change, don't visit the container document, and have the old 0 default value.

There are some issues I think also which I plan to investigate today. Was seeing some weird stuff. Managed to complete Ed via adventuring yesterday, but using lower chamber instead of the visit option in the control room wasn't working automatically.
 

Bale

Minion
I visited the container document. I know that I did, just to look at the lower chamber having being opened.

Weird thing though, I just restarted KoLmafia and tried it again. This time it worked! What state was properly set by the program restart?

I cannot account for that discrepancy.
 

Darzil

Developer
I think r14362 should fix being able to automate in the Lower Chambers. I could only find one message that didn't take a turn, if there are others please let me know. Tracking of response Text in Lower Chamber is not needed for pyramid position, as pyramid is displayed below the responseText, so it is parsed from there instead.

The only existing 'bug' I can now find is that "[416] The Lower Chambers (Empty/Empty/Ed's Chamber)" is logged twice when you automate killing Ed. I'm not worried about that one, though.
 
Top