Bug - Fixed All chat messages being displayed and handled as event messages in mafia chat

While using mafia chat today I've noticed that everything someone says in chat is in green text and is echo'd in the gCLI. Was seeing it at least as early is v11240, and I'm still seeing it in 11244, and during that span there was supposed to be some chat fix. So it seems that fix wasn't enough to correct whatever's wrong with my chat. Not sure what else I should do to provide more useful troubleshooting, so let me know if I need to do something specific.
 

Sentrion

Member
Chat's feeling envious

Everything's green. All my /clan messages (it's my main channel) are showing up as announcements, and thus show in all tabs as well as main.php whenever I load that.
 

Veracity

Developer
Staff member
Well, I am having an extended conversation in KoLmafia chat while listening to another channel, and all of my messages are showing up in the expected tab. They are not events.

I am running with the "Older Chat (an old friend)" chat option.

What chat style are you using?
 

Veracity

Developer
Staff member
Well, I am having an extended conversation in KoLmafia chat while listening to another channel, and all of my messages are showing up in the expected tab. They are not events.

I am running with the "Older Chat (an old friend)" chat option.

What chat style are you using?
 

Sentrion

Member
I've tried both Older as well as Modern, and the problem persists (though I didn't bother restarting when I switched between the two). My default is Older.
 

Donavin69

Member
I'm using 11245, through the relay browser, I see the /clan chat messages, but not in the mafia interface. Ive tried New, and Older, ancient looks like it doesn't work through the relay browser at all for me (connection reset is displayed)
 

Veracity

Developer
Staff member
I continue to be unable to reproduce this.

Revision 11248 lets you optionally include chat requests in the debug log; previously there was no way to do this without modifying the code.

- Go to Preferences/Extra Debugging
- check "log chat-related requests in debug log"
- turn on debugging
- observe a normal chat message showing up as a green Event
- turn off debugging
- post the DEBUG log here.
 

Donavin69

Member
I did that, I even set up a completely 'clean' version of mafia so I could confirm that its not a setting I have. Here is the debug log:
PHP:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
         KoLmafia v15.3 r11248, Windows 7, Java 1.6.0_32
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Please note: do not post this log in the KoLmafia thread. If you
 would like the 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 the log as an attachment.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Timestamp: Thu Jul 05 14:08:27 EDT 2012
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


class net.sourceforge.kolmafia.request.ChatRequest
Connecting to newchatmessages.php...

Requesting: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315078460&pwd
3 request properties

Field: Cookie = [appserver=www9; PHPSESSID=rkiu8tgvt0m8lp05fg7cao5v57]
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315078460&pwd

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Thu, 05 Jul 2012 18:08:32 GMT]
Field: Content-Length = [217]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Content-Type = [text/html; charset=UTF-8]
Field: Connection = [close]
Field: Server = [nginx/0.8.55]
Field: X-Powered-By = [PHP/5.3.3]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
Field: Pragma = [no-cache]

Retrieving server reply
ResponseText has 217 characters.
<b><a target=mainpane href="showplayer.php?who=1927238"><font color=black>TheLetterKay</font></b></a>: i need to script using maps to safety shelter grimace prime to get me dog hair pills<br><!--lastseen:1315078471-->
<font color=green><b><a target=mainpane href="showplayer.php?who=1927238">TheLetterKay</a></b>: i need to script using maps to safety shelter grimace prime to get me dog hair pills</font><br>
class net.sourceforge.kolmafia.request.ChatRequest
Connecting to newchatmessages.php...

Requesting: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315078471&pwd
3 request properties

Field: Cookie = [appserver=www9; PHPSESSID=rkiu8tgvt0m8lp05fg7cao5v57]
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315078471&pwd

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Thu, 05 Jul 2012 18:08:40 GMT]
Field: Content-Length = [160]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Content-Type = [text/html; charset=UTF-8]
Field: Connection = [close]
Field: Server = [nginx/0.8.55]
Field: X-Powered-By = [PHP/5.3.3]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
Field: Pragma = [no-cache]

Retrieving server reply
ResponseText has 160 characters.
<b><a target=mainpane href="showplayer.php?who=1927238"><font color=black>TheLetterKay</font></b></a>: =.= i have 25 of them to do<br><!--lastseen:1315078488-->
<font color=green><b><a target=mainpane href="showplayer.php?who=1927238">TheLetterKay</a></b>: =.= i have 25 of them to do</font><br>
class net.sourceforge.kolmafia.request.ChatRequest
Connecting to newchatmessages.php...

Requesting: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315078488&pwd
3 request properties

Field: Cookie = [appserver=www9; PHPSESSID=rkiu8tgvt0m8lp05fg7cao5v57]
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315078488&pwd

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Thu, 05 Jul 2012 18:08:48 GMT]
Field: Content-Length = [26]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Content-Type = [text/html; charset=UTF-8]
Field: Connection = [close]
Field: Server = [nginx/0.8.55]
Field: X-Powered-By = [PHP/5.3.3]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
Field: Pragma = [no-cache]

Retrieving server reply
ResponseText has 26 characters.
<!--lastseen:1315078497-->
class net.sourceforge.kolmafia.request.RelayRequest
Connecting to game.php...

Requesting: http://www.kingdomofloathing.com/game.php
3 request properties

Field: Cookie = [appserver=www9; PHPSESSID=rkiu8tgvt0m8lp05fg7cao5v57]
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/game.php

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Thu, 05 Jul 2012 18:08:53 GMT]
Field: Content-Length = [399]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Content-Type = [text/html; charset=UTF-8]
Field: Connection = [close]
Field: Server = [nginx/0.8.55]
Field: X-Powered-By = [PHP/5.3.3]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
Field: Pragma = [no-cache]

Retrieving server reply
ResponseText has 399 characters.
<html><head><title>The Kingdom of Loathing</title></head><frameset id=rootset cols="4*,*"><frameset id=menuset rows="50,*"><frame name=menupane src="topmenu.php" scrolling=no></frame><frameset id=mainset cols="200,*"><frame name=charpane src="charpane.php"></frame><frame name=mainpane src="main.php"></frame></frameset></frameset><frame name=chatpane src="chatlaunch.php"></frame></frameset></html>
class net.sourceforge.kolmafia.request.RelayRequest
class net.sourceforge.kolmafia.request.RelayRequest
class net.sourceforge.kolmafia.request.RelayRequest
Connecting to topmenu.php...

Requesting: http://www.kingdomofloathing.com/topmenu.php
3 request properties

Field: Cookie = [appserver=www9; PHPSESSID=rkiu8tgvt0m8lp05fg7cao5v57]
class net.sourceforge.kolmafia.request.RelayRequest
Connecting to charpane.php...

Requesting: http://www.kingdomofloathing.com/charpane.php
3 request properties

Field: Cookie = [appserver=www9; PHPSESSID=rkiu8tgvt0m8lp05fg7cao5v57]
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...
Connecting to chatlaunch.php...

Requesting: http://www.kingdomofloathing.com/chatlaunch.php
3 request properties

Field: Cookie = [appserver=www9; PHPSESSID=rkiu8tgvt0m8lp05fg7cao5v57]
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...
Connecting to main.php...

Requesting: http://www.kingdomofloathing.com/main.php
3 request properties

Field: Cookie = [appserver=www9; PHPSESSID=rkiu8tgvt0m8lp05fg7cao5v57]
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/charpane.php

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Thu, 05 Jul 2012 18:08:53 GMT]
Field: Transfer-Encoding = [chunked]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Content-Type = [text/html; charset=UTF-8]
Field: Connection = [close]
Field: Server = [nginx/0.8.55]
Field: X-Powered-By = [PHP/5.3.3]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
Field: Pragma = [no-cache]

