Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- KoLmafia v20.3 r20028, Windows 10, Java 11.0.1
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- 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: Tue Apr 21 15:00:29 EDT 2020
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- -----From Browser-----
- GET /adventure.php?snarfblat=364 HTTP/1.1
- Host: 127.0.0.1:60080
- Connection: keep-alive
- Upgrade-Insecure-Requests: 1
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36
- Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
- Sec-Fetch-Site: same-origin
- Sec-Fetch-Mode: navigate
- Sec-Fetch-User: ?1
- Sec-Fetch-Dest: frame
- Referer: http://127.0.0.1:60080/place.php?whichplace=desertbeach
- Accept-Encoding: gzip, deflate, br
- Accept-Language: en-US,en;q=0.9
- Cookie: AWSALB=k99o+ZOKtHJMVuuofkrCKhvu5zh9g93wz9fsurQzdSwUdC7plcoLPgcC9v+tQhg9hL3yeOLBIiXwTfJQXv6gCLAaZzoihjdOsRE/0h450YjTSCxSSr4Qg/GH26Fx
- dnt: 1
- ----------
- class net.sourceforge.kolmafia.request.RelayRequest
- Connecting to adventure.php...
- Requesting: https://www.kingdomofloathing.com/adventure.php?snarfblat=364
- 3 request properties
- Field: Cookie = [PHPSESSID=gqft7uqaeotp0g9sj4epfd8vd7; AWSALB=k99o+ZOKtHJMVuuofkrCKhvu5zh9g93wz9fsurQzdSwUdC7plcoLPgcC9v+tQhg9hL3yeOLBIiXwTfJQXv6gCLAaZzoihjdOsRE/0h450YjTSCxSSr4Qg/GH26Fx]
- Field: User-Agent = [KoLmafia v20.3]
- Field: Accept-Encoding = [gzip]
- Retrieving server reply...
- Retrieved: https://www.kingdomofloathing.com/adventure.php?snarfblat=364
- 12 header fields
- Field: Transfer-Encoding = [chunked]
- Field: null = [HTTP/1.1 302 Moved Temporarily]
- Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
- Field: Server = [nginx/1.8.1]
- Field: Connection = [keep-alive]
- Field: Set-Cookie = [AWSALBCORS=gYB+xDKyIc2fBzoqW8QIYprfZ3ECnfCkKs0DVUN8L6K7mg6MRYp3OwmHaGjqgIDUK70+XdoyJZKg0ifGkr8Vw0Qn5Olntj/QRfu7o2iuyEGSbR33sZIqd9fgP3yU; Expires=Tue, 28 Apr 2020 19:00:32 GMT; Path=/; SameSite=None; Secure, AWSALB=gYB+xDKyIc2fBzoqW8QIYprfZ3ECnfCkKs0DVUN8L6K7mg6MRYp3OwmHaGjqgIDUK70+XdoyJZKg0ifGkr8Vw0Qn5Olntj/QRfu7o2iuyEGSbR33sZIqd9fgP3yU; Expires=Tue, 28 Apr 2020 19:00:32 GMT; Path=/]
- Field: Pragma = [no-cache]
- Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
- Field: Date = [Tue, 21 Apr 2020 19:00:32 GMT]
- Field: Location = [fight.php?ireallymeanit=1587495632]
- Field: X-Powered-By = [PHP/5.3.29]
- Field: Content-Type = [text/html]
- -----To Browser-----
- HTTP/1.1 302 Found
- Date: Tue Apr 21 15:00:32 EDT 2020
- Server: KoLmafia v20.3
- Location: fight.php?ireallymeanit=1587495632
- Connection: close
- ----------
- -----From Browser-----
- GET /fight.php?ireallymeanit=1587495632 HTTP/1.1
- Host: 127.0.0.1:60080
- Connection: keep-alive
- Upgrade-Insecure-Requests: 1
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36
- Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
- Sec-Fetch-Site: same-origin
- Sec-Fetch-Mode: navigate
- Sec-Fetch-User: ?1
- Sec-Fetch-Dest: frame
- Referer: http://127.0.0.1:60080/place.php?whichplace=desertbeach
- Accept-Encoding: gzip, deflate, br
- Accept-Language: en-US,en;q=0.9
- Cookie: AWSALB=k99o+ZOKtHJMVuuofkrCKhvu5zh9g93wz9fsurQzdSwUdC7plcoLPgcC9v+tQhg9hL3yeOLBIiXwTfJQXv6gCLAaZzoihjdOsRE/0h450YjTSCxSSr4Qg/GH26Fx
- dnt: 1
- ----------
- Starting relay script: fight.ash
- class net.sourceforge.kolmafia.request.RelayRequest
- Connecting to fight.php...
- Requesting: https://www.kingdomofloathing.com/fight.php?ireallymeanit=1587495632
- 3 request properties
- Field: Cookie = [PHPSESSID=gqft7uqaeotp0g9sj4epfd8vd7; AWSALB=gYB+xDKyIc2fBzoqW8QIYprfZ3ECnfCkKs0DVUN8L6K7mg6MRYp3OwmHaGjqgIDUK70+XdoyJZKg0ifGkr8Vw0Qn5Olntj/QRfu7o2iuyEGSbR33sZIqd9fgP3yU]
- Field: User-Agent = [KoLmafia v20.3]
- Field: Accept-Encoding = [gzip]
- Retrieving server reply...
- Retrieved: https://www.kingdomofloathing.com/fight.php?ireallymeanit=1587495632
- 13 header fields
- Field: Transfer-Encoding = [chunked]
- Field: null = [HTTP/1.1 200 OK]
- Field: Server = [nginx/1.8.1]
- Field: Connection = [keep-alive]
- Field: Pragma = [no-cache]
- Field: Date = [Tue, 21 Apr 2020 19:00:32 GMT]
- Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
- Field: Content-Encoding = [gzip]
- Field: Vary = [Accept-Encoding]
- Field: Set-Cookie = [AWSALBCORS=MLLDc7kus5K16zZ368ZZ8E+YX6jR+nUYFUk9An8Jt9XDMODgbpdxrIXvvBFMHCep7C81abcPB5QoWh6nF3EPr4DVnEz3QH1ZWUQuX1z6J9G64mHvjl9KpQiTIXZw; Expires=Tue, 28 Apr 2020 19:00:32 GMT; Path=/; SameSite=None; Secure, AWSALB=MLLDc7kus5K16zZ368ZZ8E+YX6jR+nUYFUk9An8Jt9XDMODgbpdxrIXvvBFMHCep7C81abcPB5QoWh6nF3EPr4DVnEz3QH1ZWUQuX1z6J9G64mHvjl9KpQiTIXZw; Expires=Tue, 28 Apr 2020 19:00:32 GMT; Path=/]
- Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
- Field: X-Powered-By = [PHP/5.3.29]
- Field: Content-Type = [text/html; charset=UTF-8]
- Retrieving server reply
- ResponseText has 9563 characters.
- <html><head>
- <script language=Javascript>
- <!--
- if (parent.frames.length == 0) location.href="game.php";
- //-->
- </script>
- <script language=Javascript src="https://s3.amazonaws.com/images.kingdomofloathing.com/scripts/keybinds.min.2.js"></script>
- <script language=Javascript src="https://s3.amazonaws.com/images.kingdomofloathing.com/scripts/window.20111231.js"></script>
- <script language=Javascript src="https://s3.amazonaws.com/images.kingdomofloathing.com/scripts/jquery-1.3.1.min.js"></script>
- <script language="javascript" src="https://s3.amazonaws.com/images.kingdomofloathing.com/scripts/core.js"></script><script language="javascript" src="https://s3.amazonaws.com/images.kingdomofloathing.com/scripts/ocrs.20200128.js"></script><link rel="stylesheet" href="https://s3.amazonaws.com/images.kingdomofloathing.com/scripts/ocrs.css" /><script src="https://s3.amazonaws.com/images.kingdomofloathing.com/scripts/fight.js"></script>
- <script>
- var onturn = 1;
- </script> <link rel="stylesheet" type="text/css" href="https://s3.amazonaws.com/images.kingdomofloathing.com/styles.20151006.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>Combat!</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><table><tr><td><div id=monsterpic style='position: relative;'> <img id='monpic' crossorigin="anonymous" src="/iii/adventureimages/centipede.gif?a=1587495632" width=100 height=100><img crossorigin="anonymous" src="https://s3.amazonaws.com/images.kingdomofloathing.com/otherimages/powerpixels/eyes4.png" style="position: absolute; top: 15px; left: -5px" id='peyes' /></div></td><td valign=center>You're fighting <span id='monname'>a giant giant giant centipede</span></td><td width=30></td><td><table><tr><td width=30><img src=https://s3.amazonaws.com/images.kingdomofloathing.com/itemimages/nicesword.gif width=30 height=30 alt="Enemy's Attack Power" title="Enemy's Attack Power"></td><td width=50 valign=center align=left><b><font size=+2>144</font></b></td><td><img src=https://s3.amazonaws.com/images.kingdomofloathing.com/itemimages/stinkbug.gif alt="This monster is a Bug" title="This monster is a Bug"></td></tr><tr><td width=30><img src=https://s3.amazonaws.com/images.kingdomofloathing.com/itemimages/whiteshield.gif width=30 height=30 alt="Enemy's Defense" title="Enemy's Defense"></td><td width=50 valign=center align=left><b><font size=+2>123</font></b></td><td><img src=https://s3.amazonaws.com/images.kingdomofloathing.com/itemimages/circle.gif width=30 height=30 alt="This monster has no particular elemental alignment." title="This monster has no particular elemental alignment."></td></tr><tr><td width=30><img src=https://s3.amazonaws.com/images.kingdomofloathing.com/itemimages/hp.gif width=30 height=30 alt="Enemy's Hit Points" title="Enemy's Hit Points"></td><td width=50 valign=center align=left><b><font size=+2>143</font></b></td><td><img src=https://s3.amazonaws.com/images.kingdomofloathing.com/itemimages/watch.gif alt="Initiative +50%" title="Initiative +50%"></td></tr></table></td></tr></table><br><script type="text/javascript">var monsterstats = {"hp":"143","def":"123","off":"144"};</script></center><blockquote>The centipedes of Loathing tend to be about two inches long. The giant centipedes are about a foot long, and the giant giant centipedes are about 6 feet long. You could probably extrapolate, then, that this one is 36 feet long, but you're too busy trying to avoid being bitten to extrapolate much of anything.</blockquote><center><p><p>You get the jump on it.<p><script>var ocrs = ["powerPixel"];</script><p><center><table><a name="end"></a><tr><td><center><Table cellpadding=10 cellspacing=0><Tr><td></td><td valign=top><form name=mariosk7331 action=fight.php?method=post><input type=hidden name=action value=skill><input type=hidden name=whichskill value=7331><input type=submit class=button onclick="return killforms(this);" value="Fireball Toss"></form><form name=mariosk7332 action=fight.php?method=post><input type=hidden name=action value=skill><input type=hidden name=whichskill value=7332><input type=submit class=button onclick="return killforms(this);" value="Juggle Fireballs (1PP)"></form><form name=mariosk7333 action=fight.php?method=post><input type=hidden name=action value=skill><input type=hidden name=whichskill value=7333><input type=submit class=button onclick="return killforms(this);" value="Fireball Barrage (2PP)"></form></td><td valign=top><form name=mariosk7334 action=fight.php?method=post><input type=hidden name=action value=skill><input type=hidden name=whichskill value=7334><input type=submit class=button onclick="return killforms(this);" value="Jump Attack"></form><form name=mariosk7335 action=fight.php?method=post><input type=hidden name=action value=skill><input type=hidden name=whichskill value=7335><input type=submit class=button onclick="return killforms(this);" value="Spin Jump (1PP)"></form><form name=mariosk7336 action=fight.php?method=post><input type=hidden name=action value=skill><input type=hidden name=whichskill value=7336><input type=submit class=button onclick="return killforms(this);" value="Multi-Bounce (2PP)"></form></td></tr></table></center></td></tr><form name=useitem action=fight.php method=post><input type=hidden name=action value="useitem"><tr><td align=left><select name=whichitem><option value=0>(select an item)</option><option picurl=beehive value=7969>beehive (1)</option><option picurl=bubblebath value=1965>bottle of Monsieur Bubble (3)</option><option picurl=topgear value=6284>brass gear (2)</option><option picurl=cast value=474>cast (2)</option><option picurl=butterfly value=615>chaos butterfly (1)</option><option picurl=napkin value=2956>cocktail napkin (2)</option><option picurl=cookbook value=536>dictionary (1)</option><option picurl=disease value=452>disease (2)</option><option picurl=camera value=7266>disposable instant camera (1)</option><option picurl=electronicskit value=9952>electronics kit (9)</option><option picurl=potion4 value=2091>fancy bath salts (4)</option><option picurl=gascan value=9947>gas can (5)</option><option picurl=glarkcable value=7246>glark cable (1)</option><option picurl=hairwad value=1922>gob of wet hair (2)</option><option picurl=sandgrain value=10259>grain of sand (51)</option><option picurl=inkwell value=1958>inkwell (4)</option><option picurl=deadbootlet value=9968>jam band bootleg (8)</option><option picurl=firecrack value=747>Knob Goblin firecracker (2)</option><option picurl=soda value=357>Mountain Stream soda (4)</option><option picurl=pencilstub value=6418>pencil stub (2)</option><option picurl=torpedo value=630>photoprotoneutron torpedo (3)</option><option picurl=hole value=613>plot hole (1)</option><option picurl=potion1 value=610>procrastination potion (1)</option><option picurl=canlid value=559>razor-sharp can lid (1)</option><option picurl=biscuit value=563>sonar-in-a-biscuit (1)</option><option picurl=tripple value=6027>Space Tours Tripple (2)</option><option picurl=mario_mushroom3 value=10457>super deluxe mushroom (6)</option><option picurl=tardiskey value=6029>T.U.R.D.S. Key (1)</option><option picurl=tatpaper value=1959>tattered scrap of paper (3)</option><option picurl=tinydress value=9963>very small red dress (6)</option><option picurl=potion5 value=469>wussiness potion (2)</option><option picurl=yeinsult value=6278>Ye Olde Medieval Insult (2)</option></select> <input class=button type=submit onclick="return killforms(this);" value="Use Item"></td></tr></form><form name=skill action=fight.php method=post><input type=hidden name=action value="skill"><tr><td align=center><select name=whichskill><option value='none'>(select a skill)</option><option value="15" picurl="commacha" >CLEESH (10 Mana Points)</option><option value="7336" picurl="mario_multibounce" selected>Multi-Bounce (2 PP)</option><option value="7335" picurl="mario_spinjump" >Spin Jump (1 PP)</option><option value="7334" picurl="mario_jump" >Jump Attack (0 Mana Points)</option><option value="7333" picurl="mario_barrage" >Fireball Barrage (2 PP)</option><option value="7332" picurl="mario_juggle" >Juggle Fireballs (1 PP)</option><option value="7331" picurl="mario_fireball" >Fireball Toss (0 Mana Points)</option><option value="7327" picurl="shrinkenemy" >CHEAT CODE: Shrink Enemy (5 of today's remaining 100%)</option><option value="7326" picurl="replaceenemy" >CHEAT CODE: Replace Enemy (10 of today's remaining 100%)</option><option value="7320" picurl="retrospecs" >Detect Weakness (0 Mana Points)</option><option value="7310" picurl="bat" >Become a Bat (10 time(s) remaining today))</option><option value="7309" picurl="puff" >Become a Cloud of Mist (10 time(s) remaining today))</option><option value="7308" picurl="wolfmask" >Become a Wolf (10 time(s) remaining today))</option><option value="7297" picurl="songboombox" >Sing Along (0 Mana Points)</option></select> <input class=button type=submit onclick="return killforms(this);" value="Use Skill"></td></tr></form><form name=runaway action=fight.php method=post><input type=hidden name=action value="runaway"><tr><td align=center><input class=button onclick="return killforms(this);" type=submit value="Run Away"></td></tr></form></table></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center></body></html>
- [388] The Arid, Extra-Dry Desert
- Encounter: giant giant giant centipede
- Round 0: Arbos wins initiative!
- <td>
- <center>
- <table>
- <tbody>
- <tr>
- <td>
- <div id="monsterpic" style="position: relative;">
- <img id="monpic" crossorigin="anonymous" src="/iii/adventureimages/centipede.gif?a=1587495632" width="100" height="100">
- <img crossorigin="anonymous" src="https://s3.amazonaws.com/images.kingdomofloathing.com/otherimages/powerpixels/eyes4.png" style="position: absolute; top: 15px; left: -5px" id="peyes">
- <td valign="center">
- You're fighting
- <span id="monname">
- a giant giant giant centipede
- <td width="30">
- <td>
- <table>
- <tbody>
- <tr>
- <td width="30">
- <img src="https://s3.amazonaws.com/images.kingdomofloathing.com/itemimages/nicesword.gif" width="30" height="30" alt="Enemy's Attack Power" title="Enemy's Attack Power">
- <td width="50" valign="center" align="left">
- <b>
- <font size="+2">
- 144
- <td>
- <img src="https://s3.amazonaws.com/images.kingdomofloathing.com/itemimages/stinkbug.gif" alt="This monster is a Bug" title="This monster is a Bug">
- <tr>
- <td width="30">
- <img src="https://s3.amazonaws.com/images.kingdomofloathing.com/itemimages/whiteshield.gif" width="30" height="30" alt="Enemy's Defense" title="Enemy's Defense">
- <td width="50" valign="center" align="left">
- <b>
- <font size="+2">
- 123
- <td>
- <img src="https://s3.amazonaws.com/images.kingdomofloathing.com/itemimages/circle.gif" width="30" height="30" alt="This monster has no particular elemental alignment." title="This monster has no particular elemental alignment.">
- <tr>
- <td width="30">
- <img src="https://s3.amazonaws.com/images.kingdomofloathing.com/itemimages/hp.gif" width="30" height="30" alt="Enemy's Hit Points" title="Enemy's Hit Points">
- <td width="50" valign="center" align="left">
- <b>
- <font size="+2">
- 143
- <td>
- <img src="https://s3.amazonaws.com/images.kingdomofloathing.com/itemimages/watch.gif" alt="Initiative +50%" title="Initiative +50%">
- <br>
- <blockquote>
- The centipedes of Loathing tend to be about two inches long. The giant centipedes are about a foot long, and the giant giant centipedes are about 6 feet long. You could probably extrapolate, then, that this one is 36 feet long, but you're too busy trying to avoid being bitten to extrapolate much of anything.
- <center>
- <p>
- <p>
- You get the jump on it.
- <p>
- <p>
- <center>
- <a name="end">
- <table>
- <tbody>
- <tr>
- <td>
- <center>
- <table cellpadding="10" cellspacing="0">
- <tbody>
- <tr>
- <td>
- <td valign="top">
- <form name="mariosk7331" action="fight.php?method=post">
- <input type="hidden" name="action" value="skill">
- <input type="hidden" name="whichskill" value="7331">
- <input type="submit" class="button" onclick="return killforms(this);" value="Fireball Toss">
- <form name="mariosk7332" action="fight.php?method=post">
- <input type="hidden" name="action" value="skill">
- <input type="hidden" name="whichskill" value="7332">
- <input type="submit" class="button" onclick="return killforms(this);" value="Juggle Fireballs (1PP)">
- <form name="mariosk7333" action="fight.php?method=post">
- <input type="hidden" name="action" value="skill">
- <input type="hidden" name="whichskill" value="7333">
- <input type="submit" class="button" onclick="return killforms(this);" value="Fireball Barrage (2PP)">
- <td valign="top">
- <form name="mariosk7334" action="fight.php?method=post">
- <input type="hidden" name="action" value="skill">
- <input type="hidden" name="whichskill" value="7334">
- <input type="submit" class="button" onclick="return killforms(this);" value="Jump Attack">
- <form name="mariosk7335" action="fight.php?method=post">
- <input type="hidden" name="action" value="skill">
- <input type="hidden" name="whichskill" value="7335">
- <input type="submit" class="button" onclick="return killforms(this);" value="Spin Jump (1PP)">
- <form name="mariosk7336" action="fight.php?method=post">
- <input type="hidden" name="action" value="skill">
- <input type="hidden" name="whichskill" value="7336">
- <input type="submit" class="button" onclick="return killforms(this);" value="Multi-Bounce (2PP)">
- <form name="useitem" action="fight.php" method="post">
- <input type="hidden" name="action" value="useitem">
- <tr>
- <td align="left">
- <select name="whichitem">
- <option value="0">
- (select an item)
- <option picurl="beehive" value="7969">
- beehive (1)
- <option picurl="bubblebath" value="1965">
- bottle of Monsieur Bubble (3)
- <option picurl="topgear" value="6284">
- brass gear (2)
- <option picurl="cast" value="474">
- cast (2)
- <option picurl="butterfly" value="615">
- chaos butterfly (1)
- <option picurl="napkin" value="2956">
- cocktail napkin (2)
- <option picurl="cookbook" value="536">
- dictionary (1)
- <option picurl="disease" value="452">
- disease (2)
- <option picurl="camera" value="7266">
- disposable instant camera (1)
- <option picurl="electronicskit" value="9952">
- electronics kit (9)
- <option picurl="potion4" value="2091">
- fancy bath salts (4)
- <option picurl="gascan" value="9947">
- gas can (5)
- <option picurl="glarkcable" value="7246">
- glark cable (1)
- <option picurl="hairwad" value="1922">
- gob of wet hair (2)
- <option picurl="sandgrain" value="10259">
- grain of sand (51)
- <option picurl="inkwell" value="1958">
- inkwell (4)
- <option picurl="deadbootlet" value="9968">
- jam band bootleg (8)
- <option picurl="firecrack" value="747">
- Knob Goblin firecracker (2)
- <option picurl="soda" value="357">
- Mountain Stream soda (4)
- <option picurl="pencilstub" value="6418">
- pencil stub (2)
- <option picurl="torpedo" value="630">
- photoprotoneutron torpedo (3)
- <option picurl="hole" value="613">
- plot hole (1)
- <option picurl="potion1" value="610">
- procrastination potion (1)
- <option picurl="canlid" value="559">
- razor-sharp can lid (1)
- <option picurl="biscuit" value="563">
- sonar-in-a-biscuit (1)
- <option picurl="tripple" value="6027">
- Space Tours Tripple (2)
- <option picurl="mario_mushroom3" value="10457">
- super deluxe mushroom (6)
- <option picurl="tardiskey" value="6029">
- T.U.R.D.S. Key (1)
- <option picurl="tatpaper" value="1959">
- tattered scrap of paper (3)
- <option picurl="tinydress" value="9963">
- very small red dress (6)
- <option picurl="potion5" value="469">
- wussiness potion (2)
- <option picurl="yeinsult" value="6278">
- Ye Olde Medieval Insult (2)
- <input class="button" type="submit" onclick="return killforms(this);" value="Use Item">
- <form name="skill" action="fight.php" method="post">
- <input type="hidden" name="action" value="skill">
- <tr>
- <td align="center">
- <select name="whichskill">
- <option value="none">
- (select a skill)
- <option value="15" picurl="commacha">
- CLEESH (10 Mana Points)
- <option value="7336" picurl="mario_multibounce" selected="selected">
- Multi-Bounce (2 PP)
- <option value="7335" picurl="mario_spinjump">
- Spin Jump (1 PP)
- <option value="7334" picurl="mario_jump">
- Jump Attack (0 Mana Points)
- <option value="7333" picurl="mario_barrage">
- Fireball Barrage (2 PP)
- <option value="7332" picurl="mario_juggle">
- Juggle Fireballs (1 PP)
- <option value="7331" picurl="mario_fireball">
- Fireball Toss (0 Mana Points)
- <option value="7327" picurl="shrinkenemy">
- CHEAT CODE: Shrink Enemy (5 of today's remaining 100%)
- <option value="7326" picurl="replaceenemy">
- CHEAT CODE: Replace Enemy (10 of today's remaining 100%)
- <option value="7320" picurl="retrospecs">
- Detect Weakness (0 Mana Points)
- <option value="7310" picurl="bat">
- Become a Bat (10 time(s) remaining today))
- <option value="7309" picurl="puff">
- Become a Cloud of Mist (10 time(s) remaining today))
- <option value="7308" picurl="wolfmask">
- Become a Wolf (10 time(s) remaining today))
- <option value="7297" picurl="songboombox">
- Sing Along (0 Mana Points)
- <input class="button" type="submit" onclick="return killforms(this);" value="Use Skill">
- <form name="runaway" action="fight.php" method="post">
- <input type="hidden" name="action" value="runaway">
- <tr>
- <td align="center">
- <input class="button" onclick="return killforms(this);" type="submit" value="Run Away">
- Finished relay script: fight.ash (12832 bytes)
- -----To Browser-----
- HTTP/1.1 200 OK
- Date: Tue Apr 21 15:00:32 EDT 2020
- Server: KoLmafia v20.3
- Content-Type: text/html; charset=UTF-8
- Cache-Control: no-cache, must-revalidate
- Pragma: no-cache
- Connection: close
- <html><head>
- <script language=Javascript>
- <!--
- if (parent.frames.length == -1) location.href="game.php";
- //-->
- </script>
- <script language=Javascript src="/images/scripts/keybinds.min.2.js"></script>
- <script language=Javascript src="/images/scripts/window.20111231.js"></script>
- <script language=Javascript src="/images/scripts/jquery-1.3.1.min.js"></script>
- <script language="javascript" src="/images/scripts/core.js"></script><script language="javascript" src="/images/scripts/ocrs.20200128.js"></script><link rel="stylesheet" href="/images/scripts/ocrs.css" /><script src="/images/scripts/fight.js"></script>
- <script>
- var onturn = 1;
- </script> <link rel="stylesheet" type="text/css" href="/images/styles.20151006.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 src="/images/jquery-1.9.1.js"></script><script src="/stationarybuttons.1.js"></script><link rel="stylesheet" type="text/css" href="/stationarybuttons.2.css"><script src="/hotkeys.js"></script><script language="Javascript" src="/basics.js"></script><link rel="stylesheet" href="/basics.1.css" /></head>
- <body onkeyup="handleCombatHotkey(event,false);" onkeydown="handleCombatHotkey(event,true);" ><div id="page"><div id="mafiabuttons"><center><table width="95%"><tr><td align=left><div id="btnwrap"><input type="button" onClick="document.location.href='fight.php?action=custom';void(0);" value="script" id="defaultButton"> <input type="button" onClick="document.location.href='fight.php?action=skill&whichskill=7336';void(0);" value="multi-bounce"> <input type="button" onClick="document.location.href='fight.php?action=skill&whichskill=7335';void(0);" value="spin jump"> <input type="button" onClick="document.location.href='fight.php?action=skill&whichskill=7334';void(0);" value="jump attack"> <input type="button" onClick="document.location.href='fight.php?action=skill&whichskill=7333';void(0);" value="fireball barrage"> <input type="button" onClick="document.location.href='fight.php?action=skill&whichskill=7332';void(0);" value="juggle fireballs"> <input type="button" onClick="document.location.href='fight.php?action=skill&whichskill=7331';void(0);" value="fireball toss"> <input type="button" onClick="document.location.href='fight.php?action=skill&whichskill=7327';void(0);" value="cheat code: shrink enemy"> <input type="button" onClick="document.location.href='fight.php?action=skill&whichskill=7326';void(0);" value="cheat code: replace enemy"> <input type="button" onClick="document.location.href='fight.php?action=skill&whichskill=7320';void(0);" value="detect weakness"> <input type="button" onClick="document.location.href='fight.php?action=skill&whichskill=7310';void(0);" value="become a bat"> <input type="button" onClick="document.location.href='fight.php?action=skill&whichskill=7309';void(0);" value="become a cloud of mist"> <input type="button" onClick="document.location.href='fight.php?action=skill&whichskill=7308';void(0);" value="become a wolf"> <input type="button" onClick="document.location.href='fight.php?action=skill&whichskill=7297';void(0);" value="sing along"> </div></td><td align=right valign=top><select id="hotkeyViewer" onchange="updateCombatHotkey();"><option>- update hotkeys -</option><option>0: </option><option>1: </option><option>2: </option><option>3: </option><option>4: </option><option>5: </option><option>6: </option><option>7: </option><option>8: </option><option>9: </option></select></td></tr></table></center></div><div class='content' id='content_'><div id='effdiv' style='display: none;'></div><div>
- <center><table width=95% cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Combat: Round 1!</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><table><tr><td><div id=monsterpic style='position: relative;'> <img id='monpic' crossorigin="anonymous" src="/images/adventureimages/centipede.gif?a=1587495632" width=100 height=100><img crossorigin="anonymous" src="/images/otherimages/powerpixels/eyes4.png" style="position: absolute; top: 15px; left: -5px" id='peyes' /></div></td><td valign=center>You're fighting <span id='monname'>a giant giant giant centipede</span><font size=2 color=gray><br />HP: 143, Atk: 144, Def: 123, Type: bug<br />Drops: centipede eggs (20), handful of sand (25), handful of sand (15)<br />Meat: 186-279</font></td><td width=30></td><td><table><tr><td width=30><img src=/images/itemimages/nicesword.gif width=30 height=30 alt="Enemy's Attack Power" title="Enemy's Attack Power"></td><td width=50 valign=center align=left><b><font size=+2>144</font></b></td><td><img src=/images/itemimages/stinkbug.gif alt="This monster is a Bug" title="This monster is a Bug"></td></tr><tr><td width=30><img src=/images/itemimages/whiteshield.gif width=30 height=30 alt="Enemy's Defense" title="Enemy's Defense"></td><td width=50 valign=center align=left><b><font size=+2>123</font></b></td><td><img src=/images/itemimages/circle.gif width=30 height=30 alt="This monster has no particular elemental alignment." title="This monster has no particular elemental alignment."></td></tr><tr><td width=30><img src=/images/itemimages/hp.gif width=30 height=30 alt="Enemy's Hit Points" title="Enemy's Hit Points"></td><td width=50 valign=center align=left><b><font size=+2>143</font></b></td><td><img src=/images/itemimages/watch.gif alt="Initiative +50%" title="Initiative +50%"></td></tr></table></td></tr></table><br><script type="text/javascript">var monsterstats = {"hp":"143","def":"123","off":"144"};</script></center><blockquote>The centipedes of Loathing tend to be about two inches long. The giant centipedes are about a foot long, and the giant giant centipedes are about 6 feet long. You could probably extrapolate, then, that this one is 36 feet long, but you're too busy trying to avoid being bitten to extrapolate much of anything.</blockquote><center><p><p>You get the jump on it.<p><script>var ocrs = ["powerPixel"];</script><p><center><table><a name="end"></a><tr><td><center><Table cellpadding=10 cellspacing=0><Tr><td></td><td valign=top><form name=mariosk7331 action=fight.php?method=post><input type=hidden name=action value=skill><input type=hidden name=whichskill value=7331><input type=submit class=button onclick="return killforms(this);" value="Fireball Toss"></form><form name=mariosk7332 action=fight.php?method=post><input type=hidden name=action value=skill><input type=hidden name=whichskill value=7332><input type=submit class=button onclick="return killforms(this);" value="Juggle Fireballs (1PP)"></form><form name=mariosk7333 action=fight.php?method=post><input type=hidden name=action value=skill><input type=hidden name=whichskill value=7333><input type=submit class=button onclick="return killforms(this);" value="Fireball Barrage (2PP)"></form></td><td valign=top><form name=mariosk7334 action=fight.php?method=post><input type=hidden name=action value=skill><input type=hidden name=whichskill value=7334><input type=submit class=button onclick="return killforms(this);" value="Jump Attack"></form><form name=mariosk7335 action=fight.php?method=post><input type=hidden name=action value=skill><input type=hidden name=whichskill value=7335><input type=submit class=button onclick="return killforms(this);" value="Spin Jump (1PP)"></form><form name=mariosk7336 action=fight.php?method=post><input type=hidden name=action value=skill><input type=hidden name=whichskill value=7336><input type=submit class=button onclick="return killforms(this);" value="Multi-Bounce (2PP)"></form></td></tr></table></center></td></tr><form name=useitem action=fight.php method=post><input type=hidden name=action value="useitem"><tr><td align=left><select name=whichitem><option value=0>(select an item)</option><option picurl=beehive value=7969>beehive (1)</option><option picurl=bubblebath value=1965>bottle of Monsieur Bubble (3)</option><option picurl=topgear value=6284>brass gear (2)</option><option picurl=cast value=474>cast (2)</option><option picurl=butterfly value=615>chaos butterfly (1)</option><option picurl=napkin value=2956>cocktail napkin (2)</option><option picurl=cookbook value=536>dictionary (1)</option><option picurl=disease value=452>disease (2)</option><option picurl=camera value=7266>disposable instant camera (1)</option><option picurl=electronicskit value=9952>electronics kit (9)</option><option picurl=potion4 value=2091>fancy bath salts (4)</option><option picurl=gascan value=9947>gas can (5)</option><option picurl=glarkcable value=7246>glark cable (1)</option><option picurl=hairwad value=1922>gob of wet hair (2)</option><option picurl=sandgrain value=10259>grain of sand (51)</option><option picurl=inkwell value=1958>inkwell (4)</option><option picurl=deadbootlet value=9968>jam band bootleg (8)</option><option picurl=firecrack value=747>Knob Goblin firecracker (2)</option><option picurl=soda value=357>Mountain Stream soda (4)</option><option picurl=pencilstub value=6418>pencil stub (2)</option><option picurl=torpedo value=630>photoprotoneutron torpedo (3)</option><option picurl=hole value=613>plot hole (1)</option><option picurl=potion1 value=610>procrastination potion (1)</option><option picurl=canlid value=559>razor-sharp can lid (1)</option><option picurl=biscuit value=563>sonar-in-a-biscuit (1)</option><option picurl=tripple value=6027>Space Tours Tripple (2)</option><option picurl=mario_mushroom3 value=10457>super deluxe mushroom (6)</option><option picurl=tardiskey value=6029>T.U.R.D.S. Key (1)</option><option picurl=tatpaper value=1959>tattered scrap of paper (3)</option><option picurl=tinydress value=9963>very small red dress (6)</option><option picurl=potion5 value=469>wussiness potion (2)</option><option picurl=yeinsult value=6278>Ye Olde Medieval Insult (2)</option></select> <input class=button type=submit onclick="return killforms(this);" value="Use Item"></td></tr></form><form name=skill action=fight.php method=post><input type=hidden name=action value="skill"><tr><td align=center><select name=whichskill><option value='none'>(select a skill)</option><option value="15" picurl="commacha" >CLEESH (10 Mana Points)</option><option value="7336" picurl="mario_multibounce" selected>Multi-Bounce (2 PP)</option><option value="7335" picurl="mario_spinjump" >Spin Jump (1 PP)</option><option value="7334" picurl="mario_jump" >Jump Attack (0 Mana Points)</option><option value="7333" picurl="mario_barrage" >Fireball Barrage (2 PP)</option><option value="7332" picurl="mario_juggle" >Juggle Fireballs (1 PP)</option><option value="7331" picurl="mario_fireball" >Fireball Toss (0 Mana Points)</option><option value="7327" picurl="shrinkenemy" >CHEAT CODE: Shrink Enemy (5 of today's remaining 100%)</option><option value="7326" picurl="replaceenemy" >CHEAT CODE: Replace Enemy (10 of today's remaining 100%)</option><option value="7320" picurl="retrospecs" >Detect Weakness (0 Mana Points)</option><option value="7310" picurl="bat" >Become a Bat (10 time(s) remaining today))</option><option value="7309" picurl="puff" >Become a Cloud of Mist (10 time(s) remaining today))</option><option value="7308" picurl="wolfmask" >Become a Wolf (10 time(s) remaining today))</option><option value="7297" picurl="songboombox" >Sing Along (0 Mana Points)</option></select> <input class=button type=submit onclick="return killforms(this);" value="Use Skill"></td></tr></form><form name=runaway action=fight.php method=post><input type=hidden name=action value="runaway"><tr><td align=center><input class=button onclick="return killforms(this);" type=submit value="Run Away"></form><p><form name=enablebatman action=fight.php method=post><input type=hidden name=enabletoggle value=on><input class=button type=submit value='Enable BatMan RE'></td></tr></form></table></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center></div></div></div></body><script src="/onfocus.1.js"></script><script src="/combatfilter.1.js"></script></html>
- ----------
- -----From Browser-----
- GET /hotkeys.js HTTP/1.1
- Host: 127.0.0.1:60080
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36
- Accept: */*
- Sec-Fetch-Site: same-origin
- Sec-Fetch-Mode: no-cors
- Sec-Fetch-Dest: script
- Referer: http://127.0.0.1:60080/fight.php?ireallymeanit=1587495632
- Accept-Encoding: gzip, deflate, br
- Accept-Language: en-US,en;q=0.9
- Cookie: AWSALB=k99o+ZOKtHJMVuuofkrCKhvu5zh9g93wz9fsurQzdSwUdC7plcoLPgcC9v+tQhg9hL3yeOLBIiXwTfJQXv6gCLAaZzoihjdOsRE/0h450YjTSCxSSr4Qg/GH26Fx
- dnt: 1
- ----------
- -----From Browser-----
- GET /basics.js HTTP/1.1
- Host: 127.0.0.1:60080
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36
- Accept: */*
- Sec-Fetch-Site: same-origin
- -----To Browser-----
- HTTP/1.1 200 OK
- Date: Tue Apr 21 15:00:32 EDT 2020
- Server: KoLmafia v20.3
- Content-Type: text/javascript
- Connection: close
- var shiftKey = false;
- var ctrlKey = false;
- var altKey = false;
- var metaKey = false;
- function getNumericKey( keyCode )
- {
- if ( keyCode >= 48 && keyCode <= 57 )
- return keyCode - 48;
- if ( keyCode >= 96 && keyCode <= 105 )
- return keyCode - 96;
- if ( keyCode == 192 )
- return 11;
- return -1;
- }
- function handleCombatHotkey( e, isDown )
- {
- if ( inputsActive )
- return false;
- var keyCode = window.event ? e.keyCode : e.which;
- if ( e.metaKey )
- metaKey = isDown;
- if ( isDown && (shiftKey || ctrlKey || altKey || metaKey) )
- return false;
- // Detect release of the different modifier keys
- // so we know whether or not the person has pressed
- // something in addition to the numeric key.
- if ( !isDown )
- {
- shiftKey = (keyCode == 16);
- ctrlKey = (keyCode == 17);
- altKey = (keyCode == 18);
- return false;
- }
- // Otherwise, if the person has pressed the shift,
- // control, or alt key, update your current state.
- if ( keyCode == 16 )
- shiftKey = true;
- if ( keyCode == 17 )
- ctrlKey = true;
- if ( keyCode == 18 )
- altKey = true;
- // Finally, make sure this is a valid hotkey before
- // attempting to process it as one.
- var numericKey = getNumericKey( keyCode );
- if ( numericKey == -1 )
- return false;
- var button = document.getElementById( "defaultButton" );
- var viewer = document.getElementById( "hotkeyViewer" );
- var command = viewer.options[numericKey + 1].innerHTML;
- var commandIndex = command.indexOf( ":" ) + 2;
- command = commandIndex + 2 >= command.length ? "" : command.substring( commandIndex, command.length );
- if ( button.value == "auto" )
- {
- return false;
- }
- if ( command.length == 0 )
- {
- if ( numericKey == 0 )
- button.onclick();
- return true;
- }
- if ( executeCommand( command ) )
- return true;
- if ( button.value == "again" )
- {
- button.onclick();
- return true;
- }
- document.location.href = "fight.php?hotkey=" + numericKey;
- return true;
- }
- function executeCommand( command )
- {
- if ( command.indexOf( "attack" ) == 0 || command.indexOf( "skill" ) == 0 || command.indexOf( "item" ) == 0 || command.indexOf( "custom" ) == 0 || command.indexOf( "consult" ) == 0 )
- {
- return false;
- }
- top.charpane.document.location.href = "/KoLmafia/sideCommand?cmd=" +
- URLEncode( command ) + "&pwd=15f4592d7d2d60513258ea2fbd1a9960";
- return true;
- }
- function updateCombatHotkey()
- {
- var viewer = document.getElementById( "hotkeyViewer" );
- var hotkey = (viewer.selectedIndex - 1);
- var hotkeyAction = prompt( "New command for " + hotkey, "" );
- if ( hotkeyAction === false )
- return true;
- var httpObject = getHttpObject();
- if ( !httpObject )
- return true;
- httpObject.open( "GET", "/KoLmafia/submitCommand?cmd=set+combatHotkey" + hotkey + "%3D" +
- URLEncode( hotkeyAction ) + "&pwd=15f4592d7d2d60513258ea2fbd1a9960", true );
- httpObject.send( "" );
- viewer[ hotkey + 1 ].innerHTML = hotkey + ": " + hotkeyAction;
- return true;
- }
- ----------
- Sec-Fetch-Mode: no-cors
- Sec-Fetch-Dest: script
- Referer: http://127.0.0.1:60080/fight.php?ireallymeanit=1587495632
- Accept-Encoding: gzip, deflate, br
- Accept-Language: en-US,en;q=0.9
- Cookie: AWSALB=k99o+ZOKtHJMVuuofkrCKhvu5zh9g93wz9fsurQzdSwUdC7plcoLPgcC9v+tQhg9hL3yeOLBIiXwTfJQXv6gCLAaZzoihjdOsRE/0h450YjTSCxSSr4Qg/GH26Fx
- dnt: 1
- ----------
- -----To Browser-----
- HTTP/1.1 200 OK
- Date: Tue Apr 21 15:00:32 EDT 2020
- Server: KoLmafia v20.3
- Content-Type: text/javascript
- Connection: close
- function getObject( id )
- { return getObjectInPane( top.mainpane.document, id );
- }
- function getObjectInPane( pane, id )
- {
- if ( document.getElementById )
- return pane.getElementById( id );
- if ( document.all )
- return pane.all[ id ];
- return false;
- }
- function getHttpObject()
- {
- var httpObject = false;
- if ( window.ActiveXObject )
- {
- try
- {
- httpObject = new ActiveXObject( "Msxml2.XMLHTTP" );
- }
- catch ( e )
- {
- httpObject = new ActiveXObject( "Microsoft.XMLHTTP" );
- }
- }
- else
- {
- httpObject = new XMLHttpRequest();
- }
- return httpObject;
- }
- function updateDisplay( display, responseText )
- {
- if ( responseText.length < 2 )
- return;
- display.innerHTML += responseText;
- if ( display.innerHTML.length > 30000 )
- {
- var lineIndex = display.innerHTML.indexOf( "<br", 20000 );
- if ( lineIndex != -1 )
- lineIndex = display.innerHTML.indexOf( ">", lineIndex );
- if ( lineIndex != -1 )
- {
- var length = display.innerHTML.length;
- display.innerHTML = display.innerHTML.substring( lineIndex + 1, length );
- }
- else
- display.innerHTML = "";
- }
- display.scrollTop = display.scrollHeight;
- if ( !isRefreshing && responseText.indexOf("<!-- REFRESH -->") != -1 )
- top.charpane.location.reload();
- }
- function inlineLoad( location, fields, id )
- {
- var httpObject = getHttpObject();
- if ( !httpObject )
- return true;
- httpObject.onreadystatechange = function()
- {
- if ( httpObject.readyState != 4 )
- return;
- var prefix = httpObject.responseText.substring(
- 0, httpObject.responseText.indexOf( "<table" ) );
- var text = httpObject.responseText.substring(
- httpObject.responseText.indexOf( "<table" ),
- httpObject.responseText.lastIndexOf( "</table>" ) + 8 );
- var text = prefix + "<center>" + text + "</center>";
- // <tinyskills.js>
- var div = top.mainpane.document.getElementById('effdiv');
- if (!div)
- {
- var container = top.mainpane.document.createElement('DIV');
- container.id = 'effdiv';
- container.innerHTML = text;
- var buttons = top.mainpane.document.getElementById('mafiabuttons');
- if ( buttons )
- {
- top.mainpane.document.body.insertBefore(container, buttons.nextSibling);
- }
- else
- {
- top.mainpane.document.body.insertBefore(container, top.mainpane.document.body.firstChild);
- }
- div = container;
- }
- else
- {
- div.innerHTML = text;
- }
- div.style.display = "block";
- top.mainpane.scrollTo(0, 0);
- // </tinyskills.js>
- if ( httpObject.responseText.indexOf( "charpane" ) != -1 )
- top.charpane.location.reload();
- if ( httpObject.responseText.indexOf( "topmenu" ) != -1 )
- top.menupane.location.reload();
- };
- httpObject.open( "GET", "/" + location + "?" + fields, true );
- httpObject.send( null );
- return true;
- }
- function singleUse( location, fields )
- {
- return inlineLoad( location, fields, false );
- }
- function multiUse( location, id, quantity )
- {
- var qfield = "quantity";
- if ( location == "skills.php" )
- qfield = "itemquantity";
- var qvalue = quantity ? quantity : getObject( "quantity" + id ).value;
- var num = parseInt(prompt('How many?', qvalue));
- if (num < 1 || isNaN(num))
- {
- return false;
- }
- return inlineLoad( location, "pwd=15f4592d7d2d60513258ea2fbd1a9960&action=useitem&whichitem=" + id + "&" + qfield + "=" + num, id );
- }
- function showObject( id )
- {
- getObject(id).style.display = "inline";
- return true;
- }
- function hideObject( id )
- {
- getObject(id).style.display = "none";
- return true;
- }
- function getAdventureId( link )
- {
- if ( link.indexOf( "adventure.php" ) != -1 )
- return link.substring( link.lastIndexOf( "?" ) + 1 );
- var name = link.substring( link.indexOf( "document." ) + 9, link.indexOf( ".submit" ) );
- var forms = document.getElementsByTagName( "form" );
- for ( var i = 0; i < forms.length; ++i )
- if ( forms[i].name == name )
- for ( var j = 0; j < forms[i].length; ++j )
- if ( forms[i][j].name == "adv" || forms[i][j].name == "snarfblat" )
- return "snarfblat=" + forms[i][j].value;
- return "";
- }
- function updateSafetyText()
- {
- var safety = getObjectInPane( top.chatpane.document, "safety" );
- if ( !safety )
- return true;
- if ( safety.style.display == "none" )
- return true;
- var httpObject = getHttpObject();
- if ( !httpObject )
- return true;
- httpObject.onreadystatechange = function()
- {
- if ( httpObject.readyState != 4 )
- return;
- if ( httpObject.responseText.length < 2 )
- return;
- safety.innerHTML = httpObject.responseText;
- }
- httpObject.open( "GET", "/KoLmafia/updateLocation?pwd=15f4592d7d2d60513258ea2fbd1a9960", true );
- httpObject.send( null );
- return true;
- }
- var lastAdventureId;
- function showSafetyText( location )
- {
- var safety = getObjectInPane( top.chatpane.document, "safety" );
- var adventureId = getAdventureId( location );
- if ( adventureId == "" )
- return true;
- if ( !safety )
- {
- safety = top.chatpane.document.createElement( "div" );
- safety.id = "safety";
- safety.closed = true;
- safety.active = true;
- safety.style.textAlign = "left";
- top.chatpane.document.body.appendChild( safety );
- safety.style.position = "absolute";
- safety.style.top = 0;
- safety.style.left = 0;
- safety.style.padding = "8px";
- }
- if ( !safety.active || adventureId == lastAdventureId )
- {
- lastAdventureId = "";
- document.location.href = "adventure.php?" + adventureId;
- return true;
- }
- lastAdventureId = adventureId;
- var httpObject = getHttpObject();
- if ( !httpObject )
- return true;
- httpObject.onreadystatechange = function()
- {
- if ( httpObject.readyState != 4 )
- return;
- if ( httpObject.responseText.length < 2 )
- return;
- if ( safety.closed )
- {
- var nodes = top.chatpane.document.body.childNodes;
- for ( var i = 0; i < nodes.length; ++i )
- {
- if ( nodes[i].style && nodes[i].id != "safety" )
- {
- nodes[i].unsafety = nodes[i].style.display;
- nodes[i].style.display = "none";
- }
- }
- safety.style.display = "inline";
- safety.closed = false;
- safety.active = true;
- }
- safety.innerHTML = httpObject.responseText;
- }
- httpObject.open( "GET", "/KoLmafia/lookupLocation?" + adventureId + "&pwd=15f4592d7d2d60513258ea2fbd1a9960", true );
- httpObject.send( null );
- return true;
- }
- function attachSafetyText()
- {
- var safety = getObjectInPane( top.chatpane.document, "safety" );
- if ( safety )
- safety.active = true;
- var links = document.getElementsByTagName( "a" );
- for ( var i = 0; i < links.length; ++i )
- {
- if ( links[i].href.indexOf( "showSafetyText" ) != -1 )
- return true;
- if ( links[i].href.indexOf( "adventure.php" ) != -1 )
- {
- links[i].data = links[i].href;
- links[i].href = "javascript: showSafetyText( '" + links[i].href + "' ); void(0);";
- links[i].style.cursor = "help";
- }
- else if ( links[i].href.indexOf( "submit" ) != -1 )
- {
- links[i].data = links[i].href;
- links[i].href = "javascript: showSafetyText( '" + links[i].href + "' ); void(0);";
- links[i].style.cursor = "help";
- }
- }
- return true;
- }
- function discardKarma()
- {
- var have = getObject('haveKarma').innerHTML;
- var banked = getObject('bankedKarma').innerHTML;
- if (Number(have) < 1)
- return true;
- if (have != null && banked != null) {
- getObject('haveKarma').innerHTML = Number(have) - 1;
- getObject('bankedKarma').innerHTML = Number(banked) + 11;
- }
- return true;
- }
- // ====================================================================
- // URLEncode and URLDecode functions
- //
- // Copyright Albion Research Ltd. 2002
- // httpObject://www.albionresearch.com/
- //
- // You may copy these functions providing that
- // ( a ) you leave this copyright notice intact, and
- // ( b ) if you use these functions on a publicly accessible
- // web site you include a credit somewhere on the web site
- // with a link back to http://www.albionresarch.com/
- //
- // If you find or fix any bugs, please let us know at albionresearch.com
- //
- // SpecialThanks to Neelesh Thakur for being the first to
- // report a bug in URLDecode() - now fixed 2003-02-19.
- // ====================================================================
- function URLEncode( x )
- {
- // The Javascript escape and unescape functions do not correspond
- // with what browsers actually do...
- var SAFECHARS = "0123456789" + // Numeric
- "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + // Alphabetic
- "abcdefghijklmnopqrstuvwxyz" +
- "-_.!~*'()"; // RFC2396 Mark characters
- var HEX = "0123456789ABCDEF";
- var plaintext = x;
- var encoded = "";
- for ( var i = 0; i < plaintext.length; i++ ) {
- var ch = plaintext.charAt( i );
- if ( ch=="+" ) {
- encoded+="%2B";
- } else if ( ch == " " ) {
- encoded += "+"; // x-www-urlencoded, rather than %20
- } else if ( SAFECHARS.indexOf( ch ) != -1 ) {
- encoded += ch;
- } else {
- var charCode = ch.charCodeAt( 0 );
- if ( charCode > 255 ) {
- alert( "Unicode Character '" + ch + "' cannot be encoded using standard URL encoding.\n" +
- "( URL encoding only supports 8-bit characters. )\n" +
- "A space ( + ) will be substituted." );
- encoded += "+";
- } else {
- encoded += "%";
- encoded += HEX.charAt( ( charCode >> 4 ) & 0xF );
- encoded += HEX.charAt( charCode & 0xF );
- }
- }
- }
- return encoded;
- };
- function URLDecode( x )
- {
- // Replace + with ' '
- // Replace %xx with equivalent character
- // Put [ERROR] in output if %xx is invalid.
- var HEXCHARS = "0123456789ABCDEFabcdef";
- var encoded = x;
- var plaintext = "";
- var i = 0;
- while ( i < encoded.length ) {
- var ch = encoded.charAt( i );
- if ( ch == "+" ) {
- plaintext += " ";
- i++;
- } else if ( ch == "%" ) {
- if ( i < ( encoded.length-2 )
- && HEXCHARS.indexOf( encoded.charAt( i+1 ) ) != -1
- && HEXCHARS.indexOf( encoded.charAt( i+2 ) ) != -1 ) {
- plaintext += unescape( encoded.substr( i,3 ) );
- i += 3;
- } else {
- alert( 'Bad escape combination near ...' + encoded.substr( i ) );
- plaintext += "%[ERROR]";
- i++;
- }
- } else {
- plaintext += ch;
- i++;
- }
- } // while
- return plaintext;
- };
- ----------
- -----From Browser-----
- GET /images/adventureimages/centipede.gif?a=1587495632 HTTP/1.1
- Host: 127.0.0.1:60080
- Connection: keep-alive
- Origin: http://127.0.0.1:60080
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36
- Accept: image/webp,image/apng,image/*,*/*;q=0.8
- Sec-Fetch-Site: same-origin
- Sec-Fetch-Mode: cors
- Sec-Fetch-Dest: image
- Referer: http://127.0.0.1:60080/fight.php?ireallymeanit=1587495632
- Accept-Encoding: gzip, deflate, br
- Accept-Language: en-US,en;q=0.9
- Cookie: AWSALB=k99o+ZOKtHJMVuuofkrCKhvu5zh9g93wz9fsurQzdSwUdC7plcoLPgcC9v+tQhg9hL3yeOLBIiXwTfJQXv6gCLAaZzoihjdOsRE/0h450YjTSCxSSr4Qg/GH26Fx
- dnt: 1
- ----------
- -----To Browser-----
- HTTP/1.1 200 OK
- Date: Tue Apr 21 15:00:32 EDT 2020
- Server: KoLmafia v20.3
- Content-Type: image/gif
- Last-Modified: Wed, 07 Feb 2007 20:08:33 GMT
- Connection: close
- ----------
- -----From Browser-----
- GET /iii/otherimages/powerpixels/p1.png HTTP/1.1
- Host: 127.0.0.1:60080
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36
- Accept: image/webp,image/apng,image/*,*/*;q=0.8
- Sec-Fetch-Site: same-origin
- Sec-Fetch-Mode: no-cors
- Sec-Fetch-Dest: image
- Referer: http://127.0.0.1:60080/fight.php?ireallymeanit=1587495632
- Accept-Encoding: gzip, deflate, br
- Accept-Language: en-US,en;q=0.9
- Cookie: AWSALB=k99o+ZOKtHJMVuuofkrCKhvu5zh9g93wz9fsurQzdSwUdC7plcoLPgcC9v+tQhg9hL3yeOLBIiXwTfJQXv6gCLAaZzoihjdOsRE/0h450YjTSCxSSr4Qg/GH26Fx
- dnt: 1
- ----------
- Requesting: http://www.kingdomofloathing.com/iii/otherimages/powerpixels/p1.png
- 0 request properties
- -----From Browser-----
- GET /iii/otherimages/powerpixels/p2.png HTTP/1.1
- Host: 127.0.0.1:60080
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36
- Accept: image/webp,image/apng,image/*,*/*;q=0.8
- Sec-Fetch-Site: same-origin
- Sec-Fetch-Mode: no-cors
- Sec-Fetch-Dest: image
- Referer: http://127.0.0.1:60080/fight.php?ireallymeanit=1587495632
- Accept-Encoding: gzip, deflate, br
- Accept-Language: en-US,en;q=0.9
- Cookie: AWSALB=k99o+ZOKtHJMVuuofkrCKhvu5zh9g93wz9fsurQzdSwUdC7plcoLPgcC9v+tQhg9hL3yeOLBIiXwTfJQXv6gCLAaZzoihjdOsRE/0h450YjTSCxSSr4Qg/GH26Fx
- dnt: 1
- ----------
- -----From Browser-----
- GET /iii/otherimages/powerpixels/p3.png HTTP/1.1
- Host: 127.0.0.1:60080
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36
- Accept: image/webp,image/apng,image/*,*/*;q=0.8
- Sec-Fetch-Site: same-origin
- Sec-Fetch-Mode: no-cors
- Sec-Fetch-Dest: image
- Referer: http://127.0.0.1:60080/fight.php?ireallymeanit=1587495632
- Accept-Encoding: gzip, deflate, br
- Accept-Language: en-US,en;q=0.9
- Cookie: AWSALB=k99o+ZOKtHJMVuuofkrCKhvu5zh9g93wz9fsurQzdSwUdC7plcoLPgcC9v+tQhg9hL3yeOLBIiXwTfJQXv6gCLAaZzoihjdOsRE/0h450YjTSCxSSr4Qg/GH26Fx
- dnt: 1
- ----------
- -----From Browser-----
- GET /iii/otherimages/powerpixels/p4.png HTTP/1.1
- Host: 127.0.0.1:60080
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36
- Accept: image/webp,image/apng,image/*,*/*;q=0.8
- Sec-Fetch-Site: same-origin
- Sec-Fetch-Mode: no-cors
- Sec-Fetch-Dest: image
- Referer: http://127.0.0.1:60080/fight.php?ireallymeanit=1587495632
- Accept-Encoding: gzip, deflate, br
- Accept-Language: en-US,en;q=0.9
- Cookie: AWSALB=k99o+ZOKtHJMVuuofkrCKhvu5zh9g93wz9fsurQzdSwUdC7plcoLPgcC9v+tQhg9hL3yeOLBIiXwTfJQXv6gCLAaZzoihjdOsRE/0h450YjTSCxSSr4Qg/GH26Fx
- Requesting: http://www.kingdomofloathing.com/iii/otherimages/powerpixels/p2.png
- dnt: 1
- 0 request properties
- ----------
- Requesting: http://www.kingdomofloathing.com/iii/otherimages/powerpixels/p3.png
- 0 request properties
- Requesting: http://www.kingdomofloathing.com/iii/otherimages/powerpixels/p4.png
- 0 request properties
- -----From Browser-----
- GET /iii/otherimages/powerpixels/p5.png HTTP/1.1
- Host: 127.0.0.1:60080
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36
- Accept: image/webp,image/apng,image/*,*/*;q=0.8
- Sec-Fetch-Site: same-origin
- Sec-Fetch-Mode: no-cors
- Sec-Fetch-Dest: image
- Referer: http://127.0.0.1:60080/fight.php?ireallymeanit=1587495632
- Accept-Encoding: gzip, deflate, br
- Accept-Language: en-US,en;q=0.9
- Cookie: AWSALB=k99o+ZOKtHJMVuuofkrCKhvu5zh9g93wz9fsurQzdSwUdC7plcoLPgcC9v+tQhg9hL3yeOLBIiXwTfJQXv6gCLAaZzoihjdOsRE/0h450YjTSCxSSr4Qg/GH26Fx
- dnt: 1
- ----------
- -----From Browser-----
- GET /iii/otherimages/powerpixels/p6.png HTTP/1.1
- Host: 127.0.0.1:60080
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36
- Accept: image/webp,image/apng,image/*,*/*;q=0.8
- Sec-Fetch-Site: same-origin
- Sec-Fetch-Mode: no-cors
- Sec-Fetch-Dest: image
- Referer: http://127.0.0.1:60080/fight.php?ireallymeanit=1587495632
- Accept-Encoding: gzip, deflate, br
- Accept-Language: en-US,en;q=0.9
- Cookie: AWSALB=k99o+ZOKtHJMVuuofkrCKhvu5zh9g93wz9fsurQzdSwUdC7plcoLPgcC9v+tQhg9hL3yeOLBIiXwTfJQXv6gCLAaZzoihjdOsRE/0h450YjTSCxSSr4Qg/GH26Fx
- dnt: 1
- ----------
- Requesting: http://www.kingdomofloathing.com/iii/otherimages/powerpixels/p5.png
- 0 request properties
- Requesting: http://www.kingdomofloathing.com/iii/otherimages/powerpixels/p6.png
- 0 request properties
- Retrieved: http://www.kingdomofloathing.com/iii/otherimages/powerpixels/p2.png
- 15 header fields
- Field: null = [HTTP/1.1 200 OK]
- Field: Server = [nginx/1.8.1]
- Field: Access-Control-Allow-Origin = [*]
- Field: Access-Control-Allow-Methods = [GET, POST, OPTIONS]
- Field: Connection = [keep-alive]
- Field: Last-Modified = [Mon, 20 Jan 2020 20:21:15 GMT]
- Field: Access-Control-Allow-Headers = [DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type]
- Field: Date = [Tue, 21 Apr 2020 19:00:32 GMT]
- Field: Accept-Ranges = [bytes]
- Field: X-Cache-Status = [MISS]
- Field: ETag = ["8e6d7dd0c047a10409f91256dc549285"]
- Field: Set-Cookie = [AWSALBCORS=LFL6jyuHW8DG6ulgIKzv7QuhI3O4aYvfeU4cAtGW68f4MRHXAySwf7mAH1hjiN7Zzs+Z9culm0jTevyVd2ULZRAtBFcy4TNtlFgxUwjTI0pKc6kCL8WovcKaKJof; Expires=Tue, 28 Apr 2020 19:00:32 GMT; Path=/; SameSite=None, AWSALB=LFL6jyuHW8DG6ulgIKzv7QuhI3O4aYvfeU4cAtGW68f4MRHXAySwf7mAH1hjiN7Zzs+Z9culm0jTevyVd2ULZRAtBFcy4TNtlFgxUwjTI0pKc6kCL8WovcKaKJof; Expires=Tue, 28 Apr 2020 19:00:32 GMT; Path=/]
- Field: Access-Control-Max-Age = [1728000]
- Field: Content-Length = [254]
- Field: Content-Type = [image/png]
- -----To Browser-----
- HTTP/1.1 200 OK
- Date: Tue Apr 21 15:00:33 EDT 2020
- Server: KoLmafia v20.3
- Content-Type: image/png
- Connection: close
- ?PNG