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

Ferdawoon

Member
Did someone add it to the sourceforge page?

I did :eek:
http://sourceforge.net/tracker/?func=detail&aid=3410997&group_id=503565&atid=2048077
Back in 17/9.
And I think I mentioned it on this thread but might have dreamt that one =S

A bit fuzzy on the description maybe.. Anyway, what happen is that the script first maximize with the real command, with +exp and +ouitfit and all that stuff. After that it do mood and familiar changing, just to end up with another maximizer command which is just "2 beeosity, +shield". Been a difference of up to 25 mainstat from the real maximizer, which contain +mainstat, and the one after which don't.

Apart from all the good stuff that the script do by changing the gear around a bit, it kinda sucks for anything that require an outfit as it will first equip it and then change it again. SPent 50 turns in the Frat house when the script was going for the Frat warrior outfit, but because it changed away the hippy outfit I only get non-combats with stats.
 
Last edited:

Ambar

New member
I'm having maximizer +outfit troubles starting the Nuns quest with both .33 and .34 (and not in fistcore, and yes I added it to sourceforge).
 

Galanodel

Member
The following request is completely selfish: Is there anyway we could maybe, someday, get an option to get bounty every day, or every other day? That would be great!
 

bumcheekcity

Active member
bounty won't be added for the above reason. the outfit fistcore thing wasnt fixed, because I hadn't encountered it. I would mark it as cleared on the sourceforge page once done.
 

Ferdawoon

Member
If you find the fitscore outfit bug, and it is relatively easy to fix, mind letting us know how to do it on our own copies if it will take a while until next update? :D
 

Theraze

Active member
Maybe worth mentioning that this is Fistcore, and I know that you have said that it is not supported, but mentioning this anyway in case it is also affecting the regular runs.

Just started level 12 and the script spent 50 turns in the Frat house, getting non-combats because the scipt had put on the hippy outfit for me, but then right after done "2 beeosity, +shield" as a maximizer command. This have happened a lot and I think it happened with the pirate zone too where the swashbuckling outfit is needed.

Code:
Level 12 Starting
BCC: Maximizing '+outfit frat war'
Maximizing...
32 combinations checked, best score 0.0
Putting on black greaves...
Equipment changed.
BCC: You don't have a shield. It might be better to get one. 
Maximizing...
89 combinations checked, best score 123.75
Putting on distressed denim pants...
Equipment changed.
Putting on headhunter necktie...
Equipment changed.
Putting on pirate fledges...
Equipment changed.
BCC: Switching Familiar for General Use
BCC: Using a default stat familiar.
Putting Bee-Holder the He-Boulder back into terrarium...
Taking Trog the Frumious Bandersnatch out of terrarium...
Resetting mind control device...
Mind control device reset.
BCC: Starting the war by irritating the Hippies

Maximizing...
104 combinations checked, best score 0.0
Putting on black greaves...
Equipment changed.
Putting on Bonerdagon necklace...
Equipment changed.

Re-running the script it do the same thing.

Just before this, during the Pyramid, it keptdoing a lot of maximizer commands after each turn of the wheel and equipping things back and forth.


Code:
[1084] The Middle Chamber
Encounter: Wheel in the Pyramid, Keep on Turning
choice.php?whichchoice=135&option=1&pwd
 > Calling Universal Recovery for type=HP, amount=0
 > BCC: Maximizing ''
 > BCC: You don't have a shield. It might be better to get one. 

equip hat Crown of the Goblin King

equip acc2 pirate fledges
 > BCC: Switching Familiar for General Use
 > BCC: Using a default stat familiar.
mcd 0
 > BCC: Getting another choice adventure

equip hat star hat

equip acc2 amulet of extreme plot significance
 > BCC: You don't have a shield. It might be better to get one. 
 > 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 10
 > Calling Universal Recovery for type=HP, amount=0
 > Calling Universal Recovery for type=MP, amount=0

