Bug - Fixed Mafia doesn't visit Noob Cave to clear gong prompt

Glazius

Member
When I try to use a gong from the CLI (as in "gong bird") when my form has run out Mafia only displays "unexpected error - debug log printed" and doesn't go anywhere. I've attached the log.
 

Attachments

  • DEBUG_20101015.txt
    2.1 KB · Views: 38

lostcalpolydude

Developer
Staff member
Starting at line 1977 of net/sourceforge/kolmafia/request/UseItemRequest.java I see
Code:
                    UseItemRequest.retrying = true;    // prevent recursing more than once
                    int adv = Preferences.getInteger( "welcomeBackAdv" );
                    if ( adv <= 0 )
                    {
                        adv = 91;    // default to Noob Cave
                    }
where 91 should be 240. Is that not related to this issue?

In any case, you can "set welcomeBackAdv=240" or any other number for another location to fix it without any change to mafia.
 
Top