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

Hello there. I'm having the same "no weapon" problem that was reported a little while ago.

In particular, my character (lvl 11 accordion thief) is equipping a furry halo (with a "default stat familiar") and unequipping my ranged weapon (squeezebox of the ages).

The maximizer expression is: "0 beeosity, 0.5 mp regen max, mainstat 179 max, -melee -10 ml +moxie experience +5 mp regen min +5 mp regen max"
 
I ran into a new problem...maybe the script thinks I can buy black cherry soda because I have the blackbird? I made sure I didn't have black cherry soda picked in my MP restores and fired up the script and it failed again. I was level 8 at the time, so no where near getting black cherry soda opened up...



Code:
Restoring MP! Currently at 88 of 108 HP, 4 of 174 MP, current meat: 10137 ... Target MP = 10.
Purchasing black cherry soda (1 @ 80)...
Desired purchase quantity not reached (wanted 1, got 0)
Cannot spend meat to fully restore MP! Failed to use black cherry soda for some reason.
Did not fully restore MP for some reason.
KoLmafia declares world peace.
Mood swing complete.
 
I ran into a new problem...maybe the script thinks I can buy black cherry soda because I have the blackbird?...

Type this in the gCLI:
Code:
[COLOR=#333333]set questL11MacGuffin=unstarted

(Temporary wonkiness introduced by ascending while quest tracking was getting a mafia revamp.)[/COLOR]
 
Hello there. Another thing to report:
When the script needs to use a yellow-ray equivalent item (such as the unbearable light), it will actually use two at once if you have the Ambidextrous Funkslinging.
Cheers!
 
I ran into a new problem...maybe the script thinks I can buy black cherry soda because I have the blackbird? I made sure I didn't have black cherry soda picked in my MP restores and fired up the script and it failed again. I was level 8 at the time, so no where near getting black cherry soda opened up...

Code:
Restoring MP! Currently at 88 of 108 HP, 4 of 174 MP, current meat: 10137 ... Target MP = 10.
Purchasing black cherry soda (1 @ 80)...
Desired purchase quantity not reached (wanted 1, got 0)
Cannot spend meat to fully restore MP! Failed to use black cherry soda for some reason.
Did not fully restore MP for some reason.
KoLmafia declares world peace.
Mood swing complete.

Not a BCCAscend error, that is the work of your recovery script. This script won't use anything to restore, it just calls for restoration at times.
 
I decided to give this script a try on a multi that was just killing time in aftercore. Near the beginning of execution there is some code beyond my ken which creates a list of aliases. What are these for and how are they used? Are they used within the script itself? Or are they there as an interface aid to allow users to pick and choose which bits of the script to execute from the CLI? Color me perplexed.

The first day went reasonably well. Being a nevous nellie, I probably interferred too much, but I made level 6, which is about normal for me. Do I have to make and consume all my food, drink, and spleen items? Or will the script handle any of these? I did them all manually the first day. I haven't installed and run the relay script yet. Maybe that will make some of it clearer. Anyhow, thanks for the script. Looks like it will be pretty slick when I gain some more experience with it and become more comfortable.
 
The script will not eat and/or drink, the aliases are there if you want to have the script do one bit at a time, but they're a primarily undocumented feature. I don't know if people use thejm lots. I should expand on what they do.
 
I ascended into a Boris-run today and have made some changes locally to make the script run. Got to level 5, but the lack of +item is going to slow me down considerably I feel.
 
Hello there. I'm having the same "no weapon" problem that was reported a little while ago.

In particular, my character (lvl 11 accordion thief) is equipping a furry halo (with a "default stat familiar") and unequipping my ranged weapon (squeezebox of the ages).

The maximizer expression is: "0 beeosity, 0.5 mp regen max, mainstat 179 max, -melee -10 ml +moxie experience +5 mp regen min +5 mp regen max"

The "no weapon" thing is because of the built in modifier maximizer. "-melee" means "eliminate melee weapons from consideration" but it does not mean "equip a ranged weapon." I have been having problems with this even in my own runs (I use the maximizer a lot). I don't know of any way to force a ranged weapon, other than to put in an "equip shagadelic". But even then, if it's maximizing for an outfit, it may ignore the banjo.
 
Does that actually USE two of them?
I think this is more of a mafia bug (IMHO). I did some casual runs recently and when my CCS said "item padl" mafia went and funkslinged two of them and so I lost the second every time. There might be a syntax to avoid this, but I didn't care enough to track it down.
 
A bug somewhere when leveling up to lvl12.

Code:
BCC: levelMe(125, true) called.
Need to Level up a bit to get at least 125 base Primestat
BCC: Maximizing ''
Maximizing...
48 combinations checked, best score 1183.732
Stealing ant pitchfork from Emilio the Tickle-Me Emilio...
Putting on ant pitchfork...
Equipment changed.
Conditions list cleared.
Condition added: Substats: 0 / 345 / 0
Substats: 0 / 345 / 0
Cleared mood.

When stopping manually (to reset Verbosity to normal value after doing some datagathering for Winterbay) I realize that my base myst is 129 and the script had made no attempt to stop leveling in the Bathroom.
If it is trying to open up GmoB for Arena sidequest, then it fail to see that I already have 4 calls done from when leveling to the next level earlier in the run.

Here is the complete gCLI from it starting to level to when I stop. Again, pardon the high Verbosity, was helping Winterbay debug his WHAM-script =P

Code:
> call scripts\bumcheekascend.ash

******************************************************************************************
******************************************************************************************
******************************************************************************************
Thankyou for using bumcheekcity's ascension script. Please report all bugs on the sourceforge page available in my profile with a copy+paste from the CLI of the problematic points, and your username. 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. 
******************************************************************************************
******************************************************************************************
******************************************************************************************

******************
Ascending Starting
******************
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 NG for telescope part 4 from 'Orc Chasm' yourself
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 not completed the stage [wand].
BCC: We have completed the stage [piratefledges].
BCC: levelMe(68, true) called.
Level 9 Starting
BCC: You don't have a wand, or it's not safe to use one. No Zapping for you.
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 completed the stage [macguffinhiddencity].
BCC: We have not completed the stage [macguffinfinal].
BCC: We have completed the stage [macguffinfinal] and need to set it as so.
bcasc_stage_macguffinfinal => 126
BCC: We have completed the stage [macguffinfinal].
BCC: levelMe(125, true) called.
Need to Level up a bit to get at least 125 base Primestat
BCC: Maximizing ''
Maximizing...
48 combinations checked, best score 1183.732
Stealing ant pitchfork from Emilio the Tickle-Me Emilio...
Putting on ant pitchfork...
Equipment changed.
Conditions list cleared.
Condition added: Substats: 0 / 345 / 0
Substats: 0 / 345 / 0
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 Spirit of Peppermint, cast 1 Spirit of Peppermint
Set mood trigger: When I run low on Springy Fusilli, cast 1 Springy Fusilli
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
BCC: Switching Familiar for General Use
BCC: Setting the default familiar to your choice of 'Tickle-Me Emilio'.
Putting Ton the Bloovian Groose back into terrarium...
Taking Emilio the Tickle-Me Emilio out of terrarium...
I need 125 base Mysticality (going to Bathroom)
BCC: Attempting to get clovers to level with. (Don't worry - if don't want to use them to level, we won't).
BCC: Getting Clovers
Visiting the Hermit...
The hermit kept his stuff.
bcasc_lastHermitCloverGet => 20120217
BCC: We've already got Clovers Today
BCC: Going to use clovers to level.
BCC: We have 3 clovers and are using one to level.
Using 1 disassembled clover...
You acquire an item: ten-leaf clover
Finished using 1 disassembled clover.

[1007] Haunted Bathroom
Encounter: That's a Tidy Bowl, Man!
You gain 288 Wizardliness
You gain a Mysticality point!
BCC: We have 2 clovers and are using one to level.
Using 1 disassembled clover...
You acquire an item: ten-leaf clover
Finished using 1 disassembled clover.

[1008] Haunted Bathroom
Encounter: That's a Tidy Bowl, Man!
You gain 353 Magicalness
You can now equip a Staff of the Grand Flambé (and possibly other things).
You gain some Mysticality points!
You gain a Level!
Casting Smooth Movement 1 times...
You acquire an effect: Smooth Movements (duration: 10 Adventures)
Smooth Movement was successfully cast.
Casting Spirit of Peppermint 1 times...
You acquire an effect: Spirit of Peppermint (duration: 40 Adventures)
Spirit of Peppermint was successfully cast.
Casting Springy Fusilli 1 times...
You acquire an effect: Springy Fusilli (duration: 10 Adventures)
Springy Fusilli was successfully cast.
Calling Universal Recovery for type=MP, amount=20
Restoring MP! Currently at 84 of 138 HP, 0 of 381 MP, current meat: 8664 ... Target MP = 153.
Try to heal MP from inventory.
Using 1 ancient Magi-Wipes...
You gain 53 hit points
You gain 60 Mana Points
Finished using 1 ancient Magi-Wipes.
Last attempt to purchase MP with meat.
Purchasing magical mystery juice (5 @ 100)...
You acquire magical mystery juice (5)
You spent 500 Meat
Purchases complete.
Using 5 magical mystery juice...
You gain 117 Mana Points
Finished using 5 magical mystery juice.
_meatpermp => 4.347826
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.
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.

Calling Universal Recovery for type=HP, amount=0
Calling Universal Recovery for type=MP, amount=0

Request 1 of 90 (Manor2: Haunted Bathroom) in progress...

[1009] Haunted Bathroom
Encounter: claw-foot bathtub
Strategy: D:\Bengt\ccs\Sauceror.ccs [default]
Round 0: ferdawoon wins initiative!
Running ZLib version: r34 (current)
1 HP costs 1.329μ. ( 137 / 138 )
1 MP costs 4.348μ. ( 157 / 381 )
Running BatBrain version: 1.16 (current)
Running SmartStasis version: 3.11 (current)
Running WHAM version: 1.4 (current)
We currently think that the round number is: 0
bottle of Monsieur Bubble (25.0 @ +35.0): 375μ * 33.75% = 126.5625
fancy bath salts (35.0 @ +35.0): 300μ * 47.25% = 141.75
Value of stat gain: 237.92μ
bottle of Monsieur Bubble (25.0 @ +35.0): 375μ * 33.75% = 126.5625
fancy bath salts (35.0 @ +35.0): 300μ * 47.25% = 141.75
Value of stat gain: 237.92μ
ATT: 90 (6% × 7.24, death in 316)
DEF: 90 (65.39% × 23.26, win in 54)
HP: 100, Value: 506.23 μ
Parsed round number: 1
Building options...
Options built! (52 actions)
We currently think that the round number is: 1
WHAM: You are fighting a Claw-foot Bathtub. Mafia considers that this monster has an attack of 90 or 90 when given a monster name.
WHAM: Mafia further considers that this monster has a defense value of 90 or 90 when given a monster name.
WHAM: Mafia further further considers that this monster has a HP value of 100 or 100 when given a monster name.
WHAM: Your current ML-adjustment is: 0.
WHAM: Setting up variables via BatBrain
WHAM: Monster HP is 100.0.
WHAM: Running SmartStasis
SmartStasis starting.
Profit per round: ActionProfitDamageOtherbase; Tickle-Me Emilio (4.95μ)17.76μ1.98 (-2.5 μ/dmg)Att: -0.63 (-0.0 DPR) Def: -0.63 HP: 2.64 MP: 2.64
Building custom actions...
Custom actions built! (0 actions)
Stasis action chosen: skill 4014
bottle of Monsieur Bubble (25.0 @ +35.0): 375μ * 33.75% = 126.5625
fancy bath salts (35.0 @ +35.0): 300μ * 47.25% = 141.75
Value of stat gain: 237.92μ
Attack action chosen: skill 3003
This monster is not your huckleberry.
Stasis loop complete.
This monster is not your huckleberry.
SmartStasis complete.
WHAM: Running SmartStasis took 3.68 seconds.
We currently think that the round number is: 1
WHAM: Starting evaluation and performing of attack
We currently think that the round number is: 1
WHAM: You will kill the monster in 7 rounds with your basic attack.
WHAM: The monster will take more than 30 rounds to kill you.
rounds_to_kill: 7, round_limit: 2, maxround: 30, die_rounds(): 3160, hitchance("attack"): 0.6538843
WHAM: Evaluating the attack but not performing it took 0.904 seconds.
WHAM: These are the numbers of the kill counts.
Oneshot: 10, Twoshot: 103, Threeshot: 22, Fourshot: 8, Fiveshot: 11
WHAM: The data suggests that we five-shot the monster.
We can't Saucesplash, just so you know.
true, false, false, true, true
WHAM: Enqueueing Stream of Sauce.
if haseffect 297; abort "You have acquired temporary amnesia, aborting"; endif; if pastround 49; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; 
Queued: skill 4003
Building options...
Options built! (52 actions)
WHAM: Successfully enqueued Stream of Sauce.
We can't Saucesplash, just so you know.
true, false, false, true, true
WHAM: Enqueueing Spaghetti Spear.
if haseffect 297; abort "You have acquired temporary amnesia, aborting"; endif; if pastround 49; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; 
Queued: skill 3020
Building options...
Options built! (52 actions)
WHAM: Successfully enqueued Spaghetti Spear.
We can't Saucesplash, just so you know.
true, false, false, true, true
WHAM: Enqueueing Spaghetti Spear.
if haseffect 297; abort "You have acquired temporary amnesia, aborting"; endif; if pastround 49; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; 
Queued: skill 3020
Building options...
Options built! (52 actions)
WHAM: Successfully enqueued Spaghetti Spear.
We can't Saucesplash, just so you know.
true, false, false, true, true
WHAM: Enqueueing Spaghetti Spear.
if haseffect 297; abort "You have acquired temporary amnesia, aborting"; endif; if pastround 49; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; 
Queued: skill 3020
Building options...
Options built! (52 actions)
WHAM: Successfully enqueued Spaghetti Spear.
We can't Saucesplash, just so you know.
true, false, false, true, true
WHAM: Enqueueing Spaghetti Spear.
if haseffect 297; abort "You have acquired temporary amnesia, aborting"; endif; if pastround 49; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; 
Queued: skill 3020
Building options...
Options built! (52 actions)
WHAM: Successfully enqueued Spaghetti Spear.
WHAM: We are going to 5-shot with Stream of Sauce, Spaghetti Spear, Spaghetti Spear, Spaghetti Spear and Spaghetti Spear.
Executing macro: scrollwhendone; sub batround; if haseffect 8 || haseffect 264 || haseffect 282 || haseffect 283 || haseffect 284; abort "BatBrain abort: poisoned"; endif; endsub; if haseffect 297; abort "You have acquired temporary amnesia, aborting"; endif; if pastround 49; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; ; skill 4003; call batround; if hpbelow 9; abort "BatBrain abort: Danger, Will Robinson"; endif; if haseffect 297; abort "You have acquired temporary amnesia, aborting"; endif; if pastround 49; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; ; skill 3020; call batround; if hpbelow 9; abort "BatBrain abort: Danger, Will Robinson"; endif; if haseffect 297; abort "You have acquired temporary amnesia, aborting"; endif; if pastround 49; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; ; skill 3020; call batround; if hpbelow 9; abort "BatBrain abort: Danger, Will Robinson"; endif; if haseffect 297; abort "You have acquired temporary amnesia, aborting"; endif; if pastround 49; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; ; skill 3020; call batround; if hpbelow 8; abort "BatBrain abort: Danger, Will Robinson"; endif; if haseffect 297; abort "You have acquired temporary amnesia, aborting"; endif; if pastround 49; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; ; skill 3020; call batround; if hpbelow 8; abort "BatBrain abort: Danger, Will Robinson"; endif; 
Round 1: ferdawoon executes a macro!
Round 1: ferdawoon casts STREAM OF SAUCE!
Round 2: claw-foot bathtub takes 40 damage.
You lose 12 hit points
Round 2: ferdawoon casts SPAGHETTI SPEAR!
Round 3: claw-foot bathtub takes 12 damage.
Round 3: Emilio tapes your opponent's buns together. It looks like he feels bad about it afterwards, but still, dang, what a jerk!
Round 3: claw-foot bathtub drops 9 attack power.
Round 3: claw-foot bathtub drops 9 defense.
Round 3: ferdawoon casts SPAGHETTI SPEAR!
Round 4: claw-foot bathtub takes 14 damage.
Round 4: Emilio says "Hey, I found this 60 Meat on the ground here. And I figure since I found it, that-"You point your huge spoon at him."-that I'd give it to you." He grins sheepishly and hands over the Meat.
You gain 60 Meat.
Round 4: ferdawoon casts SPAGHETTI SPEAR!
Round 5: claw-foot bathtub takes 12 damage.
Round 5: ferdawoon casts SPAGHETTI SPEAR!
Round 6: claw-foot bathtub takes 19 damage.
Happened: skill 4003
Happened: skill 3020
Happened: skill 3020
Happened: skill 3020
Happened: skill 3020
Parsed round number: 6
Building options...
Options built! (52 actions)
WHAM: Evaluating the attack and performing it took 16.354 seconds.
WHAM: Current monster HP is calculated to 3.0
We currently think that the round number is: 6
We currently think that the round number is: 6
WHAM: Starting evaluation and performing of attack
We currently think that the round number is: 6
WHAM: You will kill the monster in 2 rounds with your basic attack.
WHAM: The monster will take more than 30 rounds to kill you.
rounds_to_kill: 2, round_limit: 2, maxround: 30, die_rounds(): 3360, hitchance("attack"): 0.97727275
WHAM: Evaluating the attack but not performing it took 0.149 seconds.
WHAM: These are the numbers of the kill counts.
Oneshot: 27, Twoshot: 87, Threeshot: 22, Fourshot: 8, Fiveshot: 11
WHAM: The data suggests that we five-shot the monster.
We can't Saucesplash, just so you know.
true, false, false, true, true
WHAM: Enqueueing Stream of Sauce.
if haseffect 297; abort "You have acquired temporary amnesia, aborting"; endif; if pastround 49; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; 
Queued: skill 4003
Building options...
Options built! (52 actions)
WHAM: Successfully enqueued Stream of Sauce.
We can't Saucesplash, just so you know.
true, false, false, true, true
WHAM: Enqueueing Spaghetti Spear.
if haseffect 297; abort "You have acquired temporary amnesia, aborting"; endif; if pastround 49; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; 
Queued: skill 3020
Building options...
Options built! (52 actions)
WHAM: Successfully enqueued Spaghetti Spear.
We can't Saucesplash, just so you know.
true, false, false, true, true
WHAM: Enqueueing Spaghetti Spear.
if haseffect 297; abort "You have acquired temporary amnesia, aborting"; endif; if pastround 49; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; 
Queued: skill 3020
Building options...
Options built! (52 actions)
WHAM: Successfully enqueued Spaghetti Spear.
We can't Saucesplash, just so you know.
true, false, false, true, true
WHAM: Enqueueing Spaghetti Spear.
if haseffect 297; abort "You have acquired temporary amnesia, aborting"; endif; if pastround 49; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; 
Queued: skill 3020
Building options...
Options built! (52 actions)
WHAM: Successfully enqueued Spaghetti Spear.
We can't Saucesplash, just so you know.
true, false, false, true, true
WHAM: Enqueueing Spaghetti Spear.
if haseffect 297; abort "You have acquired temporary amnesia, aborting"; endif; if pastround 49; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; 
Queued: skill 3020
Building options...
Options built! (52 actions)
WHAM: Successfully enqueued Spaghetti Spear.
WHAM: We are going to 5-shot with Stream of Sauce, Spaghetti Spear, Spaghetti Spear, Spaghetti Spear and Spaghetti Spear.
Executing macro: scrollwhendone; sub batround; if haseffect 8 || haseffect 264 || haseffect 282 || haseffect 283 || haseffect 284; abort "BatBrain abort: poisoned"; endif; endsub; if haseffect 297; abort "You have acquired temporary amnesia, aborting"; endif; if pastround 49; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; ; skill 4003; call batround; if hpbelow 8; abort "BatBrain abort: Danger, Will Robinson"; endif; if haseffect 297; abort "You have acquired temporary amnesia, aborting"; endif; if pastround 49; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; ; skill 3020; call batround; if hpbelow 8; abort "BatBrain abort: Danger, Will Robinson"; endif; if haseffect 297; abort "You have acquired temporary amnesia, aborting"; endif; if pastround 49; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; ; skill 3020; call batround; if hpbelow 7; abort "BatBrain abort: Danger, Will Robinson"; endif; if haseffect 297; abort "You have acquired temporary amnesia, aborting"; endif; if pastround 49; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; ; skill 3020; call batround; if hpbelow 7; abort "BatBrain abort: Danger, Will Robinson"; endif; if haseffect 297; abort "You have acquired temporary amnesia, aborting"; endif; if pastround 49; abort "Stopping fight because it has gone on for too long (set WHAM_maxround to a higher value if you think this was in error)"; endif; ; skill 3020; call batround; if hpbelow 7; abort "BatBrain abort: Danger, Will Robinson"; endif; 
Round 6: ferdawoon executes a macro!
Round 6: ferdawoon casts STREAM OF SAUCE!
Round 7: claw-foot bathtub takes 41 damage.
You lose 12 hit points
Round 7: ferdawoon wins the fight!
After Battle: You give Emilio a tickle, and he giggles for a second before suddenly grimacing and flipping you the bird.
You gain 9 Strongness
You gain 16 Mysteriousness
You gain 5 Smarm
Happened: skill 4003
Parsed round number: 0
End of combat detected!
WHAM: Evaluating the attack and performing it took 24.34 seconds.
We currently think that the round number is: 31
We currently think that the round number is: 31

Calling Universal Recovery for type=HP, amount=0
Calling Universal Recovery for type=MP, amount=0

Request 2 of 90 (Manor2: Haunted Bathroom) in progress...

[1010] Haunted Bathroom
Encounter: Don't Hold a Grudge
You gain 274 Magicalness
You gain a Mysticality point!

Calling Universal Recovery for type=HP, amount=0
Calling Universal Recovery for type=MP, amount=0

Request 3 of 90 (Manor2: Haunted Bathroom) in progress...

[1011] Haunted Bathroom
Encounter: Having a Medicine Ball
You gain 140 Mysteriousness

Calling Universal Recovery for type=HP, amount=0
Calling Universal Recovery for type=MP, amount=0

Request 4 of 90 (Manor2: Haunted Bathroom) in progress...

[1012] Haunted Bathroom
Encounter: Having a Medicine Ball
You gain 137 Mysteriousness
You gain a Mysticality point!

Calling Universal Recovery for type=HP, amount=0
Calling Universal Recovery for type=MP, amount=0

Request 5 of 90 (Manor2: Haunted Bathroom) in progress...

[1013] Haunted Bathroom
Encounter: Don't Hold a Grudge
You gain 288 Enchantedness
You gain a Mysticality point!

Calling Universal Recovery for type=HP, amount=0
Calling Universal Recovery for type=MP, amount=0

Request 6 of 90 (Manor2: Haunted Bathroom) in progress...

[1014] Haunted Bathroom
Encounter: toilet papergeist
Strategy: D:\Bengt\ccs\Sauceror.ccs [default]
Round 0: ferdawoon wins initiative!
Running ZLib version: r34 (current)
1 HP costs 1.329μ. ( 113 / 138 )
1 MP costs 4.348μ. ( 151 / 389 )
Running BatBrain version: 1.16 (current)
Running SmartStasis version: 3.11 (current)
Running WHAM version: 1.4 (current)
We currently think that the round number is: 0
cardboard wakizashi (5.0 @ +35.0): 50μ * 6.75% = 3.375
roll of toilet paper (50.0 @ +35.0): 355μ * 67.5% = 239.625
Value of stat gain: 233.54μ
cardboard wakizashi (5.0 @ +35.0): 50μ * 6.75% = 3.375
roll of toilet paper (50.0 @ +35.0): 355μ * 67.5% = 239.625
Value of stat gain: 233.54μ
ATT: 88 (6% × 1, death in 1884)
DEF: 90 (65.39% × 23.26, win in 56)
HP: 105, Value: 476.54 μ
Parsed round number: 1
Building options...
Options built! (52 actions)
We currently think that the round number is: 1
WHAM: You are fighting a Toilet Papergeist. Mafia considers that this monster has an attack of 88 or 88 when given a monster name.
WHAM: Mafia further considers that this monster has a defense value of 90 or 90 when given a monster name.
WHAM: Mafia further further considers that this monster has a HP value of 105 or 105 when given a monster name.
WHAM: Your current ML-adjustment is: 0.
WHAM: Setting up variables via BatBrain
WHAM: Monster HP is 105.0.
WHAM: Running SmartStasis
SmartStasis starting.
Profit per round: ActionProfitDamageOtherbase; Tickle-Me Emilio (4.95μ)19.94μ1.98 (-2.5 μ/dmg)Att: -0.63 (0 DPR) Def: -0.63 HP: 2.64 MP: 2.64
Building custom actions...
Custom actions built! (0 actions)
Stasis action chosen: skill 4014
cardboard wakizashi (5.0 @ +35.0): 50μ * 6.75% = 3.375
roll of toilet paper (50.0 @ +35.0): 355μ * 67.5% = 239.625
Value of stat gain: 233.54μ
Attack action chosen: skill 4003
Top of the stasis loop.
Queued: skill 4014
Building options...
Options built! (52 actions)
Executing macro: scrollwhendone; sub batround; if haseffect 8 || haseffect 264 || haseffect 282 || haseffect 283 || haseffect 284; abort "BatBrain abort: poisoned"; endif; endsub; sub batsub1; skill 4014; call batround; endsub; call batsub1; repeat hasskill 4014 && (!hpbelow 113.0 && hpbelow 138 && !mpbelow 151.0 && !pastround 24); if hpbelow 2; abort "BatBrain abort: Danger, Will Robinson"; endif; 
Round 1: ferdawoon executes a macro!
KoLmafia declares world peace.
Round 1: ferdawoon casts SAUCY SALVE!
KoLmafia thinks it is round 2 but KoL thinks it is round 1
You gain 13 hit points
You're on your own, partner.
Click here to continue in the relay browser.


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.

> condition check

Conditions list validated against available items.

It did the same thing last run I did, can't remember if it did it before that.

EDIT:
The second time I run the script (after I aborted it for staying in the Bathroom) It say it want to level to 148 base Myst.
Code:
> call scripts\bumcheekascend.ash

******************************************************************************************
******************************************************************************************
******************************************************************************************
Thankyou for using bumcheekcity's ascension script. Please report all bugs on the sourceforge page available in my profile with a copy+paste from the CLI of the problematic points, and your username. 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. 
******************************************************************************************
******************************************************************************************
******************************************************************************************

******************
Ascending Starting
******************
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 NG for telescope part 4 from 'Orc Chasm' yourself
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
KoLmafia thinks it is round 3 but KoL thinks it is round 1
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 not completed the stage [wand].
KoLmafia thinks it is round 4 but KoL thinks it is round 1
BCC: We have completed the stage [piratefledges].
BCC: levelMe(68, true) called.
Level 9 Starting
BCC: You don't have a wand, or it's not safe to use one. No Zapping for you.
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 completed the stage [macguffinhiddencity].
BCC: We have completed the stage [macguffinfinal].
BCC: levelMe(125, true) called.
Level 12 Starting
KoLmafia thinks it is round 5 but KoL thinks it is round 1
BCC: levelMe(148, true) called.
Need to Level up a bit to get at least 148 base Primestat
BCC: Maximizing ''
Maximizing...
48 combinations checked, best score 1192.3452
Stealing ant pitchfork from Ton the Bloovian Groose...
KoLmafia thinks it is round 6 but KoL thinks it is round 1
Putting on ant pitchfork...
Equipment changed.
Conditions list cleared.
Condition added: Substats: 0 / 5,128 / 0

When I abort it again, and rerun the script, it go for the War outfits as (I think) it should.. Hmm..
 
Last edited:
Quick test in relay browser points to "no". This was changed in KoL some time back (i.e. a really long time ago, it would, but now if you win with the first item, KoL doesn't use the second item). I guess Mafia doesn't realize this...?
 
I got the infinite clover loop again a couple times today. CLI output is in the bug. If I fire up the script it does the exact same thing. I have stench resist HC permed and 74 adventures free at the time of the problem.

http://sourceforge.net/tracker/?func=detail&aid=3489045&group_id=503565&atid=2048077


EDIT: I only have one clover, could that be the reason it's looping, that it's trying to save one clover and use one for sonars but I only have one on hand?
 
It shouldn't be trying to save one, that's done when levelling but not here.

It's obviously gotten stuck in this loop:
Code:
while (item_amount($item[sonar-in-a-biscuit]) < 1 && contains_text(visit_url("bathole.php"), "action=rubble")) {
	//Let's use a clover if we can.
	if (i_a("sonar-in-a-biscuit") == 0 && cloversAvailable(true) > 0) {
		visit_url("adventure.php?snarfblat=31&confirm=on");
	} else {
		bumAdv($location[Guano Junction], "+10stench res", "items", "1 sonar-in-a-biscuit", "Getting a Sonars");
	}
	if (cli_execute("use * sonar-in-a-biscuit")) {}
}

I can see no reason for why the script would fail to adventure in the guano junction, unless you have no turns left which I guess could lead to trouble.
 
I got stuck in the same loop.

It shouldn't be trying to save one, that's done when levelling but not here.

It's obviously gotten stuck in this loop:
Code:
while (item_amount($item[sonar-in-a-biscuit]) < 1 && contains_text(visit_url("bathole.php"), "action=rubble")) {
	//Let's use a clover if we can.
	if (i_a("sonar-in-a-biscuit") == 0 && cloversAvailable(true) > 0) {
		visit_url("adventure.php?snarfblat=31&confirm=on");
	} else {
		bumAdv($location[Guano Junction], "+10stench res", "items", "1 sonar-in-a-biscuit", "Getting a Sonars");
	}
	if (cli_execute("use * sonar-in-a-biscuit")) {}
}

I can see no reason for why the script would fail to adventure in the guano junction, unless you have no turns left which I guess could lead to trouble.

Looks like that code isn't trying to get stench resistance before clovering.
 
The script doesn't even get to that point in the script without having passed the stenchOK()-test.
Logic is:
1) Check for stench resist
2) If false, maximize for "+1000 stench res"
3) If still false, adventure in the Entryway for a pine-cone refreshener
4) Maximize for "+1000 stench res"
5) If still false, abort
6) Maximize for "+10 stench res"
7) Enter code shown above