Retrieving server reply
ResponseText has 8746 characters.
<html><head><link rel="stylesheet" type="text/css" href="http://images.kingdomofloathing.com/styles.css"><style type="text/css">#nudges div { position: relative; padding: 0px; }#nudges div .close { position: absolute; top: -2px; right: -10px; border: 1px solid black; }</style></head><script src="http://images.kingdomofloathing.com/scripts/window.js"></script><script type="text/javascript" src="http://images.kingdomofloathing.com/scripts/jquery-1.3.1.min.js"></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 src="http://images.kingdomofloathing.com/scripts/jquery-1.3.1.min.js"></script><script type="text/javascript">var turnsplayed = 143853;var turnsthisrun = 17398;var rollover = 1341545400;var rightnow = 1341511731;var playerid = 2165290;var pwdhash = "dd3359e9a70c685b35bb20f429522ca0";var hide_nudges = true;$(document).ready(function () {$('.showall').live('click',function () {var hidden = $(this).attr('rel');var hd = hidden.split(/,/);for (var i=0; i< hd.length; i++) {deleteCookie(hd[i], '');}document.location = 'charpane.php?foo=' + escape(Math.random());});if (hide_nudges) $('#nudges td div').hover(function () {if (!hide_nudges) return;var ht = '<a href="#" class="close"><img alt="Hide" title="Hide"  src="http://images.kingdomofloathing.com/closebutton.gif" /></a>';var c = $(ht);$(this).append(c);c.click(function () {var key = $(this).parents('tr:first').attr('rel');$(this).parents('tr:first').remove();setCookie(key, 1);});},function () {if (!hide_nudges) return;$(this).find('.close').remove();});});</script><script language=Javascript src="http://images.kingdomofloathing.com/scripts/charpane.4.js"></script><script type="text/javascript" src="http://images.kingdomofloathing.com/scripts/cookie.20100120.js"></script><script type="text/javascript">jQuery(function ($) {$(window).resize(function () {var winW = 300;if (document.body && document.body.offsetWidth) { winW = document.body.offsetWidth; }if (document.compatMode=='CSS1Compat' && document.documentElement && document.documentElement.offsetWidth ) { winW = document.documentElement.offsetWidth; }if (window.innerWidth && window.innerHeight) { winW = window.innerWidth; }setCookie('charpwd', winW, 365, true);});})</script><body bgcolor=white text=black link=black alink=black vlink=black onload='startup();'><center id='rollover' class=tiny style='color: red; cursor: pointer;' onClick='doc("maintenance");'></center><center><table align=center><tr><td><a class=nounder target=mainpane href="charsheet.php"><img src="http://images.kingdomofloathing.com/otherimages/discobandit.gif" width=60 height=100 border=0></a></td><td valign=center><center><a class=nounder target=mainpane href="charsheet.php"><b>Pawn69</b></a><br>Level 28<br>Disco Bandit<table title='20 / 55' cellpadding=0 cellspacing=0 style='border: 1px solid #5A5A5A'><tr><td height=5 width=36 bgcolor=#5A5A5A></td><td width=64 bgcolor=white></td></tr></table></td></tr></table><table align=center><tr><td align=right>Muscle:</td><td align=left><b><font color=blue>888</font> (555)</b><table title='677 / 1,111' cellpadding=0 cellspacing=0 style='border: 1px solid #5A5A5A'><tr><td height=3 width=30 bgcolor=#5A5A5A></td><td width=20 bgcolor=white></td></tr></table></td></tr><tr><td align=right>Mysticality:</td><td align=left><b><font color=blue>833</font> (520)</b><table title='866 / 1,041' cellpadding=0 cellspacing=0 style='border: 1px solid #5A5A5A'><tr><td height=3 width=41 bgcolor=#5A5A5A></td><td width=9 bgcolor=white></td></tr></table></td></tr><tr><td align=right>Moxie:</td><td align=left><b><font color=blue>1440</font> (753)</b><table title='338 / 1,507' cellpadding=0 cellspacing=0 style='border: 1px solid #5A5A5A'><tr><td height=3 width=11 bgcolor=#5A5A5A></td><td width=39 bgcolor=white></td></tr></table></td></tr><Tr><td align=right>Fullness:</td><td><b>15</b></td></tr><tr><td align=right>Tipsiness:</td><td><b>29</b></td></tr></table><center>You are falling-down drunk.</center><table cellpadding=3 align=center><tr><td align=center><img src="http://images.kingdomofloathing.com/itemimages/hp.gif" class=hand onclick='doc("hp");' title="Hit Points" alt="Hit Points"><br><span class=black>635 / 994</span></td><td align=center><img src="http://images.kingdomofloathing.com/itemimages/mp.gif" class=hand onclick='doc("mp");' title="Mojo Points" alt="Mojo Points"><br><span class=black>840 / 1343</span></td></tr><tr><td align=center><img src="http://images.kingdomofloathing.com/itemimages/meat.gif" class=hand onclick='doc("meat");' title="Meat" alt="Meat"><br><span class=black>9,168,811</span></td><td align=center><img src="http://images.kingdomofloathing.com/itemimages/hourglass.gif" class=hand onclick='doc("adventures");' title="Adventures Remaining" alt="Adventures Remaining"><br><span class=black>105</span></td></tr></table><br><font size=2><a target=mainpane href="inv_use.php?pwd=dd3359e9a70c685b35bb20f429522ca0&whichitem=2682">Detuned Radio</a>: <b>10</b></font><br><center><font size=2><b><a onclick='if (top.mainpane.focus) top.mainpane.focus();' class=nounder href="mclargehuge.php" target=mainpane>Last Adventure:</a></b></font><br><table cellspacing=0 cellpadding=0><tr><td><font size=2><a onclick='if (top.mainpane.focus) top.mainpane.focus();' target=mainpane href="adventure.php?snarfblat=110">The Icy Peak</a><br></font></td></tr></table></center><p><table width=90%><tr><td colspan=2 align=center><font size=2><b>Familiar:</b></font></td></tr><tr><td align=center valign=center><a target=mainpane href="familiar.php" class="familiarpick"><img src="http://images.kingdomofloathing.com/itemimages/hobomonkey.gif" width=30 height=30 border=0></a></td><td valign=center align=left><a target=mainpane href="familiar.php" class="familiarpick"><b><font size=2>Pawnobo</a></b>, the  <b>35</b> pound Hobo Monkey</font></td></tr></table></center><center><p><b><font size=2>Effects:</font></b><br></center><center><table><tr><td><img src="http://images.kingdomofloathing.com/itemimages/vampirefangs.gif" class=hand onClick='eff("1be892a67365bfd314e3a4456665cac5");'></td><td valign=center><font size=2>Pride of the Vampire (29)</font><br></td></tr><tr><td><img src="http://images.kingdomofloathing.com/itemimages/contemplation.gif" class=hand onClick='eff("2817b71ed041fdffb5b4b514c8be662d");'></td><td valign=center><font size=2>Saucemastery (79)</font><br></td></tr><tr><td><img src="http://images.kingdomofloathing.com/itemimages/discoball.gif" class=hand onClick='eff("869b501ce3b0e8ba139e7f3807db0c1f");'></td><td valign=center><font size=2>Disco State of Mind (79)</font><br></td></tr><tr><td><img src="http://images.kingdomofloathing.com/itemimages/empathy.gif" class=hand onClick='eff("ac32e95f470a7e0999863fa0db58d808");' oncontextmenu='return shrug(50, "Empathy");'></td><td valign=center><font size=2>Empathy (5284)</font><br></td></tr><tr><td><img src="http://images.kingdomofloathing.com/itemimages/blackshell.gif" class=hand onClick='eff("4e66acac6b908fb6f70b49092dcff375");' oncontextmenu='return shrug(52, "Astral Shell");'></td><td valign=center><font size=2>Astral Shell (5285)</font><br></td></tr><tr><td><img src="http://images.kingdomofloathing.com/itemimages/plenty.gif" class=hand onClick='eff("c26a911b8ec2c57f7eef57f9ff5fdc24");' oncontextmenu='return shrug(63, "Polka of Plenty");'></td><td valign=center><font size=2>Polka of Plenty (5509)</font><br></td></tr><tr><td><img src="http://images.kingdomofloathing.com/itemimages/jinglebells.gif" class=hand onClick='eff("a32acc4a5de83386ae3417140d09bf43");' oncontextmenu='return shrug(699, "Jingle Jangle Jingle");'></td><td valign=center><font size=2>Jingle Jangle Jingle (5509)</font><br></td></tr><tr><td><img src="http://images.kingdomofloathing.com/itemimages/fatleons.gif" class=hand onClick='eff("63e73adb3ecfb0cbf544db435eeeaf00");' oncontextmenu='return shrug(67, "Fat Leon's Phat Loot Lyric");'></td><td valign=center><font size=2>Fat Leon's Phat Loot Lyric (5509)</font><br></td></tr></table></center></body></html>