[1085] The Middle Chamber
Encounter: Wheel in the Pyramid, Keep on Turning
choice.php?whichchoice=135&option=1&pwd
 > Calling Universal Recovery for type=HP, amount=0
 > BCC: Maximizing ''
 > BCC: You don't have a shield. It might be better to get one. 

equip hat Crown of the Goblin King

equip acc2 pirate fledges
 > BCC: Switching Familiar for General Use
 > BCC: Using a default stat familiar.
mcd 0
 > BCC: Getting another choice adventure

equip hat star hat

equip acc2 amulet of extreme plot significance
 > BCC: You don't have a shield. It might be better to get one. 
 > 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 10
 > Calling Universal Recovery for type=HP, amount=0
 > Calling Universal Recovery for type=MP, amount=0

[1086] The Middle Chamber
Encounter: tomb bat
Round 0: ferdawoon wins initiative!
...
I think the cause of this would be the "anHero" function. It runs a "maximize beeosity +shield" without regard for current maximizations. I believe this makes it do a full 'tie' maximization to your shield without any regard for what you actually need...

Definitely needed in "anHero":
PHP:
	if (my_path() == "Way of the Surprising Fist") return false;

Maybe needed:
Either some sort of passing along the current maximization string, so it can maximize based on that, or just turning it into a check if shielding is possible/desirable and then using that in the actual maximization strings later, which means we'd only need a single maximize execution instead of two.
 
Ran in to this still...I mentioned it back with 0.31 (bug ID 3394818). I'm not familiar with mafia scripting, but maybe someone can figure out what to change to make it work?

It's just an annoyance, since if you restart the script it will either stop again after 5 adventures or it'll get the key.

Code:
Request 3 of 80 (Manor1: Haunted Billiards Room) in progress...

[170]     Haunted Billiards Room
Encounter: That's your cue
You acquire an     item: pool cue

Conditions satisfied after 3 adventures.
BCC:     Getting the Key
BCC: We have either a hand     chalk or Chalky Hands already, so we'll use the hand chalk (if necessary)     and play some pool!
Using 1 handful of hand chalk...
You     acquire an effect: Chalky Hand (duration: 5 Adventures)
Finished using     1 handful of hand chalk.
Conditions list cleared.
Condition added:     Spookyraven library key
Spookyraven library key
BCC:     Maximizing ''
Maximizing...
72 combinations checked, best     score 75.5
Putting on mariachi hat...
Equipment changed.
Wielding     Rock and Roll Legend...
Equipment changed.
Putting on Boss Bat     britches...
Equipment changed.
Mood swing complete.

Casting     Advanced Cocktailcrafting 1 times...
You acquire an item: little paper     umbrella
Advanced Cocktailcrafting was successfully cast.
Casting     The Moxious Madrigal 1 times...
You acquire an effect: The Moxious     Madrigal (duration: 10 Adventures)
The Moxious Madrigal was     successfully cast.

Request 1 of 5 (Manor1: Haunted Billiards Room)     in progress...

[171] Haunted Billiards Room
Encounter: chalkdust     wraith
Strategy: C:\Users\bhanes\kolmafia\ccs\SmartStasis.ccs [default]
Round     0: chef_rannos wins initiative!
Round 1: chef_rannos executes a macro!
Round     1: chef_rannos uses the seal tooth!
Round 2: chef_rannos uses the seal     tooth!
Round 3: MP-Gamer tosses his identity disc at it for 1 damage,     then invites you to drink some glowing blue liquid out of the disc. The     whole thing's a little more intimate than you're comfortable with, but     it's still refreshing.
You gain 1 Mojo Point
Round 3: chef_rannos     uses the seal tooth!
Round 4: chef_rannos uses the seal tooth!
Round     5: chef_rannos uses the seal tooth!
Round 6: chef_rannos uses the seal     tooth!
Round 7: chef_rannos uses the seal tooth!
Round 8:     chef_rannos uses the seal tooth!
Round 9: chef_rannos uses the seal     tooth!
Round 10: chef_rannos wins the fight!
You acquire an item:     handful of hand chalk
You gain 1 Beefiness
You gain 2 Wizardliness
You     gain 6 Smarm

