Bug - Fixed KoLmafia's getting confused, login appears to fail (but doesn't?)

See debug log.

Code:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
          KoLmafia v15.7 r11668, Mac OS X, Java 1.7.0_09
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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: Sun Dec 02 05:41:58 EST 2012
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Installing default certificate validation...
Validating login server (www.kingdomofloathing.com)...
class net.sourceforge.kolmafia.request.LoginRequest
Connecting to login.php...

Requesting: http://www.kingdomofloathing.com/login.php
2 request properties

Field: User-Agent = [KoLmafia v15.7]
Field: Connection = [close]

Retrieving server reply...

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

9 header fields
Field: null = [HTTP/1.1 302 Found]
Field: Date = [Sun, 02 Dec 2012 10:42:00 GMT]
Field: Content-Length = [0]
Field: Location = [/login.php?loginid=ce7a739d686248e79fdae41a4cddabb4]
Field: Set-Cookie = [appserver=www10]
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]

Connecting to login.php...

Requesting: http://www.kingdomofloathing.com/login.php?loginid=ce7a739d686248e79fdae41a4cddabb4
2 request properties

Field: User-Agent = [KoLmafia v15.7]
Field: Connection = [close]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/login.php?loginid=ce7a739d686248e79fdae41a4cddabb4

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Transfer-Encoding = [chunked]
Field: Date = [Sun, 02 Dec 2012 10:42:00 GMT]
Field: Set-Cookie = [appserver=www9]
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-cache]

