Feature Print message if script cannot be found

icon315

Member
Right after i ascended my first time (woow);I saw that there was a new UR script version. so i downloaded. This was going to be the first time i was going to do my ascension somewhat manually; so i didn't pay too much attention to the CLI. I did look in the cli a few times though, When i noticed that UR was not printing its usual messages. at first i though it was a bug which is why i posted the problem.

Hmm for some reason it is not displaying any messages. For a while i thought my restore script setting got reset

I did what bale said, but it didn't work. Not sure why, i ignored the problem and went on. Till now that is; that i am out of ronin, i realized that i saved the script in the wrong place.


Summary:
Mafia was not using the script because it could not find it. No message was given of this
 
Really basic fix would be adding the following lines to RecoveryManager.java (line 549):

Code:
else
{
	KoLmafia.updateDisplay( "Couldn't find recoveryScript " + scriptName + ". Using default settings instead" );
}

Note this will result in the line being printed every time HP and MP are restored (therefore printed twice when you restore both, once when restoring one of them)
 
Last edited:
Back
Top