autoBasement.ash - Better basement automation

Theraze

Active member
Depending on how closely ASH follows C99 standards, this may or may not actually be true...

And... actually trying this out shows...
> ashq int i = 1; switch (i) {case 0: print_html("start"); break; default: print_html("default"); case 1: print_html("found"); break; }

found
Nope. Default does not have to be the last case. ASH follows C99 standards here. Put the break after default if you like, to make it not want to re-parse the pre-searched items. But it won't affect anything, since default, wherever it's found, works only if a specific case doesn't exist.
 

Veracity

Developer
Staff member
But you still wouldn't have a case after default.
You could. The default section can appear anywhere inside the switch - first, last, somewhere in the middle.

In other languages, I generally see it in one of two places:

- Last. All the special cases followed by "use this if it is none of the above".
- First. "Use this if I don't say otherwise", followed by all the specific cases of "saying otherwise".

Using one vs. the other is a matter of taste or style - and neither is more tasteful or stylish.

You CAN have the default somewhere in the middle, but that's less common and a bit more confusing. You might do that if you have a few cases that do stuff and then "fall into" the default.

In any case, the take-away message is that the "default" label does NOT mean "use every statement from here to the end of switch."
 

Pantsless

New member
Autobasement aborted on combats for me today, since it wanted to buy a circular crimbcookie from Chez Snootee, but I was full.

Basement level 54: Monster
Maximizing...
15496 combinations checked, best score 309.00
Putting on fancy tophat...
Equipment changed.
Wielding scratch 'n' sniff sword...
Equipment changed.
Holding Glass Balls of the Goblin King...
Equipment changed.
Putting on Camp Scout backpack...
Equipment changed.
Putting on sugar shorts...
Equipment changed.
Putting on Brimstone Bracelet...
Equipment changed.
Putting on Brimstone Brooch...
Equipment changed.
Putting on navel ring of navel gazing...
Equipment changed.
Purchasing circular CRIMBCOOKIE at the Chez Snootée...
Consumption limit reached.

Not sure if this is an autobasement thing or a maximizer thing.
 

Theraze

Active member
Would need to be an autobasement thing, since the command-line maximizer can't get effects or use items. It's (currently available, pre-pulled, pre-created, and pre-folded) equipment only.
 

Winterbay

Active member
Could be an effect of hola's maximizer tweaking?
Autobasement isn't set up to eat anything (apart from Lucifers) so this is related to some kind of maximizer craziness.
 

LuxNecronis

New member
Lux again.

After a somewhat extended hiatus and an update to the most current version, I once again find my script breaking at the Gauntlet.

Running as a level 29 sauceror, my auto-adventuring gets broken by being beaten up at the Gauntlet. Square sponge helmet and pants are readily available and, just by equipping them I can pass the test.

Last level broken was 133, with a base muscle of 409 and a modified (after switching to the sponge helmet and pants and with standard AutoBasement script potions) of 3389.
 

Winterbay

Active member
Do you have the possibility to set your verbosity to 9 or 10 and then post the result when it fails the next time?
 

LuxNecronis

New member
Welcome to how n00b I am. How would I go about doing so?

Nevermind, figured it out. Just have to poke around in the innards.

I'm finding another break, using the most recent Mafia version and script version - not being able to equip the scratch-and-sniff sword because it's already off-handed.

Monster defeated
Basement level 187: Cold & Sleaze Elemental Resistance Test
Maximizing...
420 combinations checked, best score 59.27
Wielding scratch 'n' sniff sword...
You don't have the item you're trying to equip.
unable to pass elemental test, quitting
mpAutoRecoveryTarget => 0.4
Basement sucessfully automated for 1 out of 169 adventures.