Retrieving server reply
ResponseText has 8745 characters.
<html><head><meta http-equiv="Expires" content="Tue, 01 Jan 2000 12:12:12 GMT"><meta http-equiv="Pragma" content="no-cache"><title>The Kingdom of Loathing</title><script language=Javascript src="https://images.kingdomofloathing.com/scripts/md5.js"></script><meta property="og:description" content="The Kingdom of Loathing (or KoL, as it has come to be known by its player base) is a free, comical RPG, brought to you by the folks at Asymmetric Publications." /><meta property="og:url" content="http://www.kingdomofloathing.com/static.php?id=whatiskol" /><meta property="og:site_name" content="KoL" /><meta property="og:title" content="The Kingdom of Loathing" /><meta property="og:type" content="game" /><script>if (parent.frames.length)top.location.href='login.php?';var md5s = md5_vm_test();function validate(){var f = document.Login;if (f.secure.value == 1 && md5s){f.response.value = hex_md5(hex_md5(f.password.value) + ":" +  f.challenge.value);f.submitbutton.value = "Loading...";f.submitbutton.disabled = true;f.password.value = "";}return true;}function _onload(){document.Login.loginname.focus();if (md5s)document.Login.secure.value = 1;}</script><link rel="stylesheet" type="text/css" href="https://images.kingdomofloathing.com/styles.css"></head><body bgcolor=white link=black alink=black vlink=black text=black onLoad="_onload();"><center><table cellpadding=5><tr><td><img src="https://images.kingdomofloathing.com/otherimages/leftswordguy.gif"></td><td><center><b><font size=+2>The Kingdom of Loathing</font></b><br>An Adventurer is You!<br></font></center></td><td><img src="https://images.kingdomofloathing.com/otherimages/rightswordguy.gif"></td></table></center><center><table cellpadding=3><tr><Td style=" font-family: arial; font-size: 12px; "><a href="static.php?id=whatiskol">What is KoL?</a><b>::</b><a href="createplayer.php">Create an Account</a><b>::</b><a target=_blank href="http://forums.kingdomofloathing.com/">Forums</a><b>::</b><a href="radio.php">Radio</a><b>::</b><a target=_blank href="http://store.asymmetric.net/">KoL Merchandise!</a><b>::</b><a href="sendjickmail.php">Contact Us</a></font></td></tr></table><table><tr><td valign=top><table  width=250  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Enter the Kingdom:</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><table align=center><form name="Login" action="login.php" method=post onSubmit='return validate();'><input type=hidden name=loggingin value="Yup."><tr><td align=right class=small>Login:</td><td align=left><input class=text type=text name=loginname size=16 ></td></tr><tr><td align=right class=small>Password:</td><td align=left><input class=text type=password name=password size=16 maxlength=250></td></tr><input type=hidden id=secure name=secure value=0><input type=hidden name=challenge value="112c9db787704198a93fb052b4591d07"><input type=hidden name=response value=''><tr><td colspan=2><center><input class=button type=submit value="Log In" name=submitbutton id=submitbutton></center><p><font size=1>If you've forgotten your password, or need your activation code resent, please <a href="http://www.kingdomofloathing.com/forgotpassword.php">click here</a>.<p>Logging in constitutes agreement to abide by the <a href="static.php?id=policy">Policies of Loathing</a>.</td></tr></form></table></td></tr></table></center></td></tr><tr><td height=4></td></tr></table><table  width=250  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Sign Up!</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><span class=small>Don't have an account?  Create one -- it's free!</span><center><form style='display: inline;' action=createplayer.php><input type=submit class=button value="Create a Character"></center></form></td></tr></table></center></td></tr><tr><td height=4></td></tr></table><table  width=250  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Support the Kingdom:</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><font size=2><b>A Very Special Message from Jick:</b><p>As the number of KoL players increases, so does the cost of hosting.  I very much want to keep the game free, so please consider supporting the development and maintenance of the Kingdom by donating (once you're logged in...) or picking up some groovy merchandise from our <a target=_blank href="http://store.asymmetric.net/">Store</a>.<p>With a donation of 10 dollars or more, you'll receive a snazzy gift!  Check the donate page (accessible from your top menu after you've logged in) for details.</font></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></td><td valign=top><table  width=350  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Announcements:</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><font size=2>There are currently <b>552</b> players logged in.<p>Check out KoL's official fan site, <a target=_blank href="http://kol.coldfront.net">KoL Coldfront</a>.<p><b>November 30</b><br>December's Item-of-the-Month in Mr. Store, Advent Calendars in the campground, and strange things afoot!<p>Happy Holidays!<p><b>November 19</b><br>The 2013 KoL Calendar and a couple types of Crimbo cards are now available in the <a href="http://store.asymmetric.net/#media" style="text-decoration: underline" target=_blank>Store of Loathing</a>!<p><b>November 14</b><br>The Winter 2012 Challenge Path, Class Act, is now available in the place where challenge paths are.<p>The level 9 Council quest has also been replaced with something totally unlike the original level 9 Council quest.<p><center><a href="static.php?id=oldannouncements">old announcements</a> / <a href="static.php?id=trivial">trivial updates</a></center></font></td></tr></table></center></td></tr><tr><td height=4></td></tr></table><table width=350  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Deepest Basement Level (Current)</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><table><tr><td class=small align=center><b>Player    </b></td><td class=small align=center><b>Level</b></td></tr><tr><td class=small><b>Raven Darkchild</b></a>    </td><td class=small align=right>31,736</td></tr><tr><td class=small><b>erTEST1</b></a>    </td><td class=small align=right>26,462</td></tr><tr><td class=small><b>Xenos_in_a_Hat</b></a>    </td><td class=small align=right>25,500</td></tr><tr><td class=small><b>SevenLances_com</b></a>    </td><td class=small align=right>16,606</td></tr><tr><td class=small><b>SoCal</b></a>    </td><td class=small align=right>16,300</td></tr><tr><td class=small><b>nightmancer</b></a>    </td><td class=small align=right>13,521</td></tr><tr><td class=small><b>Gabriel Toad</b></a>    </td><td class=small align=right>13,027</td></tr><tr><td class=small><b>MI4 REAL</b></a>    </td><td class=small align=right>11,233</td></tr><tr><td class=small><b>maceblade</b></a>    </td><td class=small align=right>10,416</td></tr><tr><td class=small><b>RAbid penGUin</b></a>    </td><td class=small align=right>9,075</td></tr><tr><td class=small><b>TheCrab</b></a>    </td><td class=small align=right>8,182</td></tr><tr><td class=small><b>MajorInfinity</b></a>    </td><td class=small align=right>6,436</td></tr><tr><td class=small><b>Warpe</b></a>    </td><td class=small align=right>6,432</td></tr><tr><td class=small><b>FridgeTroll</b></a>    </td><td class=small align=right>5,982</td></tr><tr><td class=small><b>Bek</b></a>    </td><td class=small align=right>5,829</td></tr></table></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></td></tr></table></center><p><!--<script>document.onload = function () { document.Login.loginname.focus(); };</script>--><!--dead--><!--<center><font face=Arial>Copyright © 2011 <a target=_blank href="http://asymmetric.net/">Asymmetric Publications, LLC</a></font></center></body></html>--><center><font face=Arial>Copyright © 2012, <a target=_blank href="http://asymmetric.net/">Asymmetric Publications, LLC</a></font></center></body></html>
552 players online.
Sending login request...
class net.sourceforge.kolmafia.request.LoginRequest
Connecting to login.php...

