autoBasement.ash - Better basement automation

Winterbay

Active member
Ah, but as you get more muscle, you might have a different outfit that maximizes your HP (e.g. lawn dart vs brimstone bludgeon), or what have you (maximizer doesn't support more complicated functions like effective HP, taking into account resistance / DA).

Yeah, that's extremely niche and was never relevant for me, since I always started basement diving late enough that was a non-issue.

We also cache familiar and familiar equipment which is normally not included in the outfit, which is the reason I didn't do a "once per day if we are above 200" caching.
 

Crowther

Active member
Ah, but as you get more muscle, you might have a different outfit that maximizes your HP (e.g. lawn dart vs brimstone bludgeon), or what have you (maximizer doesn't support more complicated functions like effective HP, taking into account resistance / DA).
It doesn't start caching until your stats reach 200. I don't think things will change very much after that point. I'm hard pressed to come up with anything that would change once you reach 200 stats, so I really believe the difference would be tiny.

EDIT: Okay, familiars sure.
 
Last edited:

Magus_Prime

Well-known member
This was also posted, inadvertently, in the WHAM thread:

WHAM_killit seems to be working. It's expensive but it's working. To beat a beast with N ears it buffed my Pastamancer's muscle with a pressurized potion and then used a divine noisemaker. Something like Fearful Fettucini would have been much easier and less expensive choice.

I'm grateful for the existence of WHAM and Autobasement but would you be willing to do some tweaking of WHAM_killit / Autobasement to be a bit more sensible?
 

Winterbay

Active member
What is your autobasement_combat_stat set to? As a myst class I would expect it to be Mysticality and if so it shouldn't buff Muscle (it buffs that stat so if it is set to Muscle then that is what it will do).
 

Magus_Prime

Well-known member
It's set to Muscle. This is the first time in quite a while that I've run the basement as a Myst class. Was this variable always hard-coded in the script? Would it be better to auto-set that variable based on class?
 

Winterbay

Active member
I just committed a pretty good update (if I may say so myself). From the changelog:
Code:
If max_potion_price is larger than autoBuyPriceLimit, raise the latter to the former (and reset at the end of the script)
Make sure we equip the cached outfits before we do the test for which it is intended
Don't abort due to being Beaten Up if we can remove it
Make sure we honor the combat-equipment setting when maximizing
Make sure that we continue to honor the disallowing of precentage based and absolute potions
Fix several bugs with the maximize_wrap function and the elemental_test function that would lead to either overbuffing or failure
Move the debug printing to verbosity levels 7 and 9 respectively

I'm pretty positive about this version and if no one comes up with a glaring error in the next 24-48 hours I'll release it to the world and move the script officially to SVN updating.
 

Magus_Prime

Well-known member
Latest SVN update pf Autobasement and r12210 and got the following error:

Code:
[1922] Fernswarthy's Basement (Level 120)
Encounter: Got Silk?/Leather is Betther
You gain 313 Smarm
Refreshing closet...
Examining consumables in closet...
Examining equipment in closet...
Examining miscellaneous items in closet...
Updating inventory...
Basement level 121: Stench & Hot Elemental Resistance Test
Passed outfit (Elemental Resistance) contains less than 3 items. Please recheck your inventory.

Here's the same attempt with verbosity set to 9:

Code:
Basement level 121: Stench & Hot Elemental Resistance Test
Element: stench
Base Damage: 4078.539919229481
CLass modifier: 5.0
Elemental resistance:5.0
isWeak(elem): false
Fraction of damage resisted: 0.5333333333333333
---
Element: hot
Base Damage: 4078.539919229481
CLass modifier: 5.0
Elemental resistance:5.0
isWeak(elem): false
Fraction of damage resisted: 0.5333333333333333
---
0
Element: stench
Base Damage: 4078.539919229481
CLass modifier: 5.0
Elemental resistance:5.0
isWeak(elem): false
Fraction of damage resisted: 0.5333333333333333
---
Element: hot
Base Damage: 4078.539919229481
CLass modifier: 5.0
Elemental resistance:5.0
isWeak(elem): false
Fraction of damage resisted: 0.5333333333333333
---
1
2
Passed outfit (Elemental Resistance) contains less than 3 items. Please recheck your inventory.

I have no idea what's going on. Often there's something in the maximizer window to indicate what's going on but not this time.
 
Last edited:

roippi

Developer
What a glaring error. That should be "Passed outfit (Elemental Resistance) contains fewer than 3 items."

:p
 

Winterbay

Active member
Latest SVN update pf Autobasement and r12210 and got the following error:

Code:
[1922] Fernswarthy's Basement (Level 120)
Encounter: Got Silk?/Leather is Betther
You gain 313 Smarm
Refreshing closet...
Examining consumables in closet...
Examining equipment in closet...
Examining miscellaneous items in closet...
Updating inventory...
Basement level 121: Stench & Hot Elemental Resistance Test
Passed outfit (Elemental Resistance) contains less than 3 items. Please recheck your inventory.

Here's the same attempt with verbosity set to 9:

Code:
Basement level 121: Stench & Hot Elemental Resistance Test
Element: stench
Base Damage: 4078.539919229481
CLass modifier: 5.0
Elemental resistance:5.0
isWeak(elem): false
Fraction of damage resisted: 0.5333333333333333
---
Element: hot
Base Damage: 4078.539919229481
CLass modifier: 5.0
Elemental resistance:5.0
isWeak(elem): false
Fraction of damage resisted: 0.5333333333333333
---
0
Element: stench
Base Damage: 4078.539919229481
CLass modifier: 5.0
Elemental resistance:5.0
isWeak(elem): false
Fraction of damage resisted: 0.5333333333333333
---
Element: hot
Base Damage: 4078.539919229481
CLass modifier: 5.0
Elemental resistance:5.0
isWeak(elem): false
Fraction of damage resisted: 0.5333333333333333
---
1
2
Passed outfit (Elemental Resistance) contains less than 3 items. Please recheck your inventory.

I have no idea what's going on. Often there's something in the maximizer window to indicate what's going on but not this time.

Well, the obvious thing to check is what your elemental resistance outfit looks like. If you go to edit outfits in the relay browser how many components does the outfit "Elemental Resistance" contain?

What a glaring error. That should be "Passed outfit (Elemental Resistance) contains fewer than 3 items."

:p

Now, I will gladly admit ot not being the best at English grammar, so could you please explain the difference? :)
 

jbouzanquet

Member
Well, the obvious thing to check is what your elemental resistance outfit looks like. If you go to edit outfits in the relay browser how many components does the outfit "Elemental Resistance" contain?

Now, I will gladly admit ot not being the best at English grammar, so could you please explain the difference? :)
Fewer is correct, though I've been out of elementary school so long I don't remember why. Anyway, same issue as magnus prime. There is no Elemental Resistance outfit for me. Mafia 12211 and svn autobasement.

