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

Ferdawoon

Member
Hmm, now this happened again.
Winterbay say that he fixed it and cant replicate it on his end anymore.
I have updated from the Sourceforge and I have updated from the SVN-folder just now, I cleared the combat manually between each test, and I got the same issue with either version.

Code:
BCC: We have not completed the stage [Sonar].
BCC: Maximizing ''
Maximizing...
180 combinations checked, best score 1,319.25
Putting on filthy corduroys...
Equipment changed.
Putting on Lockenstock™ sandals...
Equipment changed.
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 Butt-Rock Hair, use 5 hair spray
Set mood trigger: When I run low on Mariachi Mood, cast 1 Moxie of the Mariachi
Set mood trigger: When I run low on Disco State of Mind, cast 1 Disco Aerobics
Set mood trigger: When I run low on Jabañero Saucesphere, cast 1 Jabañero Saucesphere
Set mood trigger: When I run low on Jalapeño Saucesphere, cast 1 Jalapeño Saucesphere
Set mood trigger: When I run low on Spirit of Peppermint, cast 1 Spirit of Peppermint
BCC: Need less combat, brave Sir Robin!
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

[1088] Sonar
Encounter: So Close and Yet So Nar
Casting Smooth Movement 1 times...
You acquire an effect: Smooth Movements (duration: 10 Adventures)
Smooth Movement was successfully cast.
Casting The Sonata of Sneakiness 1 times...
You acquire an effect: The Sonata of Sneakiness (duration: 10 Adventures)
The Sonata of Sneakiness was successfully cast.
Mood swing complete.

[1089] Sonar
Encounter: batbugbear
Round 0: ferdawoon wins initiative!
The string "g" is not an integer; returning 0 (bumcheekascend.ash, line 3444)
The string "e" is not an integer; returning 0 (bumcheekascend.ash, line 3446)
The string "v" is not an integer; returning 0 (bumcheekascend.ash, line 3448)
KoLmafia thinks it is round 2 but KoL thinks it is round 1
Mood swing complete.

[1089] Sonar
KoLmafia thinks it is round 3 but KoL thinks it is round 1
The string "g" is not an integer; returning 0 (bumcheekascend.ash, line 3444)
The string "e" is not an integer; returning 0 (bumcheekascend.ash, line 3446)
The string "v" is not an integer; returning 0 (bumcheekascend.ash, line 3448)
KoLmafia thinks it is round 4 but KoL thinks it is round 1
Mood swing complete.

[1089] Sonar
KoLmafia thinks it is round 5 but KoL thinks it is round 1
The string "g" is not an integer; returning 0 (bumcheekascend.ash, line 3444)
The string "e" is not an integer; returning 0 (bumcheekascend.ash, line 3446)
The string "v" is not an integer; returning 0 (bumcheekascend.ash, line 3448)
KoLmafia thinks it is round 6 but KoL thinks it is round 1
Mood swing complete.

The Machines non-combat worked fine it seems so there is something with the batbugbears that mess things up. Maybe that it cant sense if it is the non-combat or a combat or something? =S

Code:
BCC: We have not completed the stage [Sonar].
BCC: Maximizing ''
Maximizing...
48 combinations checked, best score 1,319.25
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 Butt-Rock Hair, use 5 hair spray
Set mood trigger: When I run low on Mariachi Mood, cast 1 Moxie of the Mariachi
Set mood trigger: When I run low on Disco State of Mind, cast 1 Disco Aerobics
Set mood trigger: When I run low on Jabañero Saucesphere, cast 1 Jabañero Saucesphere
Set mood trigger: When I run low on Jalapeño Saucesphere, cast 1 Jalapeño Saucesphere
Set mood trigger: When I run low on Spirit of Peppermint, cast 1 Spirit of Peppermint
BCC: Need less combat, brave Sir Robin!
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

[1090] Sonar
Encounter: Machines!
Mood swing complete.

[1091] Sonar
Encounter: batbugbear
Round 0: ferdawoon wins initiative!
The string "g" is not an integer; returning 0 (bumcheekascend.ash, line 3440)
The string "e" is not an integer; returning 0 (bumcheekascend.ash, line 3442)
The string "v" is not an integer; returning 0 (bumcheekascend.ash, line 3444)
KoLmafia thinks it is round 2 but KoL thinks it is round 1
Mood swing complete.
 