Requesting: http://www.kingdomofloathing.com/login.php?password&challenge=112c9db787704198a93fb052b4591d07&response=9170be0c70e6efd4414d224d1650cc6c&secure=1&loginname=miniwrld&loggingin=Yup.
3 request properties

Field: User-Agent = [KoLmafia v15.7]
Field: Connection = [close]
Field: Content-Type = [application/x-www-form-urlencoded]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/login.php?password&challenge=112c9db787704198a93fb052b4591d07&response=9170be0c70e6efd4414d224d1650cc6c&secure=1&loginname=miniwrld&loggingin=Yup.

12 header fields
Field: null = [HTTP/1.1 302 Found]
Field: Date = [Sun, 02 Dec 2012 10:42:01 GMT]
Field: Content-Length = [0]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Location = [/game.php]
Field: Set-Cookie = [appserver=www8, PHPSESSID=p7ma480fsdhqeeqvu1gon45jb6; path=/]
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]

class net.sourceforge.kolmafia.request.GenericRequest
Connecting to actionbar.php...

Requesting: http://www.kingdomofloathing.com/actionbar.php?action=fetch
4 request properties

Field: Cookie = [appserver=www8; PHPSESSID=p7ma480fsdhqeeqvu1gon45jb6]
Field: User-Agent = [KoLmafia v15.7]
Field: Connection = [close]
Field: Content-Type = [application/x-www-form-urlencoded]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/actionbar.php?action=fetch

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Sun, 02 Dec 2012 10:42:01 GMT]
Field: Content-Length = [1542]
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 1542 characters.
{"whichpage":0,"pages":[[null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null]],"kolproxy state":{"character":{"name":"miniwrld","state":"fromList [(\"settings base level\",\"detailed\"),(\"turnsplayed last state change\",\"29018\")]"},"ascension":{"ascension":"9","state":"fromList [(\"battlefield.kills.hippy\",\"[(\\\"max\\\", 1000), (\\\"min\\\", 1000)]\"),(\"last semirare encounter\",\"All The Rave\"),(\"last semirare turn\",\"1705\"),(\"zone.dod.potions\",\"[(\\\"bubbly potion\\\", \\\"detection\\\"), (\\\"cloudy potion\\\", \\\"teleportation\\\"), (\\\"dark potion\\\", \\\"strength\\\")]\"),(\"zone.island.nun meat\",\"100768\"),(\"zone.lair.doorcode\",\"697\"),(\"zone.manor.quartet song\",\"Le Mie Cose Favorite\")]"},"day":{"ascension-day":"9-16","state":"fromList [(\"done daily visits\",\"yes\")]"},"timestamp":{"turnsplayed":"29018"}}}
Unknown item found: Taco Dan's Taco Stand's Chillacious Churro (0)
Bad item for monster "sign-twirling Crimbo elf": Taco Dan's Taco Stand's Chillacious Churro (0)
Requests complete.
 
Trace for the same issue:
Code:
KoLmafia v15.7 r11668
Released on October 13, 2012

Currently Running on Windows 7
Local Directory is ...
Using Java 1.6.0_35


Installing default certificate validation...
Validating login server (www.kingdomofloathing.com)...
530 players online.
Sending login request...
Unknown item found: Taco Dan's Taco Stand's Chillacious Churro (0)
Bad item for monster "sign-twirling Crimbo elf": Taco Dan's Taco Stand's Chillac
ious Churro (0)
Requests complete.

