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

When BCA aborts due to not having requirements to complete the pirate map, I always just quickly grab the frat uniform. Any objections to having that coded as an automatic thing rather than having the script abort?

Currently about half of my runs abort at level 9 with:
BCC: Currently, we have 7 insults. This is enough to continue with beer pong.
Please use the blueprints. I was not able to use them automatically, unfortunately :(

Edit: Another ease-of-living tweak would be only using castable buffs if you have at least double the max mp for the skill, rather than just enough to do it once. That would make it so that early day-one HC AoSP it doesn't waste MP using check hair when I already have enough +item, but it will use it day-two when I have a bunch of spare meat to support my useless +item habit. Any objections?
 
Last edited:
I'm fine with both. That said, you might want to make the outfit opt in and then grab the outfit before you need it. Playing turns manually and using other scripts to guide me, I often find that the most useful thing to do at some point is to grab one or more of the island outfits since the alternative is leveling up or burning turns to advance a counter. This feature would be useful but does potentially sacrifice turn count in favor of automation (which is fine for me).
 
Well, it will automatically get the hippy outfit as part of level 5. If we decide to make this an opt-able item, we could either make it happen at level 5 along with the hippy outfit or only on level 9, when it would otherwise fail. Since if it would otherwise abort, then it doesn't need to be an opt-able option, since you've chosen not to be SC and auto-pull the parts needed to avoid aborting, and your frilly skirt/hot wings attempt was a fail.

I'm indifferent either way. I'd just like to not have my automation abort, making me go to the Adventure tab, click in the location window, press home, and click begin. It's not difficult, but if mafia has timed out because I was running turns at work or something, it hits the usual "mafia is offline so no snarfblats will work until main.php is hit again" bug. And I have to press escape, switch to the gCLI tab, text main.php, switch back to Adventure tab, and click begin again... I'd like to not have to do that, if possible. :)
 
Yep, need the latest versions of both - script and mafia.
Path: .
Working Copy Root Path: .\KoLmafia\svn\bumcheekascend-bumcheekascend
URL: https://svn.code.sf.net/p/bumcheekascend/code/bumcheekascend
Repository Root: https://svn.code.sf.net/p/bumcheekascend/code
Repository UUID: 1f9aa2c4-875c-429a-b064-a779cfda5ba2
Revision: 518
Node Kind: directory
Schedule: normal
Last Changed Author: maymne
Last Changed Rev: 518
Last Changed Date: 2014-06-18 12:27:18 -0700 (Wed, 18 Jun 2014)
 
Now it repeats this message?:

BCC: Ensuring that warnings that you don't have enough stats are disabled.
BCC: Trying to check bcs_aliases on the Bumcheekcity servers.
******************
Ascending Starting
******************
Conditions list cleared.
BCC: Trying to check bcsrelay_settings on the Bumcheekcity servers.
Level 1 Starting
BCC: We have completed the stage [toot].
BCC: We have completed the stage [guild].
BCC: We have completed the stage [knob].
BCC: levelMe(5, true) called.
Level 2 Starting
BCC: Maximizing ''
Maximizing...
5 combinations checked, best score 43.25
BCC: Switching Familiar for General Use
BCC: Using a default stat familiar.
BCC: Nothing to fax according to whatShouldIFax
Resetting mind control device...
Mind control device reset.
Cleared mood.
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 Go Get 'Em, Tiger!, use 5 Ben-Gal™ Balm
Set mood trigger: When I run low on Patience of the Tortoise, cast 1 Patience of the Tortoise
BCC: Need less combat, brave Sir Robin!
Set mood trigger: When I get Carlweather's Cantata of Confrontation, uneffect Carlweather's Cantata of Confrontation
Mood swing complete.
Mood swing complete.
BCC: Let's get a Tree-Holed Coin
Conditions list cleared.
BCC: Setting goals of '1 choiceadv'...
Condition added: Choices Left: 1
BCC: We should set the MCD if we can.
BCC: We CAN set the MCD.
Resetting mind control device...
Mind control device reset.

Bad location value: "the spooky gravy barrow" (BestBetweenBattle.ash, line 470)