Theraze

Active member
Nope... that means that your Sonar room is different from Winterbay or whoever added the Sonar room. Possibly because you're using a different browser, but... the characters to move from variable name to value are currently hardcoded. In your case, it's not the same...

Problematic code:
Code:
					index = index_of(sonar_room, "name=pingvalue") + 28;
					value1 = to_int(char_at(sonar_room, index));
					index = index_of(sonar_room, "name=whurmvalue") + 29;
					value2 = to_int(char_at(sonar_room, index));
					index = index_of(sonar_room, "name=boomchuckvalue") + 33;
					value3 = to_int(char_at(sonar_room, index));
 

Ferdawoon

Member
Is that code not about the numbers to be put into the pinging non-combat?
Because that part seem to work just fine. It's the bugbear combats that end up causing it somehow.
 

Theraze

Active member
Well, here's the whole adventure-bit code that's leading into that:
Code:
				if(contains_text(sonar_room, "combat"))
					run_combat();
				else if (!contains_text(sonar_room, "So Close and Yet So Nar")) {
					index = index_of(sonar_room, "name=pingvalue") + 28;
					value1 = to_int(char_at(sonar_room, index));
					index = index_of(sonar_room, "name=whurmvalue") + 29;
					value2 = to_int(char_at(sonar_room, index));
					index = index_of(sonar_room, "name=boomchuckvalue") + 33;
					value3 = to_int(char_at(sonar_room, index));
					if (value1 != 2)
						sonar_room = visit_url("choice.php?whichchoice=588&pwd&option=1&pingvalue=2&butt1=Set+Pinging+Machine");
					else if (value2 != 4)
						sonar_room = visit_url("choice.php?whichchoice=588&pwd&option=2&whurmvalue=4&butt2=Set+Whurming+Machine");
					else if (value3 != 8)
						sonar_room = visit_url("choice.php?whichchoice=588&pwd&option=3&boomchuckvalue=8&butt3=Set+Boomchucking+Machine");
					else
						checkStage("Sonar", true);
				}
So that should only happen if you are NOT in combat and don't have the "so close" initial adventure...
 

Theraze

Active member
Any chance that your CAB settings or something similar are stripping out the "combat" word that BCA is looking for? That's about the only good reason I can think of for trying to do choiceadv handling instead of fighting...
 

mrzarch

New member
I'm having a problem with a level 8 Seal Clubber -- the script wants to level me up (good) but it wants to do so by adventuring in places where I get hit routinely and then spending lots of Meat on restoratives (bad). I have the option to ignore safe Moxie set to false -- is there somewhere else I should look to force the script to adventure in safe places?
 

Valliant

Member
I'm having a problem that I think is BCC, but I can't tell for sure. I start it up and it works normally until combat starts, and then I get:

Code:
BCC: These are the figures for Salsaball: Bonus: 31.0 and 1.2%//0.0/0.0/5.0/0.0/0.0/El: 5.0/Myst: 82.0
BCC: I expect 8 damage from Salsaball
BCC: These are the figures for Saucestorm: Bonus: 31.0 and 1.2%//0.0/0.0/5.0/0.0/0.0/El: 5.0/Myst: 82.0
BCC: I expect 58 damage from Saucestorm
BCC: We are going to two-shot with Saucestorm
BCC: Monster HP is 80

(this section repeats as far back as the Graphical CLI will scroll in Mafia)
and then

Code:
Stack overflow during ASH script: (bumcheekascend v0.50.ash, line 1269)
Macro override "consultMyst" returned void.
You're on your own, partner.

I'm using WHAM.ash as my ccs, but the fact that each line had BCC at the beginning of it made me guess it was the ascension script rather than the ccs. What should I do?
 

Theraze

Active member
Question mrzarch... do you have Hero permed yet or not? Believe that may be one of the requirements for overly successful muscle runs...

Valliant... that line is the one in wtfpwnageExpected that shows your various stats. See if this also causes a stack overflow:
ash import <bumcheekascend v0.50.ash> wtfpwnageExpected($skill[saucestorm])
 
Last edited:

Winterbay

Active member
I'm having a problem with a level 8 Seal Clubber -- the script wants to level me up (good) but it wants to do so by adventuring in places where I get hit routinely and then spending lots of Meat on restoratives (bad). I have the option to ignore safe Moxie set to false -- is there somewhere else I should look to force the script to adventure in safe places?