Retrieved: http://www.kingdomofloathing.com/main.php

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Thu, 05 Jul 2012 18:08:53 GMT]
Field: Content-Length = [5291]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Content-Type = [text/html; charset=UTF-8]
Field: Connection = [close]
Field: Server = [nginx/0.8.55]
Field: X-Powered-By = [PHP/5.3.3]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
Field: Pragma = [no-cache]

Retrieving server reply
ResponseText has 5291 characters.

Retrieved: http://www.kingdomofloathing.com/chatlaunch.php

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Thu, 05 Jul 2012 18:08:53 GMT]
<html><head><script language=Javascript><!--if (parent.frames.length == 0) location.href="game.php";var actions = { "sendmessage.php" : { "action" : 1, "title" : "Send Message", "arg" : "toid" }, "makeoffer.php" : { "action" : 1, "title" : "Propose Trade", "arg" : "towho" }, "skills.php" : { "action" : 1, "title" : "Buff", "arg" : "towho" }, "mallstore.php" : { "action" : 1, "title" : "Mall Store", "arg" : "whichstore" }, "/./curse.php" : { "action" : 1, "title" : "Throw TP", "arg" : "whichitem=1923&targetplayer" }, "/whois" : { "action" : 2, "useid" : false, "submit" : true}, "/msg" : { "action" : 3, "useid" : true, "query" : "Enter message to send to %:" }, "/friend" : { "action" : 2, "useid" : true, "submit" : true } }var notchat = true;//--></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 src="http://images.kingdomofloathing.com/scripts/jquery-1.3.1.min.js"></script><script language=Javascript src='http://images.kingdomofloathing.com/scripts/rcm.20090915.js'></script><link rel="stylesheet" type="text/css" href="http://images.kingdomofloathing.com/styles.20120512.css"></head><body><div id='menu' class=rcm></div><CenteR><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=orange><b>Yellow Exclamation Points!</b></td></tr><tr><td style="padding: 5px; border: 1px solid orange;"><center><table><tr><td><center><b>Looking for something to do?</b></center><p><p>You should go see the <a class=nounder href="council.php"><b>Council of Loathing</b></a> in <a class=nounder href="town.php"><b>Seaside Town</b></a>.<p><b>Reminder:</b> Pawn - aftercore<br /><b>Reminder:</b> ?<br /></p></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></CenteR><center></center><center><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>The Kingdom of Loathing</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><table cellpadding=0 cellspacing=0><tr><td colspan=5><img src="http://images.kingdomofloathing.com/otherimages/main/maintop.gif" width=350 height=50 alt="Top Edge" title="Top Edge"></td></tr><tr><td rowspan=3><img src="http://images.kingdomofloathing.com/otherimages/main/mainleft.gif" width=25 height=300 alt="Left Edge" title="Left Edge"></td><td width=100 height=100><a href="town.php"><img src="http://images.kingdomofloathing.com/otherimages/main/newmap1.gif" width=100 height=100 border=0 alt="Seaside Town" title="Seaside Town"></a></td><td width=100 height=100><a href="campground.php"><img src="http://images.kingdomofloathing.com/otherimages/main/map2.gif" width=100 height=100 border=0 alt="The Campground" title="The Campground"></a></td><td width=100 height=100><a href="mountains.php"><img src="http://images.kingdomofloathing.com/otherimages/main/map3.gif" width=100 height=100 border=0 alt="The Big Mountains" title="The Big Mountains"></a></td><td rowspan=3><img src="http://images.kingdomofloathing.com/otherimages/main/mainright.gif" width=25 height=300 alt="Right Edge" title="Right Edge"></td></tr><tr><td width=100 height=100><a href="oldman.php"><img src="http://images.kingdomofloathing.com/otherimages/main/map4_oldman.gif" width=100 height=100 border=0 alt="An Old Man" title="An Old Man"></a></td><td width=100 height=100><a href="plains.php"><img src="http://images.kingdomofloathing.com/otherimages/main/map5.gif" width=100 height=100 border=0 alt="The Nearby Plains" title="The Nearby Plains"></a></td><td width=100 height=100><a href="lair.php"><img src="http://images.kingdomofloathing.com/otherimages/main/map6.gif" width=100 height=100 border=0 alt="The Lair of the Naughty Sorceress" title="The Lair of the Naughty Sorceress"></a></td></tr><tr><td width=100 height=100><a href="beach.php"><img src="http://images.kingdomofloathing.com/otherimages/main/map7beach.gif" width=100 height=100 border=0 alt="Desert Beach" title="Desert Beach"></td><td width=100 height=100><a href="woods.php"><img src="http://images.kingdomofloathing.com/otherimages/main/map8.gif" width=100 height=100 border=0 alt="The Distant Woods" title="The Distant Woods"></a></td><td width=100 height=100><a href="island.php"><img src="http://images.kingdomofloathing.com/otherimages/main/island.gif" width=100 height=100 border=0 alt="The Mysterious Island of Mystery" title="The Mysterious Island of Mystery"></a></td></tr><tr><td colspan=5><img src="http://images.kingdomofloathing.com/otherimages/main/mainbottom.gif" width=350 height=50 border=0 alt="Bottom Edge" title="Bottom Edge"></td></tr></table></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center></body></html>
Processing results...
Field: Content-Length = [2999]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Content-Type = [text/html; charset=UTF-8]
Field: Connection = [close]
Field: Server = [nginx/0.8.55]
Field: X-Powered-By = [PHP/5.3.3]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
Field: Pragma = [no-cache]

Retrieving server reply
ResponseText has 2999 characters.
<html><head><script language=Javascript><!--if (parent.frames.length == 0) location.href="game.php";top.charpane.location.href="charpane.php";//--></script><script language=Javascript src="http://images.kingdomofloathing.com/scripts/jquery-1.3.1.min.js"></script><script type="text/javascript" src="http://images.kingdomofloathing.com/scripts/cookie.20100120.js"></script><link rel="stylesheet" type="text/css" href="http://images.kingdomofloathing.com/styles.20120512.css"></head><body><span class=small><center><a href="lchat.php"><b>Enter the Chat</b></a><p></center>NOTE: By entering the chat, you are agreeing to abide by the <a target="_blank" href="http://www.kingdomofloathing.com/static.php?id=policy">Policies of Loathing</a><p><center>Today's KoL date is <b>Boozember 3</b></center><p><center><b>Announcements:</b></center><p><b>July 02</b><br>The fire in the plains has burned out, and the plains themselves have returned to approximately the same configuration as before.<p>Also, July's Item-of-the-Month, the Camp Scout backpack, is now available in Mr. Store.  Purchase is compulsory.  (That's a joke.)<p><b>June 30</b><br>Season 2 of PvP has begun.  Break your stone and head on down to Huggler Memorial Colosseum to see what's cooking.  (HINT:  It is violence.)<p><center><a target="_blank" href="static.php?id=oldannouncements">older announcements</a></centeR><p><center><b>Trivial Updates:</b></center><p><b>July 04 - </b>The Summoning Chamber has been recalibrated to accept both pre and post-fire demon names.  They will also be reflected in your quest journal once used.  Yeti and Pen Pal names did not survive.<br><b>July 03 - </b>All of the compact versions of PvP minigame outcomes should now provide the same information as the long versions.<br><b>June 16 - </b>The world event is no longer preventing access to Suburban Dis.  You can also now [use] FDKOL commendations to get to the tent.<br><b>June 08 - </b>The way the goth kid hands out PvP fights has changed.  It now starts out way faster and slows down over time.<br><b>June 06 - </b>Huge pumpkins can now be smashed into three regular pumpkins.  Which is to say you can now cut them like they want me to.<br><center><p><a target="_blank" href="static.php?id=trivial">older trivial updates</a></center></span><p><center><table><tr><td class=tiny>All material Copyright © 2012,<br><a target="_blank" href="http://asymmetric.net">Asymmetric Publications, LLC</a></td></tr></table></center><script type="text/javascript">jQuery(function ($) {$(window).resize(function () {var winW = 300;if (document.body && document.body.offsetWidth) { winW = document.body.offsetWidth; }if (document.compatMode=='CSS1Compat' && document.documentElement && document.documentElement.offsetWidth ) { winW = document.documentElement.offsetWidth; }if (window.innerWidth && window.innerHeight) { winW = window.innerWidth; }setCookie('chatpwd', winW, 365, true);});})</script></body></html>

