bumcheekcend.ash - A zero setup semi-automated ascension script!

Theraze

Active member
How do I set a stage to complete? It keeps wanting to complete the Gallery despite the fact I did it manually.

When you have this problem, if you can post the html source of your current and completed quests pages, that would be highly appreciated.
We parse current quests looking for LSD and check to see if it mentions shoes and doesn't talk about the Gallery. We check the same page for LSB, to see if you've finished the dance.
We check the completed page to see if either LSD or LSB show up as done.

If some of our checking doesn't work... we need to fix it. Whenever SourceForge is back up and working again. :)
 

AssHandy

Member
Thank you to both Winterbay and Theraze. I'll post the HTML source of the quest page next time.

I've just finished Spookyraven manually - lets see if BCA catches that I've defeated Lord Spookyraven.
 

BadLuckBlacky

New member
Me Too

I use the following alias:
Code:
[B]bcasc_set [/B]=> ash string what = $string[%%];      set_property("bcasc_stage_"+what, my_ascensions());

Call it with bcasc_set <name of stage> (so "bcasc_set 8bit" for the 8-bit realm).

Hi, I'm experiencing the same issue but with the Bathroom. But seeing as I'm a total nit-wit when it comes to computery stuff I kept getting an error which read "Unable to invoke bcasc_set". So clearly I was doing something wrong. I tried about a dozen variations, all of which failed.

I don't know what an HTML source is or I'd post it. Yeah, I'm sad. No throwing rocks please. -- Ok, nevermind. I think I know what the source is. I'll post it later for you.

Anywho, love all the help you guys provide. It's very much appreciated. :D
 
Last edited:

xKiv

Active member
Hi, I'm experiencing the same issue but with the Bathroom. But seeing as I'm a total nit-wit when it comes to computery stuff I kept getting an error which read "Unable to invoke bcasc_set". So clearly I was doing something wrong. I tried about a dozen variations, all of which failed.

I don't know what an HTML source is or I'd post it. Yeah, I'm sad. No throwing rocks please. -- Ok, nevermind. I think I know what the source is. I'll post it later for you.

Anywho, love all the help you guys provide. It's very much appreciated. :D

Will showing you how to define aliases (in the CLI) help?
Code:
alias bcasc_set => ash string what = $string[%%];      set_property("bcasc_stage_"+what, my_ascensions());
 

BadLuckBlacky

New member
Will showing you how to define aliases (in the CLI) help?
Code:
alias bcasc_set => ash string what = $string[%%];      set_property("bcasc_stage_"+what, my_ascensions());

Oh my goodness, xKiv. I can't believe you cured my moronics with just one simple word! Thank you so much. Problem solved.

Massive virtual MWAH in your direction :eek:
 

deepy

New member
For me this one always gets stuck at the Manor, so I completed the manor manually but was stopped by this curious case:

BCC: We have completed the stage [manorbilliards].
BCC: levelMe(29, true) called.
Level 6 Starting
BCC: We have completed the stage [friars].
BCC: We have completed the stage [knobking].
BCC: We have completed the stage [friarssteel].
BCC: We have not completed the stage [ManorBilliards].
BCC: levelMe(40, true) called.
Level 7 Starting

Is this a typo on line 6638?
 
Last edited:

deepy

New member
Well fixing that line got it further, but now it's trying to do the bathroom instead of the cellar.

My questlog has: Investigate the cellar of Spookyraven Manor.

Excerpt from kolmafia: BCC: We have not completed the stage [manorbathroom].

Fuller log
 

Theraze

Active member
Actually, that line had nothing to do with anything except whether or not to do the manor library, during level 6, before going on to level 7, when it had a different check to do it and the second floor. Yes, it's a typo. No, changing that won't fix anything for anyone. Except for people who are trying to be a tiny bit more optimal and blazing through the quests quickly.

What, precisely, is your quest state? Are you level 11 and trying to do the cellar, but the script is not aware? Have you completed the entire second floor manor? Have you started the third floor manor? What are your mafia quest preference states for the manor quests?
 

fronobulax

Developer
Staff member
Given all the questions about the Lady S quests, I just noticed that my settings file has both bcasc_stage_manorbathroom and bcasc_stagemanorbathroom in it. (Plus a few others that differ stage vs. stage_) Any possibility that is playing a part?
 

Theraze

Active member
Well, neither stage" (for stage"+<stagename>) nor stagemanor ever appears in the script, so my current guess would be that those would be times when you manually tried to reset the stage and forgot an underscore...
 

fronobulax

Developer
Staff member
Well, neither stage" (for stage"+<stagename>) nor stagemanor ever appears in the script, so my current guess would be that those would be times when you manually tried to reset the stage and forgot an underscore...