Casting Advanced Cocktailcrafting 1 times...
You     acquire an item: little paper umbrella
Advanced Cocktailcrafting was     successfully cast.
Casting Moxie of the Mariachi 1 times...
You     acquire an effect: Mariachi Mood (duration: 5 Adventures)
Moxie of the     Mariachi was successfully cast.

Request 2 of 5 (Manor1: Haunted     Billiards Room) in progress...

[172] Haunted Billiards Room
Encounter:     chalkdust wraith
Strategy: C:\Users\bhanes\kolmafia\ccs\SmartStasis.ccs     [default]
Round 0: chef_rannos wins initiative!
Round 1: chef_rannos     executes a macro!
Round 1: chef_rannos uses the seal tooth!
Round 2:     chef_rannos uses the seal tooth!
Round 3: chef_rannos uses the seal     tooth!
Round 4: chef_rannos uses the seal tooth!
Round 5:     chef_rannos uses the seal tooth!
Round 6: MP-Gamer de-rezzes it for 1     damage, then offers you a drink out of his identity disc. It's a little     too intimate for your comfort, but it's still refreshing.
You gain 1     Mojo Point
Round 6: chef_rannos uses the seal tooth!
Round 7:     MP-Gamer bounces his disc off of it for 1 damage, and it ricochets into     you, giving you quite a shock.
You gain 1 Mojo Point
Round 7:     chef_rannos uses the seal tooth!
Round 8: chef_rannos uses the seal     tooth!
Round 9: chef_rannos wins the fight!
You acquire an item:     handful of hand chalk
You gain 1 Beefiness
You gain 4 Wizardliness
You     gain 4 Sarcasm

Casting Advanced Cocktailcrafting 1 times...
You     acquire an item: little paper umbrella
Advanced Cocktailcrafting was     successfully cast.
Casting The Moxious Madrigal 1 times...
You     acquire an effect: The Moxious Madrigal (duration: 10 Adventures)
The     Moxious Madrigal was successfully cast.

Request 3 of 5 (Manor1:     Haunted Billiards Room) in progress...

[173] Haunted Billiards Room
Encounter:     pooltergeist
Strategy: C:\Users\bhanes\kolmafia\ccs\SmartStasis.ccs     [default]
Round 0: chef_rannos loses initiative!
You lose 3 hit     points
Round 1: chef_rannos executes a macro!
Round 1: chef_rannos     uses the seal tooth!
Round 2: chef_rannos uses the seal tooth!
Round     3: chef_rannos uses the seal tooth!
Round 4: chef_rannos uses the seal     tooth!
Round 5: chef_rannos uses the seal tooth!
Round 6:     chef_rannos uses the seal tooth!
Round 7: chef_rannos uses the seal     tooth!
Round 8: chef_rannos uses the seal tooth!
Round 9: MP-Gamer     bounces his disc off of it for 10 damage, and it ricochets into you,     giving you quite a shock.
You gain 10 Mojo Points
Round 9:     chef_rannos uses the seal tooth!
Round 10: chef_rannos uses the seal     tooth!
Round 11: chef_rannos uses the seal tooth!
Round 12:     chef_rannos uses the seal tooth!
Round 13: MP-Gamer de-rezzes it for 7     damage, then offers you a drink out of his identity disc. It's a little     too intimate for your comfort, but it's still refreshing.
You gain 7     Mojo Points
Round 13: chef_rannos wins the fight!
You acquire an     item: 8-ball
You gain 3 Strongness
You can now equip a Totally Gay     Claymore (and possibly other things).
You gain a Muscle point!
You     gain 3 Wizardliness
You gain 3 Sarcasm

