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

Can you be more clear about what is happening when that does what instead of something else?

The script doesn't ever try to equip the actual reality goggles. The word 'reality' never even shows up in the script.
If mafia has a bug while trying to equip an item through the maximizer, then please try to make a clear, replicable bug report so that it can be fixed.
If the script has an error where it tries to do something wrong, then we need more information on how to avoid that.

Thank you.
 
I'm not really clear on what it's trying to do.
Code:
> call scripts\bumcheekascend.ash

******************************************************************************************
******************************************************************************************
******************************************************************************************
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
******************
Conditions list cleared.
Level 1 Starting
BCC: We have completed the stage [toot].
BCC: We have not completed the stage [guild].
BCC: Switching Familiar for General Use
BCC: Going to try to use some spleen items if you have them.
Spleen: 0 Agua: 0 Stick: 0 Token: 0 Grease: 0 Dream Jar: 0
Total Spleen: 0
BCC: We have not completed the stage [knob].
BCC: Maximizing ''
Maximizing...
4 combinations checked, best score 22.20
Pulling items from storage...
You need 1 more actual reality goggles to continue.
Unable to meet all requirements via equipment changes.
See the Modifier Maximizer for further suggestions.
BCC: Maximizing ''
Maximizing...
4 combinations checked, best score 22.20
Pulling items from storage...
You need 1 more actual reality goggles to continue.
Unable to meet all requirements via equipment changes.
See the Modifier Maximizer for further suggestions.
BCC: Maximizing ''
Maximizing...
4 combinations checked, best score 22.20
Pulling items from storage...
You need 1 more actual reality goggles to continue.
Unable to meet all requirements via equipment changes.
See the Modifier Maximizer for further suggestions.
BCC: Maximizing ''
Maximizing...
4 combinations checked, best score 22.20
Pulling items from storage...
You need 1 more actual reality goggles to continue.
Unable to meet all requirements via equipment changes.
See the Modifier Maximizer for further suggestions.
BCC: Maximizing ''
Maximizing...
4 combinations checked, best score 22.20
Pulling items from storage...
You need 1 more actual reality goggles to continue.
Unable to meet all requirements via equipment changes.
See the Modifier Maximizer for further suggestions.
BCC: Maximizing ''
Maximizing...
4 combinations checked, best score 22.20
Pulling items from storage...
You need 1 more actual reality goggles to continue.
Unable to meet all requirements via equipment changes.
See the Modifier Maximizer for further suggestions.
BCC: Maximizing ''
Maximizing...
4 combinations checked, best score 22.20
Pulling items from storage...
You need 1 more actual reality goggles to continue.
Unable to meet all requirements via equipment changes.
See the Modifier Maximizer for further suggestions.
BCC: Maximizing ''
Maximizing...
4 combinations checked, best score 22.20
Pulling items from storage...
KoLmafia declares world peace.
See the Modifier Maximizer for further suggestions.
Maximizing...
4 combinations checked, best score 22.20
 
Did you have actual reality goggles in storage? Did you have them in inventory? If you look at the item manager, do you see them in either place?

After you look at item manager, what happens after you run a refresh all to force mafia to reconsider everything it knows about your items in various locations? Does it still look the same, either in terms of storage or not?

For that matter, have actual reality goggles just become restricted with our new path? What happens if you try to pull them manually through the relay browser or chat?
 
They've become restricted on the current path.

They are in Hagnk's.
Looks the same after reloading Mafia.
They are not pullable.

I ascended under the new path.
 
Last edited:
Does mafia know that they're restricted? Because that would be New Content for mafia, not something that the script can or should handle. Unless there's either auto-detection which isn't working or knowledge but mafia trying to use it anyways through the maximizer, either of which would actually be bugs.

My suggestion would be verifying whether mafia knows that they're restricted and creating the relevant New Content or Bug Report based on that.
 
As mentioned in the New Content thread somebody already started for this, this is a KoL bug.
I don't know if anybody has filed a bug report with KoL about it yet, though.
 