Could those experiencing this please swap their bcascBats1() for this:
Code:
boolean bcascBats1() {
	buffer[int] clover_result;
	boolean stenchOK(){
		if (my_primestat() == $stat[mysticality]) {
			return elemental_resistance($element[stench]) > 5;
		}
		return elemental_resistance($element[stench]) > 0;
	}

	if (checkStage("bats1")) return true;
	if (use(3, $item[sonar-in-a-biscuit])) {}
	if (contains_text(visit_url("bathole.php"), "bathole_4.gif")) {
		return checkStage("bats1", true);
	}
	//Guano
	if (!contains_text(visit_url("questlog.php?which=2"), "slain the Boss Bat")) {
		//There's no need to get the air freshener if you have the Stench Resist Skill
		if (!stenchOK()) {
			buMax("+1000 stench res");
			//Check it NOW (i.e. see if we have stench resistance at all, and get an air freshener if you don't.
			if (!stenchOK()) {
				while (!have_skill($skill[Diminished Gag Reflex]) && (i_a("Pine-Fresh air freshener") == 0))
					bumAdv($location[Entryway], "", "items", "1 Pine-Fresh air freshener", "Getting a pine-fresh air freshener.");
			}
			buMax("+1000 stench res");
			if (!stenchOK()) {
				print("There is some error getting stench resist - perhaps you don't have enough Myst to equip the air freshener? Please manually sort this out.", "red");
				return false;
			}
		}
		
		buMax("+10 stench res");
		if (my_path() != "Bees Hate You") {
			while (item_amount($item[sonar-in-a-biscuit]) < 1 && contains_text(visit_url("bathole.php"), "action=rubble")) {
				//Let's use a clover if we can.
				if (i_a("sonar-in-a-biscuit") == 0 && cloversAvailable(true) > 0) {
					clover_result[0] = visit_url("adventure.php?snarfblat=31&confirm=on");
					if(!contains_text(clover_result, "but you see a few biscuits left over from whatever bizarre tea party")) {
						map_to_file(clover_result, "BCCDebug.txt");
						abort("BCC: There was a problem using your clover. Please try it manually.");
					}
				} else {
					bumAdv($location[Guano Junction], "+10stench res", "items", "1 sonar-in-a-biscuit", "Getting a Sonars");
				}
				if (cli_execute("use * sonar-in-a-biscuit")) {}
			}
			if (cli_execute("use * sonar-in-a-biscuit")) {}
		} else {
			//The screambat should show up every 8 turns, but make it 9 to account for potential bees
			if(count(split_string(visit_url("bathole.php"), "action=rubble")) == 4) {
				print("BCC: Hunting for the first screambat.");
				repeat {
					bumminiAdv(1, $location[Guano Junction], "");
				} until(last_monster() == $monster[screambat]);
			}
			if(count(split_string(visit_url("bathole.php"), "action=rubble")) == 3) {
				print("BCC: Hunting for a second screambat.");
				repeat {
					bumminiAdv(1, $location[Batrat and Ratbat Burrow], "");
				} until(last_monster() == $monster[screambat]);
			}
			if(count(split_string(visit_url("bathole.php"), "action=rubble")) == 2) {
				print("BCC: Hunting for a third screambat.");
				repeat {
					bumminiAdv(1, $location[Beanbat Chamber], "");
				} until(last_monster() == $monster[screambat]);
			}
		}
	}
		
	if (!contains_text(visit_url("bathole.php"), "action=rubble")) {
		checkStage("bats1", true);
		return true;
	}
}