Casting Advanced     Saucecrafting 2 times...
You acquire scrumptious reagent (2)
Advanced     Saucecrafting was successfully cast.
Casting The Magical Mojomuscular     Melody 2 times...
You acquire an effect: The Magical Mojomuscular     Melody (duration: 20 Adventures)
The Magical Mojomuscular Melody was     successfully cast.
Casting Moxie of the Mariachi 1 times...
You     acquire an effect: Mariachi Mood (duration: 5 Adventures)
Moxie of the     Mariachi was successfully cast.

Request 4 of 5 (Manor1: Haunted     Billiards Room) in progress...

[174] Haunted Billiards Room
Encounter:     pooltergeist
Strategy: C:\Users\bhanes\kolmafia\ccs\SmartStasis.ccs     [default]
Round 0: chef_rannos wins initiative!
Round 1: chef_rannos     executes a macro!
Round 1: chef_rannos tries to steal an item!
You     acquire an item: 7-ball
Round 2: chef_rannos executes a macro!
Round     2: chef_rannos uses the seal tooth!
Round 3: MP-Gamer de-rezzes it for     12 damage, then offers you a drink out of his identity disc. It's a little     too intimate for your comfort, but it's still refreshing.
You gain 12     Mojo Points
Round 3: chef_rannos uses the seal tooth!
Round 4:     chef_rannos uses the seal tooth!
Round 5: chef_rannos uses the seal     tooth!
Round 6: chef_rannos uses the seal tooth!
Round 7:     chef_rannos uses the seal tooth!
Round 8: MP-Gamer tosses his identity     disc at it for 7 damage, then invites you to drink some glowing blue     liquid out of the disc. The whole thing's a little more intimate than     you're comfortable with, but it's still refreshing.
You gain 7 Mojo     Points
Round 8: chef_rannos wins the fight!
You gain 1     Muscleboundness
You gain 2 Magicalness
You gain 6 Cheek

Casting     Advanced Saucecrafting 2 times...
You acquire scrumptious reagent (2)
Advanced     Saucecrafting was successfully cast.
Casting Moxie of the Mariachi 4     times...
You acquire an effect: Mariachi Mood (duration: 20 Adventures)
Moxie     of the Mariachi was successfully cast.
Casting The Magical Mojomuscular     Melody 1 times...
You acquire an effect: The Magical Mojomuscular     Melody (duration: 10 Adventures)
The Magical Mojomuscular Melody was     successfully cast.
Casting The Moxious Madrigal 1 times...
You     acquire an effect: The Moxious Madrigal (duration: 10 Adventures)
The     Moxious Madrigal was successfully cast.

Request 5 of 5 (Manor1:     Haunted Billiards Room) in progress...

[175] Haunted Billiards Room
Encounter:     pooltergeist
Strategy: C:\Users\bhanes\kolmafia\ccs\SmartStasis.ccs     [default]
Round 0: chef_rannos loses initiative!
Round 1:     chef_rannos executes a macro!
Round 1: chef_rannos uses the seal tooth!
Round     2: chef_rannos uses the seal tooth!
Round 3: chef_rannos uses the seal     tooth!
Round 4: chef_rannos uses the seal tooth!
Round 5:     chef_rannos uses the seal tooth!
Round 6: MP-Gamer bounces his disc off     of it for 8 damage, and it ricochets into you, giving you quite a shock.
You     gain 8 Mojo Points
Round 6: chef_rannos uses the seal tooth!
Round     7: chef_rannos uses the seal tooth!
Round 8: chef_rannos uses the seal     tooth!
Round 9: MP-Gamer de-rezzes it for 12 damage, then offers you a     drink out of his identity disc. It's a little too intimate for your     comfort, but it's still refreshing.
You gain 12 Mojo Points
Round 9:     chef_rannos wins the fight!
You acquire an item: 8-ball
You gain 1     Strengthliness
You gain 5 Wizardliness
You gain 3 Chutzpah

Conditions     not satisfied after 5 adventures.
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.
 

Theraze

