New Content - Implemented Bounty Hunter Change

Darzil

Developer
So, is there a place in Mafia where I can easily get the contents of a page on which a link was clicked prior to the link executing? Basically what the bounties are is on the BHH page, but when you accept them there is nothing in the accepting command or the page result that tells you what they are. I could also do it by capturing the currently untaken bounties when you visit the BHH, writing to a preference or having as a manager and then knowing which was taken as a result. At present the bounty information only gets added when you revisit the BHH. (Thinks - actually, could add it based on an item dropping in Fight Request too, though that doesn't fix this issue.
 

Veracity

Developer
Staff member
I could also do it by capturing the currently untaken bounties when you visit the BHH, writing to a preference
I was going to suggest this.

If there is something you want to capture from a page, do it when you visit the page, not later when you wish you had captured it.
 

Darzil

Developer
r 13532. Have done this so recognising if you take the bounty correctly now. Adds _untakenEasyBountyItem, _untakenHardBountyItem and _untakenSpecialBountyItem.

Loads still to do, mainly for replicating some of the old bounty automation code with the new bounties. but also recognising which bounty you are on from FightRequest if an item drops.
 

Ravenous Muffin

New member
Since the re-vamp, I have not been able to use Mafia to collect bounties. It tells me that I am already on a bounty hunt. I've updated Mafia twice, and still get the error message. The CLI says it generated a debug log, but I don't see it.

Message:
Visiting the Bounty Hunter Hunter...
Unexpected error, debug log printed.
You're already on a bounty hunt.

Any ideas? Thanx, Ravenous Muffin.
 

lostcalpolydude

Developer
Staff member
Since the re-vamp, I have not been able to use Mafia to collect bounties. It tells me that I am already on a bounty hunt. I've updated Mafia twice, and still get the error message. The CLI says it generated a debug log, but I don't see it.

Message:
Visiting the Bounty Hunter Hunter...
Unexpected error, debug log printed.
You're already on a bounty hunt.

Any ideas? Thanx, Ravenous Muffin.

Important information for you to include would be that you went to Travel -> Visit Bounty Hunter.
 
Last edited:

antimarty

Member
Something with the bounty hunter changes post-r13531 is confusing mafia; I'm getting whitescreens entering fights, it's not updating inventory correctly, lots of messages printed to the debug log, e.g.:
Code:
class java.lang.NullPointerException: null
java.lang.NullPointerException
	at net.sourceforge.kolmafia.preferences.Preferences.saveToFile(Preferences.java:601)
	at net.sourceforge.kolmafia.preferences.Preferences.setObject(Preferences.java:569)
	at net.sourceforge.kolmafia.preferences.Preferences.setString(Preferences.java:512)
	at net.sourceforge.kolmafia.preferences.Preferences.setString(Preferences.java:293)
	at net.sourceforge.kolmafia.request.BountyHunterHunterRequest.parseEasy(BountyHunterHunterRequest.java:224)
	at net.sourceforge.kolmafia.request.BountyHunterHunterRequest.parseResponse(BountyHunterHunterRequest.java:154)
	at net.sourceforge.kolmafia.session.ResponseTextParser.externalUpdate(ResponseTextParser.java:310)

r13531 doesn't do this, r13534 is broken.
 

lostcalpolydude

Developer
Staff member
Something with the bounty hunter changes post-r13531 is confusing mafia; I'm getting whitescreens entering fights, it's not updating inventory correctly, lots of messages printed to the debug log, e.g.:
Code:
class java.lang.NullPointerException: null
java.lang.NullPointerException
	at net.sourceforge.kolmafia.preferences.Preferences.saveToFile(Preferences.java:601)
	at net.sourceforge.kolmafia.preferences.Preferences.setObject(Preferences.java:569)
	at net.sourceforge.kolmafia.preferences.Preferences.setString(Preferences.java:512)
	at net.sourceforge.kolmafia.preferences.Preferences.setString(Preferences.java:293)
	at net.sourceforge.kolmafia.request.BountyHunterHunterRequest.parseEasy(BountyHunterHunterRequest.java:224)
	at net.sourceforge.kolmafia.request.BountyHunterHunterRequest.parseResponse(BountyHunterHunterRequest.java:154)
	at net.sourceforge.kolmafia.session.ResponseTextParser.externalUpdate(ResponseTextParser.java:310)

r13531 doesn't do this, r13534 is broken.

Already fixed in 13536.
 

Darzil

Developer
r13538 - It's a work in progress, but more Bounty Hunter Hunter changes. If automatically adventuring will hand in bounties when complete for lucre. Goals based on bounty items not yet working, but +1 filthy lucre will work. Proxy fields on items bounty and bounty_count return null and 0 respectively, as items can no longer be bounty items, will be removed entirely in a future update. Hunter menu option will need a complete rewrite, for now there is a message saying it doesn't work if you try to access it.

When I work it out, I'll get bounty items reporting in Session Results via Adventure Result, get Goals working, rebuild the menu option from scratch, maybe add a bounty proxy record. Also thinking about how to create an override record for bounties, it's a little more complex than usual as they can only be fully worked out by visiting both hunter (for plural) and getting a bounty drop (for single) but this is doable. Should then make automation run a little better before we get around to adding the bounty to bounty.txt. Might also make parsing the preferences go into their own function, maybe part of bounty database, as it's needed a lot. If I do this, I might compress things into one bounty preference rather than three too.

Definitely lots of change expected, but as autoadventuring with +1 filthy lucre as a manual goal works, I wanted to commit the change.

No more updates today from me.
 

Razorsoup

Member
Auto-adventuring in a bounty zone results in mafia aborting.From the gCLI I get this:
Code:
Request 1 of 40 (Knob: The Outskirts of Cobb's Knob) in progress...

[18464] The Outskirts of Cobb's Knob
Encounter: Knob Goblin Barbecue Team
Strategy: C:\Users\Michael\Dropbox\Kingdom of Loathing\ccs\default.ccs [default]
Round 0: Razorsoup wins initiative!
WHAM: Running SmartStasis
Round 1: Razorsoup executes a macro!
Round 1: Razorsoup casts POCKET CRUMBS!
Round 2: knob goblin barbecue team drops 5 attack power.
Round 2: knob goblin barbecue team drops 5 defense.
Round 2: knob goblin barbecue team takes 4 damage.
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 1-shot with attack with your weapon.
Round 2: Razorsoup executes a macro!
Round 2: Razorsoup attacks!
Round 3: knob goblin barbecue team takes 3723 damage.
You gain 10 Muscularity Points
Round 3: knob goblin barbecue team takes 5 damage.
Round 3: Razorsoup wins the fight!
After Battle: Paranite's little legs twitch and its eyelids flutter as it dreams of dancing.
You gain 51 Meat
You acquire an item: bowl of cottage cheese
You acquire an item: Knob Goblin pants
You gain 118 Strongness
You gain 56 Mysteriousness
You gain a Mysticality point!
You gain 58 Chutzpah
Unexpected error, debug log printed.

Unexpected error, debug log printed.

And here is the debug log I get:
Code:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
         KoLmafia v16.2 r13544, Windows 7, Java 1.7.0_45
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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: Mon Jan 20 22:35:59 CST 2014
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Unexpected error, debug log printed.
class java.lang.NullPointerException: null
java.lang.NullPointerException
	at net.sourceforge.kolmafia.request.FightRequest.updateRoundData(FightRequest.java:2577)
	at net.sourceforge.kolmafia.request.FightRequest.updateCombatData(FightRequest.java:2142)
	at net.sourceforge.kolmafia.request.GenericRequest.processResponse(GenericRequest.java:2271)
	at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:2194)
	at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:1849)
	at net.sourceforge.kolmafia.request.GenericRequest.execute(GenericRequest.java:1513)
	at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:1408)
	at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:280)
	at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:243)
	at net.sourceforge.kolmafia.textui.RuntimeLibrary.visit_url(RuntimeLibrary.java:2017)
	at net.sourceforge.kolmafia.textui.RuntimeLibrary.visit_url(RuntimeLibrary.java:1978)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at net.sourceforge.kolmafia.textui.parsetree.LibraryFunction.execute(LibraryFunction.java:106)
	at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:154)
	at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:105)
	at net.sourceforge.kolmafia.textui.parsetree.TernaryExpression.execute(TernaryExpression.java:113)
	at net.sourceforge.kolmafia.textui.parsetree.FunctionReturn.execute(FunctionReturn.java:100)
	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
	at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:153)
	at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:154)
	at net.sourceforge.kolmafia.textui.parsetree.FunctionReturn.execute(FunctionReturn.java:100)
	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
	at net.sourceforge.kolmafia.textui.parsetree.Conditional.execute(Conditional.java:96)
	at net.sourceforge.kolmafia.textui.parsetree.If.execute(If.java:68)
	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
	at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:153)
	at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:154)
	at net.sourceforge.kolmafia.textui.parsetree.Assignment.execute(Assignment.java:103)
	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
	at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:153)
	at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:154)
	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
	at net.sourceforge.kolmafia.textui.parsetree.Conditional.execute(Conditional.java:96)
	at net.sourceforge.kolmafia.textui.parsetree.If.execute(If.java:68)
	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
	at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:153)
	at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:154)
	at net.sourceforge.kolmafia.textui.parsetree.Assignment.execute(Assignment.java:103)
	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
	at net.sourceforge.kolmafia.textui.parsetree.Loop.execute(Loop.java:59)
	at net.sourceforge.kolmafia.textui.parsetree.RepeatUntilLoop.execute(RepeatUntilLoop.java:78)
	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
	at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:153)
	at net.sourceforge.kolmafia.textui.Interpreter.executeScope(Interpreter.java:401)
	at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:325)
	at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:318)
	at net.sourceforge.kolmafia.request.FightRequest.nextRound(FightRequest.java:717)
	at net.sourceforge.kolmafia.request.FightRequest.runOnce(FightRequest.java:1422)
	at net.sourceforge.kolmafia.request.FightRequest.run(FightRequest.java:1448)
	at net.sourceforge.kolmafia.request.GenericRequest.handleServerRedirect(GenericRequest.java:2087)
	at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:1859)
	at net.sourceforge.kolmafia.request.GenericRequest.execute(GenericRequest.java:1513)
	at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:1408)
	at net.sourceforge.kolmafia.request.AdventureRequest.run(AdventureRequest.java:244)
	at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:280)
	at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:243)
	at net.sourceforge.kolmafia.KoLAdventure.run(KoLAdventure.java:1132)
	at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:280)
	at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:254)
	at net.sourceforge.kolmafia.KoLmafia.executeAdventureOnce(KoLmafia.java:1363)
	at net.sourceforge.kolmafia.KoLmafia.executeRequestOnce(KoLmafia.java:1383)
	at net.sourceforge.kolmafia.KoLmafia.executeRequest(KoLmafia.java:1216)
	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 r13544, Windows 7, Java 1.7.0_45
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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: Mon Jan 20 22:35:59 CST 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:1232)
	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)

