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

Help

I just downloaded this today and I'm trying to use it on one of my SC players Stormfire. I keep getting an error about changing the relay settings. But I can't find the instructions on where it is sending me.
 

Catch-22

Active member
I just downloaded this today and I'm trying to use it on one of my SC players Stormfire. I keep getting an error about changing the relay settings. But I can't find the instructions on where it is sending me.

You'll need to download "relay_bumcheekascendv0.1.ash" and save it in the "relay" folder of KoLmafia (not the "scripts" folder).

Once you've done that, run KoLmafia and click the "Load in Web Browser" button (icon of a map). You should be able to run the relay script by selecting it from the drop down menu in the top frame of your browser window.

The setting in question that you should look for is "bcasc_doNotRemindAboutSoftcore", set it to true.
 

schizophoenix

New member
I realized the script was changing my familiar data files by itself.
Code:
 BCC: Starting SideQuest 'nuns'
BCC:     doSideQuest(Nuns)
Updating bcs_fam_meat.txt from '' to     '2010-10-31 08:04:17'...
bcs_fam_meat.txt => 2010-10-31 08:04:17
...bcs_fam_meat.txt     updated.
Checking for familiar 'Hobo Monkey' where     x=1

I found some lines in prefs with old dates, so manually changed them to the latest edit dates of my data files. Is this a bug? Did I do the right thing?

Edit: It didn't work.
 
Last edited:

Winterbay

Active member
The script automatically downloads the newest versions from BCCs server so that is a feature not a bug. What are you trying to change?
 

Bazaaretw

Member
Hey, so about a week ago, I started a 100% badmoon black cat run using your script, I've been using it for quite some time now, but I was curious as to if there were any quick fixes to make it more bad moon friendly in the future, particularly for non blackcat runs, probably most importantly by using familiars or gathering them to use such as the volley ball. Or adventuring in barrel when you're beaten up, I'm running as AT right now, and the only way to HP Restore is campground of the scarce items I fine around the kingdom, so I kinda have to rely upon barrel and temple to fill my beaten up status.
 

bumcheekcity

Active member
In short: not really, though I'll integrate fixes if someone write a nice function to get familiars in bad moon or something. Because it's only ever going to do moxie bad moon anyway, I didn't see the point to save two runs, where it'll probably do fairly well once you've played two or three days.
 

lightwolf

Member
Any chance on having a relay option to set number of pirate insults to search for?

I had always thought/heard that getting 6 was better then getting 7, because at that point the chance of getting one of the two insults out of 8 you haven't heard yet, was smaller then the chance of winning the insult contest with 6 insults. (25% chance to get a 7th insult from pirates, 33% chance to win insult contest with 6 insults).
 

bumcheekcity

Active member
25% chance of a 7th insult? Is there spading on that?

Idea gets a solid "possibly". If you add it to the sourceforge, I'll get round to it.
 

slyz

Developer
I figure that going for the 7th insult as a moxie class running -combat is worth it because the stat noncombat tips the balance between turns spend looking for the insult and statless turns failing the pong game.
 

lostcalpolydude