So that we can see that it's actually going there...
 
It shouldn't be trying to save one, that's done when levelling but not here.

It's obviously gotten stuck in this loop:
Code:
while (item_amount($item[sonar-in-a-biscuit]) < 1 && contains_text(visit_url("bathole.php"), "action=rubble")) {
	//Let's use a clover if we can.
	if (i_a("sonar-in-a-biscuit") == 0 && cloversAvailable(true) > 0) {
		visit_url("adventure.php?snarfblat=31&confirm=on");
	} else {
		bumAdv($location[Guano Junction], "+10stench res", "items", "1 sonar-in-a-biscuit", "Getting a Sonars");
	}
	if (cli_execute("use * sonar-in-a-biscuit")) {}
}

I can see no reason for why the script would fail to adventure in the guano junction, unless you have no turns left which I guess could lead to trouble.


Well when I went to manually adventure, it already had the beanbat chamber open...so I just adventured there until I got a sonar to drop, then used it. Then it said I needed 3 more sonars when I fired up the script so I hit escape quick, cast polka of plenty and manually ran the boss bat with my organ grinder until that quest was done. After that I fired up the script again and it went along fine.
 
Well when I went to manually adventure, it already had the beanbat chamber open...so I just adventured there until I got a sonar to drop, then used it. Then it said I needed 3 more sonars when I fired up the script so I hit escape quick, cast polka of plenty and manually ran the boss bat with my organ grinder until that quest was done. After that I fired up the script again and it went along fine.

It does that all the time because it has a "use 3 sonar", it won't actually try and get you three more sonars.
 
Back
Top