Is something in my setup causing this? I understand that the BHH revamp is not fully supported but kind of expected adventuring to still work as usual.
 

dixmcdix

Member
I am still getting the same error with 13545 and 13546. I have also updated Java to current version.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
KoLmafia v16.2 r13546, 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: Tue Jan 21 02:44:41 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:1232)
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 r13545, 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: Tue Jan 21 02:45:33 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:1232)
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)

Edit: This happens with or without +1 Filthy Lucre set. Just adventuring in the bounty zone with an active bounty.
 
13545 fixes that.

I have 13547 and getting stuff that looks similar to Razor's.

Code:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
         KoLmafia v16.2 r13547, 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: Tue Jan 21 08:48:44 CST 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:1243)
	at net.sourceforge.kolmafia.KoLmafia.makeRequest(KoLmafia.java:1079)
	at net.sourceforge.kolmafia.textui.command.AdventureCommand.run(AdventureCommand.java:108)
	at net.sourceforge.kolmafia.KoLmafiaCLI.doExecuteCommand(KoLmafiaCLI.java:595)
	at net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(KoLmafiaCLI.java:548)
	at net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(KoLmafiaCLI.java:539)
	at net.sourceforge.kolmafia.textui.RuntimeLibrary.adventure(RuntimeLibrary.java:2507)
	at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at net.sourceforge.kolmafia.textui.parsetree.LibraryFunction.execute(LibraryFunction.java:106)
	at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:154)
	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
	at net.sourceforge.kolmafia.textui.parsetree.Loop.execute(Loop.java:59)
	at net.sourceforge.kolmafia.textui.parsetree.WhileLoop.execute(WhileLoop.java:100)
	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
	at net.sourceforge.kolmafia.textui.parsetree.Conditional.execute(Conditional.java:96)
	at net.sourceforge.kolmafia.textui.parsetree.If.execute(If.java:68)
	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
	at net.sourceforge.kolmafia.textui.parsetree.Conditional.execute(Conditional.java:96)
	at net.sourceforge.kolmafia.textui.parsetree.If.execute(If.java:68)
	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
	at net.sourceforge.kolmafia.textui.Interpreter.executeScope(Interpreter.java:377)
	at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:325)
	at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:318)
	at net.sourceforge.kolmafia.textui.command.CallScriptCommand.call(CallScriptCommand.java:256)
	at net.sourceforge.kolmafia.textui.command.CallScriptCommand.run(CallScriptCommand.java:75)
	at net.sourceforge.kolmafia.KoLmafiaCLI.doExecuteCommand(KoLmafiaCLI.java:595)
	at net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(KoLmafiaCLI.java:548)
	at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:449)
	at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:317)
	at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.handleQueue(CommandDisplayFrame.java:190)
	at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.run(CommandDisplayFrame.java:164)



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
         KoLmafia v16.2 r13547, 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: Tue Jan 21 08:49:44 CST 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:1243)
	at net.sourceforge.kolmafia.KoLmafia.makeRequest(KoLmafia.java:1079)
	at net.sourceforge.kolmafia.textui.command.AdventureCommand.run(AdventureCommand.java:108)
	at net.sourceforge.kolmafia.KoLmafiaCLI.doExecuteCommand(KoLmafiaCLI.java:595)
	at net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(KoLmafiaCLI.java:548)
	at net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(KoLmafiaCLI.java:539)
	at net.sourceforge.kolmafia.textui.RuntimeLibrary.adventure(RuntimeLibrary.java:2507)
	at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at net.sourceforge.kolmafia.textui.parsetree.LibraryFunction.execute(LibraryFunction.java:106)
	at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:154)
	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
	at net.sourceforge.kolmafia.textui.parsetree.Loop.execute(Loop.java:59)
	at net.sourceforge.kolmafia.textui.parsetree.WhileLoop.execute(WhileLoop.java:100)
	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
	at net.sourceforge.kolmafia.textui.parsetree.Conditional.execute(Conditional.java:96)
	at net.sourceforge.kolmafia.textui.parsetree.If.execute(If.java:68)
	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
	at net.sourceforge.kolmafia.textui.parsetree.Conditional.execute(Conditional.java:96)
	at net.sourceforge.kolmafia.textui.parsetree.If.execute(If.java:68)
	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
	at net.sourceforge.kolmafia.textui.Interpreter.executeScope(Interpreter.java:377)
	at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:325)
	at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:318)
	at net.sourceforge.kolmafia.textui.command.CallScriptCommand.call(CallScriptCommand.java:256)
	at net.sourceforge.kolmafia.textui.command.CallScriptCommand.run(CallScriptCommand.java:75)
	at net.sourceforge.kolmafia.KoLmafiaCLI.doExecuteCommand(KoLmafiaCLI.java:595)
	at net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(KoLmafiaCLI.java:548)
	at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:449)
	at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:317)
	at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.handleQueue(CommandDisplayFrame.java:190)
	at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.run(CommandDisplayFrame.java:164)
 

dixmcdix

Member
I am still getting the same issue with every version after 13537. Am I 'doin it rong' or something?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
KoLmafia v16.2 r13557, 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: Wed Jan 22 03:22:18 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:1232)
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 r13543, 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: Wed Jan 22 03:26:03 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:1232)
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)

^ A couple more debug log results.
 
Last edited:
Top