and now, breaking at level 296 on the Gauntlet.
Basement level 296: HP Test
Putting on outfit: Gauntlet
Equipment changed.
potion of temporary gr8tness has a cost effectiveness of 35.63181818181819
Searching for "potion of temporary gr8tness"...
Search complete.
Purchasing potion of temporary gr8tness (1 @ 1,100)...
You acquire an item: potion of temporary gr8tness
Purchases complete.
Using 1 potion of temporary gr8tness...
You acquire an effect: Gr8tness (duration: 15 Adventures)
Finished using 1 potion of temporary gr8tness.
Ben-Gal™ Balm has a cost effectiveness of 16.33125
Searching for "Ben-Gal™ Balm"...
Search complete.
Purchasing Ben-Gal™ Balm (1 @ 24)...
You acquire an item: Ben-Gal™ Balm
You spent 24 Meat
Purchases complete.
Using 1 Ben-Gal™ Balm...
You acquire an effect: Go Get 'Em, Tiger! (duration: 3 Adventures)
Finished using 1 Ben-Gal™ Balm.
seal-brain elixir has a cost effectiveness of 13.4
Searching for "seal-brain elixir"...
Search complete.
Purchasing seal-brain elixir (1 @ 975)...
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.
blood of the Wereseal has a cost effectiveness of 10.2778
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.
effervescent potion has a cost effectiveness of 8.71
Searching for "effervescent potion"...
Search complete.
Purchasing effervescent potion of ettin strength (1 @ 250)...
You acquire an item: effervescent potion of ettin strength
Purchases complete.
Using 1 effervescent potion of ettin strength...
You acquire an effect: Strength of Ten Ettins (duration: 10 Adventures)
Finished using 1 effervescent potion of ettin strength.
Mick's IcyVapoHotness Rub has a cost effectiveness of 7.721631205673759
Using 1 Mick's IcyVapoHotness Rub...
You acquire an effect: Extreme Muscle Relaxation (duration: 10 Adventures)
Finished using 1 Mick's IcyVapoHotness Rub.
black facepaint has a cost effectiveness of 2.9033333333333338
Searching for "black facepaint"...
Search complete.
Purchasing black facepaint (1 @ 300)...
You acquire an item: black facepaint
You spent 300 Meat
Purchases complete.
Using 1 black facepaint...
You acquire an effect: Black Face (duration: 10 Adventures)
Finished using 1 black facepaint.
fish-liver oil has a cost effectiveness of 2.9033333333333338
Searching for "fish-liver oil"...
Search complete.
Purchasing fish-liver oil (1 @ 150)...
You acquire an item: fish-liver oil
Purchases complete.
Using 1 fish-liver oil...
You acquire an effect: Fishy Fortification (duration: 5 Adventures)
Finished using 1 fish-liver oil.
pirate brochure has a cost effectiveness of 2.9033333333333338
Searching for "pirate brochure"...
Search complete.
Putting on outfit: Swashbuckling Getup
Equipment changed.
Purchasing pirate brochure (1 @ 300)...
Purchasing pirate brochure (1 @ 500)...
You acquire an item: pirate brochure
Purchases complete.
Using 1 pirate brochure...
You acquire an effect: Muscularrr (duration: 10 Adventures)
Finished using 1 pirate brochure.
unable to buff hp to 10232, quitting
 
Last edited:

crazybone

New member
Hi guys anyone care to help me with this?

I am currently on lvl 203 using this script.

i keep running into this problem

> call scripts\autoBasement.ash

Initializing items and effects...
Taking off sugar shorts...
Equipment changed.
Items and effects initialization complete!
Basement level 203: Monster
Maximizing...
168 combinations checked, best score 1,798.00
Putting on sugar shorts...
Equipment changed.
Division by zero (autoBasement.ash, line 187)

this is the line/code in question:
Code:
float cost_effectivness(_item value)
{
	vprint(value.i + " has a cost effectiveness of " + (value.percent_mod * my_basestat(my_primestat()) + value.absolute_mod) / value.cost * value.duration * value.effective_stats, 7);
	return ((value.percent_mod * my_basestat(my_primestat()) + value.absolute_mod) / value.cost * value.duration * value.effective_stats); 
}

