Bug - Cannot Reproduce Very strange happenings

-Unable to adventure using the relay browser, clicking on any location causes mafia to hang until I tell it to abort. No CLI output is generated during the process.
-Autorecovery will not fire during auto adventuring, it instead adventures until getting beaten up.
-During auto adventuring, the progress bar in the adventure tab fails to update its text. Rather than displaying how many adventures of the amount queued it has gone through, it keeps displaying whatever the last message was - that dance counter message should have gone away several adventures ago.
-Clicking on my HP in the relay browser results in mafia saying it's attempting to recover HP, then hanging indefinitely. Clicking on it again queues another HP recovery, while noting mafia is still in the process of its first attempt (> CURRENT: restore hp > QUEUED: restore hp).

No debug logs have been generated by mafia. Curiously these problems only set in after using mafia for a little while. I first started noticing this on build 8440, switching to 8448 did not alleviate the issues. I tried turning off Bale's autorecovery script, but it didn't help either.
 
Last edited:

Winterbay

Active member
I've been having these problems as well, or well, mainly while trying to adventure after mafia decides that I should heal up in the relay browser. It casts 1 lasagna bandages and then hangs itself doing nothing.

ETA: During automatic adventuring if it gets stuck it is possible to unstuck it by using "cast 1 lasagna" which it does and also casts therest of the ones needed...
 
Last edited:

fronobulax

Developer
Staff member
Any ideas? The game is easier to play without mafia when it gets tripped up in this situation.
Well there's not a whole lot of information there to try and diagnose with. I only recall seeing something like that once and shutting down mafia completely and restarting made the problem go away. The knee-jerk reaction is to look at non-mafia items - are you running any scripts? Relay overrides? Greasemonkey or other browser extensions? Until you (or anyone else) can reproduce it with plain vanilla mafia and a plain vanilla browser it isn't necessarily a serious mafia problem.

The usual comments about corrupted files or files with incorrect information apply. You might consider backing up your CCS, Relay, Scripts and Settings directories and blowing away the complete installation. If things work you could then gradually re-introduce files and preferences until you know what broke things. Note, BTW, I listed what I believe are the only places user generated info is stored but I could be wrong so be paranoid if there are settings or preferences you want saved. The information about the state of your character (demon names, id'd potions, etc.) is often too important to lose or recreate.

I'm not trying to be snarky as much as I am trying to let you know why it seems like your problem is being ignored.
 
I tried a fresh installation and everything seems to be working, though I'm only using Bale's recovery script. I'll probably slowly migrate everything over, perhaps this for the better, in order to get rid of the years of rot that has potentially built up.
 
This issue has struck again, and is only affecting my characters in ronin and hardcore. Updating to the latest daily build did not help. The relay browser is unusable for adventuring, and it continues to not autorecover during automated adventure, both with Bale's script enabled and disabled. I'm very confused, because this issue started happening again seemingly out of the blue, IE, I hadn't updated or changed any scrips, or switched to a different version of mafia.
 
Generated when I click on the hippy camp to adventure there pre-war in the relay browser.

Code:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
             KoLmafia r8487, Windows 7, Java 1.6.0_20
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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: Mon Jun 14 19:03:54 PDT 2010
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


class net.sourceforge.kolmafia.request.RelayRequest
Connecting to island.php...

Requesting: http://www2.kingdomofloathing.com/island.php
2 request properties

Field: Cookie = [PHPSESSID=r9mnbabirfgcvpqfhbs397e464]
Field: User-Agent = [KoLmafia v14.0]

Retrieving server reply...

Retrieved: http://www2.kingdomofloathing.com/island.php

10 header fields
Field: null = [HTTP/1.1 200 OK]
Field: Date = [Tue, 15 Jun 2010 02:04:08 GMT]
Field: Content-Length = [2902]
Field: Expires = [Thu, 19 Nov 1981 08:52:00 GMT]
Field: Connection = [close]
Field: Content-Type = [text/html; charset=UTF-8]
Field: Server = [Apache/2.2.3 (Red Hat)]
Field: X-Powered-By = [PHP/5.1.6]
Field: Cache-Control = [no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
Field: Pragma = [no-cache]

<html><head><script language=Javascript><!--if (parent.frames.length == 0) location.href="game.php";//--></script><script language=Javascript src="http://images.kingdomofloathing.com/scripts/keybinds.min.2.js"></script><script language=Javascript src="http://images.kingdomofloathing.com/scripts/window.js?date=20090915"></script><script language="javascript">function chatFocus(){if(top.chatpane.document.chatform.graf) top.chatpane.document.chatform.graf.focus();}defaultBind(47, CTRL, chatFocus); defaultBind(190, CTRL, chatFocus);defaultBind(191, CTRL, chatFocus); defaultBind(47, META, chatFocus);defaultBind(190, META, chatFocus); defaultBind(191, META, chatFocus);</script><link rel="stylesheet" type="text/css" href="http://images.kingdomofloathing.com/styles.css"></head><body><Center><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>The Mysterious Island of Mystery</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><table cellpadding=0 cellspacing=0><tr><td width=100 height=100><img src="http://images.kingdomofloathing.com/otherimages/island/island1.gif" width=100 height=100></td><td width=100 height=100><a href="store.php?whichstore=h"><img src="http://images.kingdomofloathing.com/otherimages/island/island2.gif" width=100 height=100 border=0 alt="The Hippy Produce Stand" title="The Hippy Produce Stand"></a></td><td width=100 height=100><img src="http://images.kingdomofloathing.com/otherimages/island/island3.gif" width=100 height=100></td></tr><tr><td width=100 height=100><a href="adventure.php?snarfblat=27"><img src="http://images.kingdomofloathing.com/otherimages/island/island4.gif" width=100 height=100 border=0 alt="The Orcish Frat House (1)" title="The Orcish Frat House (1)"></a></td><td width=100 height=100><img src="http://images.kingdomofloathing.com/otherimages/island/island5.gif" width=100 height=100></td><td width=100 height=100><a href="adventure.php?snarfblat=26"><img src="http://images.kingdomofloathing.com/otherimages/island/island6.gif" width=100 height=100 border=0 alt="The Hippy Camp (1)" title="The Hippy Camp (1)"></a></td></tr><tr><td width=100 height=100><img src="http://images.kingdomofloathing.com/otherimages/island/island7.gif" width=100 height=100></td><td width=100 height=100><a href="adventure.php?snarfblat=66"><img src="http://images.kingdomofloathing.com/otherimages/island/cove.gif" width=100 height=100 border=0 alt="The Obligatory Pirate's Cove (1)" title="The Obligatory Pirate's Cove (1)"></a></td><td width=100 height=100><img src="http://images.kingdomofloathing.com/otherimages/island/island9.gif" width=100 height=100></td></tr></table><p><a href="main.php">Back to the Main Map</a></centeR></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></centeR></body></html>
Processing results...
 
In the event it's helpful I've got the full bug report from that was generated over the course of everything else I did that day. However it's an enormous amount of text. The site won't let me upload it since it's 42,623KB. It crashes Notepad, Visual Studio opened it fine though. I also don't know how to cull the useful information from it.
 

roippi

Developer
Lots of changes to stability and not-getting-caught-in-a-pending-state have happened in the intervening years, so I'll close this.
 
Top