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

NardoLoopa

Member
Not sure the cause of this but it happened last run in the Ancient City as well as the Tavern:

Code:
BCC: Continuing to adventure in the Hidden City.
Mood swing complete.
Exploring square : 5 / 25

[739] Hidden City (Square 5)
Encounter: A Spine-Tingling Adventure
You gain 20 Strengthliness
BCC: Finished the combat. Let's carry on.
spheres : 0 / 4
altars : 1 / 4
BCC: Continuing to adventure in the Hidden City.
Searching for "hair spray"...
Purchasing hair spray (5 @ 24)...
You acquire hair spray (5)
You spent 120 Meat
Purchases complete.
Using 5 hair spray...
You acquire an effect: Butt-Rock Hair (duration: 15 Adventures)
Finished using 5 hair spray.
Mood swing complete.
Exploring square : 6 / 25

[740] Hidden City (Square 6)
Encounter: ancient protector spirit
Round 0: NardoLoopa wins initiative!
(unable to macrofy due to action: consult SmartStasis.ash)
BCC: Finished the combat. Let's carry on.
Encounter: ancient protector spirit
Round 0: NardoLoopa loses initiative!
You're still in the middle of a combat!
KoLmafia thinks it is round 2 but KoL thinks it is round 1

I think have to complete combat in the browser
 

picklish

Member
I'd rather work on telescope and muscle support now, as well as the rather sexy level 6 quest.

All of those sound like excellent things to work on. :)

By the way, picklish, if there are any more changes from your github that you'd like me to integrate, I'll do so, save you some trouble with version updates.

The merge was pretty painless, as there were only three or four tiny conflicts. I do have a few more changes, but they were either not fully tested or I wasn't sure that you wanted them:

Sell off pork gems, so script can be started immediately after ascension (but maybe folks don't want their items sold off automatically?)
https://github.com/quisquous/bumcheekcend/commit/f2769c6eb7b5ec0ff590f922378567eaed7fdcff

Auto-kill the war boss (tested once on the frat side, and it also appears to have a "frat" string in there, so it needs some edits and a test on the hippy side):
https://github.com/quisquous/bumcheekcend/commit/3f52f7272eef33811796126f95dbae104835f88d
 

Theraze

Active member
Not sure the cause of this but it happened last run in the Ancient City as well as the Tavern:
<snip>
I think have to complete combat in the browser

You've just hit the bug noted here where a visit_url combat only runs one line... The problem is that updating your CCS settings makes mafia properly run multiple lines, so testing/repeating it is a right pain. Current workaround is to edit your CCS setting... whichever it is. Delete the blank lines at the end or add a space and remove it or anything. When done, run_combat will act normally again. But not a problem with bumcheekascend, except in that it's doing visit_url/run_combat, which is what causes the problem.
 

Xenthes

Member
I got a loop today in guano junction.

Code:
Level 4 Starting
BCC: We     have not completed the stage [bats1].
BCC:     We've already got Clovers Today
BCC: We're     going to end up with one and exactly one ten leaf clover
Using 1     disassembled clover...
You acquire an item: ten-leaf clover
Finished     using 1 disassembled clover.

[132] Guano Junction
Encounter:
BCC: We've     already got Clovers Today
BCC: We're going     to end up with one and exactly one ten leaf clover
Using 1     ten-leaf clover...
You acquire an item: disassembled clover
Finished     using 1 ten-leaf clover.
Using 1 disassembled clover...
You acquire     an item: ten-leaf clover
Finished using 1 disassembled clover.

[132]     Guano Junction
Encounter:
BCC: We've already     got Clovers Today
BCC: We're going to end     up with one and exactly one ten leaf clover
Using 1 ten-leaf     clover...
You acquire an item: disassembled clover
Finished using 1     ten-leaf clover.
Using 1 disassembled clover...
You acquire an item:     ten-leaf clover
Finished using 1 disassembled clover.

I stopped mafia and ran one adventure and things were fine after that.

Code:
Ascending Starting
******************
Level     1 Starting
BCC: We have completed the stage     [toot].
BCC: We have completed the stage     [knob].
BCC: We have completed the stage     [pantry].
Level 2 Starting
BCC:     We have not completed the stage [guild1].
BCC:     We have completed the stage [spookyforest].
Level     3 Starting
BCC: We have not completed the     stage [guild2].
BCC: Getting the AT Epic     Weapon
BCC: We have completed the stage     [tavern].
Level 4 Starting
BCC:     We have not completed the stage [bats1].
BCC:     We've already got Clovers Today
BCC: We're     going to end up with one and exactly one ten leaf clover
Using 1     disassembled clover...
You acquire an item: ten-leaf clover
Finished     using 1 disassembled clover.

[134] Guano Junction
Encounter: How     I Wonder What You're At
You lose 5 hit points
You acquire an item:     sonar-in-a-biscuit
You acquire an item: sonar-in-a-biscuit
Using     sonar-in-a-biscuit (1 of 2)...
Using sonar-in-a-biscuit (2 of 2)...
Finished     using 2 sonar-in-a-biscuit.
 

bumcheekcity

Active member
Not really sure what happened there, looking back through the code. Once you stopped and restarted it, were there any further problems? Might chalk this one up to glitch/lag.
 

alfagetti

New member
I love this script, but I'm having a hard time managing my semi-rares at the same time. I've screwed them up 2 times this run.

I appreciate BCC doesn't want to add a fortune cookie counter right now, but does anyone have any suggestions on how they manage them in-run while using this script, or do you just ignore them?

Thanks for the advice!
 
The issue with setting SRinHC to true is that the script will get the highest mall_price item, instead of the things that you need for an ascension (KGE, inhaler, massage oil, pet snacks, etc). Set to false, in the past, the script has always forced mafia to stop automation when it reached the counter. Not sure why it's not doing that now.
 

Xenthes

Member
Not really sure what happened there, looking back through the code. Once you stopped and restarted it, were there any further problems? Might chalk this one up to glitch/lag.

It was just fine after that. I'll go with the glitch theory. Lag on my end wasn't bad at all at the time.
 

Theraze

Active member
Regarding semirares... Change it from return false to abort... or throw an abort line above the return, either way.

Or... y'know... just remove the items you'd like it to avoid, and it'll only pull from whatever list you give it. -_-
 

Winterbay

Active member
Had an issue yesterday where it got stuck in an endless loop trying to go through the daily dungeon. It got stuck on the second to last test (which was the hot plate) and didn't continue until I had manually gone through the rest of the dungeon. Not sure why.

Also: Bales semirare script sometimes aborts BCCascend and sometimes not. It is rather annoying :)
 