Code:
> zlib verbosity = 10

Previous value of verbosity: 3
Changed to 10.

> call scripts/autoBasement.ash

Running ZLib version: r37 (current)
Running AutoBasement version: 3.4 (current)
Caching outfits...
Putting on outfit: Mysticality
Equipment changed.
Retrieving equipment...

Hat: The Necbromancer's Hat
Weapon: scratch 'n' sniff sword
Off-hand: Tuesday's ruby
Shirt: letterman's jacket
Pants: sugar shorts
Container: Misty Robe

Acc. 1: cursed scrunchie
Acc. 2: astral bracer (6)
Acc. 3: amber aviator shades (7)

Pet: Exotic Parrot (45 lbs)
Item: cracker

Sticker 1: scratch 'n' sniff wrestler sticker (-4)
Sticker 2: scratch 'n' sniff wrestler sticker (-4)
Sticker 3: scratch 'n' sniff wrestler sticker (-4)
Maximizing...
112 combinations checked, best score 2,038.00
Saving outfit: Mysticality
Outfit saved
Putting on outfit: Muscle
Equipment changed.
Retrieving equipment...

Hat: hardened slime hat
Weapon: scratch 'n' sniff sword
Off-hand: battered hubcap
Shirt: letterman's jacket
Pants: sugar shorts
Container: barskin cloak

Acc. 1: cursed scrunchie
Acc. 2: Slow Talkin' Elliot's dogtags (3)
Acc. 3: Mr. Accessory (3)

Pet: Exotic Parrot (45 lbs)
Item: cracker

Sticker 1: scratch 'n' sniff wrestler sticker (-4)
Sticker 2: scratch 'n' sniff wrestler sticker (-4)
Sticker 3: scratch 'n' sniff wrestler sticker (-4)
Maximizing...
96 combinations checked, best score 1,878.00
Saving outfit: Muscle
Outfit saved
Putting on outfit: Moxie
Equipment changed.
Retrieving equipment...