any ideas? help would be greatly appreciated.
 
Last edited:

Theraze

Active member
Well, if an item being avaluated is free, has no duration, or sets your effective stats to 0, any of those would cause that error... my guess is a reusable item that raises stats. Which? No clue.
 

Winterbay

Active member
I would recommend you to try that again at a verbosity of 10 or so so that we can get as much print-out as possible. That should hopefully allow us to narrow things down.
 

crazybone

New member
I would recommend you to try that again at a verbosity of 10 or so so that we can get as much print-out as possible. That should hopefully allow us to narrow things down.

Done. Here is the output. I have no idea what to do. Thanks for your help!

Code:
> call scripts\autoBasement.ash

Running ZLib version: r37 (current)
Running AutoBasement version: 3.4 (current)
Initializing items and effects...
Searching for "arse-a'fire elixir"...
Search complete.
Searching for "banana smoothie"...
Search complete.
Searching for "Ben-Gal™ Balm"...
Search complete.
Searching for "Black Body™ spray"...
Search complete.
Searching for "black facepaint"...
Search complete.
Searching for "Black No. 2"...
Search complete.
Searching for "black sheepskin diploma"...
Search complete.
Searching for "blood of the Wereseal"...
Search complete.
Searching for "bottle of pirate juice"...
Search complete.
Searching for "bottle of rhinoceros hormones"...
Search complete.
Searching for "Climate Colada"...
Search complete.
Searching for "Connery's Elixir of Audacity"...
Search complete.
Searching for "cosmic lemonade"...
Search complete.
Searching for "extra-potent gremlin mutagen"...
Search complete.
Searching for "eyedrops of newt"...
Search complete.
Searching for "Ferrigno's Elixir of Power"...
Search complete.
Searching for "fish-liver oil"...
Search complete.
Searching for "flask of baconstone juice"...
Search complete.
Searching for "flask of hamethyst juice"...
Search complete.
Searching for "flask of porquoise juice"...
Search complete.
Searching for "floaty sand"...
Search complete.
Searching for "Frogade"...
Search complete.
Searching for "funky dried mushroom"...
Search complete.
Searching for "glittery mascara"...
Search complete.
Searching for "green candy heart"...
Search complete.
Searching for "gremlin mutagen"...
Search complete.
Searching for "hair spray"...
Search complete.
Searching for "handful of Crotchety Pine needles"...
Search complete.
Searching for "handful of Laughing Willow bark"...
Search complete.
Searching for "handsomeness potion"...
Search complete.
Searching for "Hawking's Elixir of Brilliance"...
Search complete.
Searching for "henna tattoo"...
Search complete.
Searching for "jar of "Creole Lady" marrrmalade"...
Search complete.
Searching for "jellyfish gel"...
Search complete.
Searching for "jug of baconstone juice"...
Search complete.
Searching for "jug of hamethyst juice"...
Search complete.
Searching for "jug of porquoise juice"...
Search complete.
Searching for "lavender candy heart"...
Search complete.
Searching for "lump of Saccharine Maple sap"...
Search complete.
Searching for "mafia aria"...
Search complete.
Searching for "Mick's IcyVapoHotness Rub"...
Search complete.
Searching for "cloudy potion"...
Search complete.
Searching for "milky potion"...
Search complete.
Searching for "bubbly potion"...
Search complete.
Searching for "ointment of the occult"...
Search complete.
Searching for "orange candy heart"...
Search complete.
Searching for "philter of phorce"...
Search complete.
Searching for "pink candy heart"...
Search complete.
Searching for "pirate brochure"...
Search complete.
Searching for "pirate pamphlet"...
Search complete.
Searching for "pirate tract"...
Search complete.
Searching for "potion of temporary gr8tness"...
Search complete.
Searching for "powdered toad horn"...
Search complete.
Searching for "pressurized potion of perspicacity"...
Search complete.
Searching for "pressurized potion of puissance"...
Search complete.
Searching for "pressurized potion of pulchritude"...
Search complete.
Searching for "pygmy pygment"...
Search complete.
Searching for "salamander slurry"...
Search complete.
Searching for "seal-brain elixir"...
Search complete.
Searching for "serum of sarcasm"...
Search complete.
Searching for "shaving cream"...
Search complete.
Searching for "super-spiky hair gel"...
Search complete.
Searching for "teeny-tiny magic scroll"...
Search complete.
Searching for "tomato juice of powerful power"...
Search complete.
Searching for "toothbrush"...
Search complete.
Searching for "unstable DNA"...
Search complete.
Searching for "vial of baconstone juice"...
Search complete.
Searching for "vial of hamethyst juice"...
Search complete.
Searching for "vial of porquoise juice"...
Search complete.
Searching for "white candy heart"...
Search complete.
Searching for "yellow candy heart"...
Search complete.
Removing absolute potion banana smoothie
Removing overpriced cosmic lemonade
Removing bad priced ennui-flavored potato chips
Removing absolute potion green candy heart
Removing overpriced handful of Laughing Willow bark
Removing absolute potion henna tattoo
Removing absolute potion lavender candy heart
Removing nonbuffing mafia aria
Removing absolute potion orange candy heart
Removing absolute potion pink candy heart
Removing absolute potion salamander slurry
Removing nonbuffing super-spiky hair gel
Removing absolute potion teeny-tiny magic scroll
Removing bad priced vial of baconstone juice
Removing absolute potion white candy heart
Removing absolute potion yellow candy heart
Removing absolute potion banana smoothie
Removing absolute potion Black No. 2
Removing absolute potion bottle of pirate juice
Removing absolute potion eyedrops of newt
Removing absolute potion floaty sand
Removing absolute potion green candy heart
Removing absolute potion lavender candy heart
Removing overpriced lump of Saccharine Maple sap
Removing absolute potion orange candy heart
Removing absolute potion pink candy heart
Removing overpriced powdered toad horn
Removing bad priced radium-flavored potato chips
Removing absolute potion shaving cream
Removing absolute potion super-spiky hair gel
Removing absolute potion toothbrush
Removing bad priced vial of porquoise juice
Removing absolute potion white candy heart
Removing absolute potion yellow candy heart
Taking off sugar shorts...
Equipment changed.
Items and effects initialization complete!
Basement level 203: Monster
Maximizing (1st time may take a while)...
168 combinations checked, best score 1,744.00
Putting on sugar shorts...
Equipment changed.
arse-a'fire elixir has a cost effectiveness of 0.00031677852348993286
bottle of rhinoceros hormones has a cost effectiveness of 0.078125
Frogade has a cost effectiveness of 0.25
handful of Crotchety Pine needles has a cost effectiveness of 0.06840599537969674
jar of "Creole Lady" marrrmalade has a cost effectiveness of 0.0625
pressurized potion of puissance has a cost effectiveness of 0.12872727272727275
Division by zero (autoBasement.ash, line 187)