Sorry, I'm on restricted data for the weekend because the hotel wifi sucks which means I'm not getting to read as many of the threads currently. I'll shut up until I can actually read the whole board again. :)
 
This has been a reoccuring issue I've run into. At some point during my runs (not every time) on AT/DB I get stuck in a loop where all the script ever wants to do is level my prime stat in the ballroom. Any ideas what might be causing this? The last time I caught it I was level 14 before I noticed what it was doing on one of my multis.
 
If there's a scaling wandering mob, that could cause it potentially. Other than that, the easy way to avoid it if you have any number of decent skills and a good CCS set up is to simply tell it not to try to get to safe moxie levels...

To actually fix the problem, I'd need to know which zone it wanted to adventure in. And everything regarding potential wandering mobs that you might have set up.
 
I don't think I have any scaling wandering mobs unless one has magically been added recently.

http://bumcheekcity.com/kol/profile.php?u=fewyn

Code:
[COLOR=purple]******************************************************************************************[/COLOR]
[COLOR=purple]******************************************************************************************[/COLOR]
[COLOR=purple]******************************************************************************************[/COLOR]
[COLOR=purple]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. [/COLOR]
[COLOR=purple]******************************************************************************************[/COLOR]
[COLOR=purple]******************************************************************************************[/COLOR]
[COLOR=purple]******************************************************************************************[/COLOR]