Hat: fireman's helmet
Weapon: scratch 'n' sniff sword
Off-hand: wicker shield
Shirt: letterman's jacket
Pants: sugar shorts
Container: Misty Cape

Acc. 1: cursed scrunchie
Acc. 2: Pokëmann figurine: Moog (8)
Acc. 3: frayed rope belt (8)

Pet: Exotic Parrot (45 lbs)
Item: cracker

Sticker 1: scratch 'n' sniff wrestler sticker (-4)
Sticker 2: scratch 'n' sniff wrestler sticker (-4)
Sticker 3: scratch 'n' sniff wrestler sticker (-4)
Maximizing...
107 combinations checked, best score 1,822.00
Saving outfit: Moxie
Outfit saved
Putting on outfit: Gauntlet
Equipment changed.
Retrieving equipment...

Hat: hardened slime hat
Weapon: scratch 'n' sniff sword
Off-hand: battered hubcap
Shirt: letterman's jacket
Pants: sugar shorts
Container: barskin cloak

Acc. 1: hopping socks (23)
Acc. 2: slime-covered necklace (16)
Acc. 3: slime-covered necklace (16)

Pet: Exotic Parrot (45 lbs)
Item: cracker

Sticker 1: scratch 'n' sniff wrestler sticker (-4)
Sticker 2: scratch 'n' sniff wrestler sticker (-4)
Sticker 3: scratch 'n' sniff wrestler sticker (-4)
Maximizing...
72 combinations checked, best score 2,899.00
Saving outfit: Gauntlet
Outfit saved
Putting on outfit: MPDrain
Equipment changed.
Retrieving equipment...

Hat: The Necbromancer's Hat
Weapon: scratch 'n' sniff sword
Off-hand: Tuesday's ruby
Shirt: letterman's jacket
Pants: sugar shorts
Container: Misty Robe

Acc. 1: hopping socks (23)
Acc. 2: cursed scrunchie
Acc. 3: astral bracer (6)

Pet: Exotic Parrot (45 lbs)
Item: cracker

Sticker 1: scratch 'n' sniff wrestler sticker (-4)
Sticker 2: scratch 'n' sniff wrestler sticker (-4)
Sticker 3: scratch 'n' sniff wrestler sticker (-4)
Maximizing...
112 combinations checked, best score 3,191.00
Saving outfit: MPDrain
Outfit saved
Putting on outfit: MP Regen
Equipment changed.
Retrieving equipment...

Hat: Colander of Em-er'il
Weapon: Staff of the Soupbone
Off-hand: Whatsian Ionic Pliers
Shirt: snailmail hauberk
Pants: spangly mariachi pants
Container: Misty Robe

Acc. 1: fudgecycle (8)
Acc. 2: Bandolier of the Spaghetti Elemental (24)
Acc. 3: energy drink IV (72)

Pet: Exotic Parrot (45 lbs)
Item: cracker

Sticker 1: scratch 'n' sniff wrestler sticker (-4)
Sticker 2: scratch 'n' sniff wrestler sticker (-4)
Sticker 3: scratch 'n' sniff wrestler sticker (-4)
Maximizing...
80 combinations checked, best score 66.00
Saving outfit: MP Regen
Outfit saved
Putting on outfit: Damage
Equipment changed.
Retrieving equipment...

Hat: hardened slime hat
Weapon: scratch 'n' sniff sword
Off-hand: battered hubcap
Shirt: letterman's jacket
Pants: sugar shorts
Container: barskin cloak

Acc. 1: cursed scrunchie
Acc. 2: Slow Talkin' Elliot's dogtags (3)
Acc. 3: Mr. Accessory (3)

Pet: Exotic Parrot (45 lbs)
Item: cracker

