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

Sorry, I was looking in the file names for the relay browser. Yes, I use the relay browser all day every day... my bad. I was thinking it was something I had to look for and not something I already used. I as thinking it was a file of some sort. Every time I try to use it it counts down, then again from one, then I get that message.
 
I've uploaded a lot more files to the sourceforge. is anyone looking for commit privs to the file(s)? I'm willing to grant it to save time and encourage patches, etc.
 
I would be willign to do so, but I think there should be some kind of guildeline for that. So that the committers know what to accept and what not to (I mean people play the game very differently even when automating, I have some edits to my local one (creating epic wepons as most classes for example) that I'm not sure you want in the main version.
 
I would be willign to do so, but I think there should be some kind of guildeline for that. So that the committers know what to accept and what not to (I mean people play the game very differently even when automating, I have some edits to my local one (creating epic wepons as most classes for example) that I'm not sure you want in the main version.

A good point. I'll review all commits by everyone and won't spin a release until every one of them is ok'd by me, although I'd expect that to be a quite quick review, particularly from people who've supplied previous diffs or are major coders.

In general, I'll permit people to use best judgement, and I'm always happy to include an option in the relay script if people think that its only of use to a few people. Of course, I'm always happy to think "I want this to be an option (either opt in or out) and wrap everything in an appropriate if() statement myself when I review.

If it saves turns, definitely do it. If it fixes a bug, also definitely going to be accepted. If its completely new, then it can probably be opt-in (i.e. if someone wanted a nemesis quest option). If its something that most people would probably like (e.g. the epic weapons) then we can have opinions in this thread and it can be submitted as-is and I'll make a decision, allowing people to weigh in here if they have strong opinions.

I think the golden rule is if it's likely to take more turns, it should have an option associated with it, and if in any doubt, open discussion here before submitting. The volume of commits isnt going to be so big that I'm so worried about being too formal.
 
I'm pretty new to Kolmafia and this script, but think it is great. with the trendy path it seems the script has trouble selecting the right item familiar. I've seen some references to this problem, but I'm not sure if it's a problem with the script or with kolmafia. At this timing I'm playing some zones manually, but would like to automate them as before. Any tips, besides running a 100% familiar to prevent this from happening?
 
I'm pretty new to Kolmafia and this script, but think it is great. with the trendy path it seems the script has trouble selecting the right item familiar. I've seen some references to this problem, but I'm not sure if it's a problem with the script or with kolmafia. At this timing I'm playing some zones manually, but would like to automate them as before. Any tips, besides running a 100% familiar to prevent this from happening?

Apparantly the 100% familiar thing helps. Version 0.35 does not fully support Trendy runs. I anticipate 0.36 will be much better.
 
Apparantly the 100% familiar thing helps. Version 0.35 does not fully support Trendy runs. I anticipate 0.36 will be much better.

So no way to just tell the script to use a certain familiar for items I guess. Would be a nice feature to tell in advance (through the relay script?) what familiar to use depending on the need.
Thanks for the response!
 
I've uploaded a lot more files to the sourceforge. is anyone looking for commit privs to the file(s)? I'm willing to grant it to save time and encourage patches, etc.

Not at this time as I have not enough experience with svn. I will keep uploading text diffs to SF (but now based on the svn version of BCA)

best regards
Dave
(still working on better docs justifying my new telescope code)
 
So no way to just tell the script to use a certain familiar for items I guess. Would be a nice feature to tell in advance (through the relay script?) what familiar to use depending on the need.
Thanks for the response!

I've found with the latest version of mafia (10013 at least), and the winterbay unoffical release patched version on source forge it works pretty well. Seems to switch mostly between my alien volley and the hound, seen it try to use the slimeling a few times as well.

Of course your still on your own for the boots fairy but this script never supported 'release the boots' functionality. (Which is something that is to complicated of a decision to make anyway)


*EDIT*

How does one submit a patch or code change to the project? Do I just select 'patches' from the tracker, click add new, and attach a copy of the entire file with my changes in it?

For some reason I have trouble getting used to these environment setup's, so of course every different type of project group has to be set up differently. I had just barely got used to github to :P

I was just going to try to add something simple to get used to it. Like adding unbearable light support if it isn't already in there for the 36 release.

Code:
else if (item_amount($item[unbearable light]) > 0) {
print("BCC: We are trying to use the HeBoulder, but you don't have one (or perhaps are on a 100% run), so I'm using an unbearable light.", "purple");
return "item unbearable light";
 
Last edited:
Lightwolf, you'll want to check out the script on the SVN, which will involve downloading and installing "Tortoise SVN" over the internet, then you have to right-click on your scripts folder, select "SVN Checkout", and put the URL of the repository as "https://bumcheekascend.svn.sourceforge.net/svnroot/bumcheekascend". Leave all other settings as they are, and click OK.

Making a patch is as this: http://wiki.kolmafia.us/index.php?title=Making_a_Patch

Basically, you'll make a .diff or .patch file, and submit THAT via the sourceforge page. That means I can integrate any number of changes to the file at pretty much one-click and track everyone's changes as submitted.

Edit: although to note, I've made that change above as it's only three lines.
 
If someone has summoned an unbearable light, they probably want to use that before pumpkins. Just a thought!

the script prioritises unbearable lights for that reason. I'll release 0.36 quite quickly I think, as its small changes which will very much help the trendy path.
 
Ok, I just had a weird bug occur with the script... and/or possibly mafia*. This is using mafia 10021 and the not so 'daily build' version of the ascend script.

Short short version: It spent 216 turns leveling in the haunted ballroom. And...
*All of those adventures were listed as adventure number 783 for some reason, so I ended up with 0 turns left but it still thought I had turns left in the relay browser. I'm not sure if that contributed to the script bug or not though.


Longer version:
I started the script up again after manually finishing the worm riding hooks, and having the parts of the staff of ed.

BCC relevant info:
To note: I should have already been well above safe moxie with the equipment I had, so not sure why it was trying to level to 184 base moxie... *edit* oh. Apparently it was only trying to level 2 more prime stat to reach safe moxie. That seems more reasonable. However the condition never checked right and I ended up with 224 buffed moxie stat by the time i ran out of adventures. This is probably a result of the adventure counter never incrementing right for some reason...

Code:
 > There is a new version available - go download the next version of bumcheekascend.ash at the sourceforge page, linked from http://kolmafia.us/showthread.php?t=4963!
 > ******************
 > Ascending Starting
 > ******************
 > Doing a check for Telescope Items
 > 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: We have completed the stage [pantry].
 > 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 completed the stage [manorlibrary].
 > BCC: levelMe(40, true) called.
 > Level 7 Starting
 > BCC: We have completed the stage [cyrpt].
 > BCC: We have completed the stage [innaboxen].
 > BCC: We have completed the stage [manorbedroom].
 > 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 completed the stage [macguffinpalin].
 > BCC: We have completed the stage [hits].
 > BCC: We have completed the stage [macguffinspooky].
 > BCC: We have completed the stage [macguffinpyramid].
 > BCC: We have not completed the stage [macguffinhiddencity].
 > BCC: We have completed the stage [macguffinhiddencity] and need to set it as so.
 > BCC: We have completed the stage [macguffinhiddencity].
 > BCC: We have not completed the stage [macguffinfinal].

Combine 1 ancient amulet + 1 Eye of Ed
You acquire an item: headpiece of the Staff of Ed

Combine 1 headpiece of the Staff of Ed + 1 Staff of Fats
You acquire an item: Staff of Ed

beach.php?action=woodencity
 > BCC: Maximizing ''

equip hat worn tophat

equip pants leather chaps
 > BCC: Switching Familiar for General Use
 > BCC: Using a default stat familiar.
mcd 0
 > BCC: Getting the Carved Wooden Wheel

cast 1 Moxie of the Mariachi

cast 1 The Moxious Madrigal

buy 5 hair spray for 24 each from Market Demon
You acquire hair spray (5)
You spent 120 Meat

use 5 hair spray
 > Need to Level up a bit to get 184 Mainstat
 > BCC: levelMe(184, false) called.

cast 1 Moxie of the Mariachi
 > Need to Level up a bit to get at least 184 buffed Primestat. This means getting 2 Primestat.
 > BCC: Need less combat, brave Sir Robin!
 > BCC: Need items!
 > Checking for familiar 'Pair of Stomping Boots' where x=1

familiar Pair of Stomping Boots (18 lbs)
 > I need 123 base moxie
 > BCC: Attempting to get clovers to level with.
 > BCC: Getting Clovers

trading 1 worthless item for 1 ten-leaf clover
You acquire an item: ten-leaf clover

Use 1 ten-leaf clover
You acquire an item: disassembled clover

buy 1 chewing gum on a string for 50 each from Market Demon
You acquire an item: chewing gum on a string
You spent 50 Meat

use 1 chewing gum on a string
You acquire an item: worthless knick-knack

buy 1 hermit permit for 100 each from Market Demon
You acquire an item: hermit permit
You spent 100 Meat

trading 1 worthless item for 1 ten-leaf clover
 > BCC: We've already got Clovers Today
 > BCC: Going to use clovers to level.
 > BCC: We have 2 clovers and are using one to level.

Use 1 disassembled clover
You acquire an item: ten-leaf clover

[783] Haunted Ballroom
Encounter: Forward to the Past
You gain 282 Cheek
You gain a Moxie point!
 > Checking for familiar 'Pair of Stomping Boots' where x=1

use 1 dance card

cast 1 Fat Leon's Phat Loot Lyric

cast 1 Leash of Linguini

cast 1 Smooth Movement

cast 1 The Sonata of Sneakiness

[783] Haunted Ballroom
Encounter: zombie waltzers
Round 0: lightwolf wins initiative!
Round 1: lightwolf executes a macro!
Round 1: lightwolf tries to steal an item!
You acquire an item: dance card
Round 2: lightwolf casts TRANSCENDENT OLFACTION!
Round 3: lightwolf attacks!
Round 4: lightwolf attacks!
Round 5: lightwolf wins the fight!
You gain 133 Meat
You gain 7 Beefiness
You gain 9 Wizardliness
You gain 17 Cheek
You gain a Moxie point!

[783] Haunted Ballroom
Encounter: zombie waltzers
Round 0: lightwolf wins initiative!
Round 1: lightwolf executes a macro!
Round 1: lightwolf tries to steal an item!
You acquire an item: dance card
Round 2: lightwolf attacks!
Round 3: lightwolf attacks!
Round 4: lightwolf wins the fight!
You gain 162 Meat
You gain 3 Muscleboundness
You gain 9 Mysteriousness
You gain 20 Cheek

[783] Haunted Ballroom
Encounter: Strung-Up Quartet
Took choice 106/2: decrease combat frequency
choice.php?whichchoice=106&option=2&pwd

... NOTE: This goes on for 200 or so more turns... and then

[783] Haunted Ballroom
Encounter: tapdancing skeleton
Round 0: lightwolf wins initiative!
Round 1: lightwolf executes a macro!
Round 1: lightwolf tries to steal an item!
Round 2: lightwolf attacks!
Round 3: lightwolf attacks!
Round 4: lightwolf wins the fight!
You gain 6 Beefiness
You gain 9 Mysteriousness
You gain 19 Smarm
 > BCC: Setting goals of 'carved wooden wheel'...
 > BCC: Maximizing ''
 > BCC: Switching Familiar for General Use
 > BCC: Using a default stat familiar.

familiar Li'l Xenomorph (23 lbs)
mcd 0
 > BCC: Getting the initial choice adventure
 > BCC: Need less combat, brave Sir Robin!
 > BCC: Setting goals of 'choiceadv'...
 > BCC: We should set the MCD if we can.
 > BCC: We CAN set the MCD.
mcd 3
 > BCC: Step 1 / 3: get a token. (image 4)
 > BCC: Maximizing ''
 > BCC: Switching Familiar for General Use
 > BCC: Using a default stat familiar.
mcd 0
 > BCC: Getting another choice adventure
 > BCC: Need less combat, brave Sir Robin!
 > BCC: Setting goals of 'choiceadv'...
 > BCC: Maximizing ''
 > BCC: Switching Familiar for General Use
 > BCC: Using a default stat familiar.
mcd 0
 > BCC: Getting another choice adventure
 > BCC: Need less combat, brave Sir Robin!
 > BCC: Setting goals of 'choiceadv'...
 > BCC: We should set the MCD if we can.
 > BCC: We CAN set the MCD.
mcd 3
 > BCC: Maximizing ''
 > BCC: Switching Familiar for General Use
 > BCC: Using a default stat familiar.


... NOTE: At this point I had 0 adventures (although mafia didn't quite know that). This part ends up repeating about 1000 times cause the script was unattended...



Mafia relevant info:
Note: This is the cli output in the java that had been apparently repeating for a while when the script was unattended. Mostly it is just pointing out that it is continually trying to request adventures 1 out of 206 even though I was out of adventures. For some reason, it never incremented the adventure count while it was leveling in the ballroom either for some reason.

Code:
Request 1 of 206 (Pyramid: The Middle Chamber) in progress...
You're     out of adventures.

BCC: Maximizing ''
Maximizing...
48     combinations checked, best score 233.27292
BCC:     Switching Familiar for General Use
BCC:     Using a default stat familiar.
Resetting mind control device...
Mind     control device reset.
BCC: Getting another choice     adventure

When I run low on Butt-Rock Hair, use 5 hair spray
When     I run low on Butt-Rock Hair, use 5 hair spray
When I run low on The     Moxious Madrigal, cast 1 The Moxious Madrigal
When I run low on     Butt-Rock Hair, use 5 hair spray
When I run low on Mariachi Mood, cast     1 Moxie of the Mariachi
When I run low on The Moxious Madrigal, cast 1     The Moxious Madrigal
BCC: Need less combat, brave     Sir Robin!
When I run low on Butt-Rock Hair, use 5 hair spray
When     I run low on Mariachi Mood, cast 1 Moxie of the Mariachi
When I run low     on Smooth Movements, cast 1 Smooth Movement
When I run low on The     Moxious Madrigal, cast 1 The Moxious Madrigal
When I run low on     Butt-Rock Hair, use 5 hair spray
When I run low on Mariachi Mood, cast     1 Moxie of the Mariachi
When I run low on Smooth Movements, cast 1     Smooth Movement
When I run low on The Moxious Madrigal, cast 1 The     Moxious Madrigal
When I run low on The Sonata of Sneakiness, cast 1 The     Sonata of Sneakiness
When I get Carlweather's Cantata of Confrontation,     uneffect Carlweather's Cantata of Confrontation
When I run low on     Butt-Rock Hair, use 5 hair spray
When I run low on Mariachi Mood, cast     1 Moxie of the Mariachi
When I run low on Smooth Movements, cast 1     Smooth Movement
When I run low on The Moxious Madrigal, cast 1 The     Moxious Madrigal
When I run low on The Sonata of Sneakiness, cast 1 The     Sonata of Sneakiness
Mood swing complete.
Mood swing complete.
Conditions     list cleared.
Condition added: Choices Left: 1
Choices Left: 1
BCC:     Setting goals of 'choiceadv'...

Request 1 of 206 (Pyramid:     The Middle Chamber) in progress...
You're out of adventures.

BCC:     Maximizing ''
Maximizing...
48 combinations checked, best     score 262.89792
BCC: Switching Familiar for General     Use
BCC: Using a default stat familiar.
Resetting     mind control device...
Mind control device reset.
BCC:     Getting another choice adventure

When I run low on Butt-Rock     Hair, use 5 hair spray
When I run low on Butt-Rock Hair, use 5 hair     spray
When I run low on The Moxious Madrigal, cast 1 The Moxious     Madrigal
When I run low on Butt-Rock Hair, use 5 hair spray
When I     run low on Mariachi Mood, cast 1 Moxie of the Mariachi
When I run low     on The Moxious Madrigal, cast 1 The Moxious Madrigal
BCC:     Need less combat, brave Sir Robin!
When I run low on Butt-Rock     Hair, use 5 hair spray
When I run low on Mariachi Mood, cast 1 Moxie of     the Mariachi
When I run low on Smooth Movements, cast 1 Smooth Movement
When     I run low on The Moxious Madrigal, cast 1 The Moxious Madrigal
When I     run low on Butt-Rock Hair, use 5 hair spray
When I run low on Mariachi     Mood, cast 1 Moxie of the Mariachi
When I run low on Smooth Movements,     cast 1 Smooth Movement
When I run low on The Moxious Madrigal, cast 1     The Moxious Madrigal
When I run low on The Sonata of Sneakiness, cast 1     The Sonata of Sneakiness
When I get Carlweather's Cantata of     Confrontation, uneffect Carlweather's Cantata of Confrontation
When I     run low on Butt-Rock Hair, use 5 hair spray
When I run low on Mariachi     Mood, cast 1 Moxie of the Mariachi
When I run low on Smooth Movements,     cast 1 Smooth Movement
When I run low on The Moxious Madrigal, cast 1     The Moxious Madrigal
When I run low on The Sonata of Sneakiness, cast 1     The Sonata of Sneakiness
Mood swing complete.
Mood swing complete.
Conditions     list cleared.
Condition added: Choices Left: 1
Choices Left: 1
BCC:     Setting goals of 'choiceadv'...
BCC: We     should set the MCD if we can.
BCC: We CAN     set the MCD.
Resetting mind control device...
Mind control     device reset.

Request 1 of 206 (Pyramid: The Middle Chamber) in     progress...
You're out of adventures.
 
Last edited:
Lightwolf, did the dance card counter happen to fire on the turn where you levelled?
(so BCA missed noticing the jump in moxie due to another script firing off)
Code:
[783] Haunted Ballroom
Encounter: Forward to the Past
You gain 282 Cheek
You gain a Moxie point!
 > Checking for familiar 'Pair of Stomping Boots' where x=1

use 1 dance card <=====

(cut)

[783] Haunted Ballroom
Encounter: Strung-Up Quartet
Took choice 106/2: decrease combat frequency
choice.php?whichchoice=106&option=2&pwd

... NOTE: This goes on for 200 or so more turns... and then

??? (somewhere near the top of the cut-out section)

edit:
I experienced something similar but different a while back - see bug#3376582 on SF
I now keep my finger over the escape key when BCA is leveling up

best regards
Dave
 
Last edited:
I did have issues earlier in the run, where the dance card counter would break/interrupt the bca script. It would get hit with a 'can't find location, kings chamber', then it would adventure once more, then the script would halt. Every time a dance card counter was used and then expiered.

But I'm not sure that is the case here. The [783] issue started from the very first adventure it started to track.

Looking at it more closely, it appears that it first uses a clover to level in the ballroom [783], then checks and uses a dance card, then starts to adventure in the area [still 783].

If I had to guess, for whatever reason that the adventure counter was not being advanced, it was not bothering to check for the condition for some reason.

When it finally did run out of turns though, it moved on from that condition to the next one. "wooden wheel for temple" It still thought it had turns though so it continued to try and adventure there.
 
I'm very confused by that. I havent encountered problems with moxie levelling, althouguh theres a myst one that comes up. It sounds like your counterChecker script may not be set up correctly if its aborting on the dance card. Bcasc will do that for you.

morgad, would you consider adding your changes to the script on sourceforge? I'd like to integrate as many as possible.
 
Back
Top