I don't know exactly how the Mafia faxbot support works, but I believe that Mafia gets an xml file from the faxbot that list all monsters available.
See 'KOLMafia\data\easyfax.xml' that should be in your data folder.
You should be able to iterate by parsing this for all faxbots without server hits.
Here is my ASH script for chatting with a BG:
//check if Avant Guard familiar [Burly Bodyguard] can 'chat'
boolean ChkAGCanChat() {
return (to_int(get_property("bodyguardCharge"))>=50);
}
//Chatting with your Burly Bodyguard, select next Bodyguard monster
boolean SetAGChatMon(monster mon)...
> ash $item[fire flower]
Multiple matches for "fire flower"; using "[10462]fire flower". (char 7 to char 18) Clarify by using one of:
$item[[2426]fire flower]
$item[[10462]fire flower]
You should try using the item # in your request instead of the item name, given the ambiguity of "fire flower"
Yes, when maximizerFoldables==false, maximize will not suggest folding any items.
I use this to set foldable items (Boris Helm, Pete's Jacket, Ed Crown, Garbage tote, Backup camera, Umbrella, Parka, etc.) to my preferred setting before I maximize.
It seems like Spooky VHS Tapes work weird in this path too.
From my last run, the VHS monster triggered - a bodyguard was instakilled, then you fight the VHS monster normally.
This does not correctly reset the counter.
"_locketMonstersFought" will increment monsters for both the bodyguard and the locket monster
This makes it look like you have spent 2 locket reminisce for every monster fought
There are a few summoned fights that do not track or switch location correctly.
Also see: https://kolmafia.us/threads/mafia-thinks-numberology-summons-to-last-adventured-zone.29237/
New Path Avant Guard
Things to do:
add Path to path list
add Burly Bodyguard familiar
handle Burly Bodyguard Chat
This happens every so often (some number of bodyguard fights?)
your next enemy will have the selected monster as its bodyguard
add something to check when a 'chat' is available...
New Path Avant Guard
I just started this and my first combat is:
Script execution aborted (java.lang.NullPointerException: Cannot invoke "net.sourceforge.kolmafia.MonsterData.getId()" because "monster" is null):
This was from:
Preference lastEncounter changed from Adjust your Parka to...
Does this happen every time?
What is your ccs?
Can you post a debug log from the fight?
in the CLI, type 'debug on'
run an adventure where you get the error
type 'debug off'
post the debug file from your Mafia folder
I could not reproduce this at all.
Do you have something set in your autoattack?
Do you have other fight scripts running?
This is what I get:
[719] The Overgrown Lot
Preference lastEncounter changed from sewer snake with a sewer snake in it to cooler wino
Encounter: cooler wino
Preference...