Razorsoup
Member
Hopefully r13558 fixes this.
Was able to bounty hunt by auto-adventuring with +1 filthy lucre as a goal and everything worked as expected. No aborts, no debug log. Yay!
Hopefully r13558 fixes this.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
KoLmafia v16.2 r13566, Windows 7, Java 1.7.0_51
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Please note: do not post this log in the KoLmafia thread of KoL's
Gameplay-Discussion forum. If you would like the KoLmafia 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 this log as an attachment.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Timestamp: Thu Jan 23 07:00:56 PST 2014
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Unexpected error, debug log printed.
class java.lang.NullPointerException: null
java.lang.NullPointerException
at net.sourceforge.kolmafia.persistence.BountyDatabase.getNumber(BountyDatabase.java:200)
at net.sourceforge.kolmafia.KoLmafia.executeRequest(KoLmafia.java:1234)
at net.sourceforge.kolmafia.KoLmafia.makeRequest(KoLmafia.java:1079)
at net.sourceforge.kolmafia.swingui.panel.AdventureSelectPanel$ExecuteRunnable.run(AdventureSelectPanel.java:453)
at net.sourceforge.kolmafia.RequestThread$ThreadWrappedRunnable.run(RequestThread.java:400)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
KoLmafia v16.2 r13567, Windows 7, Java 1.7.0_51
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Please note: do not post this log in the KoLmafia thread of KoL's
Gameplay-Discussion forum. If you would like the KoLmafia 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 this log as an attachment.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Timestamp: Thu Jan 23 08:20:04 PST 2014
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Unexpected error, debug log printed.
class java.lang.NullPointerException: null
java.lang.NullPointerException
at net.sourceforge.kolmafia.persistence.BountyDatabase.getNumber(BountyDatabase.java:200)
at net.sourceforge.kolmafia.KoLmafia.executeRequest(KoLmafia.java:1248)
at net.sourceforge.kolmafia.KoLmafia.makeRequest(KoLmafia.java:1079)
at net.sourceforge.kolmafia.swingui.panel.AdventureSelectPanel$ExecuteRunnable.run(AdventureSelectPanel.java:453)
at net.sourceforge.kolmafia.RequestThread$ThreadWrappedRunnable.run(RequestThread.java:400)
Any chance we could get some additional tracking bits on the bounty items? If we tracked the locations of bounty items, I could at least make the old bounty.ash able to pick from the locations, but as it stands it's slightly difficult to guess programically where to go for the "spent handwarmer" bounty. Additionally if we tracked how many items were needed, then BHH could predict about how many adventures each bounty should take again.
I can scrape the bounty page, but if I can save server hits after mafia itself knows what and where, so much the better.
Some bounties are available from multiple locations. How would those be handled?
I'll look into creating a bounty proxy item at some point to expose the information we have in the database (name, plural, image, type, number, monster). I wanted to duplicate existing functionality first.
As part of current functionality and cleanup, the old proxy records should probably be removed, so that any script that tries to use them doesn't send the user off to collect items that don't actually exist. Or to avoid the inevitable "multiple bounties in this location because it's now tied to monster rather than location" issues that will show up if we don't allow for them.
The bounty field in location, which is what bounty.ash and no doubt other scripts used to try to tell when a location had a bounty available today.> ash $location[the bat hole entrance]
Returned: The Bat Hole Entrance
nocombats => false
zone => BatHole
parent => BatHole
parentdesc => Bat Hole
environment => underground
bounty => pink bat eye
combat_queue =>
noncombat_queue =>
kisses => 0
The bounty field in location, which is what bounty.ash and no doubt other scripts used to try to tell when a location had a bounty available today.
Unexpected error, debug log printed.
class java.lang.NullPointerException: null
java.lang.NullPointerException
at net.sourceforge.kolmafia.persistence.BountyDatabase.getNumber(BountyDatabase.java:200)
at net.sourceforge.kolmafia.KoLmafia.executeRequest(KoLmafia.java:1262)
at net.sourceforge.kolmafia.KoLmafia.makeRequest(KoLmafia.java:1079)
at net.sourceforge.kolmafia.swingui.panel.AdventureSelectPanel$ExecuteRunnable.run(AdventureSelectPanel.java:453)
at net.sourceforge.kolmafia.RequestThread$ThreadWrappedRunnable.run(RequestThread.java:400)
r13576 Added ash proxy record "bounty". Gives plural, type, number, image and monster that drops the bounty shown in preferences _untakenEasyBountyItem, _untakenHardBountyItem, _untakenSpecialBountyItem, currentEasyBountyItem, currentHardBountyItem and currentSpecialBountyItem.
Any chance we could have a to_bounty(string) function so that we can actually do get_property("currentEasyBountyItem").to_bounty() or something similar?> ash $bounty[unlucky claw]
Returned: unlucky claw
plural => unlucky claws
type => special
number => 8
image => boneclaw.gif
monster => lucky cat statue
> ash to_bounty("unlucky claw")
Function 'to_bounty( string )' undefined. This script may require a more recent version of KoLmafia and/or its supporting scripts. ()
Returned: void