Exception in thread "main" java.lang.ExceptionInInitializerError
        at net.sourceforge.kolmafia.AreaCombatData.addMonster(AreaCombatData.java:170)
        at net.sourceforge.kolmafia.persistence.AdventureDatabase.refreshCombatsTable(AdventureDatabase.java:285)
        at net.sourceforge.kolmafia.persistence.AdventureDatabase.<clinit>(AdventureDatabase.java:114)
        at net.sourceforge.kolmafia.session.LoginManager.initialize(LoginManager.java:165)
        at net.sourceforge.kolmafia.session.LoginManager.doLogin(LoginManager.java:88)
        at net.sourceforge.kolmafia.session.LoginManager.login(LoginManager.java:72)
        at net.sourceforge.kolmafia.request.LoginRequest.processLoginRequest(LoginRequest.java:439)
        at net.sourceforge.kolmafia.request.GenericRequest.handleServerRedirect(GenericRequest.java:1841)
        at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:1738)
        at net.sourceforge.kolmafia.request.GenericRequest.execute(GenericRequest.java:1444)
        at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:1337)
        at net.sourceforge.kolmafia.request.LoginRequest.run(LoginRequest.java:261)
        at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:222)
        at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:185)
        at net.sourceforge.kolmafia.KoLmafiaCLI.attemptLogin(KoLmafiaCLI.java:156)
        at net.sourceforge.kolmafia.textui.command.LoginCommand.run(LoginCommand.java:50)
        at net.sourceforge.kolmafia.KoLmafiaCLI.doExecuteCommand(KoLmafiaCLI.java:593)
        at net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(KoLmafiaCLI.java:546)
        at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:447)
        at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:315)
        at net.sourceforge.kolmafia.KoLmafiaCLI$CommandProcessorThread.run(KoLmafiaCLI.java:237)
        at net.sourceforge.kolmafia.KoLmafiaCLI.listenForCommands(KoLmafiaCLI.java:309)
        at net.sourceforge.kolmafia.textui.command.CallScriptCommand.call(CallScriptCommand.java:237)
        at net.sourceforge.kolmafia.textui.command.CallScriptCommand.run(CallScriptCommand.java:74)
        at net.sourceforge.kolmafia.KoLmafiaCLI.doExecuteCommand(KoLmafiaCLI.java:593)
        at net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(KoLmafiaCLI.java:546)
        at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:447)
        at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:315)
        at net.sourceforge.kolmafia.KoLmafia.main(KoLmafia.java:554)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(Unknown Source)
        at net.sourceforge.kolmafia.persistence.MonsterDatabase.parseItem(MonsterDatabase.java:290)
        at net.sourceforge.kolmafia.persistence.MonsterDatabase.refreshMonsterTable(MonsterDatabase.java:231)
        at net.sourceforge.kolmafia.persistence.MonsterDatabase.<clinit>(MonsterDatabase.java:202)
        ... 29 more
 
Think it's a 11668 bug. 11668 it says "Requests Complete" after trying to log in, and stays on the initial log in page. 11667 it logs in fine as usual.

Debug log from 11668 :
Code:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
         KoLmafia v15.7 r11668, Windows 7, Java 1.6.0_37
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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: Sun Dec 02 11:10:15 GMT 2012
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Installing default certificate validation...
Validating login server (www.kingdomofloathing.com)...
class net.sourceforge.kolmafia.request.LoginRequest
Connecting to login.php...

Requesting: http://www.kingdomofloathing.com/login.php
2 request properties

Field: User-Agent = [KoLmafia v15.7]
Field: Connection = [close]

Retrieving server reply...

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

9 header fields
Field: null = [HTTP/1.1 302 Found]
Field: Date = [Sun, 02 Dec 2012 11:10:19 GMT]
Field: Content-Length = [0]
Field: Location = [/login.php?loginid=70f83137236643489d1f2e1d5a64ed42]
Field: Set-Cookie = [appserver=www9]
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]

Connecting to login.php...

Requesting: http://www.kingdomofloathing.com/login.php?loginid=70f83137236643489d1f2e1d5a64ed42
2 request properties

Field: User-Agent = [KoLmafia v15.7]
Field: Connection = [close]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/login.php?loginid=70f83137236643489d1f2e1d5a64ed42

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Sun, 02 Dec 2012 11:10:19 GMT]
Field: Transfer-Encoding = [chunked]
Field: Set-Cookie = [appserver=www10]
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-cache]
Field: Pragma = [no-cache]

