soolar / sl_ascend

An ascension script for kolmafia
11 stars 5 forks source link

Maximizer issue since latest Mafia Update #291

Closed Phate4569 closed 4 years ago

Phate4569 commented 4 years ago

Script execution aborted (java.lang.NullPointerException): (sl_util.ash, line 182)

Running Mafia XX47, script not updated since I am still running my test version. I inserted debug lines.

It is failing in void L9_chasmMaximizeForNoncombat() on the line simMaximizeWith(moxtry);

I traced it down to sl_util in slMaximize(), the line return maximize(req, simulate);

MaximizeFailureDrilldown MaximizerFailure

Phate4569 commented 4 years ago

From what I can tell this was introduced somewhere between 19443 and 19447

jaspercb commented 4 years ago

I believe this is a Mafia issue - r19445 changed the maximizer to support beach heads, one of which gives +Moxie. The short-term fix for you is to run on a version prior to 19445, and folks in Discord are putting together a bug report for the Mafia forums.

jaspercb commented 4 years ago

Fixed upstream in r19448.