Retrieved: http://www.kingdomofloathing.com/topmenu.php

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Thu, 05 Jul 2012 18:08:53 GMT]
Field: Content-Length = [4080]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Content-Type = [text/html; charset=UTF-8]
Field: Connection = [close]
Field: Server = [nginx/0.8.55]
Field: X-Powered-By = [PHP/5.3.3]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
Field: Pragma = [no-cache]

Retrieving server reply
ResponseText has 4080 characters.
<html><body><head><title>The Kingdom of Loathing</title><script type="text/javascript" src="http://images.kingdomofloathing.com/scripts/jquery-1.3.1.min.js"></script><style type="text/css"><!--BODY, TD, UL {font-family: arial;}.tiny { font-size: 9px; }IFRAME {border: 0px;height: 45px;margin: 0px;padding: 0px;min-width: 200px;overflow: hidden;}--></style><script language=Javascript src="http://images.kingdomofloathing.com/scripts/core.js"></script><script language=Javascript>function skillson(){skillpane.location.href = 'skills.php?tiny=1';}function showskills(){$('#menus, .hidemenu').hide();$('#skillbit').show();}function skillsoff(){$('#menus, .hidemenu').show();$('#skillbit').hide();skillpane.location.href = "blank.html";}</script></head><body bgcolor=white link=black alink=black vlink=black text=black><center><div id="yep" style="position: absolute; left: 0px; top: 0px; text-align: center; width: 100%;"><center><table cellpadding=0 ><tr><td align=center valign=center><img src="http://images.kingdomofloathing.com/otherimages/smallleftswordguy.gif" width=33 height=40></td><td valign=center align=center class=tiny><div id='menus' style='margin: 0px; padding: 0px; display: inline'><a target=mainpane href="charsheet.php">character</a> <a target=mainpane href="inventory.php">inventory</a> <a target=mainpane href="skills.php">skills</a> <a target=mainpane href="questlog.php">quests</a> <a target=mainpane href="craft.php">crafting</a> <a target=mainpane href="mall.php">mall</a> <a target=mainpane href="clan_hall.php">clan</a> <a target=mainpane href="messages.php">messages</a> <a target=mainpane href="account.php">options</a> <a href="logout.php" target="_top">log out</a> <br> <a target=mainpane href="main.php">main</a> <a target=mainpane href="town.php">town</a> <a target=mainpane href="campground.php">campground</a> <a target=mainpane href="mountains.php">mountains</a> <a target=mainpane href="plains.php">plains</a> <a target=mainpane href="lair.php">lair</a> <a target=mainpane href="beach.php">beach</a> <a target=mainpane href="woods.php">woods</a> <a target=mainpane href="island.php">island</a> <a target=mainpane href="volcanoisland.php">volcano</a><br><a href="#" onClick='javascript:window.open("doc.php?topic=home","","height=400,width=550,scrollbars=yes,resizable=yes");'>documentation</a> <a target=mainpane href="adminmail.php">report bug</a> <a target=_blank href="http://store.asymmetric.net/">store</a> <a href="#" onClick='javascript:window.open("donatepopup.php","");'>donate</a> <a href="#" onClick='javascript:window.open("http://forums.kingdomofloathing.com/","");'>forums</a> <a href="#" onClick='javascript:window.open("http://www.kingdomofloathing.com/radio.php","");'>radio</a> <a target=mainpane href=peevpee.php>pvp</a> </div></td><td><table cellpadding=0 id="themoons"><tr><td width=15></td><td align=center valign=top align=right class=tiny><img src="http://images.kingdomofloathing.com/itemimages/moon3.gif"  alt="Ronald, Half Waxing" title="Ronald, Half Waxing" ><td width=20 align=right valign=center><img src="http://images.kingdomofloathing.com/itemimages/minimoon.gif" alt="a small bright moon" title="a small bright moon"></td><td align=center valign=top align=left class=tiny><img src="http://images.kingdomofloathing.com/itemimages/moon2.gif" alt="Grimace, Waxing Crescent" title="Grimace, Waxing Crescent" ><td width=15></td></tr><tr><td></td><td align=center class=tiny>Ronald</td><td></td><td align=center class=tiny>Grimace</td><td></td></tr></table><!--<td width=15></td>--></td><!--<td width=20 align=center valign=center><img src="http://images.kingdomofloathing.com/otherimages/newmoonpad.gif"></td>--><!--<td width=20></td><td class=tiny align=center valign=center>All material Copyright © 2010,<br><a target="_blank" href="http://asymmetric.net">Asymmetric Publications, LLC</a></td>--></tr></table></center></div></center></body></html>
class net.sourceforge.kolmafia.request.RelayRequest
Connecting to charpane.php...

Requesting: http://www.kingdomofloathing.com/charpane.php
3 request properties

Field: Cookie = [appserver=www9; PHPSESSID=rkiu8tgvt0m8lp05fg7cao5v57]
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/charpane.php

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Thu, 05 Jul 2012 18:08:54 GMT]
Field: Transfer-Encoding = [chunked]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Content-Type = [text/html; charset=UTF-8]
Field: Connection = [close]
Field: Server = [nginx/0.8.55]
Field: X-Powered-By = [PHP/5.3.3]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
Field: Pragma = [no-cache]