Developer
Staff member
There's a 25% chance of not getting an insult at all and a 50% rejection for ones you already have, which means a 30% chance of getting the 7th insult when you use the insult book, further modified by combat rate (plus noncombats that can become combats; don't forget the one for myst that only happens at 0 drunk). I always go 7 insults as drinking moxie and 6 otherwise, but really it depends on factors such as how useful the stats are (as moxie, in case you're overleveled), how useful the base booze is (as muscle), and probably other things I can't think of right now.

The difference is maybe 3 turns at most (probably less), so I doubt making it configurable is worth the trouble. I haven't ever used the script, so my opinion doesn't really matter much.
 

lightwolf

Member
Yeah i had just heard it before, and just assumed there being what, 8 insults, that your chance to get one that isn't one of the 6 you already had was 2/8. I forgot about the pirates failed insult attempts, and any weighted factor there may be, and moxie non-combat stats...

Never mind then, its less then the 10 turn rule.
 

Ferdawoon

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!
...
 
Also, version 0.33 released.
Ran into an issue with 0.33. The script did not get the new Dispensary password after getting the KGE outfit. The script was then stuck in an infinite loop. It kept resetting moods, then attempt to buy selzter, fail, back to moods, etc.

To be honest, I'm not sure if it's the ascend script or Ultimate Recovery gumming up the works.
 

Catch-22

Active member
Minor bug, apologies if this was in my original recommendation for mining in WotSF.

PHP:
if (have_skill($skill[Worldpunch])) abort("You need the skill Worldpunch, grasshopper.");

Should be:

PHP:
if (!have_skill($skill[Worldpunch])) abort("You need the skill Worldpunch, grasshopper.");

I've also written a little snippet which only really applies to people using this for SC runs. Greatest American Pants support for the trapper quest.

PHP:
	if (index_of(visit_url("trapper.php"), "you'll need some kind of protection from the cold") > 0) {
		if (have_skill($skill[Northern Exposure])) {
			print("BCC: Visiting the trapper with your passive skill Northern Exposure to get the quest done.", "purple");
			visit_url("trapper.php");
		} else if (have_familiar($familiar[Exotic Parrot]) && have_skill($skill[Amphibian Sympathy])) {
			print("BCC: Visiting the trapper with a parrot to get the quest done.", "purple");
			cli_execute("familiar parrot");
			visit_url("trapper.php");
			//We do this just in case there's a 100% familiar here, so we set it back immediately. 
			setFamiliar("items");
		} else if ((item_amount($item[Greatest American Pants]) + equipped_amount($item[Greatest American Pants]) > 0) && (get_property("_gapBuffs") < 5)) {
			print("BCC: Attempting to use Greatest American Pants to get the quest done.", "purple");
			cli_execute("equip greatampant; gap structure");
			//KoLmafia doesn't currently track _gapBuffs acquired through the relay browser, so this could still fail.
			visit_url("trapper.php");
		} else {
			//Try to use the maximizer on this. Don't care about bees here because we won't adventure. 
			cli_execute("maximize cold res -tie");
			if (contains_text(visit_url("trapper.php"), "you'll need some kind of protection from the cold")) {
				print("BCC: You need some cold resistance for the trapper but you don't have it yet.", "purple");
			}
		}
	}

Not sure if you feel like adding this to the official script, it's probably a very niche case, especially for softcore players. It happens to come in handy for me, so I just thought I would share it.

I also found a slight hitch with SetMCD() when you're adventuring in a place that's unsafe, that would be trying to set the MCD to a negative value. Probably the underlying issue here is not having a safe amount of moxie, but here's the fix anyway:

PHP:
boolean setMCD(int moxie, int sMox) {
	//Can't be bothered to deal with this for other classes. 
	//if (!(my_primestat() == $stat[Moxie])) return false;
	if (get_property("bcasc_disableMCD") == "true") return false;
	
	if (canMCD()) {
		print("BCC: We CAN set the MCD.", "purple");
		//We do. Check maxMCD value
		int maxmcd = 10;
		int mcdval = my_buffedstat(my_primestat()) - sMox;
		
		if (mcdval > maxmcd) {
			mcdval = maxmcd;
		}
		if (mcdval < 0) mcdval = 0;
		cli_execute("mcd "+mcdval);
		return true;
	}
	return false;
}

I'm not going to post the fix because it's literally one line, but buMax(); should be called before using the map and fighting the booty crab in the cap'm caronch quest, just to make the fight slightly easier.
 
Last edited:

Giguy00

New member
Does anyone know how I can add using the stone spheres to a CCS so that the script doesn't keep stopping and telling me to identify them manually? Thanks.
 

slyz

Developer
Add this line to your CCS:
Code:
special action
and tell Mafia to automatically ID the spheres, either in the right-click menu of the "Special:" section (adventure tab), or by typing "set autoSphereID = true" in the gCLI.
 
Last 2 ascensions the script has curiously failed to do the nuns quest, it's been only spending 1 turn there then moving on to the battlefield to clear out frat boys. Log below:

Code:
[1050] Other Back 40
Encounter: greasy duck
Round 0: deathless assassin loses initiative!
Round 1: Medici calmly walks up to your opponent and hits it in the kneecaps with a short stick, leaving it looking a little unsteady.  "That one was on the house, kid."
Round 1: greasy duck drops 11 attack power.
Round 1: greasy duck drops 11 defense.
Round 1: deathless assassin executes a macro!
Round 1: deathless assassin attacks!
Round 2: greasy duck takes 118 damage.
You lose 7 hit points
Round 2: deathless assassin attacks!
Round 3: greasy duck takes 140 damage.
Round 3: deathless assassin wins the fight!
You gain 137 Meat
After Battle: Medici smiles, and says "You have brought honor to the family."
You gain 33 Beefiness
You gain 14 Wizardliness
You gain 8 Chutzpah
outfit War Hippy Fatigues

bigisland.php?place=farm&action=farmer&pwd
bigisland.php?place=farm&action=farmer&pwd
You acquire megatofu (3)
 > BCC: Starting SideQuest 'nuns'
 > BCC: doSideQuest(Nuns)
 > Checking for familiar 'Hobo Monkey' where x=1

familiar Hobo Monkey (6 lbs)

use 2 pink candy heart
You acquire an effect: Heart of Pink (duration: 20 Adventures)
 > BCC: Maximizing 'nuns'

equip weapon Drowsy Sword

equip acc2 badass belt

equip weapon Hammer of Smiting

equip off-hand giant clay ashtray
stuck scratch 'n' sniff UPC sticker in slot 1
stuck scratch 'n' sniff UPC sticker in slot 2
stuck scratch 'n' sniff UPC sticker in slot 3

equip weapon scratch 'n' sniff sword
 > Restoring MP! Currently at 340 of 427 HP, 6 of 232 MP, current meat: 17809 ... Target MP = 19.
 > Try to heal MP from inventory.
 > Last attempt to purchase MP with meat.

buy 2 black cherry soda for 80 each from Black Market
You acquire black cherry soda (2)
You spent 160 Meat

use 2 black cherry soda
You gain 20 Muscularity Points

cast 1 Leash of Linguini
You acquire an effect: Leash of Linguini (duration: 10 Adventures)

cast 1 The Polka of Plenty
You acquire an effect: Polka of Plenty (duration: 10 Adventures)

cast 1 Seal Clubbing Frenzy
You acquire an effect: Seal Clubbing Frenzy (duration: 5 Adventures)

buy 1 Knob Goblin pet-buffing spray for 250 each from The Knob Dispensary
You acquire an item: Knob Goblin pet-buffing spray
You spent 250 Meat

use 1 Knob Goblin pet-buffing spray
You acquire an effect: Heavy Petting (duration: 10 Adventures)

buy 1 Knob Goblin nasal spray for 150 each from The Knob Dispensary
You acquire an item: Knob Goblin nasal spray
You spent 150 Meat

use 1 Knob Goblin nasal spray
You acquire an effect: Wasabi Sinuses (duration: 10 Adventures)

[1051] Themthar Hills
Encounter: dirty thieving brigand
Round 0: deathless assassin wins initiative!
Round 1: deathless assassin executes a macro!
Round 1: deathless assassin attacks!
Round 2: dirty thieving brigand takes 52 damage.
Round 2: Thiniriol climbs up and sits on your shoulder, and hands you some Meat.  Huh, where did he find that?
You gain 89 Meat.
You lose 10 hit points
Round 2: deathless assassin attacks!
Round 3: dirty thieving brigand takes 54 damage.
You lose 9 hit points
Round 3: deathless assassin attacks!
Round 4: dirty thieving brigand takes 56 damage.
You lose 9 hit points
Round 4: deathless assassin attacks!
Round 5: dirty thieving brigand takes 52 damage.
Round 5: deathless assassin wins the fight!
After Battle: Thiniriol sits on your fallen opponent's body, blows a smoke ring, and winks at you.
The nuns take 4,226 Meat; 4,226 recovered, 95,774 left to recover.
You gain 24 Fortitude
You gain 11 Mysteriousness
You gain 14 Roguishness

bigisland.php?place=nunnery
 > BCC: Switching Familiar for General Use
 > BCC: Setting the default familiar to your choice of 'penguin Goodfella'.

familiar Penguin Goodfella (33 lbs)
 > BCC: Need items!
 > BCC: Maximizing '+outfit war hippy'

equip weapon Hammer of Smiting
 > Restoring MP! Currently at 312 of 432 HP, 6 of 218 MP, current meat: 17338 ... Target MP = 11.
 > Try to heal MP from inventory.
 > Last attempt to purchase MP with meat.

buy 1 black cherry soda for 80 each from Black Market
You acquire an item: black cherry soda
You spent 80 Meat

use 1 black cherry soda
You gain 11 Muscularity Points

cast 1 Fat Leon's Phat Loot Lyric
You acquire an effect: Fat Leon's Phat Loot Lyric (duration: 10 Adventures)

[1052] Battlefield (Hippy Uniform)
Encounter: War, Man.  Like, Wow.
You acquire an item: lead pipe
You acquire water pipe bomb (3)
You acquire an item: communications windchimes

[1053] Battlefield (Hippy Uniform)
Encounter: War Frat 110th Infantryman
Round 0: deathless assassin wins initiative!
Round 1: Medici calmly walks up to your opponent and hits him in the kneecaps with a short stick, leaving him looking a little unsteady.  "That one was on the house, kid."
Round 1: war frat 110th infantryman drops 16 attack power.
Round 1: war frat 110th infantryman drops 16 defense.
Round 1: deathless assassin executes a macro!
Round 1: deathless assassin attacks!
Round 2: war frat 110th infantryman takes 97 damage.
You lose 7 hit points
Round 2: deathless assassin attacks!
Round 3: war frat 110th infantryman takes 96 damage.
You lose 7 hit points
Round 3: deathless assassin attacks!
Round 4: war frat 110th infantryman takes 115 damage.
Round 4: deathless assassin wins the fight!
You acquire an item: beer helmet
After Battle: Medici smiles, and says "You have brought honor to the family."
You gain 28 Muscleboundness
You gain 15 Enchantedness
You gain 13 Cheek
You gain a Moxie point!
4 frat boys defeated; 4 down, 996 left.
 
Top