BCC: Maximizing ''
Maximizing...
5 combinations checked, best score 43.25
BCC: Switching Familiar for General Use
BCC: Using a default stat familiar.
BCC: Nothing to fax according to whatShouldIFax
Resetting mind control device...
Mind control device reset.
Cleared mood.
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 Go Get 'Em, Tiger!, use 5 Ben-Gal™ Balm
Set mood trigger: When I run low on Patience of the Tortoise, cast 1 Patience of the Tortoise
BCC: Need less combat, brave Sir Robin!
Set mood trigger: When I get Carlweather's Cantata of Confrontation, uneffect Carlweather's Cantata of Confrontation
Mood swing complete.
Mood swing complete.
BCC: Let's get a Tree-Holed Coin
Conditions list cleared.
BCC: Setting goals of '1 choiceadv'...
Condition added: Choices Left: 1
BCC: We should set the MCD if we can.
BCC: We CAN set the MCD.
Resetting mind control device...
Mind control device reset.

Bad location value: "the spooky gravy barrow" (BestBetweenBattle.ash, line 470)

Is it 'svn update' that updates all the scripts automatically?
 
Last edited:
It is (well that does it manually for you, you need to set it in the settings for it to happen automatically during login), but I'm pretty certain that BBB has not been updated in a while since its author is on a little hiatus at the moment due to KoL-induced change burnout.
 
So... update your copy of BBB from barrows to burrows. Since KoL changed the zone from majestic Viking tombs to dirty plow furrows. Not an improvement, IMHO, but... eh, I wasn't consulted. And not a BCA bug, but a "might get updated in July or might not" BBB hasn't-been-updated-in-a-while bug.
 
I'm getting this loop. I have the pirate fledges, it's just failing to keep them equipped:

Code:
Request 1 of 50 (Island: Belowdecks) in progress...
You can't get to that area.

Verifying ingredients for Talisman o' Nam (1)...
Verifying ingredients for snakehead charrrm (2)...
You need 2 more gaudy key to continue.
BCC: Maximizing '+equip pirate fledges'
Maximizing...
182 combinations checked, best score 305.75
Holding left bear arm...
Equipment changed.
Putting on Knob Goblin pants...
Equipment changed.
Putting on pirate fledges...
Equipment changed.
Putting on Bonerdagon necklace...
Equipment changed.
BCC: Maximizing '+equip pirate fledges'
Maximizing...
182 combinations checked, best score 205.25
Holding Victor, the Insult Comic Hellhound Puppet...
Equipment changed.
Putting on Whoompa Fur Pants...
Equipment changed.
Putting on badge of authority...
Equipment changed.
Putting on ring of aggravate monster...
Equipment changed.
BCC: Your familiar is set to a 100% Reanimated Reanimator
BCC: Nothing to fax according to whatShouldIFax
Cleared mood.
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 Go Get 'Em, Tiger!, use 5 Ben-Gal™ Balm
Set mood trigger: Always, ashq if(item_amount($item[hunter brain]) > 0 && my_fullness() fullness_limit() && !(have_skill($skill[Ravenous Pounce]) && have_skill($skill[Howl of the Alpha]) && have_skill($skill[Zombie Maestro]))) {abort("You have acquired a hunter brain. Eat it and feel smarter.");}
Mood swing complete.
Mood swing complete.
BCC: Getting the Talisman
Conditions list cleared.
BCC: Setting goals of '2 gaudy key'...
Condition added: gaudy key (2)
BCC: We should set the MCD if we can.
BCC: We CAN set the MCD.
Mind control device already at 10

Request 1 of 50 (Island: Belowdecks) in progress...
You can't get to that area.

Here's what I had for accessories equipped when I aborted the loop:

Accessory 1: astral belt [unequip]
Accessory 2: badge of authority [unequip]
Accessory 3: ring of aggravate monster [unequip]

When I brought up the maximizer, this is what it had in it: "0 beeosity, mainstat 194 max, +melee +muscle experience".
 