Sticker 1: scratch 'n' sniff wrestler sticker (-4)
Sticker 2: scratch 'n' sniff wrestler sticker (-4)
Sticker 3: scratch 'n' sniff wrestler sticker (-4)
Maximizing...
72 combinations checked, best score 1,878.00
Saving outfit: Damage
Outfit saved
Outfits caching complete!
Refreshing closet...
Examining consumables in closet...
Examining equipment in closet...
Examining miscellaneous items in closet...
Updating inventory...
Basement level 143: Spooky & Cold Elemental Resistance Test
Element: spooky
Base Damage: 5153.184020091224
CLass modifier: 5.0
Elemental resistance:7.0
isWeak(elem): false
Fraction of damage resisted: 0.6606481481481481
---
Element: cold
Base Damage: 5153.184020091224
CLass modifier: 5.0
Elemental resistance:8.0
isWeak(elem): false
Fraction of damage resisted: 0.7088734567901234
---
0
Element: spooky
Base Damage: 5153.184020091224
CLass modifier: 5.0
Elemental resistance:7.0
isWeak(elem): false
Fraction of damage resisted: 0.6606481481481481
---
Element: cold
Base Damage: 5153.184020091224
CLass modifier: 5.0
Elemental resistance:8.0
isWeak(elem): false
Fraction of damage resisted: 0.7088734567901234
---
1
2
Passed outfit (Elemental Resistance) contains less than 3 items. Please recheck your inventory.
 

zarqon

Well-known member
The way it's sometimes taught is that 'fewer' is for countable nouns ("fewer glasses of milk"), and 'less' is for uncountable ("less milk"). This is not, however, a hard rule, and "less" is also correct, having been used with countable nouns before, during, and after the fewer/less distinction was even made an issue. It's pretty obviously not a strict rule when you consider how common "At least" is relative to the almost-never-seen "At fewest".
 

Winterbay

Active member
Well, what do you know. There is actually no code to set up that cached outfit. Since I had one and it seemed obvious to me at the time that it came from this script I set the script to equip it. I'll add that to the caching function then...

Edit: r8 should fix that.

Editx2: And r9 "fixes" the grammar :) (At least I hadn't written "less then" which is a lot more common error in my writing...)
 
Last edited:

zarqon

Well-known member
I liked it. :)

PS: Certain grammarians predict the imminent death of "fewer", as it is gradually being superseded by "less" in most modern writing.
 

Magus_Prime

Well-known member
After updating to the latest SVN version of the script with r12211 I get the following error during the caching of outfits:

Code:
Saving outfit: Damage
Outfit saved
Retrieving equipment...

Hat: Hodgman's porkpie hat
Weapon: scratch 'n' sniff sword
Off-hand: Sceptre of the Torremolinos Prince
Shirt: sea salt scrubs
Pants: sugar shorts
Container: sea shawl

Acc. 1: navel ring of navel gazing
Acc. 2: plexiglass pinky ring
Acc. 3: plexiglass pocketwatch

Pet: Disembodied Hand (21 lbs)
Item: (none)

Sticker 1: scratch 'n' sniff wrestler sticker (20)
Sticker 2: scratch 'n' sniff wrestler sticker (20)
Sticker 3: scratch 'n' sniff wrestler sticker (20)
Unrecognized keyword: elemental resistance

It's the maximizer throwing the error. Here is the string it is being handed:

Code:
Elemental Resistance, switch Disembodied Hand

It seems that "Elemental Resistance" is not a valid choice. Is "all res" what should be there?

Edit:

Yes. Change line 420 to:

Code:
maximize("all res" + maximize_familiar, false);

And it works as designed.


Another thing I just noticed is that now that Autobasement is looking at a wider range of possibilities for buffing stats the choices could use some tweaking. Here's an example:

To buff Moxie autobasement chose to use a Mer-Kin Cooljuice. That's fine.

The very next test was a Mysticality test. Mer-Kin Cooljuice imposes a drastic penalty on Mysticality and to overcome that Autobasement spent a lot of meat on Myst buffing potions, including a pressurized potion. The off-stat debuff of the juices is so drastic that I can see this resulting in an outright failure to pass the test at lower levels of the basement.

Another edit:

Seventy-some levels later Autobasement did uneffect the "Juiced" effect to pass a test.

Yet another edit:

Ouch. WHAM just used a BRICKO reactor to kill an x-dimensional horror on level 298. Saucegeyser is my normal go-to killer for that beastie. Off to edit WHAM_don'tuse.


Editing again:

Got the following when Autobasement tried to buff me to pass a HP test:

Code:
Basement level 352: HP Test
Taking off lawn dart...
Equipment changed.
Putting on outfit: Gauntlet
Equipment changed.
Putting on lawn dart...
Equipment changed.
Maximizing...
9578 combinations checked, best score 41,131.90
Putting on Oscus's flypaper pants...
Equipment changed.
Casting Astral Shell 1 times...
You acquire an effect: Astral Shell (duration: 15 Adventures)
Astral Shell was successfully cast.
Casting Ghostly Shell 1 times...
You acquire an effect: Ghostly Shell (duration: 15 Adventures)
Ghostly Shell was successfully cast.
Using 1 mother's little helper...
You acquire an effect: Tranquilized Mind (duration: 10 Adventures)
Finished using 1 mother's little helper.
Searching for "Ferrigno's Elixir of Power"...
Search complete.
Purchasing Ferrigno's Elixir of Power (1 @ 1,529)...
You acquire an item: Ferrigno's Elixir of Power
Purchases complete.
Using 1 Ferrigno's Elixir of Power...
You acquire an effect: Incredibly Hulking (duration: 10 Adventures)
Finished using 1 Ferrigno's Elixir of Power.
Using 1 Oil of Parrrlay...
You acquire an effect: Well-Oiled (duration: 5 Adventures)
Finished using 1 Oil of Parrrlay.
Juiced cannot be removed with an available item or skill...
Using soft green whatever...
Juiced removed.
Searching for "philter of phorce"...
Search complete.
Purchasing philter of phorce (1 @ 504)...
You acquire an item: philter of phorce
Purchases complete.
Using 1 philter of phorce...
You acquire an effect: Phorcefullness (duration: 10 Adventures)
Finished using 1 philter of phorce.
Juiced Newton cannot be removed with an available item or skill...
Using soft green whatever...
Juiced Newton removed.
Using 1 handful of Crotchety Pine needles...
You acquire an effect: Crotchety, Pining (duration: 100 Adventures)
Finished using 1 handful of Crotchety Pine needles.
Searching for "potion of temporary gr8tness"...
Search complete.
Purchasing potion of temporary gr8tness (1 @ 1,083)...
You acquire an item: potion of temporary gr8tness
Purchases complete.
Using 1 potion of temporary gr8tness...
You acquire an effect: Gr8tness (duration: 10 Adventures)
Finished using 1 potion of temporary gr8tness.
Searching for "mafia aria"...
Search complete.
Purchasing mafia aria (1 @ 2,750)...
You acquire an item: mafia aria
Purchases complete.
Putting on support cummerbund...
Equipment changed.
Using 1 mafia aria...
You acquire an effect: Macho Profundo (duration: 5 Adventures)
Putting on hopping socks...
Equipment changed.
Finished using 1 mafia aria.
Searching for "extra-potent gremlin mutagen"...
Search complete.
Purchasing extra-potent gremlin mutagen (1 @ 8,700)...
You acquire an item: extra-potent gremlin mutagen
Purchases complete.
Using 1 extra-potent gremlin mutagen...
You acquire an effect: Seriously Mutated (duration: 1 Adventure)
Finished using 1 extra-potent gremlin mutagen.
Searching for "blood of the Wereseal"...
Search complete.
Purchasing blood of the Wereseal (1 @ 500)...
You acquire an item: blood of the Wereseal
Purchases complete.
Using 1 blood of the Wereseal...
You acquire an effect: Temporary Lycanthropy (duration: 10 Adventures)
Finished using 1 blood of the Wereseal.
Searching for "jug of Gnomochloric acid"...
Search complete.
Searching for "hamethyst"...
Search complete.
Verifying ingredients for jug of hamethyst juice (1)...
Searching for "jug of Gnomochloric acid"...
Search complete.
Purchasing jug of Gnomochloric acid (1 @ 5,000)...
You acquire an item: jug of Gnomochloric acid
Purchases complete.
Creating jug of hamethyst juice (1)...
You acquire an item: jug of hamethyst juice
Successfully created jug of hamethyst juice (1)
Using 1 jug of hamethyst juice...
You acquire an effect: Ham-Fisted (duration: 50 Adventures)
Finished using 1 jug of hamethyst juice.
Searching for "flask of Gnomochloric acid"...
Search complete.
Verifying ingredients for flask of hamethyst juice (1)...
Using cached search results for flask of Gnomochloric acid...
Purchasing flask of Gnomochloric acid (1 @ 2,599)...
You acquire an item: flask of Gnomochloric acid
Purchases complete.
Creating flask of hamethyst juice (1)...
You acquire an item: flask of hamethyst juice
Successfully created flask of hamethyst juice (1)
Using 1 flask of hamethyst juice...
You acquire an effect: Ham-Fisted (duration: 10 Adventures)
Finished using 1 flask of hamethyst juice.
Searching for "vial of hamethyst juice"...
Search complete.
Searching for "vial of Gnomochloric acid"...
Search complete.
Verifying ingredients for vial of hamethyst juice (1)...
Creating vial of hamethyst juice (1)...
You acquire an item: vial of hamethyst juice
Successfully created vial of hamethyst juice (1)
Using 1 vial of hamethyst juice...
You acquire an effect: Ham-Fisted (duration: 5 Adventures)
Finished using 1 vial of hamethyst juice.
Searching for "tomato juice of powerful power"...
Search complete.
Purchasing tomato juice of powerful power (1 @ 432)...
You acquire an item: tomato juice of powerful power
Purchases complete.
Using 1 tomato juice of powerful power...
You acquire an effect: Tomato Power (duration: 10 Adventures)
Finished using 1 tomato juice of powerful power.
Searching for "seal-brain elixir"...
Search complete.
Purchasing seal-brain elixir (1 @ 1,200)...
You acquire an item: seal-brain elixir
Purchases complete.
Using 1 seal-brain elixir...
You acquire an effect: Sealed Brain (duration: 20 Adventures)
Finished using 1 seal-brain elixir.
Using 1 Mick's IcyVapoHotness Rub...
You acquire an effect: Extreme Muscle Relaxation (duration: 10 Adventures)
Finished using 1 Mick's IcyVapoHotness Rub.
Using 1 fizzy potion of ettin strength...
You acquire an effect: Strength of Ten Ettins (duration: 10 Adventures)
Finished using 1 fizzy potion of ettin strength.
Searching for "gremlin mutagen"...
Search complete.
Purchasing gremlin mutagen (1 @ 6,666)...
You acquire an item: gremlin mutagen
Purchases complete.
Using 1 gremlin mutagen...
You acquire an effect: Mutated (duration: 1 Adventure)
Finished using 1 gremlin mutagen.
Using 1 bottle of goofballs...
You acquire an effect: Hopped Up on Goofballs (duration: 10 Adventures)
Finished using 1 bottle of goofballs.
Searching for "lime supersucker"...
Search complete.
Searching for "tourmalime"...
Search complete.
Searching for "lollipop stick"...
Search complete.
Verifying ingredients for lime supersucker (1)...
Creating lime supersucker (1)...
You acquire an item: lime supersucker
Successfully created lime supersucker (1)
Using 1 lime supersucker...
You acquire an effect: Sugar Rush (duration: 30 Adventures)
You acquire an effect: In the Limelight (duration: 30 Adventures)
Finished using 1 lime supersucker.
Using 1 bottle of fire...
You acquire an effect: The Fire Inside (duration: 10 Adventures)
Finished using 1 bottle of fire.
Searching for "bellhop bell"...
Search complete.
Purchasing bellhop bell (1 @ 575)...
You acquire an item: bellhop bell
Purchases complete.
Using 1 bellhop bell...
You acquire an effect: Ringing Ears (duration: 10 Adventures)
Finished using 1 bellhop bell.
Searching for "Ben-Gal™ Balm"...
Search complete.
Putting on Travoltan trousers...
Equipment changed.
Purchasing Ben-Gal™ Balm (5 @ 22)...
You acquire Ben-Gal™ Balm (5)
You spent 110 Meat
Purchases complete.
Putting on Oscus's flypaper pants...
Equipment changed.
Using 5 Ben-Gal™ Balm...
You acquire an effect: Go Get 'Em, Tiger! (duration: 15 Adventures)
Finished using 5 Ben-Gal™ Balm.
Casting Stevedave's Shanty of Superiority 1 times...
You acquire an effect: Stevedave's Shanty of Superiority (duration: 15 Adventures)
Stevedave's Shanty of Superiority was successfully cast.
Using 1 Trivial Avocations Card: What?...
You acquire an effect: You Know What's Up (duration: 1 Adventure)
Trivia card #82/1200:
Question: What did Hubie Stipe's aunt find in his pillowcase on Frankruary second, 1975?
Answer: The positronic thermographic aunt.
Finished using 1 Trivial Avocations Card: What?.
Casting Rage of the Reindeer 1 times...
You acquire an effect: Rage of the Reindeer (duration: 10 Adventures)
Rage of the Reindeer was successfully cast.
Searching for "pirate brochure"...
Search complete.
Saving outfit: Backup
Outfit saved
Putting on outfit: Swashbuckling Getup
Equipment changed.
Purchasing pirate brochure (1 @ 300)...
You acquire an item: pirate brochure
You spent 300 Meat
Purchases complete.
Putting on outfit: Backup
Equipment changed.
Using 1 pirate brochure...
You acquire an effect: Muscularrr (duration: 10 Adventures)
Finished using 1 pirate brochure.
Using 1 Trivial Avocations Card: When?...
You acquire an effect: You Know When to Walk Away (duration: 1 Adventure)
Trivia card #369/1200:
Question: When did the Hambonia Sexy Gypsies win the national ultimate frisbee championship?
Answer: According to the old calendar, the eighth day of the Month of the Marmot in the Year of the Bedpan.
Finished using 1 Trivial Avocations Card: When?.
Using 1 Trivial Avocations Card: Where?...
You acquire an effect: You Know Where to Go (duration: 1 Adventure)
Trivia card #1057/1200:
Question: Where was the Queen of Brazzleton stoned to death for the crime of indian-giving?
Answer: In Sir Thanatos Hall's cousin's belfry.
Finished using 1 Trivial Avocations Card: Where?.
Searching for "black facepaint"...
Search complete.
Putting on Travoltan trousers...
Equipment changed.
Purchasing black facepaint (1 @ 285)...
You acquire an item: black facepaint
You spent 285 Meat
Purchases complete.
Putting on Oscus's flypaper pants...
Equipment changed.
Using 1 black facepaint...
You acquire an effect: Black Face (duration: 10 Adventures)
Finished using 1 black facepaint.
Using 1 unstable DNA...
You acquire an effect: Yuletide Mutations (duration: 10 Adventures)
Finished using 1 unstable DNA.
Using 1 Trivial Avocations Card: Who?...
You lose an effect: You Know What's Up
You lose an effect: You Know When to Walk Away
You lose an effect: You Know Where to Go
You acquire an effect: Trivia Master (duration: 30 Adventures)
Trivia card #870/1200:
Question: What player for the Bafflesbury Mahogany Amish was inducted into the Hall of Fame for his or her last-second hole-in-one in the 1961 boxing championship?
Answer: Vizier Shemp XV.
Finished using 1 Trivial Avocations Card: Who?.
Using 1 weremoose spit...
You acquire an effect: Lycanthropy, Eh? (duration: 20 Adventures)
Finished using 1 weremoose spit.
Using 1 Angry Farmer candy...
You acquire an effect: Sugar Rush (duration: 10 Adventures)
Finished using 1 Angry Farmer candy.
Using 1 Tasty Fun Good rice candy...
You acquire an effect: Sugar Rush (duration: 5 Adventures)
Finished using 1 Tasty Fun Good rice candy.
Using 1 Crimbo candied pecan...
You acquire an effect: Sugar Rush (duration: 5 Adventures)
You acquire an effect: Sweet, Nuts (duration: 5 Adventures)
Finished using 1 Crimbo candied pecan.
Using 1 Crimbo fudge...
You acquire an effect: Sugar Rush (duration: 5 Adventures)
You acquire an effect: Busy Bein' Delicious (duration: 5 Adventures)
Finished using 1 Crimbo fudge.
Using 1 Crimbo peppermint bark...
You acquire an effect: Sugar Rush (duration: 5 Adventures)
You acquire an effect: Peppermint Bite (duration: 5 Adventures)
Finished using 1 Crimbo peppermint bark.
Using 1 breath mint...
You acquire an effect: Sugar Rush (duration: 3 Adventures)
Finished using 1 breath mint.
Using 1 that gum you like...
You acquire an effect: Sugar Rush (duration: 5 Adventures)
Finished using 1 that gum you like.
Searching for "sugar-coated pine cone"...
Search complete.
Purchasing sugar-coated pine cone (1 @ 8,760)...
You acquire an item: sugar-coated pine cone
Purchases complete.
Using 1 sugar-coated pine cone...
You acquire an effect: Antsy in your Pantsy (duration: 10 Adventures)
You acquire an effect: Sugar Rush (duration: 5 Adventures)
Finished using 1 sugar-coated pine cone.
You don't know the name of that demon.