bumcheekcity

Active member
Ask Bale about it then, though I have to say, I've split mine to alternate between pies and lunchboxes in HC and it's working perfectly.

And is there CLI output for the DD? Could it have been lag or do you beleive it to be a login issue? The thing with the DD is that it's pretty much just "cli_execute("a * daily dungeon");" so there's not a lot to go too wrong.
 

alfagetti

New member
i really just need it to abort...i'm happy to grab the semi-rare myself.

I'll check out Bale's script, thanks for the tip.
 
Today something happened at the junkyard, in version 0.14 on kolmafia r8934 (the lastest).

You don't have enough null.
You're on your own, partner.
You don't have enough null.
You're on your own, partner.
You don't have enough null.
You're on your own, partner.
[...]

This rapidly filled up the entire screen, and I wasn't able to abort via the usual means (typing "abort", hitting escape or clicking Stop) so I had to close mafia. The session logs didn't have the error messages, and I wasn't able to see what had caused it.

The last thing that the session log says is:
> BCC: We're adventuring in the Junkyard. Let's turn the MCD down...
mcd 0

main.php?whichattack=0

[1085] Over Where the Old Tires Are
Encounter: spider gremlin
Round 0: man mobile loses initiative!
> BCC: Right location.
> BCC: This is the wrong monster.
Round 1: man mobile attacks!
Round 2: spider gremlin takes 13 damage.
Round 2: Nice rack does a rousing rendition of "La Cucaracha" for it, then won't let it attack until its tip for the song.
> BCC: Right location.
> BCC: This is the wrong monster.
Round 2: man mobile attacks!
Round 3: spider gremlin takes 11 damage.

There was also a debug log, if you want me to post that I can.

EDIT: Can't reproduce. =/
 
Last edited:

Winterbay

Active member
And is there CLI output for the DD? Could it have been lag or do you beleive it to be a login issue? The thing with the DD is that it's pretty much just "cli_execute("a * daily dungeon");" so there's not a lot to go too wrong.

There was CLI output. Unfortunately I set the script off again and went to bed and posted it after rollover this morning when I had already restarted Mafia. The session log has nothing in it, not even "visiting the daily dungeon" in any way. The only thing in there is a repeating of
Code:
 > You don't have any spooky putty monsters.
 > You don't have any spooky putty monsters.
 > You don't have any spooky putty monsters.
 > You don't have any spooky putty monsters.
 > You don't have any spooky putty monsters.
 > You don't have any spooky putty monsters.

Which is what SS outputs. The part where I did the last two bits manually is listed as
Code:
You lose 41 hit points

cast 1 Moxie of the Mariachi
You acquire an effect: Mariachi Mood (duration: 5 Adventures)
 > Restoring HP! Currently at 25 of 83 HP, 58 of 100 MP, current meat: 13563 ... Target HP = 83.

use 1 scroll of drastic healing
You acquire an item: Jarlsberg's key

Which is also rather uninformative. I am going to guess on lag/bad connection due to too many torrents in the background or something unless it comes back.
 
Top