Retrieving server reply
ResponseText has 8746 characters.
<html><head><link rel="stylesheet" type="text/css" href="http://images.kingdomofloathing.com/styles.css"><style type="text/css">#nudges div { position: relative; padding: 0px; }#nudges div .close { position: absolute; top: -2px; right: -10px; border: 1px solid black; }</style></head><script src="http://images.kingdomofloathing.com/scripts/window.js"></script><script type="text/javascript" src="http://images.kingdomofloathing.com/scripts/jquery-1.3.1.min.js"></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 src="http://images.kingdomofloathing.com/scripts/jquery-1.3.1.min.js"></script><script type="text/javascript">var turnsplayed = 143853;var turnsthisrun = 17398;var rollover = 1341545400;var rightnow = 1341511734;var playerid = 2165290;var pwdhash = "dd3359e9a70c685b35bb20f429522ca0";var hide_nudges = true;$(document).ready(function () {$('.showall').live('click',function () {var hidden = $(this).attr('rel');var hd = hidden.split(/,/);for (var i=0; i< hd.length; i++) {deleteCookie(hd[i], '');}document.location = 'charpane.php?foo=' + escape(Math.random());});if (hide_nudges) $('#nudges td div').hover(function () {if (!hide_nudges) return;var ht = '<a href="#" class="close"><img alt="Hide" title="Hide"  src="http://images.kingdomofloathing.com/closebutton.gif" /></a>';var c = $(ht);$(this).append(c);c.click(function () {var key = $(this).parents('tr:first').attr('rel');$(this).parents('tr:first').remove();setCookie(key, 1);});},function () {if (!hide_nudges) return;$(this).find('.close').remove();});});</script><script language=Javascript src="http://images.kingdomofloathing.com/scripts/charpane.4.js"></script><script type="text/javascript" src="http://images.kingdomofloathing.com/scripts/cookie.20100120.js"></script><script type="text/javascript">jQuery(function ($) {$(window).resize(function () {var winW = 300;if (document.body && document.body.offsetWidth) { winW = document.body.offsetWidth; }if (document.compatMode=='CSS1Compat' && document.documentElement && document.documentElement.offsetWidth ) { winW = document.documentElement.offsetWidth; }if (window.innerWidth && window.innerHeight) { winW = window.innerWidth; }setCookie('charpwd', winW, 365, true);});})</script><body bgcolor=white text=black link=black alink=black vlink=black onload='startup();'><center id='rollover' class=tiny style='color: red; cursor: pointer;' onClick='doc("maintenance");'></center><center><table align=center><tr><td><a class=nounder target=mainpane href="charsheet.php"><img src="http://images.kingdomofloathing.com/otherimages/discobandit.gif" width=60 height=100 border=0></a></td><td valign=center><center><a class=nounder target=mainpane href="charsheet.php"><b>Pawn69</b></a><br>Level 28<br>Disco Bandit<table title='20 / 55' cellpadding=0 cellspacing=0 style='border: 1px solid #5A5A5A'><tr><td height=5 width=36 bgcolor=#5A5A5A></td><td width=64 bgcolor=white></td></tr></table></td></tr></table><table align=center><tr><td align=right>Muscle:</td><td align=left><b><font color=blue>888</font> (555)</b><table title='677 / 1,111' cellpadding=0 cellspacing=0 style='border: 1px solid #5A5A5A'><tr><td height=3 width=30 bgcolor=#5A5A5A></td><td width=20 bgcolor=white></td></tr></table></td></tr><tr><td align=right>Mysticality:</td><td align=left><b><font color=blue>833</font> (520)</b><table title='866 / 1,041' cellpadding=0 cellspacing=0 style='border: 1px solid #5A5A5A'><tr><td height=3 width=41 bgcolor=#5A5A5A></td><td width=9 bgcolor=white></td></tr></table></td></tr><tr><td align=right>Moxie:</td><td align=left><b><font color=blue>1440</font> (753)</b><table title='338 / 1,507' cellpadding=0 cellspacing=0 style='border: 1px solid #5A5A5A'><tr><td height=3 width=11 bgcolor=#5A5A5A></td><td width=39 bgcolor=white></td></tr></table></td></tr><Tr><td align=right>Fullness:</td><td><b>15</b></td></tr><tr><td align=right>Tipsiness:</td><td><b>29</b></td></tr></table><center>You are falling-down drunk.</center><table cellpadding=3 align=center><tr><td align=center><img src="http://images.kingdomofloathing.com/itemimages/hp.gif" class=hand onclick='doc("hp");' title="Hit Points" alt="Hit Points"><br><span class=black>635 / 994</span></td><td align=center><img src="http://images.kingdomofloathing.com/itemimages/mp.gif" class=hand onclick='doc("mp");' title="Mojo Points" alt="Mojo Points"><br><span class=black>840 / 1343</span></td></tr><tr><td align=center><img src="http://images.kingdomofloathing.com/itemimages/meat.gif" class=hand onclick='doc("meat");' title="Meat" alt="Meat"><br><span class=black>9,168,811</span></td><td align=center><img src="http://images.kingdomofloathing.com/itemimages/hourglass.gif" class=hand onclick='doc("adventures");' title="Adventures Remaining" alt="Adventures Remaining"><br><span class=black>105</span></td></tr></table><br><font size=2><a target=mainpane href="inv_use.php?pwd=dd3359e9a70c685b35bb20f429522ca0&whichitem=2682">Detuned Radio</a>: <b>10</b></font><br><center><font size=2><b><a onclick='if (top.mainpane.focus) top.mainpane.focus();' class=nounder href="mclargehuge.php" target=mainpane>Last Adventure:</a></b></font><br><table cellspacing=0 cellpadding=0><tr><td><font size=2><a onclick='if (top.mainpane.focus) top.mainpane.focus();' target=mainpane href="adventure.php?snarfblat=110">The Icy Peak</a><br></font></td></tr></table></center><p><table width=90%><tr><td colspan=2 align=center><font size=2><b>Familiar:</b></font></td></tr><tr><td align=center valign=center><a target=mainpane href="familiar.php" class="familiarpick"><img src="http://images.kingdomofloathing.com/itemimages/hobomonkey.gif" width=30 height=30 border=0></a></td><td valign=center align=left><a target=mainpane href="familiar.php" class="familiarpick"><b><font size=2>Pawnobo</a></b>, the  <b>35</b> pound Hobo Monkey</font></td></tr></table></center><center><p><b><font size=2>Effects:</font></b><br></center><center><table><tr><td><img src="http://images.kingdomofloathing.com/itemimages/vampirefangs.gif" class=hand onClick='eff("1be892a67365bfd314e3a4456665cac5");'></td><td valign=center><font size=2>Pride of the Vampire (29)</font><br></td></tr><tr><td><img src="http://images.kingdomofloathing.com/itemimages/contemplation.gif" class=hand onClick='eff("2817b71ed041fdffb5b4b514c8be662d");'></td><td valign=center><font size=2>Saucemastery (79)</font><br></td></tr><tr><td><img src="http://images.kingdomofloathing.com/itemimages/discoball.gif" class=hand onClick='eff("869b501ce3b0e8ba139e7f3807db0c1f");'></td><td valign=center><font size=2>Disco State of Mind (79)</font><br></td></tr><tr><td><img src="http://images.kingdomofloathing.com/itemimages/empathy.gif" class=hand onClick='eff("ac32e95f470a7e0999863fa0db58d808");' oncontextmenu='return shrug(50, "Empathy");'></td><td valign=center><font size=2>Empathy (5284)</font><br></td></tr><tr><td><img src="http://images.kingdomofloathing.com/itemimages/blackshell.gif" class=hand onClick='eff("4e66acac6b908fb6f70b49092dcff375");' oncontextmenu='return shrug(52, "Astral Shell");'></td><td valign=center><font size=2>Astral Shell (5285)</font><br></td></tr><tr><td><img src="http://images.kingdomofloathing.com/itemimages/plenty.gif" class=hand onClick='eff("c26a911b8ec2c57f7eef57f9ff5fdc24");' oncontextmenu='return shrug(63, "Polka of Plenty");'></td><td valign=center><font size=2>Polka of Plenty (5509)</font><br></td></tr><tr><td><img src="http://images.kingdomofloathing.com/itemimages/jinglebells.gif" class=hand onClick='eff("a32acc4a5de83386ae3417140d09bf43");' oncontextmenu='return shrug(699, "Jingle Jangle Jingle");'></td><td valign=center><font size=2>Jingle Jangle Jingle (5509)</font><br></td></tr><tr><td><img src="http://images.kingdomofloathing.com/itemimages/fatleons.gif" class=hand onClick='eff("63e73adb3ecfb0cbf544db435eeeaf00");' oncontextmenu='return shrug(67, "Fat Leon's Phat Loot Lyric");'></td><td valign=center><font size=2>Fat Leon's Phat Loot Lyric (5509)</font><br></td></tr></table></center></body></html>
class net.sourceforge.kolmafia.request.RelayRequest
Connecting to lchat.php...

Requesting: http://www.kingdomofloathing.com/lchat.php
3 request properties

Field: Cookie = [appserver=www9; PHPSESSID=rkiu8tgvt0m8lp05fg7cao5v57]
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/lchat.php

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Thu, 05 Jul 2012 18:08:56 GMT]
Field: Transfer-Encoding = [chunked]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Content-Type = [text/html; charset=UTF-8]
Field: Connection = [close]
Field: Server = [nginx/0.8.55]
Field: X-Powered-By = [PHP/5.3.3]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
Field: Pragma = [no-cache]