Retrieving server reply
ResponseText has 8787 characters.
<html><head><meta http-equiv="Expires" content="Tue, 01 Jan 2000 12:12:12 GMT"><meta http-equiv="Pragma" content="no-cache"><title>The Kingdom of Loathing</title><script language=Javascript src="https://images.kingdomofloathing.com/scripts/md5.js"></script><meta property="og:description" content="The Kingdom of Loathing (or KoL, as it has come to be known by its player base) is a free, comical RPG, brought to you by the folks at Asymmetric Publications." /><meta property="og:url" content="http://www.kingdomofloathing.com/static.php?id=whatiskol" /><meta property="og:site_name" content="KoL" /><meta property="og:title" content="The Kingdom of Loathing" /><meta property="og:type" content="game" /><script>if (parent.frames.length)top.location.href='login.php?';var md5s = md5_vm_test();function validate(){var f = document.Login;if (f.secure.value == 1 && md5s){f.response.value = hex_md5(hex_md5(f.password.value) + ":" +  f.challenge.value);f.submitbutton.value = "Loading...";f.submitbutton.disabled = true;f.password.value = "";}return true;}function _onload(){document.Login.loginname.focus();if (md5s)document.Login.secure.value = 1;}</script><link rel="stylesheet" type="text/css" href="https://images.kingdomofloathing.com/styles.css"></head><body bgcolor=white link=black alink=black vlink=black text=black onLoad="_onload();"><center><table cellpadding=5><tr><td><img src="https://images.kingdomofloathing.com/otherimages/leftswordguy.gif"></td><td><center><b><font size=+2>The Kingdom of Loathing</font></b><br>An Adventurer is You!<br></font></center></td><td><img src="https://images.kingdomofloathing.com/otherimages/rightswordguy.gif"></td></table></center><center><table cellpadding=3><tr><Td style=" font-family: arial; font-size: 12px; "><a href="static.php?id=whatiskol">What is KoL?</a><b>::</b><a href="createplayer.php">Create an Account</a><b>::</b><a target=_blank href="http://forums.kingdomofloathing.com/">Forums</a><b>::</b><a href="radio.php">Radio</a><b>::</b><a target=_blank href="http://store.asymmetric.net/">KoL Merchandise!</a><b>::</b><a href="sendjickmail.php">Contact Us</a></font></td></tr></table><table><tr><td valign=top><table  width=250  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Enter the Kingdom:</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><table align=center><form name="Login" action="login.php" method=post onSubmit='return validate();'><input type=hidden name=loggingin value="Yup."><tr><td align=right class=small>Login:</td><td align=left><input class=text type=text name=loginname size=16 ></td></tr><tr><td align=right class=small>Password:</td><td align=left><input class=text type=password name=password size=16 maxlength=250></td></tr><input type=hidden id=secure name=secure value=0><input type=hidden name=challenge value="c7d7a875c17d401d985f3a886412fda1"><input type=hidden name=response value=''><tr><td colspan=2><center><input class=button type=submit value="Log In" name=submitbutton id=submitbutton></center><p><font size=1>If you've forgotten your password, or need your activation code resent, please <a href="http://www.kingdomofloathing.com/forgotpassword.php">click here</a>.<p>Logging in constitutes agreement to abide by the <a href="static.php?id=policy">Policies of Loathing</a>.</td></tr></form></table></td></tr></table></center></td></tr><tr><td height=4></td></tr></table><table  width=250  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Sign Up!</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><span class=small>Don't have an account?  Create one -- it's free!</span><center><form style='display: inline;' action=createplayer.php><input type=submit class=button value="Create a Character"></center></form></td></tr></table></center></td></tr><tr><td height=4></td></tr></table><table  width=250  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Support the Kingdom:</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><font size=2><b>A Very Special Message from Jick:</b><p>As the number of KoL players increases, so does the cost of hosting.  I very much want to keep the game free, so please consider supporting the development and maintenance of the Kingdom by donating (once you're logged in...) or picking up some groovy merchandise from our <a target=_blank href="http://store.asymmetric.net/">Store</a>.<p>With a donation of 10 dollars or more, you'll receive a snazzy gift!  Check the donate page (accessible from your top menu after you've logged in) for details.</font></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></td><td valign=top><table  width=350  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Announcements:</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><font size=2>There are currently <b>531</b> players logged in.<p>KoL's staff makes several non-KoL-related podcasts.  Go to <a target=_blank href=http://hotdognet.com>The Hot Dog Network</a> and check 'em out!<p><b>November 30</b><br>December's Item-of-the-Month in Mr. Store, Advent Calendars in the campground, and strange things afoot!<p>Happy Holidays!<p><b>November 19</b><br>The 2013 KoL Calendar and a couple types of Crimbo cards are now available in the <a href="http://store.asymmetric.net/#media" style="text-decoration: underline" target=_blank>Store of Loathing</a>!<p><b>November 14</b><br>The Winter 2012 Challenge Path, Class Act, is now available in the place where challenge paths are.<p>The level 9 Council quest has also been replaced with something totally unlike the original level 9 Council quest.<p><center><a href="static.php?id=oldannouncements">old announcements</a> / <a href="static.php?id=trivial">trivial updates</a></center></font></td></tr></table></center></td></tr><tr><td height=4></td></tr></table><table width=350  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Deepest Basement Level (Current)</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><table><tr><td class=small align=center><b>Player    </b></td><td class=small align=center><b>Level</b></td></tr><tr><td class=small><b>Raven Darkchild</b></a>    </td><td class=small align=right>31,736</td></tr><tr><td class=small><b>erTEST1</b></a>    </td><td class=small align=right>26,462</td></tr><tr><td class=small><b>Xenos_in_a_Hat</b></a>    </td><td class=small align=right>25,500</td></tr><tr><td class=small><b>SevenLances_com</b></a>    </td><td class=small align=right>16,606</td></tr><tr><td class=small><b>SoCal</b></a>    </td><td class=small align=right>16,300</td></tr><tr><td class=small><b>nightmancer</b></a>    </td><td class=small align=right>13,521</td></tr><tr><td class=small><b>Gabriel Toad</b></a>    </td><td class=small align=right>13,027</td></tr><tr><td class=small><b>MI4 REAL</b></a>    </td><td class=small align=right>11,233</td></tr><tr><td class=small><b>maceblade</b></a>    </td><td class=small align=right>10,416</td></tr><tr><td class=small><b>RAbid penGUin</b></a>    </td><td class=small align=right>9,075</td></tr><tr><td class=small><b>TheCrab</b></a>    </td><td class=small align=right>8,182</td></tr><tr><td class=small><b>MajorInfinity</b></a>    </td><td class=small align=right>6,436</td></tr><tr><td class=small><b>Warpe</b></a>    </td><td class=small align=right>6,432</td></tr><tr><td class=small><b>FridgeTroll</b></a>    </td><td class=small align=right>5,982</td></tr><tr><td class=small><b>Bek</b></a>    </td><td class=small align=right>5,829</td></tr></table></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></td></tr></table></center><p><!--<script>document.onload = function () { document.Login.loginname.focus(); };</script>--><!--dead--><!--<center><font face=Arial>Copyright © 2011 <a target=_blank href="http://asymmetric.net/">Asymmetric Publications, LLC</a></font></center></body></html>--><center><font face=Arial>Copyright © 2012, <a target=_blank href="http://asymmetric.net/">Asymmetric Publications, LLC</a></font></center></body></html>
531 players online.
Sending login request...
class net.sourceforge.kolmafia.request.LoginRequest
Connecting to login.php...