[COLOR=purple]BCC:     Ensuring that warnings that you don't have enough stats are disabled.[/COLOR]
[COLOR=green]******************[/COLOR]
[COLOR=green]Ascending     Starting[/COLOR]
[COLOR=green]******************[/COLOR]
Conditions     list cleared.
[COLOR=green]Level 1 Starting[/COLOR]
[COLOR=navy]BCC:     We have completed the stage [toot].[/COLOR]
[COLOR=navy]BCC: We     have completed the stage [guild].[/COLOR]
[COLOR=navy]BCC: We     have completed the stage [knob].[/COLOR]
[COLOR=fuchsia]BCC:     levelMe(5, true) called.[/COLOR]
[COLOR=green]Level 2 Starting[/COLOR]
[COLOR=purple]BCC:     We have completed the stage spookyforest[/COLOR]
[COLOR=fuchsia]BCC:     levelMe(8, true) called.[/COLOR]
[COLOR=green]Level 3 Starting[/COLOR]
[COLOR=purple]BCC:     We have completed the stage tavern[/COLOR]
[COLOR=fuchsia]BCC:     levelMe(13, true) called.[/COLOR]
[COLOR=green]Level 4 Starting[/COLOR]
[COLOR=navy]BCC:     We have completed the stage [bats1].[/COLOR]
[COLOR=navy]BCC: We     have completed the stage [meatcar].[/COLOR]
[COLOR=navy]BCC: We     have completed the stage [bats2].[/COLOR]
[COLOR=navy]BCC: We     have completed the stage [8bit].[/COLOR]
[COLOR=fuchsia]BCC:     levelMe(20, true) called.[/COLOR]
[COLOR=green]Level 5 Starting[/COLOR]
[COLOR=navy]BCC:     We have completed the stage [knobking].[/COLOR]
[COLOR=navy]BCC:     We have completed the stage [dinghy].[/COLOR]
[COLOR=navy]BCC: We     have completed the stage [manorbilliards].[/COLOR]
[COLOR=fuchsia]BCC:     levelMe(29, true) called.[/COLOR]
[COLOR=green]Level 6 Starting[/COLOR]
[COLOR=navy]BCC:     We have completed the stage [friars].[/COLOR]
[COLOR=navy]BCC: We     have completed the stage [knobking].[/COLOR]
[COLOR=navy]BCC: We     have completed the stage [friarssteel].[/COLOR]
[COLOR=navy]BCC:     We have not completed the stage [ManorBilliards].[/COLOR]
[COLOR=fuchsia]BCC:     levelMe(40, true) called.[/COLOR]
[COLOR=green]Level 7 Starting[/COLOR]
[COLOR=navy]BCC:     We have completed the stage [friarssteel].[/COLOR]
[COLOR=navy]BCC:     We have completed the stage [cyrpt].[/COLOR]
[COLOR=navy]BCC: We     have not completed the stage [innaboxen].[/COLOR]
[COLOR=purple]BCC:     We've already got Clovers Today[/COLOR]
[COLOR=purple]BCC: Going     to try to make a chef[/COLOR]
[COLOR=purple]BCC: There was a     problem getting the box.[/COLOR]
[COLOR=purple]BCC: Going to try     to get a bartender.[/COLOR]
[COLOR=purple]BCC: There was a     problem getting the box.[/COLOR]
[COLOR=navy]BCC: We have     completed the stage [manorbilliards].[/COLOR]
[COLOR=navy]BCC: We     have completed the stage [manorlibrary].[/COLOR]
[COLOR=navy]BCC:     We have completed the stage [manorbathroom].[/COLOR]
[COLOR=navy]BCC:     We have completed the stage [manorbedroom].[/COLOR]
[COLOR=navy]BCC:     We have completed the stage [manorgallery].[/COLOR]
[COLOR=navy]BCC:     We have completed the stage [manorballroom].[/COLOR]
[COLOR=fuchsia]BCC:     levelMe(53, true) called.[/COLOR]
[COLOR=green]Level 8 Starting[/COLOR]
[COLOR=purple]BCC:     We have completed the stage Trapper[/COLOR]
[COLOR=navy]BCC: We     have not completed the stage [piratefledges].[/COLOR]
[COLOR=blue]BCC:     Maximizing '+outfit swashbuckling getup'[/COLOR]
Maximizing...
60     combinations checked, best score 170.67
Putting on eyepatch...
Equipment     changed.
Putting on swashbuckling pants...
Equipment changed.
Putting     on stuffed shoulder parrot...
Equipment changed.
[COLOR=fuchsia]BCC:     levelMe(134, true) called.[/COLOR]
[COLOR=fuchsia]Need to Level     up a bit to get at least 134 base Primestat[/COLOR]
[COLOR=blue]BCC:     Maximizing ''[/COLOR]
Maximizing...
304 combinations checked, best     score 174.17
Putting on fuzzy montera...
Equipment changed.
Putting     on Boss Bat britches...
Equipment changed.
Putting on shiny ring...
Equipment     changed.
Conditions list cleared.
Condition added: Substats: 0 / 0 /     641
Cleared mood.
Set mood trigger: When I get Just the Best     Anapests, uneffect just the best anapests
Set mood trigger: When I run     low on Disco State of Mind, cast 1 Disco Aerobics
Set mood trigger:     When I run low on Butt-Rock Hair, use 5 hair spray
[COLOR=purple]BCC:     Need less combat, brave Sir Robin![/COLOR]
Set mood trigger: When I run     low on Smooth Movements, cast 1 Smooth Movement
Set mood trigger: When     I run low on The Sonata of Sneakiness, cast 1 The Sonata of Sneakiness
Set     mood trigger: When I get Carlweather's Cantata of Confrontation, uneffect     Carlweather's Cantata of Confrontation
[COLOR=purple]BCC: Need     items![/COLOR]
Set mood trigger: When I run low on Fat Leon's Phat Loot     Lyric, cast 1 Fat Leon's Phat Loot Lyric
Set mood trigger: When I run     low on Leash of Linguini, cast 1 Leash of Linguini
[COLOR=purple]Checking     for familiar 'Pair of Stomping Boots' where x=1[/COLOR]
[COLOR=purple]Checking     for familiar 'slimeling' where x=2[/COLOR]
[COLOR=purple]Checking     for familiar 'Reagnimated Gnome' where x=3[/COLOR]
[COLOR=purple]Checking     for familiar 'Coffee Pixie' where x=4[/COLOR]
[COLOR=purple]Checking     for familiar 'Attention-Deficit Demon' where x=5[/COLOR]
[COLOR=purple]Checking     for familiar 'Jitterbug' where x=6[/COLOR]
[COLOR=purple]Checking     for familiar 'Casagnova Gnome' where x=7[/COLOR]
[COLOR=purple]Checking     for familiar 'Psychedelic Bear' where x=8[/COLOR]
[COLOR=purple]Checking     for familiar 'Dancing Frog' where x=9[/COLOR]
[COLOR=purple]Checking     for familiar 'Grouper Groupie' where x=10[/COLOR]
[COLOR=purple]Checking     for familiar 'Piano Cat' where x=11[/COLOR]
[COLOR=purple]Checking     for familiar 'baby gravy fairy' where x=12[/COLOR]
[COLOR=fuchsia]I     need 134 base moxie[/COLOR]
[COLOR=purple]BCC: Attempting to get     clovers to level with. (Don't worry - if don't want to use them to level,     we won't).[/COLOR]
[COLOR=purple]BCC: We've already got Clovers     Today[/COLOR]
[COLOR=purple]BCC: We've already got Clovers Today[/COLOR]
Conditions     list cleared.
[COLOR=purple]Checking for familiar 'Pair of     Stomping Boots' where x=1[/COLOR]
[COLOR=purple]Checking for     familiar 'slimeling' where x=2[/COLOR]
[COLOR=purple]Checking for     familiar 'Reagnimated Gnome' where x=3[/COLOR]
[COLOR=purple]Checking     for familiar 'Coffee Pixie' where x=4[/COLOR]
[COLOR=purple]Checking     for familiar 'Attention-Deficit Demon' where x=5[/COLOR]
[COLOR=purple]Checking     for familiar 'Jitterbug' where x=6[/COLOR]
[COLOR=purple]Checking     for familiar 'Casagnova Gnome' where x=7[/COLOR]
[COLOR=purple]Checking     for familiar 'Psychedelic Bear' where x=8[/COLOR]
[COLOR=purple]Checking     for familiar 'Dancing Frog' where x=9[/COLOR]
[COLOR=purple]Checking     for familiar 'Grouper Groupie' where x=10[/COLOR]
[COLOR=purple]Checking     for familiar 'Piano Cat' where x=11[/COLOR]
[COLOR=purple]Checking     for familiar 'baby gravy fairy' where x=12[/COLOR]
Casting Fat Leon's     Phat Loot Lyric 1 times...
You acquire an effect: ♫ Fat Leon's Phat     Loot Lyric (5)
Fat Leon's Phat Loot Lyric was successfully cast.
Casting     Leash of Linguini 1 times...
You acquire an effect: Leash of Linguini     (10)
Leash of Linguini was successfully cast.
Casting Smooth     Movement 1 times...
You acquire an effect: Smooth Movements (10)
Smooth     Movement was successfully cast.
Casting The Sonata of Sneakiness 1     times...
You acquire an effect: ♫ The Sonata of Sneakiness (5)
The     Sonata of Sneakiness was successfully cast.
Mood swing complete.
[COLOR=#33CCCC]Restoring     MP! Currently at 131 of 134 HP, 38 of 145 MP, current meat: 950 ... Target     MP = 117.[/COLOR]
Purchasing Knob Goblin seltzer (8 @ 80)...
You     spent 640 Meat
You acquire Knob Goblin seltzer (8)
Purchases     complete.
Using 8 Knob Goblin seltzer...
You gain 76 Mojo Points
Finished     using 8 Knob Goblin seltzer.
Purchasing Knob Goblin seltzer (1 @ 80)...
You     spent 80 Meat
You acquire an item: Knob Goblin seltzer
Purchases     complete.
Using 1 Knob Goblin seltzer...
You gain 8 Mojo Points
Finished     using 1 Knob Goblin seltzer.

Casting Disco Aerobics 2 times...
You     acquire an effect: Disco State of Mind (10)
Disco Aerobics was     successfully cast.

Visit to Manor2: The Haunted Ballroom in     progress...

[919] The Haunted Ballroom
Encounter: Strung-Up     Quartet

Visit to Manor2: The Haunted Ballroom in progress...

[919]     The Haunted Ballroom
Encounter: floating platter of hors d'oeuvres
Strategy:     c:\Users\fewyn\SkyDrive\Kolmafia\ccs\default.ccs [default]
Round 0:     fewyn wins initiative!
Round 1: fewyn tries to steal an item!
You     acquire an item: desiccated apricot
You gain 15 Meat.
[COLOR=purple]WHAM:     Running SmartStasis[/COLOR]
[COLOR=purple]WHAM: Starting     evaluation and performing of attack[/COLOR]
[COLOR=purple]WHAM:     We are going to 1-shot with attack with your weapon.[/COLOR]
Round 2:     fewyn executes a macro!
Round 2: fewyn attacks!
Round 3: floating     platter of hors d'oeuvres takes 140 damage.
Round 3: fewyn wins the     fight!
After Battle: Athena does a little fairy dance.
You gain 3     Beefiness
You gain 9 Mysteriousness
You gain 13 Cheek
[COLOR=red]KoLmafia     declares world peace.[/COLOR]
[COLOR=red]You're on your own,     partner.[/COLOR]

[COLOR=red]BCC: You aborted, so so am I.     This abort may have been caused by a rogue condition not being met. If     this is unexpected, please paste the CLI output, as well as the results of     typing 'condition check' without the quotes, into the mafia CLI window now.[/COLOR]
 
So, some part of the fledge quest. Again.
Since it had already gotten there, it doesn't show which zone you were necessarily trying to go to.

Wouldn't happen to know which stage of the quest you were on, would you? Still flyering or up to the actual fledge collection?
 
Not a complaint, just feedback.

The script had trouble with the tower contests. My intuition is that WHAM was not picking a good strategy - noodles then Weapon until dead usually worked manually, but WHAM never tried it - and there may be better strings to feed the mazimizer but no concrete suggestions yet.

The script inflicted sleaze damage when it complained about being unable to beat the meat. The real problem was that it could not find enough meat to maintain a Mood and so aborted.
 
Outfit/no-outfit? Is it collecting the pirate cove gear, or the insults?

I have the outfit, it hasn't even started the side quest at all other than having the uniform. (Not progressing this character incase more info is needed.)
 
Not a complaint, just feedback.

The script had trouble with the tower contests. My intuition is that WHAM was not picking a good strategy - noodles then Weapon until dead usually worked manually, but WHAM never tried it - and there may be better strings to feed the mazimizer but no concrete suggestions yet.

The script inflicted sleaze damage when it complained about being unable to beat the meat. The real problem was that it could not find enough meat to maintain a Mood and so aborted.

If BatBrain through WHAM believes that it has a winning combat strategy that doesn't work, that would be something where BatBrain would need to be given new information to make it more accurate. Maybe the percentage damage chance is too low? But that would be something for either BatBrain to fix internally or a tweak to batfactors, which anyone can do.
 
I have the outfit, it hasn't even started the side quest at all other than having the uniform. (Not progressing this character incase more info is needed.)

You should be able to level. It looks like this is the relevant code:
Code:
		//The Embarassed problem is only an issue if you're a moxie class. Otherwise, ignore it.
		if (my_primestat() == $stat[Moxie]) {
			cli_execute("speculate up Embarrassed; quiet");
			int safeBarrMoxie = 93;
			int specMoxie = 0;
			while (!hitTheBarrr && in_hardcore()) {
				specMoxie = numeric_modifier("_spec", "Buffed Moxie");
				if (specMoxie > safeBarrMoxie || bcasc_ignoreSafeMoxInHardcore) { hitTheBarrr = true; }
				if (!hitTheBarrr) { levelMe(my_basestat($stat[Moxie])+3, true); }
			}
I didn't write this code, but if I read it properly, if you can't hit 94 buffed moxie while embarassed, gain 3 more moxie and try again.

My guess is that the speculative check isn't working properly for some reason. The 'easy' fix is to simply aim for more than 124 buffed moxie rather than aiming for 93 speculative moxie. Anyone see when this would cause horrible and worse chaos than the poor people who have levelled up to 15 because this speculative check doesn't always work right? :)

Edit: The obvious chaos that I missed was that 124 is with a 25 percent reduction, not 30 percent. Since the proper target is 132 and some change, we need to beat 133 instead. Committed.
 
Last edited:
You should be able to level. It looks like this is the relevant code:
Code:
        //The Embarassed problem is only an issue if you're a moxie class. Otherwise, ignore it.
        if (my_primestat() == $stat[Moxie]) {
            cli_execute("speculate up Embarrassed; quiet");
            int safeBarrMoxie = 93;
            int specMoxie = 0;
            while (!hitTheBarrr && in_hardcore()) {
                specMoxie = numeric_modifier("_spec", "Buffed Moxie");
                if (specMoxie > safeBarrMoxie || bcasc_ignoreSafeMoxInHardcore) { hitTheBarrr = true; }
                if (!hitTheBarrr) { levelMe(my_basestat($stat[Moxie])+3, true); }
            }
I didn't write this code, but if I read it properly, if you can't hit 94 buffed moxie while embarassed, gain 3 more moxie and try again.

My guess is that the speculative check isn't working properly for some reason. The 'easy' fix is to simply aim for more than 124 buffed moxie rather than aiming for 93 speculative moxie. Anyone see when this would cause horrible and worse chaos than the poor people who have levelled up to 15 because this speculative check doesn't always work right? :)

Edit: The obvious chaos that I missed was that 124 is with a 25 percent reduction, not 30 percent. Since the proper target is 132 and some change, we need to beat 133 instead. Committed.

That looks to have taken care of it :D
 
And now that I've changed it, I just realized what the problem is... It's no longer _spec, but Generated:_spec. Ha.

So, preference between the speculation and not? It's faster to not have to speculate and generate that, but it's more future-proof to have speculation in case TPTB change things up in the future, since as soon as mafia updates to know what it does, BCA would be able to run it safely. No real preference on my side.
 
I think I found a small issue, bear with me though, I'm very new to this.

The bcascManorBathroom(), bcascManorBedroom(), and bcascManorGallery() functions have a small issue with checking the completion of each zone. When checking the Quest Log they look for the "Lady Spookyraven's Dance" text in the current quests to see if each item has been acquired. This would be fine if the fallback wasn't to check the Quest Log for the completion of the quest. The reason this is a problem is that the Quest Log doesn't display "Lady Spookyraven's Dance" under the [completed quests] tab (only "Lady Spookyraven's Unfinished Businesses" after finishing "Lady Spookyraven's Babies"), which causes the if condition in the else case to always fail.

bcascManorBathroom() - Line 5851
Code:
	string questLog = visit_url("questlog.php?which=1");
	if(contains_text(questLog, "Lady Spookyraven's Dance")) {
		if (!contains_text(questLog, "her powder puff from the Haunted Bathroom") && contains_text(questLog, "her powder puff")) {
			checkStage("manorbathroom", true);
			return true;
		}
 		} else {
[COLOR="#FF0000"][B]		visit_url("place.php?whichplace=manor2&action=manor2_ladys");
		if(contains_text(visit_url("questlog.php?which=2"), "Lady Spookyraven's Dance")) {
			checkStage("manorbathroom", true);
			return true;[/B][/COLOR]
		}
	}

Proposed fix
Code:
	string questLog = visit_url("questlog.php?which=1");
	if(contains_text(questLog, "Lady Spookyraven's Dance")) {
		if (!contains_text(questLog, "her powder puff from the Haunted Bathroom") && contains_text(questLog, "her powder puff")) {
			checkStage("manorbathroom", true);
			return true;
		}
[COLOR="GREEN"][B]		} else if(contains_text(questLog, "Lady Spookyraven's Babies")) {
  		checkStage("manorbathroom", true);
  		return true;[/B][/COLOR]
  		} else {
		if(contains_text(visit_url("questlog.php?which=2"), "[COLOR="GREEN"][B]In a Manor of Spooking[/B][/COLOR]")) {
			checkStage("manorbathroom", true);
			return true;
		}
 
Last edited:
Back
Top