case 7415: case 7416: case 7417: case 7421: if (get_property("sweat").to_int() < 80 - 25 * get_property("_sweatOutSomeBoozeUsed").to_int()) return; break;
How would I make batbrain ignore my sweatpants entirely? I only ever use them to sweat out booze anyway.Thanks for the update, and sorry for putting you on the spot. The update actually ended up being too effective for me. It's now using all the skills from my designer sweatpants, leaving me unable to cast Sweat Out Some Booze. I added this line to my BatBrain.ash to address this:
Code:case 7415: case 7416: case 7417: case 7421: if (get_property("sweat").to_int() < 80 - 25 * get_property("_sweatOutSomeBoozeUsed").to_int()) return; break;
(Technically, that 80 could be lower based on which skill it is in particular, and by factoring in the sweat gained as a result of that combat, but I chose to err on the side of caution and simplicity.)
skill 7415 0
skill 7416 0
skill 7417 0
skill 7421 0
Warning: image 'adventureimages/bond_minion1.gif' does not match monster 'Villainous Minion' (bond_minion1.gif).
import zlib
string page = "adventureimages/bond_minion1.gif";
matcher imgm = create_matcher("adventureimages\\/([^ ]+\\.gif)",page);
monster m = $monster[Villainous Minion];
if (imgm.find() && !(m.images contains imgm.group(1))) vprint("Warning: image '"+imgm.group(1)+"' does not match monster '"+m+"' ("+m.image+").","#8585FF",3);
I tried to create a test case using that section of BatBrain, but it didn't recreate the problem. Might need to capture the actual page.
Code:import zlib string page = "adventureimages/bond_minion1.gif"; matcher imgm = create_matcher("adventureimages\\/([^ ]+\\.gif)",page); monster m = $monster[Villainous Minion]; if (imgm.find() && !(m.images contains imgm.group(1))) vprint("Warning: image '"+imgm.group(1)+"' does not match monster '"+m+"' ("+m.image+").","#8585FF",3);
Unreliable problems are always the biggest pain.And having asserted its expected repeatability it hasn't happened the two most recent times.
Expression evaluation error: null (zlib.ash, line 201)
at eval (zlib.ash:201)
at to_event (BatBrain.ash:286)
at build_items (BatBrain.ash:1233)
at build_options (BatBrain.ash:1545)
at act (BatBrain.ash:2295)
at main (wham.ash:1415)
IOException retrieving server reply (https://zachbardon.com/mafiatools/autoupdate.php?f=use_for_items&act=getver) -- PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed.
Unable to access Map Manager. Using local copy and will not check again today.
IMHO that's the best way to play. If you are stressing about it it stops being "play".stop stressing about it for now and just play my turns when I have time and completely automate otherwise.
Have you tried WHAM? I use it regularly, and there aren't many monsters that cause it to abort.I run with a CCS that just uses simplesmack for everything. Things have been gradually degrading. There are a couple of monsters that simplesmack does not deal well with and combat aborts - either with getting beaten up or running out of rounds. Since the character this often happens to can one-shot just about everything I figure simplesmack has room for improvementWhen using adventuring scripts I often see messages about combat being completed during stasis but the combat sometimes has to be completed manually. I can start usually repeat this and can document specific monsters and do debugging but I am fundamentally lazy and I can address my issue just by using the CCS to attack the monsters that give simplesmack problems. But if @zarqon wakes up
or anyone else is actually working this I'd be glad to assist.