Active member
Not a bug, bug, just an RNG thing. Instead of telling it to go until the next choiceadv, however many adventures that takes, it's been told to go 5 adventures and stop. Makes sense, since chalky hand wears off after 5 adventures, as it says on your 10th line or so. Anyways, better would probably be capturing the adventure result and keeping it in a while loop as long as adventures permit and the player hasn't gotten the library key yet.
 

Aleph

New member
is there any way to get the script not to use some familiars? it seems to really like boots and bander, where hound dog or dandy lion and sandworm/pressie/xeno would be much better.

edit: not looking for bumcheekcity to mod the script for better familiar usage, just asking if there's any option i'm unaware of.
 
Last edited:

Ferdawoon

Member
I think the cause of this would be the "anHero" function. It runs a "maximize beeosity +shield" without regard for current maximizations. I believe this makes it do a full 'tie' maximization to your shield without any regard for what you actually need...

Definitely needed in "anHero":
PHP:
	if (my_path() == "Way of the Surprising Fist") return false;

Maybe needed:
Either some sort of passing along the current maximization string, so it can maximize based on that, or just turning it into a check if shielding is possible/desirable and then using that in the actual maximization strings later, which means we'd only need a single maximize execution instead of two.

<3 you =D
I put that line into anHero in v0.34 and ended up with this, which so far seem to be working fine (knock on wood!)