I would agree except I never remember the variable name and syntax to set them so I typically shut down and manually edit the preferences. Not saying I didn't do that long ago and forgot but... Maybe the relay script, or perhaps I am looking for something that just isn't there :)
 

fronobulax

Developer
Staff member
Or maybe it was a bad alias at one point that was supposed to set or reset them. Dunno. *shrugs*

That makes more sense, just in terms of what I do. If you are bored there is one instance of "checkstage" vs. "checkStange". I think it only matters to people who do case sensitive searches by default but, hey...
 

heeheehee

Developer
Staff member
ASH is actually 99% case-agnostic. I'm not totally sure I understand why, for instance, "HELLO" == "hello", but there you have it.
> ashq int [string] m; m["h"] = 1; print(m contains "H");

true

(String functions which use Java's standard implementations are pretty much the only aspect of ASH that care about case)
 
Since the last update to BCA I have do the wine bomb selected in the preferences but it is taking the long route. I am a sauceror with the most recent version of mafia. Let me know what else you might need.
 

Theraze

Active member
Code:
			if (bcasc_cellarWineBomb && (contains_text(visit_url("questlog.php?which=1"),"Gather the explosive ingredients") || contains_text(visit_url("questlog.php?which=1"),"Heat up the explosive mixture"))
					&& my_path() != "Way of the Surprising Fist" && my_path() != "Avatar of Boris") {
Does your questlog not have those steps listed? Did you maybe fail to get the spectacles or something else similar?
 
I wonder if this is the problem it found the blasting soda but the cabinet was clingy so it fought it again and then it went off to the icebox to do the other part. Below is part of the sesions long where it did it.

Code:
> BCC: Collecting ingredients for a wine bomb
> BCC: Setting goals of '1 blasting soda'...
> Restoring MP! Currently at 93 of 272 HP, 146 of 495 MP, current meat: 14419 ... Target MP = 471.


buy 16 magical mystery juice for 95 each from Gouda's Grimoire and Grocery
You spent 1,520 Meat
You acquire magical mystery juice (16)


use 16 magical mystery juice
You gain 333 Mana Points


[115] The Haunted Laundry Room
Encounter: jittery plaid ghost
Round 0: txranger loses initiative!
Round 1: You lose 36 hit points
> WHAM: Running SmartStasis
> 1/3 monsters drop goals here.
> WHAM: Starting evaluation and performing of attack
> WHAM: Enqueuing a stun to help with the battle
> WHAM: We are going to 2-shot with Soul Bubble and Stuffed Mortar Shell.
Round 1: txranger executes a macro!
Round 1: txranger casts SOUL BUBBLE!
Round 2: plaid ghost takes 5 damage.
Round 2: txranger casts STUFFED MORTAR SHELL!
Round 3: plaid ghost takes 3 damage.
Round 3: You lose 38 hit points
> WHAM: Running SmartStasis
> 1/3 monsters drop goals here.
Round 3: txranger executes a macro!
Round 3: txranger casts SAUCY SALVE!
Round 4: You gain 12 hit points
> WHAM: Starting evaluation and performing of attack
> WHAM: We are going to 1-shot with Saucegeyser.
Round 4: txranger executes a macro!
Round 4: txranger casts SAUCEGEYSER!
Round 5: plaid ghost takes 291 damage.
Round 5: plaid ghost takes 565 damage.
Round 5: plaid ghost takes 4 damage.
Round 5: txranger wins the fight!
Your familiar gains a pound: Gofflesby, the 15 lb. Jumpsuited Hound Dog
After Battle: Gofflesby does a couple of karate moves, then swivels his hips and gyrates his pelvis.
You acquire an item: plaid swatch
After Battle: You gain 14 Fortitude
After Battle: You gain 37 Mysteriousness
You gain a Mysticality point!
After Battle: You gain 14 Chutzpah
You gain 6 Soulsauce
> Restoring HP! Currently at 32 of 272 HP, 454 of 499 MP, current meat: 12899 ... Target HP = 259.


Visiting Relaxing Hot Tub in clan VIP lounge
You gain 240 hit points


[114] The Haunted Laundry Room
Encounter: sleazy possessed laundry press
Round 0: txranger wins initiative!
Round 1: You lose 22 hit points
> WHAM: Running SmartStasis
> 1/3 monsters drop goals here.
> WHAM: Starting evaluation and performing of attack
> WHAM: Enqueuing a stun to help with the battle
> WHAM: We are going to 2-shot with Soul Bubble and Saucestorm.
Round 1: txranger executes a macro!
Round 1: txranger casts SOUL BUBBLE!
Round 2: possessed laundry press takes 6 damage.
Round 2: txranger casts SAUCESTORM!
Round 3: possessed laundry press takes 164 damage.
Round 3: possessed laundry press takes 164 damage.
Round 3: possessed laundry press takes 5 damage.
Round 3: txranger wins the fight!
After Battle: Gofflesby does a couple of karate moves, then swivels his hips and gyrates his pelvis.
You acquire an item: industrial strength starch
You acquire an item: extra-flat panini
After Battle: You gain 16 Strongness
After Battle: You gain 40 Enchantedness
After Battle: You gain 14 Chutzpah
You gain 7 Soulsauce


[113] The Haunted Laundry Room
Encounter: the clingy cabinet of Dr. Limpieza
Round 0: txranger loses initiative!
Round 1: You lose 41 hit points
> WHAM: Running SmartStasis
> 1/3 monsters drop goals here.
> This monster is the best source of goals (0)!
> WHAM: Starting evaluation and performing of attack
> WHAM: Enqueuing a stun to help with the battle
> WHAM: We are going to 2-shot with Soul Bubble and Stuffed Mortar Shell.
Round 1: txranger executes a macro!
Round 1: txranger casts SOUL BUBBLE!
Round 2: cabinet of Dr. Limpieza takes 6 damage.
Round 2: txranger casts STUFFED MORTAR SHELL!
Round 3: cabinet of Dr. Limpieza takes 5 damage.
> WHAM: Starting evaluation and performing of attack
> WHAM: We are going to 4-shot with Saucestorm, beehive, magical mystery juice and Utensil Twist.
Round 3: txranger executes a macro!
Round 3: txranger casts SAUCESTORM!
Round 4: cabinet of Dr. Limpieza takes 82 damage.
Round 4: cabinet of Dr. Limpieza takes 82 damage.
Round 4: cabinet of Dr. Limpieza takes 300 damage.
Round 4: cabinet of Dr. Limpieza takes 6 damage.
Round 4: txranger wins the fight!
You gain 63 Meat
After Battle: Gofflesby does a couple of karate moves, then swivels his hips and gyrates his pelvis.
You acquire an item: blasting soda
After Battle: You gain 17 Strengthliness
After Battle: You gain 35 Enchantedness
After Battle: You gain 14 Sarcasm
You gain 5 Soulsauce


[112] The Haunted Laundry Room
Encounter: the floating cabinet of Dr. Limpieza
Round 0: txranger loses initiative!
Round 1: You lose 38 hit points
> WHAM: Running SmartStasis
> WHAM: Starting evaluation and performing of attack
> WHAM: Enqueuing a stun to help with the battle
> WHAM: We are going to 2-shot with Soul Bubble and Stuffed Mortar Shell.
Round 1: txranger executes a macro!
Round 1: txranger casts SOUL BUBBLE!
Round 2: cabinet of Dr. Limpieza takes 6 damage.
Round 2: txranger casts STUFFED MORTAR SHELL!
Round 3: cabinet of Dr. Limpieza takes 5 damage.
Round 3: You lose 38 hit points
> WHAM: Starting evaluation and performing of attack
> WHAM: We are going to 3-shot with Saucestorm, beehive and Utensil Twist.
Round 3: txranger executes a macro!
Round 3: txranger casts SAUCESTORM!
Round 4: cabinet of Dr. Limpieza takes 82 damage.
Round 4: cabinet of Dr. Limpieza takes 82 damage.
Round 4: cabinet of Dr. Limpieza takes 272 damage.
Round 4: cabinet of Dr. Limpieza takes 3 damage.
Round 4: txranger wins the fight!
You gain 63 Meat
After Battle: Gofflesby does a couple of karate moves, then swivels his hips and gyrates his pelvis.
You acquire an item: bloodstain stick
After Battle: You gain 10 Strengthliness
After Battle: You gain 39 Magicalness
After Battle: You gain 17 Cheek
You gain a Moxie point!
You gain 7 Soulsauce
> ******************************************************************************************
> ******************************************************************************************
> ******************************************************************************************
> Thankyou for using bumcheekcity's ascension script. Please report all bugs on the KoLMafia thread with a copy+paste from the CLI of the problematic points, and your username. Also ask on the thread on the kolmafia.us forum for help and assistance with the script, particularly first time problems, and issues setting it up. 
> ******************************************************************************************
> ******************************************************************************************
> ******************************************************************************************
> 
> 
> 
> BCC: Ensuring that warnings that you don't have enough stats are disabled.
> ******************
> Ascending Starting
> ******************
> Level 1 Starting
> BCC: We have completed the stage [toot].
> BCC: We have completed the stage [guild].
> BCC: We have completed the stage [knob].


use 1 telegram from Lady Spookyraven
> BCC: levelMe(5, true) called.
> Level 2 Starting
> BCC: We have completed the stage spookyforest
> BCC: levelMe(8, true) called.
> Level 3 Starting
> BCC: We have completed the stage tavern
> BCC: levelMe(13, true) called.
> Level 4 Starting
> BCC: We have completed the stage [bats1].
> BCC: We have completed the stage [meatcar].
> BCC: We have completed the stage [bats2].
> BCC: levelMe(20, true) called.
> Level 5 Starting
> BCC: We have completed the stage [knobking].
> BCC: We have completed the stage [dinghy].
> BCC: We have completed the stage [manorbilliards].
> BCC: levelMe(29, true) called.
> Level 6 Starting
> BCC: We have completed the stage [friars].
> BCC: We have completed the stage [knobking].
> BCC: We have completed the stage [friarssteel].
> BCC: We have completed the stage [manorbilliards].
> BCC: We have completed the stage [manorlibrary].
> BCC: levelMe(40, true) called.
> Level 7 Starting
> BCC: We have completed the stage [friarssteel].
> BCC: We have completed the stage [cyrpt].
> BCC: We have completed the stage [innaboxen].
> BCC: We have completed the stage [manorbilliards].
> BCC: We have completed the stage [manorlibrary].
> BCC: We have completed the stage [manorbathroom].
> BCC: We have completed the stage [manorbedroom].
> BCC: We have completed the stage [manorgallery].
> BCC: We have completed the stage [manorballroom].
> BCC: levelMe(53, true) called.
> Level 8 Starting
> BCC: We have completed the stage Trapper
> BCC: We have completed the stage [piratefledges].
> BCC: levelMe(68, true) called.
> Level 9 Starting
> BCC: You don't have a wand, or it's not safe to use one. No Zapping for you.
> BCC: We have completed the stage [chasm].
> BCC: levelMe(85, true) called.
> Level 10 Starting
> BCC: We have completed the stage [airship].
> BCC: We have completed the stage [castle].
> BCC: levelMe(104, true) called.
> Level 11 Starting
> BCC: We have completed the stage [macguffinprelim].
> BCC: We have completed the stage [macguffinpalin].
> BCC: We have completed the stage [hits].
> BCC: We have not completed the stage [macguffinspooky].
> BCC: Maximizing ''


maximize 0 beeosity, mainstat 106 max, .25 item power, weapon damage, +10 spell damage, +mysticality experience +5 mp regen min +5 mp regen max, .5 hp, 0.0 random monster modifiers
> BCC: Switching Familiar for General Use
> Spleen: 15 Agua: 0 Stick: 0 Token: 0 Grease: 0 Dream Jar: 0 Fairy Tale: 0 Powdered Gold: 0
> Total Spleen: 15


familiar Golden Monkey (25 lbs)
> BCC: Nothing to fax according to whatShouldIFax
> BCC: Need less combat, brave Sir Robin!


cast 1 Disco Aerobics
You acquire an effect: Disco State of Mind (5)


cast 1 Moxie of the Mariachi
You acquire an effect: Mariachi Mood (5)


cast 1 Smooth Movement
You acquire an effect: Smooth Movements (10)


cast 1 The Sonata of Sneakiness
You acquire an effect: The Sonata of Sneakiness (5)


cast 1 The Sonata of Sneakiness
You acquire an effect: The Sonata of Sneakiness (5)
> BCC: Collecting ingredients for mortar-dissolver
> BCC: Setting goals of '1 loosening powder'...
> BCC: We should set the MCD if we can.
> BCC: We CAN set the MCD.


[111] The Haunted Kitchen
Encounter: pixellated demonic icebox
Round 0: txranger loses initiative!
> WHAM: Running SmartStasis
> WHAM: Starting evaluation and performing of attack
> WHAM: We are going to 2-shot with attack with your weapon and attack with your weapon.
Round 1: txranger executes a macro!
Round 1: txranger attacks!
Round 2: demonic icebox takes 48 damage.
Round 2: demonic icebox takes 5 damage.
Round 2: txranger attacks!
Round 3: demonic icebox takes 50 damage.
Round 3: demonic icebox takes 6 damage.
Round 3: txranger wins the fight!
After Battle: Pretentious Catequil's shiny golden eyelid twinkles as he winks at you.
You gain 40 Meat
You acquire an item: accidental cider
You acquire an item: dire fudgesicle
You acquire an item: blue pixel
You acquire an item: green pixel
You acquire an item: white pixel
After Battle: Pretentious Catequil's stops shrieking for a minute and beams at you. (+7 Stats)
After Battle: You gain 8 Muscleboundness
After Battle: You gain 22 Wizardliness
After Battle: You gain 12 Cheek
You gain 5 Soulsauce
 
Top