Requesting: http://www.kingdomofloathing.com/login.php?password&challenge=c7d7a875c17d401d985f3a886412fda1&response=ca02c286a784ed737d09089c567f5c60&secure=1&loginname=darzil&loggingin=Yup.
3 request properties

Field: User-Agent = [KoLmafia v15.7]
Field: Connection = [close]
Field: Content-Type = [application/x-www-form-urlencoded]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/login.php?password&challenge=c7d7a875c17d401d985f3a886412fda1&response=ca02c286a784ed737d09089c567f5c60&secure=1&loginname=darzil&loggingin=Yup.

12 header fields
Field: null = [HTTP/1.1 302 Found]
Field: Date = [Sun, 02 Dec 2012 11:10:20 GMT]
Field: Content-Length = [0]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Location = [/game.php]
Field: Set-Cookie = [appserver=www8, PHPSESSID=r3m2dnbjjjegdc4b24u6fljbl1; path=/]
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]

class net.sourceforge.kolmafia.request.GenericRequest
Connecting to actionbar.php...

Requesting: http://www.kingdomofloathing.com/actionbar.php?action=fetch
4 request properties

Field: Cookie = [appserver=www8; PHPSESSID=r3m2dnbjjjegdc4b24u6fljbl1]
Field: User-Agent = [KoLmafia v15.7]
Field: Connection = [close]
Field: Content-Type = [application/x-www-form-urlencoded]

Retrieving server reply...