PHP:
//Returns true if we have a shield and Hero of the Halfshell.
boolean anHero() {
	if (!have_skill($skill[Hero of the Half-Shell])) return false;
	if (!(my_primestat() == $stat[Muscle])) return false;
	if (get_property("bcasc_lastShieldCheck") == today_to_string()) return true;
	if (my_path() == "Way of the Surprising Fist") return false;  
	
	cli_execute("maximize "+max_bees+" beeosity, +shield"); 
	if (item_type(equipped_item($slot[off-hand])) == "shield") {
		cli_execute("set bcasc_lastShieldCheck = "+today_to_string());
		print("BCC: You appear to have a shield. If you autosell your last shield, this script is going to behave 

very strangely and you're an idiot.", "purple");
		return true;
	}
	
	print("BCC: You don't have a shield. It might be better to get one. ", "purple");
	return false;
}

One problem though, the script have started the lvl10 quest and so far, it have cleared my Bumcheekascend mood list completly (ususally it have 2-3 buffs in there) and it do not seem to want to change familiar either. Going to change things around a bit and see what it do, if it turn back to the setup it ran with just now.

EDIT: Ahhh, yeh i changed familiar and it changed back. Guess I was just confused why it would use AD-Demon in the castle but +meat is always welcome in fistcore!
The Mood is still completly empty tho..
 
Last edited:

Ferdawoon

Member
is there any way to get the script not to use some familiars? it seems to really like boots and bander, where hound dog or dandy lion and sandworm/pressie/xeno would be much better.

edit: not looking for bumcheekcity to mod the script for better familiar usage, just asking if there's any option i'm unaware of.

Ehhm there is a file in the /data folder I think, that you can mod to make the script go with whatever you want. Just remmeber that Hounddog might have better +item but it also have +combat, which might not always be good, and leveling one familiar up with every +item situation might end up being better than getting many familiars up just a little bit.

Maybe wait for someone who is better at this script and at coding than me to give you a real answer before modding too much :p
 

DoctorRotelle

Developer
I auto abort on various conditions (like maxed out MP) due to betweenBattleScripts. When I restart the script, it will try to get a new fax even though I've already used my fax for the day (outside of the script). _photocopyUsed is the preference it should key off of so it knows when it makes sense to request a fax, before checking what it is, even though the information _should_ be available in the preference photocopyMonster.

Love the script!
 

Ferdawoon

Member
A little thought I'm adding to the Sourceforge page: When first starting the script as freshly ascended, get the quest from the Pretentious Artist, since the script will spend turns in the 3 zones anyway (maybe not the Sleazy back alley, even though I think it do) and being able to sell the rat whiskers is a way to get meat, especially in fistcore.

Also to get the quest to open the guild as early as possible, pref before even starting lvl1, to avoid accidental backfarming.

I've been doing fistcore as Muscle a while now and the Outskirts of the Knobbs have a lot of stuff. The part for the artist, the encryption key, the guild quest item, etc. Not to mention, it is the first place someone go to level up (I tend to fax in a 1000ML butt and Pumpkin bomb it, so I dont need any leveling.. But still.)
 
Last edited:

syrinxlui

Member
I keep getting an abort during combat. I think it may not be in bumcheek ascend necessarily. It might have to do with trying to cast kaesobesturm.

Here's the mafia cli output:

[857] Desert (Ultrahydrated)
Encounter: swarm of fire ants
Strategy: skill wave of sauce
Round 0: syrinxlui wins initiative!
Round 1: Merlin Pearlin notices your wounds, points his wand at you, and mutters "Neosporio Bandaidium!" You feel somewhat better.
You gain 27 hit points
BCC: Monster HP is 135
BCC: These are the figures for Fearful Fettucini: Bonus: 43.0 and 1.15%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 164.0
BCC: Neutral Element to our pasta tuning.
BCC: I expect 164 damage from Fearful Fettucini
BCC: These are the figures for Käsesoßesturm: Bonus: 43.0 and 1.15%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 164.0
BCC: Weak Element to our pasta tuning.
BCC: I expect 142 damage from Käsesoßesturm
BCC: These are the figures for Ravioli Shurikens: Bonus: 43.0 and 1.15%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 164.0
BCC: I expect 44 damage from Ravioli Shurikens
BCC: These are the figures for Salsaball: Bonus: 43.0 and 1.15%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 164.0
BCC: Strong Element to our pasta tuning.
BCC: I expect 0 damage from Salsaball
BCC: These are the figures for Saucegeyser: Bonus: 43.0 and 1.15%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 164.0
BCC: Neutral Element to our pasta tuning.
BCC: I expect 122 damage from Saucegeyser
BCC: These are the figures for Saucestorm: Bonus: 43.0 and 1.15%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 164.0
BCC: Neutral Element to our pasta tuning.
BCC: I expect 71 damage from Saucestorm
BCC: These are the figures for Spaghetti Spear: Bonus: 43.0 and 1.15%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 164.0
BCC: I expect 7 damage from Spaghetti Spear
BCC: These are the figures for Stream of Sauce: Bonus: 43.0 and 1.15%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 164.0
BCC: Neutral Element to our pasta tuning.
BCC: I expect 32 damage from Stream of Sauce
BCC: These are the figures for Stuffed Mortar Shell: Bonus: 43.0 and 1.15%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 164.0
BCC: I expect 155 damage from Stuffed Mortar Shell
BCC: These are the figures for Surge of Icing: Bonus: 43.0 and 1.15%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 164.0
BCC: I expect 71 damage from Surge of Icing
BCC: These are the figures for Wave of Sauce: Bonus: 43.0 and 1.15%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 164.0
BCC: Neutral Element to our pasta tuning.
BCC: I expect 106 damage from Wave of Sauce
BCC: These are the figures for Weapon of the Pastalord: Bonus: 43.0 and 1.15%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 164.0
BCC: I expect 164 damage from Weapon of the Pastalord
BCC: We are going to one-shot with Käsesoßesturm
Round 1: syrinxlui executes a macro!
KoLmafia thinks it is round 2 but KoL thinks it is round 1
You're on your own, partner.
Click here to continue in the relay browser.

BCC: You aborted, so so am I

And when I tab over to the browser I see this:
Too many, or zero, matches for skill, "K&auml", macro aborted.
 

slyz

Developer
Try replacing:


Code:
string cast;
with
Code:
skill cast;


all occurrences of
Code:
cast = to_string(lowestMP(xxxShot));
with
Code:
cast = lowestMP(xxxShot);


and all occurrences of
Code:
return "skill "+cast;
with
Code:
return "skill "+to_int(cast);
 
Last edited:
Top