Retrieving server reply
ResponseText has 17529 characters.
<html><head><title>LoathingChat</title><link rel="stylesheet" type="text/css" href="http://images.kingdomofloathing.com/styles.css"><style type=text/css>input.text, textarea {border: 1px black solid;font-family: Arial, Helvetica,  sans-serif;font-size: 10pt;}input.button {border: 1px black solid;font-family: Arial, Helvetica, sans-serif;font-size: 9pt;font-weight: bold;background-color: #FFFFFF;}body {padding: 0px;spacing: 0px;}a {text-decoration: none;}a.itemlink {color: blue !important;text-decoration: underline !important;}.chatdisplay {position: absolute;padding: 2px;spacing: 0px;top: 2px;left: 2px;font-family: arial;width: 100%;font-size: 12px;height: 300;border: 1px solid black;overflow-y: scroll;overflow-x: hidden;overflow: auto;}.inputform {position: absolute;border: 1px solid black;bottom: 2px;left: 2px;padding: 2px;spacing: 0px;}.tiny { font-size: 8pt; }.small { font-size: 10pt; }.nounder { text-decoration: none; }div.rcm {position: absolute;font-family: Arial;font-size: 10pt;border: 1px solid black;background: white;display: none;}p.rcm {cursor: pointer;background-color: white;margin: 0px;padding: 0px 2px;}p.rcm:hover {background-color: #ccccff;}.afk { font-style: italic; 	filter: alpha(opacity=50); -khtml-opacity: 0.5; -moz-opacity: 0.5; opacity: 0.5; background-color: #ddd; }</style><script type="text/javascript" src="http://images.kingdomofloathing.com/scripts/jquery.js"></script><script type="text/javascript" src="http://images.kingdomofloathing.com/scripts/window.js"></script><script type="text/javascript" src="http://images.kingdomofloathing.com/scripts/cookie.20100120.js"></script><script type="text/javascript">jQuery(function ($) {$(window).resize(function () {var winW = 300;if (document.body && document.body.offsetWidth) { winW = document.body.offsetWidth; }if (document.compatMode=='CSS1Compat' && document.documentElement && document.documentElement.offsetWidth ) { winW = document.documentElement.offsetWidth; }if (window.innerWidth && window.innerHeight) { winW = window.innerWidth; }setCookie('chatpwd', winW, 365, true);});})</script><script type="text/javascript"><!--var lastseen=0;var initialized=0;var initwidth=0;var inthemiddle=0;var bicycles=0;			// refreshes since last keystrokevar paused=0;var count=0;var playerid = 2165290;var pwdhash = "dd3359e9a70c685b35bb20f429522ca0";chatTimer = null;function redpill(go) {var r = function (n) { return Math.floor(Math.random() * n); };if (!go) return setTimeout(function () { redpill(1); }, r(2500) + 2500);var b = {color:'#000'}, t=1500,g = function () { return {color:'rgb(0,'+(r(100)+150)+',0)'}; };$.fn.a = $.fn.animate;return $($('span.rp:last')[0]).a(g(),r(t)).a(b,r(t)).a(g(),r(t)).a(b,r(t)).a(g(),r(t)).a(b,r(t));}function initsizes() {if (navigator.appName.indexOf("Explorer")!=-1) {initwidth=document.body.offsetWidth-5;}	else {initwidth=self.innerWidth-24;}//alert(initwidth);if (initwidth<150) initwidth=150;document.getElementById("ChatWindow").style.width=initwidth;document.getElementById("InputForm").style.width=initwidth;document.getElementById("ChatWindow").style.height=document.body.clientHeight-document.getElementById("InputForm").offsetHeight-9;}function rearm(js) {actions = js;}function checkforenter(e) {bicycles=0;var found;found=0;if (e.keyCode==13) {submitchat();found=1;}if (found==0) {if (e.which==13) submitchat();}var key = e.charCode || e.keyCode;if ((key == 47 || key == 191 || key == 190) && (e.ctrlKey || (e.metaKey && e.metaKey != undefined)) && top.mainpane.focus) {top.mainpane.focus();}if ((key == 38 || key == 40) && e.shiftKey) {if (chpointer == -1) {chcurrent = $('input[name="graf"]').val();}if (key == 38) {chpointer++;if (chpointer >= CHMAX || !chistory[chpointer]) {chpointer = -1;tosee = chcurrent;}else { tosee = chistory[chpointer]; }}else if (key == 40) {chpointer--;if (chpointer == -1) {tosee = chcurrent;}else if (chpointer < 0) {chpointer = chistory.length - 1;tosee = chistory[chpointer];}else {tosee = chistory[chpointer];}}$('input[name="graf"]').val(tosee);}}var chistory = [];var waitingurls = {};var CHMAX = 20;var chpointer = -1;var chcurrent = null;var normaltime = 4.5 * 1000;var afkoltime  = 30 * 1000;function submitchat(override) {bicycles = 0;var justrestarted = false;if (paused) {justrestarted = true;restartchat();}if (override)var postedgraf = override;elsevar postedgraf=document.chatform.graf.value;document.chatform.graf.value="";document.chatform.graf.focus();chistory.unshift(postedgraf);if (chistory.length > CHMAX) { chistory.pop(); }chpointer = -1;chcurrent = null;if (postedgraf == "/afk" || postedgraf == "/away"){if (!paused && !justrestarted) {document.getElementById("ChatWindow").innerHTML+="<font color=green>You are now in away mode, chat will update more slowly until you say something or <a href=\"javascript:restartchat();\">click Here</a> to mark yourself as active.</font><br>";paused=1;}postedgraf = "";document.chatform.graf.value="";document.chatform.graf.focus();}else if (postedgraf == "/clear" || postedgraf == "/cls"){document.getElementById("ChatWindow").innerHTML = "";postedgraf = "";document.chatform.graf.value="";document.chatform.graf.focus();}else if (postedgraf == "/help" || postedgraf == "/?"){//document.getElementById("ChatWindow").innerHTML = "";postedgraf = "";document.chatform.graf.value="";document.chatform.graf.focus();window.open("doc.php?topic=chat_commands","","height=400,width=500,scrollbars=yes,resizable=yes");}else if (postedgraf == "/mark"){//document.getElementById("ChatWindow").innerHTML += "<hr width=90%>";var d = new Date();document.getElementById("ChatWindow").innerHTML += "<center class=tiny>——— " + d.getHours() + ":" + (d.getMinutes() < 10 ? "0" + d.getMinutes() : d.getMinutes()) + ":" + (d.getSeconds() < 10 ? "0" + d.getSeconds() : d.getSeconds()) + " ———</center>";postedgraf = "";document.chatform.graf.value="";document.chatform.graf.focus();document.getElementById("ChatWindow").scrollTop+=400;}//alert(URLDecode(URLEncode(postedgraf)));if (postedgraf){postedgraf=URLEncode(postedgraf);var url = "http://"+window.location.host+"/submitnewchat.php?playerid=2165290&pwd=dd3359e9a70c685b35bb20f429522ca0&graf="+postedgraf;$.get(url, function (resp) {document.getElementById("ChatWindow").innerHTML+=(resp);jstest = /<!--js\((.+?)\)-->/g;while (ev = jstest.exec(resp)) {var cmd = ev[1];if (cmd.indexOf('dojax') == -1) cmd += ';setTimeout(nextAction,3000)';todo.push(cmd);}nextAction();document.getElementById("ChatWindow").scrollTop+=600;document.chatform.graf.focus();});}return false;}function nextAction() {var next_todo = todo.shift();if (next_todo) {eval(next_todo);}}function restartchat() {if (paused!=0) {paused=0;bicycles=0;getnewchat(lastseen,1);document.getElementById("ChatWindow").innerHTML+="<font color=green>Welcome Back.</font><br>";document.getElementById("ChatWindow").scrollTop+=400;}}function getnewchat(last,repeat) {chatTimer = null;inthemiddle=1;if (initialized==0) {initsizes();initialized=1;}//document.getElementById("ChatWindow").scrollTop+=40;var subcount;subcount=count;count++;var url = "http://"+window.location.host+"/newchatmessages.php?lasttime="+last+'&afk='+paused;waitingurls[url] = 1;$.ajax({url: url, success: function (resp) {if (!waitingurls[url]) return;delete waitingurls[url];inthemiddle=0;index=resp.lastIndexOf("lastseen");newlast=resp.substring(index+9,index+19);if (newlast>0) lastseen=newlast;var doscroll=false;if (resp.indexOf("<!--dead-->") != -1)top.location.href = "http://" + window.location.host + "/login.php?invalid=1&loginid=50a0f74324e64c4b989ddf4d089e9a3b";if (resp.indexOf("<!--refresh-->") != -1)top.charpane.location.reload(true);jstest = /<!--js\((.+)\)-->/;if (jstest.test(resp))try {eval(RegExp.$1);} catch (e) { }theDiv=document.getElementById("ChatWindow");if (theDiv.scrollHeight - (theDiv.scrollTop + theDiv.offsetHeight) < 4) doscroll=true;$("#ChatWindow").append(resp);chatlen=document.getElementById("ChatWindow").innerHTML.length;if (chatlen>30000 && newlast>0) {newhtml=document.getElementById("ChatWindow").innerHTML.substring(chatlen-30000,chatlen);newhtml=newhtml.substring(newhtml.indexOf("<"),30000);document.getElementById("ChatWindow").innerHTML=newhtml;}//document.getElementById("ChatWindow").innerHTML+="Stop #"+subcount+"<br>";document.getElementById("ChatWindow").style.width=initwidth;if (doscroll) document.getElementById("ChatWindow").scrollTop+=400;},timeout: 5000,complete: function () {nextCycle(repeat);}});}function nextCycle(repeat) {bicycles++;var justpaused = false;if (paused==0 && (bicycles * (normaltime / 1000)) > (60*15)) {paused=1;justpaused = true;document.getElementById("ChatWindow").innerHTML+="<font color=green>You are now in away mode, chat will update more slowly until you say something or <a href=\"javascript:restartchat();\">click Here</a> to mark yourself as active.</font><br>";document.getElementById("ChatWindow").scrollTop+=400;}if (repeat==1 && !chatTimer) chatTimer = setTimeout("getnewchat(lastseen,1);", paused && !justpaused ? afkoltime : normaltime);}/*$(document).bind('ajaxStop', function () {if (!chatTimer) {nextCycle(1);}});*/var todo = [];function nextAction() {var next_todo = todo.shift();if (next_todo) {eval(next_todo);}}function dojax(dourl, afterFunc, hoverCaller, failureFunc) {$.ajax({type: 'GET', url: dourl, cache: false,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(); }return;}			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(); }}});}// ====================================================================//       URLEncode and URLDecode functions//// Copyright Albion Research Ltd. 2002// http://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 charactersvar 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);}}} // forreturn 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++;}} // whilereturn plaintext;};(function(jQuery){var attr = 'color';jQuery.fx.step[attr] = function(fx){if ( fx.state == 0 ) {fx.start = getColor( fx.elem, attr );fx.end = getRGB( fx.end );}fx.elem.style[attr] = "rgb(" + [Math.max(Math.min( parseInt((fx.pos * (fx.end[0] - fx.start[0])) + fx.start[0]), 255), 0),Math.max(Math.min( parseInt((fx.pos * (fx.end[1] - fx.start[1])) + fx.start[1]), 255), 0),Math.max(Math.min( parseInt((fx.pos * (fx.end[2] - fx.start[2])) + fx.start[2]), 255), 0)].join(",") + ")";};function getRGB(color) {var result;// Check if we're already dealing with an array of colorsif ( color && color.constructor == Array && color.length == 3 )return color;// Look for rgb(num,num,num)if (result = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(color))return [parseInt(result[1]), parseInt(result[2]), parseInt(result[3])];// Look for #a0b1c2if (result = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(color))return [parseInt(result[1],16), parseInt(result[2],16), parseInt(result[3],16)];// Look for #fffif (result = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(color))return [parseInt(result[1]+result[1],16), parseInt(result[2]+result[2],16), parseInt(result[3]+result[3],16)];}function getColor(elem, attr) {var color;do {color = jQuery.curCSS(elem, attr);// Keep going until we find an element that has color, or we hit the bodyif ( color != '' && color != 'transparent' || jQuery.nodeName(elem, "body") )break;attr = "backgroundColor";} while ( elem = elem.parentNode );return getRGB(color);};})(jQuery);actions = { "sendmessage.php" : { "action" : 1, "title" : "Send Message", "arg" : "toid" }, "makeoffer.php" : { "action" : 1, "title" : "Propose Trade", "arg" : "towho" }, "skills.php" : { "action" : 1, "title" : "Buff", "arg" : "towho" }, "mallstore.php" : { "action" : 1, "title" : "Mall Store", "arg" : "whichstore" }, "/./curse.php" : { "action" : 1, "title" : "Throw TP", "arg" : "whichitem=1923&targetplayer" }, "/whois" : { "action" : 2, "useid" : false, "submit" : true}, "/msg" : { "action" : 3, "useid" : true, "query" : "Enter message to send to %:" }, "/friend" : { "action" : 2, "useid" : true, "submit" : true }};notchat = false;//--></script><script language="Javascript" src="http://images.kingdomofloathing.com/scripts/rcm.20101215.js"></script></head><body link=black alink=black vlink=black onLoad='getnewchat(lastseen,1);' onResize='initsizes();' id="body"><div id="ChatWindow" class=chatdisplay><center>Welcome to<Br><b>LoathingChat</b><br>version 0.9301</center><p>If you're using a weird browser and have problems, you can <a href="chat.php"><u>switch to the old chat system</u></a>.<p>Type <b>/?</b> for help with chat pane commands.<p></span><br><br><font color=green>Currently in channel: clan<P>This is a chat channel that only members of your clan can use.<p>There are currently 7 players in this channel.  For a full list, type "/who" and for a list of your contacts in the chat, type "/friends"</font><br><br></div><form name=chatform onSubmit='return false;'><div id="InputForm" class=inputform><Center><input style="width: 70%;" maxlength=200 class=text type=text size=12 name=graf onKeyUp='checkforenter(event);' autocomplete="off"><input class=button type=button onClick="submitchat()" value="Chat"></center></div></form><div id='menu' class='rcm'></div></body></html>
class net.sourceforge.kolmafia.request.ChatRequest
Connecting to newchatmessages.php...

Requesting: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315078497&pwd
3 request properties

Field: Cookie = [appserver=www9; PHPSESSID=rkiu8tgvt0m8lp05fg7cao5v57]
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315078497&pwd

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Thu, 05 Jul 2012 18:08:56 GMT]
Field: Content-Length = [26]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Content-Type = [text/html; charset=UTF-8]
Field: Connection = [close]
Field: Server = [nginx/0.8.55]
Field: X-Powered-By = [PHP/5.3.3]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
Field: Pragma = [no-cache]