Retrieved: http://www.kingdomofloathing.com/actionbar.php?action=fetch

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Sun, 02 Dec 2012 11:10:21 GMT]
Field: Content-Length = [1229]
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 1229 characters.
{"whichpage":0,"pages":[[{"type":"skill","id":"11003","pic":"broadside"},{"type":"skill","id":"11001","pic":"axecleave"},{"type":"skill","id":"11011","pic":"breath"},{"type":"skill","id":"11000","pic":"mightyaxing"},{"type":"skill","id":"11026","pic":"belch"},{"type":"action","id":"attack","pic":"trusty"},null,{"type":"item","id":"2405","pic":"documents"},{"type":"item","id":"2678","pic":"scepter"},{"type":"item","id":"5560","pic":"raindohballs"},{"type":"item","id":"5561","pic":"raindohcup"},{"type":"item","id":"5563","pic":"raindohbox"}],[null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null]]}
Unknown item found: Taco Dan's Taco Stand's Chillacious Churro (0)
Bad item for monster "sign-twirling Crimbo elf": Taco Dan's Taco Stand's Chillacious Churro (0)
Requests complete.

Loading window: LoginFrame
Logout in progress (interface will be unresponsive)...
Preparing for logout...
Sharing mall price data with other users...
You have no updated price data to submit.
Requests complete.

Sending logout request...
class net.sourceforge.kolmafia.request.LogoutRequest
Connecting to logout.php...

Requesting: http://www.kingdomofloathing.com/logout.php
2 request properties

Field: User-Agent = [KoLmafia v15.7]
Field: Connection = [close]

Retrieving server reply...

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

8 header fields
Field: null = [HTTP/1.1 302 Found]
Field: Date = [Sun, 02 Dec 2012 11:10:25 GMT]
Field: Content-Length = [0]
Field: Location = [loggedout.php]
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]

Connecting to loggedout.php...

Requesting: http://www.kingdomofloathing.com/loggedout.php
2 request properties

Field: User-Agent = [KoLmafia v15.7]
Field: Connection = [close]

Retrieving server reply...

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

11 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Sun, 02 Dec 2012 11:10:25 GMT]
Field: Content-Length = [1172]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Set-Cookie = [PHPSESSID=vml4fo32r2pau3vs3pq45peje5; path=/]
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-cache]
Field: Pragma = [no-cache]

Retrieving server reply
ResponseText has 1172 characters.
<html><head><meta http-equiv="Expires" content="Tue, 01 Jan 2000 12:12:12 GMT"><meta http-equiv="Pragma" content="no-cache"><title>The Kingdom of Loathing</title><script></script><link rel="stylesheet" type="text/css" href="https://images.kingdomofloathing.com/styles.css"></head><body bgcolor=white link=black alink=black vlink=black text=black><center><table cellpadding=5><tr><td><img src="https://images.kingdomofloathing.com/otherimages/leftswordguy.gif"></td><td><center><b><font size=+2>The Kingdom of Loathing</font></b><br>An Adventurer is You!<br></font></center></td><td><img src="https://images.kingdomofloathing.com/otherimages/rightswordguy.gif"></td></table></center><center><table  width=350  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Logged Out</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><font size=+1>You have been logged out.</font><p>Thank you for playing.<p><a href="/login.php">log back in</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center><p></body></html></body></html>
Processing results...
Logout request submitted.
Logout completed.
 
Last edited:
Fixed in 11669. I also changed a setting in NetBeans so it will be obvious when I have not replaced that space with a tab.

Edit: Fixed for real in 11670.
 
Last edited:
Hmmm, I just tried 11670 and I'm still not able to log in. After "Session Data Refreshed" mafia goes away and never comes back (same like when I tried 11662 first this morning).
 
Is there anything in the CLI? (You can bring it up before trying to log in to see any output there.) Is there a version that does work for you? Can you log in fine without mafia?
 
While trying to debug this from my side, I tried 11670 again and it worked this time. On the USB I play mafia from, the "images" and "data" folders had broken folder icons (they showed up as blank white rectangles in Windows 7). I deleted them and the next time I tried logging in, it worked.

This was in the CLI when I opened the CLI before deleting those folders:
Code:
Unknown primary usage for Microplushie: Dorkonide: microp9.gif
Unknown item found: charrrm
Requesting store inventory...
Store inventory request complete.
 
Back
Top