The script was running fine up until that point.
 

Winterbay

Active member
Odd... Could you try running this version once and then run it with the following command on verbosity 10 and copy the result of the second run here?

Code:
ash import autobasement.ash; init();
 

Attachments

  • autoBasement.ash
    42.9 KB · Views: 44

crazybone

New member
Odd... Could you try running this version once and then run it with the following command on verbosity 10 and copy the result of the second run here?

Code:
ash import autobasement.ash; init();

Done. What does this do?

The script stopped after returning a void value.

Code:
> ash import autobasement.ash; init();

Checking for updates (running ZLib ver. r37)...
Running ZLib version: r37 (current)
Checking for updates (running AutoBasement ver. 3.4)...
Running AutoBasement version: 3.4 (current)
Initializing items and effects...
You have the latest autoBasement_data.txt. Will not check again today.
Searching for "arse-a'fire elixir"...
Search complete.
arse-a'fire elixir: 745000 (Muscle)
Searching for "banana smoothie"...
Search complete.
banana smoothie: 2000 (Mysticality (2))
banana smoothie: 2000 (Moxie (2))
Searching for "Ben-Gal™ Balm"...
Search complete.
Ben-Gal: 24 (Muscle)
Searching for "Black Body™ spray"...
Search complete.
Black Body: 300 (Moxie)
Searching for "black facepaint"...
Search complete.
black facepaint: 300 (Muscle)
Searching for "Black No. 2"...
Search complete.
Black No. 2: 100 (Moxie)
Searching for "black sheepskin diploma"...
Search complete.
black sheepskin diploma: 300 (Mysticality)
Searching for "blood of the Wereseal"...
Search complete.
blood of the Wereseal: 500 (Muscle)
Searching for "bottle of pirate juice"...
Search complete.
bottle of pirate juice: 7100 (Moxie)
Searching for "bottle of rhinoceros hormones"...
Search complete.
bottle of rhinoceros hormones: 12899 (Muscle)
Searching for "Climate Colada"...
Search complete.
Climate Colada: 17992 (Mysticality (2))
Climate Colada: 17992 (Moxie (2))
Searching for "Connery's Elixir of Audacity"...
Search complete.
Connery's Elixir of Audacity: 1485 (Moxie)
Searching for "cosmic lemonade"...
Search complete.
cosmic lemonade: 250000 (Mysticality)
ennui-flavored potato chips: 0 (Mysticality)
Searching for "extra-potent gremlin mutagen"...
Search complete.
Extra-potent gremlin mutagen: 7200 (Mysticality (2))
Extra-potent gremlin mutagen: 7200 (Moxie (2))
Searching for "eyedrops of newt"...
Search complete.
eyedrops of newt: 900 (Moxie)
Searching for "Ferrigno's Elixir of Power"...
Search complete.
Ferrigno's Elixir of Power: 1453 (Muscle)
Searching for "fish-liver oil"...
Search complete.
fish-liver oil: 150 (Muscle)
Searching for "flask of baconstone juice"...
Search complete.
flask of baconstone juice: 4175 (Mysticality)
Searching for "flask of hamethyst juice"...
Search complete.
flask of hamethyst juice: 6750 (Muscle)
Searching for "flask of porquoise juice"...
Search complete.
flask of porquoise juice: 11000 (Moxie)
Searching for "floaty sand"...
Search complete.
floaty sand: 5010 (Moxie)
Searching for "Frogade"...
Search complete.
Frogade: 500 (Muscle)
Searching for "funky dried mushroom"...
Search complete.
funky dried mushroom: 450 (Mysticality)
Searching for "glittery mascara"...
Search complete.
glittery mascara: 24 (Mysticality)
Searching for "green candy heart"...
Search complete.
green candy heart: 990 (Mysticality (2))
green candy heart: 990 (Moxie (2))
Searching for "gremlin mutagen"...
Search complete.
gremlin mutagen: 5899 (Mysticality (2))
gremlin mutagen: 5899 (Moxie (2))
Searching for "hair spray"...
Search complete.
hair spray: 24 (Moxie)
Searching for "handful of Crotchety Pine needles"...
Search complete.
handful of Crotchety Pine needles: 344999 (Muscle)
Searching for "handful of Laughing Willow bark"...
Search complete.
handful of Laughing Willow bark: 674996 (Mysticality)
Searching for "handsomeness potion"...
Search complete.
handsomeness potion: 300 (Moxie)
Searching for "Hawking's Elixir of Brilliance"...
Search complete.
Hawking's Elixir of Brilliance: 1454 (Mysticality)
Searching for "henna tattoo"...
Search complete.
henna tattoo: 1610 (Mysticality)
Searching for "jar of "Creole Lady" marrrmalade"...
Search complete.
jar of "Creole Lady" marrrmalade: 3200 (Muscle)
Searching for "jellyfish gel"...
Search complete.
jellyfish gel: 4299 (Moxie)
Searching for "jug of baconstone juice"...
Search complete.
jug of baconstone juice: 7500 (Mysticality)
Searching for "jug of hamethyst juice"...
Search complete.
jug of hamethyst juice: 8750 (Muscle)
Searching for "jug of porquoise juice"...
Search complete.
jug of porquoise juice: 19250 (Moxie)
Searching for "lavender candy heart"...
Search complete.
lavender candy heart: 948 (Mysticality (2))
lavender candy heart: 948 (Moxie (2))
Searching for "lump of Saccharine Maple sap"...
Search complete.
lump of Saccharine Maple sap: 333333 (Moxie)
Searching for "mafia aria"...
Search complete.
mafia aria: 4444 (Mysticality (2))
mafia aria: 4444 (Moxie (2))
Searching for "Mick's IcyVapoHotness Rub"...
Search complete.
Mick's IcyVapoHotness Rub: 282 (Muscle)
Searching for "cloudy potion"...
Search complete.
of blessing: 300 (Moxie)
Searching for "milky potion"...
Search complete.
of ettin strength: 249 (Muscle)
Searching for "bubbly potion"...
Search complete.
of mental acuity: 250 (Mysticality)
Searching for "ointment of the occult"...
Search complete.
ointment of the occult: 420 (Mysticality)
Searching for "orange candy heart"...
Search complete.
orange candy heart: 215 (Mysticality (2))
orange candy heart: 215 (Moxie (2))
Searching for "philter of phorce"...
Search complete.
philter of phorce: 420 (Muscle)
Searching for "pink candy heart"...
Search complete.
pink candy heart: 555 (Mysticality (2))
pink candy heart: 555 (Moxie (2))
Searching for "pirate brochure"...
Search complete.
pirate brochure: 500 (Muscle)
Searching for "pirate pamphlet"...
Search complete.
pirate pamphlet: 500 (Moxie)
Searching for "pirate tract"...
Search complete.
pirate tract: 300 (Mysticality)
Searching for "potion of temporary gr8tness"...
Search complete.
potion of temporary gr8tness: 1694 (Mysticality (2))
potion of temporary gr8tness: 1694 (Moxie (2))
Searching for "powdered toad horn"...
Search complete.
powdered toad horn: 700000 (Moxie)
Searching for "pressurized potion of perspicacity"...
Search complete.
pressurized potion of perspicacity: 29000 (Mysticality)
Searching for "pressurized potion of puissance"...
Search complete.
pressurized potion of puissance: 29000 (Muscle)
Searching for "pressurized potion of pulchritude"...
Search complete.
pressurized potion of pulchritude: 36000 (Moxie)
Searching for "pygmy pygment"...
Search complete.
pygmy pygment: 310 (Muscle)
radium-flavored potato chips: 0 (Moxie)
Searching for "salamander slurry"...
Search complete.
salamander slurry: 300 (Mysticality)
Searching for "seal-brain elixir"...
Search complete.
seal-brain elixir: 1249 (Mysticality (2))
seal-brain elixir: 1249 (Moxie (2))
sealhide seal doll: 0 (Muscle)
Searching for "serum of sarcasm"...
Search complete.
serum of sarcasm: 524 (Moxie)
Searching for "shaving cream"...
Search complete.
shaving cream: 300 (Moxie)
Searching for "super-spiky hair gel"...
Search complete.
super-spiky hair gel: 224 (Mysticality (2))
super-spiky hair gel: 224 (Moxie (2))
Searching for "teeny-tiny magic scroll"...
Search complete.
teeny-tiny magic scroll: 5693 (Mysticality)
Searching for "tomato juice of powerful power"...
Search complete.
tomato juice of powerful power: 554 (Mysticality (2))
tomato juice of powerful power: 554 (Moxie (2))
Searching for "toothbrush"...
Search complete.
toothbrush: 1990 (Moxie)
Searching for "unstable DNA"...
Search complete.
unstable DNA: 2264 (Mysticality (2))
unstable DNA: 2264 (Moxie (2))
Searching for "vial of baconstone juice"...
Search complete.
vial of baconstone juice: 4200 (Mysticality)
Searching for "vial of hamethyst juice"...
Search complete.
vial of hamethyst juice: 3500 (Muscle)
Searching for "vial of porquoise juice"...
Search complete.
vial of porquoise juice: 8662 (Moxie)
Searching for "white candy heart"...
Search complete.
white candy heart: 275 (Mysticality (2))
white candy heart: 275 (Moxie (2))
wintergreen-flavored potato chips: 0 (Muscle)
Searching for "yellow candy heart"...
Search complete.
yellow candy heart: 120 (Mysticality (2))
yellow candy heart: 120 (Moxie (2))
Removing absolute potion banana smoothie
Removing overpriced cosmic lemonade
Removing bad priced ennui-flavored potato chips
Removing absolute potion green candy heart
Removing overpriced handful of Laughing Willow bark
Removing absolute potion henna tattoo
Removing absolute potion lavender candy heart
Removing nonbuffing mafia aria
Removing absolute potion orange candy heart
Removing absolute potion pink candy heart
Removing absolute potion salamander slurry
Removing nonbuffing super-spiky hair gel
Removing absolute potion teeny-tiny magic scroll
Removing bad priced vial of baconstone juice
Removing absolute potion white candy heart
Removing absolute potion yellow candy heart
Removing absolute potion banana smoothie
Removing absolute potion Black No. 2
Removing absolute potion bottle of pirate juice
Removing absolute potion eyedrops of newt
Removing absolute potion floaty sand
Removing absolute potion green candy heart
Removing absolute potion lavender candy heart
Removing overpriced lump of Saccharine Maple sap
Removing absolute potion orange candy heart
Removing absolute potion pink candy heart
Removing overpriced powdered toad horn
Removing bad priced radium-flavored potato chips
Removing absolute potion shaving cream
Removing absolute potion super-spiky hair gel
Removing absolute potion toothbrush
Removing bad priced vial of porquoise juice
Removing absolute potion white candy heart
Removing absolute potion yellow candy heart
Items and effects initialization complete!
Returned: void

