autoBasement.ash - Better basement automation

Is there a recommended way to set the Combat Stat/Maximizer and fight combats? I've been wondering if it defaults to Muscle for a reason, and now I've run into a problem with the way I was doing it (Combat Stat = Myst, Combat Maximizer String = "3 spell damage", ccs = mostly spells). It looks like autoBasement equips Damage, but then changes equipment if my combat stat doesn't exceed a certain level-based goal.

Am I doing something stupid?
 
mer-kin potions cancelling each other out, mp drain shouldn't fail, random etc.

OK, sorry if this has been addressed--

FEEL FREE TO "LURK MOAR" me


a few issues I'm hoping someone can help me with

1. mp drain test is failing when it absolutely shouldn't. tried editing script in notepad++ to 20k, saving, even restarting mafia, and still shows mp drain to abort at 2000 in cli, even when script as reopened shows still at 20k.
1b. i modifier-maximizer for mp, switch to recommended equipment, and can pass the test easily. for one, autobasement isn't using the best possible equipment. second, even when I am buffed w enough mp to pass the test, script still aborts. mp drain is the one test where the script jams after about level 200 every time.

2. mer-kin fast/strongjuice potions-- the -100 and +300 effects are cancelling each other out. nm that the potions are nominally expensive, I have the gear on hand to pass stat tests without them, and the script isn't equipping that gear.
2b. script is buying puissance potions when not needed, even when those potions are above the max_potion_price set, when I don't need that potion's buff--i can manually buff more cheaply for mus. again, expensive potions.
-- Can I strike certain potions off the "to-use" list?

3. script is not refreshing my mafia mood--therefore not re-upping my trivia master, tomato power, etc buffs.


Please help.
ty!

ingame: postulant
 
Last edited:
1 and 1b: You need to change the zlib variable via the CLI by following the instructions in the second post (basicaly zlib <variablename> = <new value>)
2 and 2b: If needed Mafia will uneffect the old potion which is why I have no special handling for it. Also currently the script ignores price of thing in inventory which is probably a bad idea and I should change that.
3) The script is running via visit_url-calls which makes moods not update and since the mood can contain things that won't be helpful it probably shouldn't run moods anyway. Also tomato power is one of the cheaper buffs and is generally used by the script all the time in my experience.

r25 should no longer ignore cost of items in inventory.
 
Is there a recommended way to set the Combat Stat/Maximizer and fight combats? I've been wondering if it defaults to Muscle for a reason, and now I've run into a problem with the way I was doing it (Combat Stat = Myst, Combat Maximizer String = "3 spell damage", ccs = mostly spells). It looks like autoBasement equips Damage, but then changes equipment if my combat stat doesn't exceed a certain level-based goal.

Am I doing something stupid?

SOrry, missed this. The script chnages the gear to make sure you can survive at least one hit after it has done all other things. However that should ignore your equipment so I'm not sure why it would change out of your normal gear. Do you have some CLI output you can copy/paste here?
 
1 and 1b: You need to change the zlib variable via the CLI by following the instructions in the second post (basicaly zlib <variablename> = <new value>)

by following the instructions in the second post

the instructions

D:

thank you for not being a jerk about that
 
Some observations. This is a tough script to maintain since post people will run it to get the telescope and then never again so feedback is sporadic.

I see three things I might consider dealing with. They have been mentioned before.

First and I think this has been discussed elsewhere and may be a bug with KoL outfits or an opportunity to excel that has not yet been seized by KoLmafia, but many times the script will abort when changing outfits. The culprit is the scratch and sniff sword and the message is usually that I don't have the item I am trying to equip or that it isn't an item. My recollection is that this is because the outfit handling does not recognize when an item is already equipped but in a different slot. My work around was to manually change to the Birthday Suit and then everything works. Nothing to be done here unless you want to modify outfit switching to handle something that may eventually be addressed elsewhere.

Second, there were times when the script would stop because it couldn't pass an Elemental resistance test but I could do trivially by maximizing DA and HP manually. Thus an option to switch strategy in this case would be a worthwhile improvement,

Third, and I think the script is better about this than the last time I noticed it, but it still doesn't always uneffect things when it should. I used to see it with elemental forms. Now I see it with the merkin potions. I noted a message that it didn't know how to uneffect somethings so it may be that KoLmafia's data on those is incomplete rather than an issue with autobasement.

In any event, thanks for keeping this running.
 
Just a quick comment on the last thing: The script uses mafia's maximizer fully and won't uneffect anything unless the maximizer tells it to, and if the command the maximizer gives doesn't work then that would be a Mafia bug rather than a script bug. It would be nice if it didn't abort though...
 
I just confirmed that the maximizer understands how to uneffect the mer-kin effects so there is either something else going on or I didn't understand what I was seeing. Thanks.
 
For some reason it thinks it's a better option to buy a phial rather than increase my resistance and HP (which I can do w/ equipment and cheap bufffs) Thus, it keeps failing when trying to buy the really expensive phials nowadays.
 
this might be obvious, but is it necessary for the elemental test to use the phial of [element] (the ones that use the Dreadsylvania smashies) to get the required form, eg. hotform, coldform etc.? cos it seems like an hella expensive way to get past that test?
 
Last edited:
I'll have a look at it but I think the script should only do that if it cannot find another way (elemental resistance - phial - buffing is the way at the moment, may want to swap the last two I guess).
 
I did my first basement dive this week and I am extremely grateful for this script. While I understood the basic concept of the basement, I don't think I would have had the patience to attempt it without automation. The script performed beautifully, with the only stumbles from when I had to adjust my CCS to better handle golems and when I needed to up the cap of MP I was happy for it to recover. Thanks so much for this. I have every intention of using it each time I upgrade my recently installed telescope.

Fin
 
I tried to install this and it gave me the following:

Code:
> svn checkout https://svn.code.sf.net/p/winterbay-mafia/autobasement/code/

svn: E175002: unknown host
Unable to connect with repository at /p/winterbay-mafia/autobasement/code
Done.

Any ideas?
 
Your computer failed to look up sourceforge. Reboot your router and hope that its DNS works better after the reboot.
 
Either that or you're behind a particularly evil proxy I guess (the one at work blocks Sourceforge but at least tells you that it has done that).
 
That... shouldn't happen... Do you have some CLI-output around where it tries to do that and also possibly the maximizer string it used?
 
huh, I can't seem to find it in my session log but the maximiser used Moxie, -familiar. I'll re-run it tomorrow to see what's happening.
 
It keeps trying to equip 2 scratch 'n' sniff swords and then failing, is there a way to stop this?

I have seen cases where something tried to equip two of X and only one was possible. It seemed to be because the Maximizer wanted an item in a particular slot and did not recognize that it was already equipped elsewhere. My usual solution was to just manually unequip the item and try again.

It goes without saying that if it is trying to equip 2 of X and you only have 1 then you should manually refresh the inventory and see if you can figure out how and why things got out of synch and file a bug report.
 
Back
Top