Retrieving server reply
ResponseText has 26 characters.
<!--lastseen:1315078509-->
class net.sourceforge.kolmafia.request.ChatRequest
Connecting to newchatmessages.php...

Requesting: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315078509&pwd
3 request properties

Field: Cookie = [appserver=www9; PHPSESSID=rkiu8tgvt0m8lp05fg7cao5v57]
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315078509&pwd

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Thu, 05 Jul 2012 18:08:56 GMT]
Field: Content-Length = [26]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Content-Type = [text/html; charset=UTF-8]
Field: Connection = [close]
Field: Server = [nginx/0.8.55]
Field: X-Powered-By = [PHP/5.3.3]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
Field: Pragma = [no-cache]

Retrieving server reply
ResponseText has 26 characters.
<!--lastseen:1315078509-->
class net.sourceforge.kolmafia.request.ChatRequest
Connecting to newchatmessages.php...

Requesting: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315078509&pwd
3 request properties

Field: Cookie = [appserver=www9; PHPSESSID=rkiu8tgvt0m8lp05fg7cao5v57]
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315078509&pwd

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Thu, 05 Jul 2012 18:09:01 GMT]
Field: Content-Length = [26]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Content-Type = [text/html; charset=UTF-8]
Field: Connection = [close]
Field: Server = [nginx/0.8.55]
Field: X-Powered-By = [PHP/5.3.3]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
Field: Pragma = [no-cache]

Retrieving server reply
ResponseText has 26 characters.
<!--lastseen:1315078519-->
class net.sourceforge.kolmafia.request.ChatRequest
Connecting to newchatmessages.php...

Requesting: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315078519&pwd
3 request properties

Field: Cookie = [appserver=www9; PHPSESSID=rkiu8tgvt0m8lp05fg7cao5v57]
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315078519&pwd

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Thu, 05 Jul 2012 18:09:05 GMT]
Field: Content-Length = [26]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Content-Type = [text/html; charset=UTF-8]
Field: Connection = [close]
Field: Server = [nginx/0.8.55]
Field: X-Powered-By = [PHP/5.3.3]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
Field: Pragma = [no-cache]

Retrieving server reply
ResponseText has 26 characters.
<!--lastseen:1315078523-->
class net.sourceforge.kolmafia.request.ChatRequest
Connecting to newchatmessages.php...

Requesting: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315078523&pwd
3 request properties

Field: Cookie = [appserver=www9; PHPSESSID=rkiu8tgvt0m8lp05fg7cao5v57]
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315078523&pwd

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Thu, 05 Jul 2012 18:09:05 GMT]
Field: Content-Length = [26]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Content-Type = [text/html; charset=UTF-8]
Field: Connection = [close]
Field: Server = [nginx/0.8.55]
Field: X-Powered-By = [PHP/5.3.3]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
Field: Pragma = [no-cache]

