How to stop script from auto-aborting on losing all hp?

Number Zero

New member
Hi,

I have written a specialized ascension script that works quite well so far.

However, I cannot figure out how to stop it from auto-aborting on losing all HP, like in the Drawn Onward or Zerg Rush noncombats:
"Insufficient health to continue (auto-abort triggered)."

I want my ascension script to run without unnecessary interruption, so I would be very happy if someone gave me a few hints on how to keep the script running.

Thanks,
Number Zero
 
To do what Winterbay suggests, you'll find the option on the Adventuring Tab, under the HP/MP Usage options in the bottom set of tabs. You'll see a drop-down that controls when automation aborts. You can set it to abort on a percentage of max hp, to abort if restoration fails, or to never abort.
 
Thanks for your help.

You can set it to abort on a percentage of max hp, to abort if restoration fails, or to never abort.
I cannot find the option to never abort - the drop-down menu lacks this option. Or do I need some daily build instead of the official 14.8?
 
Hmmm. It seems you're right. You can only choose "stop if auto-recovery fails". That means never abort unless something goes wrong, which hopefully will do the job. As long as it restores HPs as you like (and you can tell it not to restore HP), it won't abort.
 
I guess setting it to "stop if auto recovery fails" and "do not auto-recover health" will be the safest version to not get an abort, but then you may end up with the situation where you try to adventure with 0 health in the cases where you do get beaten up.
 
I guess setting it to "stop if auto recovery fails" and "do not auto-recover health" will be the safest version to not get an abort, but then you may end up with the situation where you try to adventure with 0 health in the cases where you do get beaten up.

Those are my current settings, but these settings lead to aborts on losing all health (using KoLmafia 14.8).

Maybe I should to stop using the adv1() function and do all adventures by using visit_url() directly. I'm not looking forward to writing my own adventure function, though, because I suspect I might break some parts of my script if I suddenly use a different adventure function. (I am not sure which kinds of Mafia-specific behaviour are tied to the adventure functions.)
 
Or maybe setup a recovery script? You should check Bale's Universal Recovery - it has a setting to avoid breaking automation.
 
Back
Top