If it helps (or doesn't) I got the talisman manually and now it's looping at the Palindome, not equipping the talisman either.

I manually put it on, fire up the script, and here's what it does:

Code:
KoLmafia declares world peace.
KoLmafia declares world peace.
KoLmafia declares world peace.
Putting on Talisman o' Nam...
Equipment changed.

> 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.
BCC: Trying to check bcs_aliases on the Bumcheekcity servers.
******************
Ascending Starting
******************
Conditions list cleared.
BCC: Trying to check bcsrelay_settings on the Bumcheekcity servers.
BCC: We have not completed the stage [lair0].
Doing a check for Telescope Items
BCC: We have not completed the stage [lair0].
BCC: Please get stick of dynamite for telescope part 7 from 'Muscle Vacation' yourself
Level 1 Starting
BCC: We have completed the stage [toot].
BCC: We have completed the stage [guild] and need to set it as so.
BCC: We have completed the stage [guild].
BCC: We have completed the stage [knob].
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: We have completed the stage [8bit].
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 not completed the stage [ManorBilliards].
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 [wand].
BCC: We have completed the stage [piratefledges].
BCC: levelMe(68, true) called.
Level 9 Starting
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 not completed the stage [macguffinpalin].
BCC: Maximizing '+equip talisman o' nam'
Maximizing...
105 combinations checked, best score 238.11
Putting on fuzzy busby...
Equipment changed.
Wielding giant needle...
Equipment changed.
Putting on pirate fledges...
Equipment changed.
BCC: Your familiar is set to a 100% Reanimated Reanimator
BCC: Nothing to fax according to whatShouldIFax
BCC: We don't have the HeBo equipped, so we're either on a 100% run or you just don't have one. Trying a pumpkin bomb. If you have one, we'll use it.
Cleared mood.
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 Go Get 'Em, Tiger!, use 5 Ben-Gal™ Balm
Set mood trigger: Always, ashq if(item_amount($item[hunter brain]) > 0 && my_fullness() fullness_limit() && !(have_skill($skill[Ravenous Pounce]) && have_skill($skill[Howl of the Alpha]) && have_skill($skill[Zombie Maestro]))) {abort("You have acquired a hunter brain. Eat it and feel smarter.");}
BCC: Need less combat, brave Sir Robin!
Set mood trigger: When I run low on Disquiet Riot, cast 1 Disquiet Riot
Set mood trigger: When I get Carlweather's Cantata of Confrontation, uneffect Carlweather's Cantata of Confrontation
BCC: Need items!
Set mood trigger: When I run low on Chow Downed, cast 1 Zombie Chow
Set mood trigger: When I run low on Scavengers Scavenging, cast 1 Scavenge
Set mood trigger: When I run low on Peeled Eyeballs, use 1 Knob Goblin eyedrops
Mood swing complete.
Mood swing complete.
BCC: Getting all the quest items the Palindome has to offer
Conditions list cleared.
BCC: Setting goals of '1 stunt nuts, 1 I Love Me Vol I, photograph of a dog, photograph of God, photograph of a red nugget, photograph of an ostrich egg'...
Condition added: stunt nuts
Condition added: "I Love Me, Vol. I"
Condition added: photograph of a dog
Condition added: photograph of God
Condition added: photograph of a red nugget
Condition added: photograph of an ostrich egg
BCC: We should set the MCD if we can.
BCC: We CAN set the MCD.
Mind control device already at 10

Request 1 of 55 (Plains: Inside the Palindome) in progress...

[1210] Inside the Palindome
Encounter:
Nothing more to do here.

BCC: Maximizing '+equip talisman o' nam'
Maximizing...
24 combinations checked, best score 243.11
BCC: Your familiar is set to a 100% Reanimated Reanimator
BCC: Nothing to fax according to whatShouldIFax
BCC: We don't have the HeBo equipped, so we're either on a 100% run or you just don't have one. Trying a pumpkin bomb. If you have one, we'll use it.
Cleared mood.
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 Go Get 'Em, Tiger!, use 5 Ben-Gal™ Balm
Set mood trigger: Always, ashq if(item_amount($item[hunter brain]) > 0 && my_fullness() fullness_limit() && !(have_skill($skill[Ravenous Pounce]) && have_skill($skill[Howl of the Alpha]) && have_skill($skill[Zombie Maestro]))) {abort("You have acquired a hunter brain. Eat it and feel smarter.");}
BCC: Need less combat, brave Sir Robin!
Set mood trigger: When I run low on Disquiet Riot, cast 1 Disquiet Riot
Set mood trigger: When I get Carlweather's Cantata of Confrontation, uneffect Carlweather's Cantata of Confrontation
BCC: Need items!
Set mood trigger: When I run low on Chow Downed, cast 1 Zombie Chow
Set mood trigger: When I run low on Scavengers Scavenging, cast 1 Scavenge
Set mood trigger: When I run low on Peeled Eyeballs, use 1 Knob Goblin eyedrops
Mood swing complete.
Mood swing complete.
BCC: Getting all the quest items the Palindome has to offer
Conditions list cleared.
BCC: Setting goals of '1 stunt nuts, 1 I Love Me Vol I, photograph of a dog, photograph of God, photograph of a red nugget, photograph of an ostrich egg'...
Condition added: stunt nuts
Condition added: "I Love Me, Vol. I"
Condition added: photograph of a dog
Condition added: photograph of God
Condition added: photograph of a red nugget
Condition added: photograph of an ostrich egg
BCC: We should set the MCD if we can.
BCC: We CAN set the MCD.
Mind control device already at 10

Request 1 of 55 (Plains: Inside the Palindome) in progress...

[1210] Inside the Palindome
Encounter:
Nothing more to do here.

It says it's maximizing for the taslisman, but it takes the talisman off and puts on my pirate fledges. :confused:
 
Last edited:
There's some sort of bug with something between r14118-14122. More messed up 'zone is locked' detection. I just rolled back to r14017 and everything worked fine again.

But these sort of mafia bugs are why I asked for information about when new zone locking gets added to mafia, because lately it usually seems like it has bugs for the first 2-5 attempts. :(

Nothing we can do about mafia bugs besides suggest rolling back, or doing the REALLY bad thing of using visit_url to bypass mafia's incorrect "You can't get to that area." messages.
 
There's some sort of bug with something between r14118-14122. More messed up 'zone is locked' detection. I just rolled back to r14017 and everything worked fine again.

But these sort of mafia bugs are why I asked for information about when new zone locking gets added to mafia, because lately it usually seems like it has bugs for the first 2-5 attempts. :(

Nothing we can do about mafia bugs besides suggest rolling back, or doing the REALLY bad thing of using visit_url to bypass mafia's incorrect "You can't get to that area." messages.

All that complaining about mafia doing something wrong, and you don't even bother to say what mafia is doing wrong. Your demands that people adding stuff to mafia provide documentation is much more likely to result in people not adding features to mafia than it is to result in the documentation you want.
 
and you don't even bother to say what mafia is doing wrong.
There's some sort of bug with something between r14118-14122. More messed up 'zone is locked' detection.

Chef posted 2 cases where mafia believes that zones are not able to be adventured in. I posted that this was caused by some failed 'zone is locked' detection code added between 14118 and the current version at the time, 14122, but that rolling back to 14117 made adventuring work fine again.

What code specifically is causing the bug? Not sure. I'm not a mafia dev, just a script editor/author.
I haven't tried submitting new mafia code since back when KoL decided to make the 2-6 months of work on tracking in-combat monster stats worthless. :)
The only other two mafia code bits that I have in mine that have patches that aren't in base are the one for changing FoB cranberry consumption stats and adding additional options to the lookup command so that I can lookup a specific skill, familiar, effect, etc.
But as other people haven't expressed interest in either, I'll happily just consume cranberries when I happen to be in HCNP on FoB and use my additional fuzzy matchers for wiki lookups.

And tell people which version of mafia to use when there's a bug in the latest version that disallows adventuring and they post in the script thread as a script bug. If I have enough time to work out where the bug is, I'll do that. Until then though... at least I can get the user running.

The request for more information was that the last time this happened, the peaks zones (minus twin) weren't allowing automated adventuring because a quest preference wasn't being properly set in-run.
In this case, I set L11Palin to finished and still was unable to adventure, and it was properly setting from unstarted to started when I checked the questlog, so it seemed likely that the check may have been typed.
But with documentation on what was supposed to be set, I could have validated whether that was or was not happening and provided a useful bug report. As it was, I had enough time to point out the problem. *shrugs*
 
Now that I've read through the CLI output of Chef Rannos's posts, the first case is the script's fault for not wearing fledges for pirate stuff (equipped and then replaced it), and the second case is the script's fault for not wearing a talisman (never equipped, it looks like). Mafia actually tried to adventure in the palindome for him (which technically means it isn't being restrictive enough) and passed along the message from KoL (not verbatim) that you can't go there.

So when you say there's something wrong in 14118+, I don't actually know what you tried.
 
I manually equipped the talisman, adventured in the Palindome in the relay browser which worked, and tried to automate an adventure in the gCLI and was given exactly the same message that Chef Rannos was given, namely that I couldn't get to that area.
This repeated despite unequipping and re-equipping the talisman in several acc locations and validating between failed automation attempts that adventuring in the relay browser worked fine, and disappeared as soon as I rolled back to r14117.
 
You set questL11Palindome to "finished" and it didn't work? I just automated a turn in the palindome, without equipping the talisman first, without manually adventuring first. I see that if the quest was not set past "started", mafia's check would fail, so I just fixed that in 14125.
 
Now that I've read through the CLI output of Chef Rannos's posts, the first case is the script's fault for not wearing fledges for pirate stuff (equipped and then replaced it), and the second case is the script's fault for not wearing a talisman (never equipped, it looks like). Mafia actually tried to adventure in the palindome for him (which technically means it isn't being restrictive enough) and passed along the message from KoL (not verbatim) that you can't go there.

So when you say there's something wrong in 14118+, I don't actually know what you tried.


Now it's complaining I can't adventure in the island war, because the script isn't putting on the outfit.

It *SAYS* it's maximizing but it doesn't actually do it:

Code:
Level 12 Starting
BCC: We have not completed the stage [warstage_arena].
BCC: Starting SideQuest 'arena'
BCC: We have completed the stage [warstage_junkyard].
BCC: We have completed the stage [warstage_beach].
BCC: Your familiar is set to a 100% Reanimated Reanimator
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 Go Get 'Em, Tiger!, use 5 Ben-Gal™ Balm
Set mood trigger: Always, ashq if(item_amount($item[hunter brain]) > 0 && my_fullness() fullness_limit() && !(have_skill($skill[Ravenous Pounce]) && have_skill($skill[Howl of the Alpha]) && have_skill($skill[Zombie Maestro]))) {abort("You have acquired a hunter brain. Eat it and feel smarter.");}
BCC: Need items!
Set mood trigger: When I run low on Chow Downed, cast 1 Zombie Chow
Set mood trigger: When I run low on Scavengers Scavenging, cast 1 Scavenge
Set mood trigger: When I run low on Peeled Eyeballs, use 1 Knob Goblin eyedrops
Conditions list cleared.
BCC: Maximizing '+outfit frat warrior fatigues'
Maximizing...
24 combinations checked, best score 357.99
BCC: Attempting to kill up to 64 enemies in the war. You have 0 dead already, attempting to do the war as a frat.
Mood swing complete.

Visit to IsleWar: The Battlefield (Frat Uniform) in progress...
You aren't wearing an appropriate uniform.


Again I pulled up the maximizer, and I get this: "0 beeosity, mainstat 999999999 max, +melee +muscle experience"

There's no mention of the "+outfit" option like there was no mention of the "+equip" items I saw yesterday.

These are all under r14115, because I only update when I see something in the release logs that looks relevant to something I want or something fixed that might affect my game play. If it looks like it might be a mafia bug I'll try a new release, but I'm not finding anything that points to a kolmafia problem.

Any other time I abort and pull up the maximizer window, it lists exactly what was maximized that last time. As I can see it, it's not a mafia bug but looks like the script is not calling the maximizer right when it's trying to equip certain items or outfits.


Oh, and also, I put on the Frat Warrior Fatigues manually and fired up the script, and it *stupidly* puts on other gear and then complains it can't adventure in the island war.

Code:
BCC: Maximizing '+outfit frat warrior fatigues'
Maximizing...
135 combinations checked, best score 357.99
Putting on fuzzy busby...
Equipment changed.
Putting on Knob Goblin pants...
Equipment changed.
Putting on pirate fledges...
Equipment changed.
BCC: Attempting to kill up to 64 enemies in the war. You have 0 dead already, attempting to do the war as a frat.
Mood swing complete.

Visit to IsleWar: The Battlefield (Frat Uniform) in progress...
You aren't wearing an appropriate uniform.
 
Last edited:
Back
Top