I'm assuming it was trying to summon the demon using the name from the Strange Cube for a stat buff. That's one of the two demon names I haven't bothered to learn.

What's very strange is that all that was necessary to pass the test after all the buffs that preceded the failure was to cast Cannelloni Cocoon.

At that point I was WAY over-buffed with 13.5K HP when I needed:
Code:
Putting on outfit: Gauntlet
Equipment changed.
You gain 9,328 hit points
Checkpoints cleared.

[2485] Fernswarthy's Basement (Level 352)
Maximum HP Test: 13,445 current, 39681 * 0.10 (1100 DA) = 3,968 needed
You lose 3,646 hit points

After three more failures of this type I looked more closely at each event. Autobasement seems, at least in this case, to consider what the max HP is. The Gauntlet outfit was successfully equipped and max HP was far greater than necessary to pass the test while current HP was less than needed.

A full heal was all that was needed to pass the test.


Any thoughts?


More editing:

Autobasement just spent an A.W.O.L and FDKOL commendation for buffs. How do we keep it from expending irreplaceable items? I'm closeting the currency for now.

Yet more editing:

I'm impressed. WHAM successfully handled combat until level 489.
 
Last edited:

Winterbay

Active member
I think I've fixed the overbuffing issue for the gauntlet. A wrongly placed calculation (outside the loop meaning it never updated and thus we never passed the test...).