Retrieving server reply
ResponseText has 26 characters.
<!--lastseen:1315078527-->
class net.sourceforge.kolmafia.request.ChatRequest
Connecting to submitnewchat.php...

Requesting: http://www.kingdomofloathing.com/submitnewchat.php?playerid=2165290&graf=now+the+new+debugging+is+on...see+if+it+logs+anything+useful&pwd
3 request properties

Field: Cookie = [appserver=www9; PHPSESSID=rkiu8tgvt0m8lp05fg7cao5v57]
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/submitnewchat.php?playerid=2165290&graf=now+the+new+debugging+is+on...see+if+it+logs+anything+useful&pwd

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Thu, 05 Jul 2012 18:09:08 GMT]
Field: Content-Length = [161]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Content-Type = [text/html; charset=UTF-8]
Field: Connection = [close]
Field: Server = [nginx/0.8.55]
Field: X-Powered-By = [PHP/5.3.3]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
Field: Pragma = [no-cache]

Retrieving server reply
ResponseText has 161 characters.
<b><a target=mainpane href="showplayer.php?who=2165290"><font color=black>Pawn69</font></a>:</b> now the new debugging is on...see if it logs anything useful<br>
<font color=green><b><a target=mainpane href="showplayer.php?who=2165290">Pawn69</a></b>: now the new debugging is on...see if it logs anything useful</font><br>
class net.sourceforge.kolmafia.request.ChatRequest
Connecting to newchatmessages.php...

Requesting: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315078527&pwd
3 request properties

Field: Cookie = [appserver=www9; PHPSESSID=rkiu8tgvt0m8lp05fg7cao5v57]
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315078527&pwd

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Thu, 05 Jul 2012 18:09:10 GMT]
Field: Content-Length = [26]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Content-Type = [text/html; charset=UTF-8]
Field: Connection = [close]
Field: Server = [nginx/0.8.55]
Field: X-Powered-By = [PHP/5.3.3]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
Field: Pragma = [no-cache]

Retrieving server reply
ResponseText has 26 characters.
<!--lastseen:1315078532-->
class net.sourceforge.kolmafia.request.ChatRequest
Connecting to newchatmessages.php...

Requesting: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315078532&pwd
3 request properties

Field: Cookie = [appserver=www9; PHPSESSID=rkiu8tgvt0m8lp05fg7cao5v57]
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...

Edit: I forgot to mention, I tested also to see when the issue started, it was OK in 11238, and started in 11239.
 
Last edited:

Lord_Kobel

Member
Just checked. Doesn't happen in 11238, does happen in 11239.

I'll try 48 now...

Edit: Ooops, should have checked the second page...

Here's my output:
Code:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
         KoLmafia v15.3 r11248, Windows 7, Java 1.7.0_05
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Please note: do not post this log in the KoLmafia thread. If you
 would like the 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 the log as an attachment.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Timestamp: Thu Jul 05 19:39:47 BST 2012
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


class net.sourceforge.kolmafia.request.ChatRequest
Connecting to newchatmessages.php...

Requesting: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315080882&pwd
3 request properties

Field: Cookie = [appserver=www10; PHPSESSID=mlvqvenrp4rsmi6gamnrvfieo0]
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315080882&pwd

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Thu, 05 Jul 2012 18:39:48 GMT]
Field: Content-Length = [26]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Connection = [close]
Field: Content-Type = [text/html; charset=UTF-8]
Field: X-Powered-By = [PHP/5.3.3]
Field: Server = [nginx/0.8.55]
Field: Pragma = [no-cache]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]

Retrieving server reply
ResponseText has 26 characters.
<!--lastseen:1315080888-->
class net.sourceforge.kolmafia.request.ChatRequest
Connecting to submitnewchat.php...

Requesting: http://www.kingdomofloathing.com/submitnewchat.php?playerid=533033&graf=yo&pwd
3 request properties

Field: Cookie = [appserver=www10; PHPSESSID=mlvqvenrp4rsmi6gamnrvfieo0]
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/submitnewchat.php?playerid=533033&graf=yo&pwd

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Thu, 05 Jul 2012 18:39:53 GMT]
Field: Content-Length = [106]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Connection = [close]
Field: Content-Type = [text/html; charset=UTF-8]
Field: X-Powered-By = [PHP/5.3.3]
Field: Server = [nginx/0.8.55]
Field: Pragma = [no-cache]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]

Retrieving server reply
ResponseText has 106 characters.
<b><a target=mainpane href="showplayer.php?who=533033"><font color=black>Lord Kobel</font></a>:</b> yo<br>
<font color=green><b><a target=mainpane href="showplayer.php?who=533033">Lord Kobel</a></b>: yo</font><br>
class net.sourceforge.kolmafia.request.ChatRequest
Connecting to newchatmessages.php...

Requesting: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315080888&pwd
3 request properties

Field: Cookie = [appserver=www10; PHPSESSID=mlvqvenrp4rsmi6gamnrvfieo0]
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315080888&pwd

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Thu, 05 Jul 2012 18:39:54 GMT]
Field: Content-Length = [26]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Connection = [close]
Field: Content-Type = [text/html; charset=UTF-8]
Field: X-Powered-By = [PHP/5.3.3]
Field: Server = [nginx/0.8.55]
Field: Pragma = [no-cache]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]

Retrieving server reply
ResponseText has 26 characters.
<!--lastseen:1315080896-->
class net.sourceforge.kolmafia.request.ChatRequest
Connecting to newchatmessages.php...

Requesting: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315080896&pwd
3 request properties

Field: Cookie = [appserver=www10; PHPSESSID=mlvqvenrp4rsmi6gamnrvfieo0]
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315080896&pwd

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Thu, 05 Jul 2012 18:39:59 GMT]
Field: Content-Length = [26]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Connection = [close]
Field: Content-Type = [text/html; charset=UTF-8]
Field: X-Powered-By = [PHP/5.3.3]
Field: Server = [nginx/0.8.55]
Field: Pragma = [no-cache]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]

Retrieving server reply
ResponseText has 26 characters.
<!--lastseen:1315080903-->
class net.sourceforge.kolmafia.request.ChatRequest
Connecting to newchatmessages.php...

Requesting: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315080903&pwd
3 request properties

Field: Cookie = [appserver=www10; PHPSESSID=mlvqvenrp4rsmi6gamnrvfieo0]
Field: User-Agent = [KoLmafia v15.3]
Field: Connection = [close]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/newchatmessages.php?lasttime=1315080903&pwd

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Thu, 05 Jul 2012 18:40:04 GMT]
Field: Content-Length = [26]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Connection = [close]
Field: Content-Type = [text/html; charset=UTF-8]
Field: X-Powered-By = [PHP/5.3.3]
Field: Server = [nginx/0.8.55]
Field: Pragma = [no-cache]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]

Retrieving server reply
ResponseText has 26 characters.
<!--lastseen:1315080911-->

> debug off
 
Last edited:

Veracity

Developer
Staff member
Ha ha. Well, it looks like you are in a single channel and are not listening to any other channels. Hence, no channel tags.
I should be able to reproduce and fix this.

Well, that is not it. Turns out we have two idiosyncratic uses of HTML which my regexp didn't account for:

Code:
<b><a target=mainpane href="showplayer.php?who=533033"><font color=black>Lord Kobel</font></a>:</b> yo<br>
<b><a target=mainpane href="showplayer.php?who=1927238"><font color=black>TheLetterKay</font></b></a>: i need to script using maps to safety shelter grimace prime to get me dog hair pills<br>
Note that the first one has "</a>:</b>" and the second one has "</b></a>:".
My regexp only accommodates what KoL gives ME: "</a></b>:".

Nothing like consistency, KoL.
 
Last edited:
I've not tried 11250 yet, since it hasn't been posted to builds.kolmafia.us just yet, but this sounds like it'll be the right fix. I'm currently seeing all green messages in my main channel, clan, and getting proper message handling/formatting in other channels. Now to wait for 11250 to post...
 

Donavin69

Member
So, since I'm waiting for 11250, I got a thought from Veracity's post, I enabled "Display Channel Name, even for the channel you are in" and problem was resolved. (all other channels were already working correctly)
 

xKiv

Active member
I thought having that setting enabled was necessary for kolmafia's chat to work?
 
Top