=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
KoLmafia v15.1 r10906, Mac OS X, Java 1.6.0_31
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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: Thu Apr 12 10:43:50 PDT 2012
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Unexpected error, debug log printed.
class java.lang.NullPointerException: null
java.lang.NullPointerException
at net.sourceforge.kolmafia.textui.RuntimeLibrary.to_url(RuntimeLibrary.java:2067)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at net.sourceforge.kolmafia.textui.parsetree.LibraryFunction.execute(LibraryFunction.java:114)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.FunctionReturn.execute(FunctionReturn.java:99)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:463)
at net.sourceforge.kolmafia.textui.parsetree.Conditional.execute(Conditional.java:95)
at net.sourceforge.kolmafia.textui.parsetree.If.execute(If.java:67)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:463)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:136)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:105)
at net.sourceforge.kolmafia.textui.parsetree.FunctionReturn.execute(FunctionReturn.java:99)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:463)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:136)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.Operator.applyTo(Operator.java:392)
at net.sourceforge.kolmafia.textui.parsetree.Expression.execute(Expression.java:221)
at net.sourceforge.kolmafia.textui.parsetree.Operator.applyTo(Operator.java:392)
at net.sourceforge.kolmafia.textui.parsetree.Expression.execute(Expression.java:221)
at net.sourceforge.kolmafia.textui.parsetree.Operator.applyTo(Operator.java:392)
at net.sourceforge.kolmafia.textui.parsetree.Expression.execute(Expression.java:221)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:105)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:463)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:136)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:463)
at net.sourceforge.kolmafia.textui.parsetree.Loop.execute(Loop.java:58)
at net.sourceforge.kolmafia.textui.parsetree.ForEachLoop.executeSlice(ForEachLoop.java:165)
at net.sourceforge.kolmafia.textui.parsetree.ForEachLoop.execute(ForEachLoop.java:110)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:463)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:136)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:463)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:136)
at net.sourceforge.kolmafia.textui.Interpreter.executeScope(Interpreter.java:369)
at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:296)
at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:289)
at net.sourceforge.kolmafia.KoLmafiaASH.getClientHTML(KoLmafiaASH.java:109)
at net.sourceforge.kolmafia.KoLmafiaASH.getClientHTML(KoLmafiaASH.java:76)
at net.sourceforge.kolmafia.request.RelayRequest.handleSimple(RelayRequest.java:1629)
at net.sourceforge.kolmafia.request.RelayRequest.run(RelayRequest.java:1657)
at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:221)
at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:184)
at net.sourceforge.kolmafia.webui.RelayAgent.readServerResponse(RelayAgent.java:480)
at net.sourceforge.kolmafia.webui.RelayAgent.performRelay(RelayAgent.java:159)
at net.sourceforge.kolmafia.webui.RelayAgent.run(RelayAgent.java:132)
But more matches than you did. Looks like if you try to turn a non-specific location into an url, you get a debug, which makes sense. Your zlib verbosity appears to be set to 0... set that back to 3 and you should get the same log messages as I got. For the rest of it... that's stuff Bale needs to fix up at some point.Checking for updates (running Adventure Advisor ver. 2.6)...
haunted wine cellar (automatic)
haunted wine cellar (northeast)
haunted wine cellar (northwest)
haunted wine cellar (southeast)
haunted wine cellar (southwest)
Multiple matches against Haunted Wine Cellar.
hidden city (automatic)
hidden city (encounter)
Multiple matches against Hidden City.
post-war sonofa beach
wartime sonofa beach
Multiple matches against Sonofa Beach.
haunted wine cellar (automatic)
haunted wine cellar (northeast)
haunted wine cellar (northwest)
haunted wine cellar (southeast)
haunted wine cellar (southwest)
Multiple matches against Haunted Wine Cellar.
hidden city (automatic)
hidden city (encounter)
Multiple matches against Hidden City.
post-war sonofa beach
wartime sonofa beach
Multiple matches against Sonofa Beach.
Unexpected error, debug log printed.
Script execution aborted
Yeah, seems sort of like the AdventureAdvisor.txt file isn't supposed to exist anymore. Since after deleting mine (from December 29, 2011) the messages stopped and it displayed the listing properly, but it didn't recreate the AA file.
I have AdventureAdvisor_<character>.txt but no AdventureAdvisor.txt at all in my mafia folder tree.
file_to_map("AdventureAdvisor_"+my_name()+".txt", vars);
map_to_file(vars, "AdventureAdvisor_"+my_name()+".txt");
map_to_file(vars, "AdventureAdvisor_"+my_name()+".txt");
You didn't see this:
Code:string mfname = "AdventureAdvisor"; ... void populate_kingdom() { // Set Kingdom locations from an external file. if(!file_to_map(mfname+".txt",kingdom) || count(kingdom) == 0)
Checking for updates (running Adventure Advisor ver. 2.6)...
Updating AdventureAdvisor.txt from '' to '2012-04-11T00:04:17-05:00'...
...AdventureAdvisor.txt updated.
Requests complete.
would fail it. Subdirectories and all files, including hidden and system, should definitely display the file if it exists... Even today:dir advent*.txt /s/a
Still doesn't save... think I've got it though. You run map_to_file in the checker, but never file_to_map to actually save it back to the local HD. This section:Checking for updates (running Adventure Advisor ver. 2.6)...
Updating AdventureAdvisor.txt from '2012-04-11T00:04:17-05:00' to '2012-04-11T00:04:17-05:00'...
...AdventureAdvisor.txt updated.
// Set Kingdom locations from an external file.
if(!file_to_map(mfname+".txt",kingdom) || count(kingdom) == 0)
if(!file_to_map("http://zachbardon.com/mafiatools/autoupdate.php?f="+mfname+"&act=getmap", kingdom) && count(kingdom) == 0)
abort("Kingdom location data is corrupted or missing. Troublesome!");