This is the script i use, always with the latest daily build.



Thanks again.
 

Attachments

  • autoBasement.ash
    42.7 KB · Views: 36

Winterbay

Active member
It calls the initiation function (which is safe from the function that crashes when you run the script) and sets up all prices. What I did was add a bit of printouts telling me the mall price it uses since getting that to 0 should be the only reason why the error you encountered should show up. However any potion with a mallprice of less than or equal to 0 should get removed and in your copy as you can see some potions are removed as "bad priced" which is this feature.

So that is working as intended but some of the potions reported at 0 are not getting removed, however after the last potion that got printed in your first output and the next item that in your new output shows as 0 and isn't removed there is at least one potion of each stat which should've been printed before the crash, but this isn't happening which makes me stumped.
 

gausie

D̰͕̝͚̤̥̙̐̇̑͗̒e͍͔͎͈͔ͥ̉̔̅́̈l̠̪̜͓̲ͧ̍̈́͛v̻̾ͤe͗̃ͥ̐̊ͬp̔͒ͪ
Staff member
Just thought I'd chime in saying I'm also experiencing exactly the same error but on level 166.

Also while I'm here there's a curious little bug in which the discrepancy in HP between Travoltan Trousers and whatever it's trying to get me to wear makes an infinite loop trying to use Dr Galactic, but I didn't come to this for that bugs so haven't checked the whole thread for it.
 

Theraze

Active member
Longstanding bug reported in its own thread. Related to requesting really high restoration rates when the Trousers are in use. Veracity has reduced it somewhat, but...
 
Top