I've also run into the issue with the demon name, and I can't see a way to avoid it. I guess a feature request to Mafia to not suggest demons if the associated preference is blank should be made.

I guess the BRICKO Reactor is an effect of WHAM_killit being set to true and WHAM thus promptly ignoring the 27k cost of the reactor...
 

Gawea

New member
I think there's a problem with the Travoltan Trousers.

Code:
Restoring HP! Currently at 5559 of 5806 HP, 654 of 4990 MP, current meat: 165020 ... Target HP = 5806.
Using 2 elven medi-pack...
You gain 183 hit points
Finished using 2 elven medi-pack.
Using 2 tiny house...
You gain 47 hit points
You gain 42 Muscularity Points
Finished using 2 tiny house.
Using 1 milky potion of healing...
You gain 16 hit points
You gain 14 Muscularity Points
Finished using 1 milky potion of healing.
Searching for "Doc Galaktik's Ailment Ointment"...
Search complete.
Putting on Travoltan trousers...
Equipment changed.
Purchasing Doc Galaktik's Ailment Ointment (1 @ 57)...
You acquire an item: Doc Galaktik's Ailment Ointment
You spent 56 Meat
Purchases complete.
Putting on sugar shorts...
Equipment changed.
Using 1 Doc Galaktik's Ailment Ointment...
You gain 9 hit points
Finished using 1 Doc Galaktik's Ailment Ointment.
Searching for "Doc Galaktik's Ailment Ointment"...
Search complete.
Putting on Travoltan trousers...
Equipment changed.
Purchasing Doc Galaktik's Ailment Ointment (26 @ 57)...
You acquire Doc Galaktik's Ailment Ointment (26)
You spent 1,456 Meat
Purchases complete.
Putting on sugar shorts...
Equipment changed.
Using 26 Doc Galaktik's Ailment Ointment...
You gain 236 hit points
Finished using 26 Doc Galaktik's Ailment Ointment.
Searching for "Doc Galaktik's Ailment Ointment"...
Search complete.
Putting on Travoltan trousers...
Equipment changed.
Purchasing Doc Galaktik's Ailment Ointment (1 @ 57)...
You acquire an item: Doc Galaktik's Ailment Ointment
You spent 56 Meat
Purchases complete.
Putting on sugar shorts...
Equipment changed.
Using 1 Doc Galaktik's Ailment Ointment...
You gain 9 hit points
Finished using 1 Doc Galaktik's Ailment Ointment.
Searching for "Doc Galaktik's Ailment Ointment"...
Search complete.
Putting on Travoltan trousers...
Equipment changed.
Purchasing Doc Galaktik's Ailment Ointment (26 @ 57)...

This will run in an infinite loop until stopped manually. I can't figure out exactly what it's doing, but I think there's some interaction between the sugar shorts and the trousers.

I should mention that I also run Universal Recovery, but I don't think that's the problem because I only get the loop with autobasement.
 

Theraze

Active member
You've told mafia to allow for changing gear on buffing and also that you want it to restore you to full health and/or mp. Changing gear to buy at a discount drops your health/mp to where it no longer heals with the prior level. This is a longstanding mafia FReq/Bug that was last touched upon... a year ago? More? Still hasn't gotten fixed, because it only affects people that cause this to themselves: having the travoltan trousers and poor healing decisions. :) Not an autoBasement bug in the slightest though. Nor an UR bug.
 
Top