Used your script. It worked beautifully. Well done. Thanks.
One note.
The High Scores do not require three letters; one or two are acceptable (or none, but there really isn't any point to that).
I would suggest changing Line 355 from
else if (length(initials) == 3)
To
else if (1 <=...
It is not a bug with UR. UR returns what is required by KoLMafia to get the results the UR needs.
Read Bale’s first post. It should be clear. But, to summerize what Bale said as I understand it;
If UR returns false when MP is not restored as requested, KoLMafia will execute its own recovery...
I must disagree most strongly with the assignment of the “Not A Bug” status to this issue. It is an action which is inconsistent with the information in this thread; and the software clearly does not operate as intended.
Based on Bale’s comment above, Universal_Recovery always returns true to...
According to the function description for restore_mp() at http://wiki.kolmafia.us/index.php?title=Restore_mp
The following code, which was part of a larger script, was run.
- Return_Value is a boolean.
- Restore_To is an int indicating the MP level to be restored. It had a value of 980.
-...
Some of the documentation is a wiki.
The final issue is just a note for the various authors not to assume that the way ASH does its foreach statement is obvious. I expect that the authors know that is how the ASH foreach works, but simply forgot to clarify it. A strict-type, self-declaring key...
The following code demonstrates what appears to be inconsistencies in the treatment of the foreach statement in ASH. The code was verified and run in r10016 and r10058, and shows no errors.
(Note that this code is designed to demonstrate certain specific issues, not to actually perform any...