Do you have hero and a shield? Also, could you post some CLI-output around where it decides to go level in a dangerous place?

I'm having a problem that I think is BCC, but I can't tell for sure. I start it up and it works normally until combat starts, and then I get:

Code:
BCC: These are the figures for Salsaball: Bonus: 31.0 and 1.2%//0.0/0.0/5.0/0.0/0.0/El: 5.0/Myst: 82.0
BCC: I expect 8 damage from Salsaball
BCC: These are the figures for Saucestorm: Bonus: 31.0 and 1.2%//0.0/0.0/5.0/0.0/0.0/El: 5.0/Myst: 82.0
BCC: I expect 58 damage from Saucestorm
BCC: We are going to two-shot with Saucestorm
BCC: Monster HP is 80

(this section repeats as far back as the Graphical CLI will scroll in Mafia)
and then

Code:
Stack overflow during ASH script: (bumcheekascend v0.50.ash, line 1269)
Macro override "consultMyst" returned void.
You're on your own, partner.

I'm using WHAM.ash as my ccs, but the fact that each line had BCC at the beginning of it made me guess it was the ascension script rather than the ccs. What should I do?

You appear to be in a myst run. In order to get WHAM to work under a Myst-run you need to set the appropriate option in the relay-script (bcasc_doMystAsCCS) to true otherwise the script will use its builtin myst-consult function which hasn't been updated in a long while and may end up with problems...
 

slyz

Developer
I have the option to ignore safe Moxie set to false -- is there somewhere else I should look to force the script to adventure in safe places?
Set ignore safe Moxie set to true.

EDIT: oh wait... IGNORE safe moxie, not the contrary.
Forget me, I haven't had coffee.
 

mrzarch

New member
Do you have hero and a shield? Also, could you post some CLI-output around where it decides to go level in a dangerous place?

Hmm, the maximize function is equipping me with the magic 4-ball rather than a shield. Maybe should set that manually. Also, today it decided to go after the steel spleen rather than into the Greater-than sign. I do not have hero permed, so if that's a requirement I'll have to finish this run out manually. Still, I'd think the script would at least not go adventuring with the MCD set to 11, basically guaranteeing that I get hit each round. Maybe the best thing to do would be to dig into the source and see where it's making these decisions.

Here's some relevant CLI output:

Code:
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 items!
Mood swing complete.
Mood swing complete.
Conditions list cleared.
BCC: Setting goals of '1 observational glasses'...
Condition added: observational glasses
BCC: We should set the MCD if we can.
BCC: We CAN set the MCD.
Resetting mind control device...
Mind control device reset.

_meatpermp => 8.0
_meatperhp => 6.666666666666667
Checking for updates (running Universal Recovery ver. 3.9.6)...
_version_BalesUniversalRecovery => 3.9.6
You have a current version of Universal Recovery.

Request 1 of 44 (Pandamonium: Belilafs Comedy Club) in progress...

[1241] Belilafs Comedy Club
Encounter: Victor the Insult Comic Hellhound
Strategy: /Users/zkkeane/Library/Application Support/KoLmafia/ccs/default.ccs [default]
Round 0: zarch loses initiative!
You lose 29 hit points
Round 1: zarch attacks!
Round 2: victor the insult comic hellhound takes 42 damage.
You lose 30 hit points
Round 2: zarch attacks!
Round 3: victor the insult comic hellhound takes 43 damage.
Round 3: zarch wins the fight!
After Battle: Bardeen does a little fairy dance.
You acquire an item: Victor, the Insult Comic Hellhound Puppet
You gain 6 Fortitude
You gain 9 Mysteriousness
You gain 6 Smarm
Holding Victor, the Insult Comic Hellhound Puppet...
Equipment changed.
Trying to insult Mourn
You acquire meat stack (3)
Holding 4-ball...
Equipment changed.

Do you need more info than that?
 

mrzarch

New member
Here's some more log from when it was trying to level directly...

Code:
> Level 6 Starting
 > BCC: We have completed the stage [friars].
 > BCC: We have completed the stage [knobking].
 > BCC: We have not completed the stage [friarssteel].
 > BCC: We have not completed the stage [friarssteel].
 > BCC: levelMe(90, false) called.

