Bug - Fixed Unexpected error related to bounties.

fronobulax

Developer
Staff member
I'm not sure exactly what I did. I visited the Bounty Hunter, accepted the bounty, tried to collect it, had some issues (reported elsewhere) with goals and then finally got the bounty.

class java.lang.NumberFormatException: lower
java.lang.NumberFormatException: lower
at net.sourceforge.kolmafia.utilities.StringUtilities.parseIntInternal1(StringUtilities.java:721)
...
 

Attachments

  • DEBUG_20110412.txt
    3 KB · Views: 37

xKiv

Active member
Probably comes from this line in adventures.txt:

Pyramid pyramid=lower true The Lower Chambers

ETA: ninja'd x_x
Other possible places for this: haert of the cyrpt, hedge maze, trick-or-treating.
 
Last edited:

Veracity

Developer
Staff member
Revision 9230.

The code mapping locations and items to bounties needs to be refactored, in my opinion; I looked at it recently when I was considering adding a proxy field to locations for it and I was not happy. But this will fix the issue for the current code, at least.
 

fronobulax

Developer
Staff member
Thank you. I had gotten beaten up in the lower chamber and figured I'd improve stats by doing a bounty. I accepted the bounty and unintentionally adventured back in the chamber instead of the airship.
 
Top