cast 1 Patience of the Tortoise
You acquire an effect: Patience of the Tortoise (duration: 5 Adventures)
 > Need to Level up a bit to get at least 90 buffed Primestat. This means getting 1 Primestat.
 > I need 55 base muscle (going levelling)
 > BCC: Switching Familiar for General Use
 > BCC: Using a default stat familiar.

familiar Blood-Faced Volleyball (33 lbs)
> Checking for updates (running Universal Recovery ver. 3.9.6)...
> You have a current version of Universal Recovery.

[1109] Greater-Than Sign
Encounter: swarm of lowercase As
Round 0: zarch loses initiative!
You lose 28 hit points
Round 1: zarch executes a macro!
Round 1: zarch attacks!
Round 2: swarm of lowercase as takes 49 damage.
You lose 26 hit points
Round 2: zarch attacks!
Round 3: swarm of lowercase as takes 44 damage.
Round 3: zarch wins the fight!
You acquire an item: percent sign
After Battle: Aharonov smiles approvingly.
You gain 14 Fortitude
You gain 4 Wizardliness
You gain 6 Chutzpah

[1110] Greater-Than Sign
Encounter: swarm of lowercase As
Round 0: zarch loses initiative!
You lose 26 hit points
Round 1: zarch executes a macro!
Round 1: zarch attacks!
Round 2: swarm of lowercase as takes 49 damage.
You lose 25 hit points
 > You've had the crap beaten out of you... attempting to find some more crap.
 > Unable to cure beaten up! Go adventure someplace wussier.
 > Restoring HP! Currently at 0 of 101 HP, 41 of 50 MP, current meat: 532 ... Target HP = 101.
 > Recovery target reduced to healing trigger (20)to conserve meat.

buy 2 Doc Galaktik's Ailment Ointment for 60 each from an NPC Store
You acquire Doc Galaktik's Ailment Ointment (2)
You spent 120 Meat

use 2 Doc Galaktik's Ailment Ointment
You gain 16 hit points

buy 1 Doc Galaktik's Ailment Ointment for 60 each from an NPC Store
You acquire an item: Doc Galaktik's Ailment Ointment
You spent 60 Meat

use 1 Doc Galaktik's Ailment Ointment
You gain 8 hit points
 

Winterbay

Active member
Hero is definitely recommended for doing muscle runs since it makes things much much easier for the script (it only needs to take into account muscle when trying to find a safe spot). The script is currently set up to check against your main stat for levelling purposes and for safety purposes, so as a muscle class it will check for muscle, while the stat that keeps you safe (without hero) is moxie.

The safeMox-function returns the lowest moxie you need to not get hit (too much) which the script then interprets as what mainstat you need to be safe. This will obviously break down if you have mainstat muscle and safestat moxie (it's the same thing for myst, but for some reason it seems to work better there).

I would thus suggest that you either handle levelling yourself (set bcasc_dontLevelInTemple to true) or turn off the stay-safe option (but if you don't have a good way of killing monsters that are a bit over your level this may be just as bad as the current state. Or that you get hero and do runs manually until then.

What skills do you have on this character? Would you be able to survive the monsters with a better CCS? (I will egoistically recommend WHAM, but that won't help unless you have some skills to help you out)
 

mrzarch

New member
What skills do you have on this character? Would you be able to survive the monsters with a better CCS? (I will egoistically recommend WHAM, but that won't help unless you have some skills to help you out)


Not many. I took a 4-year hiatus from KoL, and just wanted a quick way to finish this ascension so I could get started again. HCO, of course...

Already have WHAM (and love it!), the problem is not surviving the monsters so much as that it's a massive meat suck to keep healing all the time, to the point that I can't afford to buy skills. I left the script unattended after it ran me through the level 5 quest, and it chewed through about 10,000 meat in 50 adventures before halting. Looks like I need to do this manually or just give up and start anew.
 

Theraze

Active member
Could try using the Rinn scripts to manually do quests between power levelling. Though that's harder to do now that the temple isn't a safe levelling zone... could always try to run it as a moxie plinker.
 

Winterbay

Active member
Well, if you do the levelling yourself you can call the bca-aliases that gets created when you run it the first time to do specific parts as well.
 
I reset my ascension and started a HC OXY run. Well when it runs it still thinks I am in an Avatar of Boris run and tries to cast Song of Accompaninet. How do I reset the script so it thinks I am in a HC OXY run?
 
Top