golden_cow2
New member
Yeah, mine's exactly like Chef's example. I don't really care if it only uses one stat familiar, but it should at least be the best one.
I think the only place the script checks for "Hipster" is when revealing the Oasis where getting combats of that sort may be beneficial to you. That "x = 1" thing is ony used when an external file is being checked at and then the default familiar is out the window anyway.
string [int] borisTree;
borisTree[0] = "Study";
borisTree[1] = "Study Fighting";
borisTree[2] = "Study Shouting";
borisTree[3] = "Study Feasting";
string bcParseOptions(string inputString, string validOptions) {
boolean [string] optionUsed;
string outputString, char;
inputString = to_lower_case(inputString);
inputString = replace_string(inputString," ","");
inputString = inputString+"0"; // if we run out of options, default to manual stop
// alias human readable fight(ing) shout(ing) feast(ing) a(uto) m(anual) to 1 2 3 321 0
//
// passing this lot in to this function via options seems far too much like hard work, so leave
// as a hard coded list for now. (it does the right thing when abused for Clancy option parsing)
inputString = replace_string(inputString,"fight","1");
inputString = replace_string(inputString,"shout","2");
inputString = replace_string(inputString,"feast","3");
inputString = replace_string(inputString,"a","321");
inputString = replace_string(inputString,"m","0");
// now filter out characters not in validOptions, and duplicates, stop at first 0
for c from 0 to length(inputString)-1 {
char = char_at(inputString, c);
if (contains_text(validOptions, char) && !optionUsed[char]) {
optionUsed[char] = true;
outputString = outputString+char;
}
if (char=="0") break;
}
return outputString;
}
string borisOptions = bcParseOptions(get_property("bcasc_borisSkills"),"0123");
string clancyOptions = bcParseOptions(get_property("bcasc_trainClancy"),"01");
...
void bcAutoBoris() {
int i, borisOption;
int borisLength = length(borisOptions);
string borisResult;
if (borislength>0) {
for i from 0 to borislength-1 {
borisOption = char_at(borisOptions,i).to_int();
borisResult = visit_url("da.php?place=gate1");
while (contains_text(borisResult, "hungering for knowledge") && contains_text(borisResult, borisTree[borisOption])) {
if (borisOption==0) abort("BCC: stopping so you can worhip in the glory of Boris.");
print("BCC: "+borisTree[borisOption], "purple");
borisResult = visit_url("da.php?whichtree="+borisOption+"&action=borisskill");
}
}
}
}
equip acc2 time halo
> BCC: Switching Familiar for General Use
> BCC: Using a default stat familiar.
> BCC: Nothing to fax according to whatShouldIFax
mcd 0
> BCC: Let's get the map
equip acc3 time halo
> BCC: Maximizing [something that the mafia log didn't save, presumably rollover adv]
[ bumcheekascend ]
gain_effect just the best anapests => uneffect just the best anapests
lose_effect pasta oneness => cast 1 manicotti meditation
lose_effect the moxious madrigal => cast 1 the moxious madrigal
if ((my_level() < 7 && castMojo && have_skill($skill[The Moxious Madrigal])) || my_meat() < 2000) cli_execute("trigger lose_effect, The Moxious Madrigal, cast 1 The Moxious Madrigal");
if (have_skill($skill[The Moxious Madrigal]) && my_level() < 7 && castMojo && my_meat() < 2000) cli_execute("trigger lose_effect, The Moxious Madrigal, cast 1 The Moxious Madrigal");
if (item_amount($item[stone wool]) > 0)
use(1, $item[stone wool]);
string page = visit_url("adventure.php?snarfblat=280");
if (contains_text(page, "Fitting In"))
{
if(item_amount($item[nostril of the serpent]) < 1)
{
page = visit_url("choice.php?whichchoice=582&option=1&pwd");
}
else
{
page = visit_url("choice.php?whichchoice=582&option=2&pwd");
}
}
Destroy with: Mighty Axing
Round 1: Theraze executes a macro!
Round 1: Theraze casts MIGHTY AXING!
Round 2: baa-relief sheep takes 171 damage.
Round 2: Theraze wins the fight!
You acquire an item: stone wool
You gain 8 Fortitude
You gain 4 Magicalness
You gain 5 Chutzpah
Look! You found 1 stone wool (1,100μ)!
Mood swing complete.
Using 1 stone wool...
You acquire an effect: Stone-Faced (duration: 5 Adventures)
Finished using 1 stone wool.
[994] Hidden Temple
Encounter: Fitting In
Encounter: Stone-Faced
You lose an effect: Stone-Faced
You acquire an item: the Nostril of the Serpent
Mood swing complete.
[86] Boss Bat's Lair
Encounter: beefy bodyguard bat
Strategy: D:\mafia\ccs\bcc.ccs [default]
Round 0: guyy loses initiative!
You lose 15 hit points
[beaten up]
[...]
[131] Cobb's Knob Barracks
Encounter: off-duty Knob Goblin Elite Guard
Strategy: D:\mafia\ccs\bcc.ccs [default]
Round 0: guyy loses initiative!
You lose 15 hit points
[beaten up]
[123] Boss Bat's Lair
Encounter: The Boss Bat
Strategy: D:\mafia\ccs\bcc.ccs [default]
Round 0: guyy wins initiative!
BCC: Monster HP is 44
BCC: These are the figures for Cannelloni Cannon: Bonus: 2.0 and 1.2%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 30.0
BCC: I expect 21 damage from Cannelloni Cannon
BCC: These are the figures for Ravioli Shurikens: Bonus: 2.0 and 1.2%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 30.0
BCC: I expect 11 damage from Ravioli Shurikens
BCC: These are the figures for Spaghetti Spear: Bonus: 2.0 and 1.2%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 30.0
BCC: I expect 5 damage from Spaghetti Spear
Round 1: guyy casts ENTANGLING NOODLES!
BCC: Monster HP is 44
BCC: These are the figures for Cannelloni Cannon: Bonus: 2.0 and 1.2%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 30.0
BCC: I expect 21 damage from Cannelloni Cannon
BCC: These are the figures for Ravioli Shurikens: Bonus: 2.0 and 1.2%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 30.0
BCC: I expect 11 damage from Ravioli Shurikens
BCC: These are the figures for Spaghetti Spear: Bonus: 2.0 and 1.2%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 30.0
BCC: I expect 5 damage from Spaghetti Spear
BCC: We are going to three-shot with Cannelloni Cannon
Round 2: guyy casts CANNELLONI CANNON!
BCC: Monster HP is 12
BCC: These are the figures for Cannelloni Cannon: Bonus: 2.0 and 1.2%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 30.0
BCC: I expect 21 damage from Cannelloni Cannon
BCC: These are the figures for Ravioli Shurikens: Bonus: 2.0 and 1.2%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 30.0
BCC: I expect 11 damage from Ravioli Shurikens
BCC: These are the figures for Spaghetti Spear: Bonus: 2.0 and 1.2%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 30.0
BCC: I expect 5 damage from Spaghetti Spear
BCC: We are going to one-shot with Cannelloni Cannon
Round 3: guyy casts CANNELLONI CANNON!
Round 4: guyy wins the fight!
Your familiar gains a pound: Problematic Seaweed, the 2 lb. Leprechaun
You acquire an item: dense meat stack
You acquire an item: Boss Bat bandana
You acquire an item: Boss Bat britches
You gain 2 Muscleboundness
You gain 7 Enchantedness
You gain 1 Roguishness
Whenever I run the script in my boris run, it's choosing all the hats besides my Boris's Hat. I've tried autoselling the ones it's choosing a few times, but it never defaults on the Boris hat, which I'm pretty sure is my best. How do I have it not touch my hat? Thanks.
if (my_path() == "Way of the Suprising Fist") maxme += " -weapon -offhand";
if (my_path() == "Avatar of Boris" && i_a("Boris's Helm") > 0) maxme += " +equip Boris's Helm";
Also if you bank up karma by doing a bunch of AT or DB runs and not perming things, you can then do a PM run and perm some good skills from there easier (leash, springy, pasta cooking).
Guyy: After you get done with this ascension, I'd recommend you do a couple HC AT ones and some HC DB ones. Those script a lot easier and then you can pick up some useful skills (cocktail crafting, +mox song, +items song, +passive init, +passive items). After those your runs should be a lot easier. Also if you bank up karma by doing a bunch of AT or DB runs and not perming things, you can then do a PM run and perm some good skills from there easier (leash, springy, pasta cooking).
BCC: Setting goals of '1 knob frosting'...
Request 1 of 54 (Knob: Cobb's Knob Kitchens) in progress...
[156] Cobb's Knob Kitchens
Encounter: The Cake Boss
You acquire an item: Knob cake pan
Request 2 of 54 (Knob: Cobb's Knob Kitchens) in progress...
[157] Cobb's Knob Kitchens
Encounter: Batter Up!
You acquire an item: Knob batter
Request 3 of 54 (Knob: Cobb's Knob Kitchens) in progress...
[158] Cobb's Knob Kitchens
Encounter: Jacking Frosting
You acquire an item: Knob frosting
Conditions satisfied after 3 adventures.
[COLOR="#FF0000"][halted]
[manual boozing][/COLOR]
Drinking 1 Cobb's Knob Wurstbrau...
You gain 3 Adventures
You gain 5 Strongness
You gain 6 Mana Points
You gain 1 Drunkenness
BCC: Maximizing '+outfit knob goblin elite guard uniform'
Maximizing...
136 combinations checked, best score 32.0
BCC: Switching Familiar for General Use
BCC: Setting the default familiar to your choice of 'stocking mimic'.
BCC: Nothing to fax according to whatShouldIFax
Resetting mind control device...
Finished drinking 1 Cobb's Knob Wurstbrau.
Mind control device reset.
BCC: Getting the Knob Pan and Batter
Cleared mood.
Cleared mood.
Set mood trigger: When I get Just the Best Anapests, uneffect just the best anapests
Mood swing complete.
Need to Level up a bit to get 34 Mainstat
BCC: levelMe(34, false) called.
Cleared mood.
Set mood trigger: When I get Just the Best Anapests, uneffect just the best anapests
Mood swing complete.
Need to Level up a bit to get at least 34 buffed Primestat. This means getting 2 Primestat.
BCC: But, we're a myst class, so we don't really mind about safe moxie that much. We'll only try to get 25 instead.
Mood swing complete.
Conditions list cleared.
Condition already met: Knob cake pan
Condition already met: Knob batter
BCC: Setting goals of '1 Knob cake pan, 1 knob batter'...
BCC: All goals have already been met, moving on.
[COLOR="#FF0000"][halted]
[manual script restart]
[/COLOR]
Ascending Starting
******************
BCC: Trying to check bcsrelay_settings on the Bumcheekcity servers.
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: levelMe(20, true) called.
Level 5 Starting
BCC: We have not completed the stage [knobking].
[COLOR="#FF0000"][halted][/COLOR]
BCC: Maximizing '+outfit knob goblin elite guard uniform'
Maximizing...
136 combinations checked, best score 32.0
BCC: Switching Familiar for General Use
BCC: Setting the default familiar to your choice of 'stocking mimic'.
BCC: Nothing to fax according to whatShouldIFax
Resetting mind control device...
Mind control device reset.
BCC: Getting the Knob Frosting
Cleared mood.
Cleared mood.
Set mood trigger: When I get Just the Best Anapests, uneffect just the best anapests
Mood swing complete.
Need to Level up a bit to get 34 Mainstat
BCC: levelMe(34, false) called.
Cleared mood.
Set mood trigger: When I get Just the Best Anapests, uneffect just the best anapests
Mood swing complete.
Need to Level up a bit to get at least 34 buffed Primestat. This means getting 2 Primestat.
BCC: But, we're a myst class, so we don't really mind about safe moxie that much. We'll only try to get 25 instead.
Mood swing complete.
Conditions list cleared.
Condition added: Knob frosting
BCC: Setting goals of '1 knob frosting'...
[160] Cobb's Knob Kitchens
Encounter: Aced the Cakes
Nothing more to do here.
[226] Dark Elbow of the Woods
Encounter: G imp
Strategy: D:\mafia\ccs\bcc.ccs [default]
Round 0: guyy wins initiative!
BCC: Monster HP is 46
BCC: These are the figures for Cannelloni Cannon: Bonus: 0.0 and 1.2%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 52.0
BCC: I expect 23 damage from Cannelloni Cannon
BCC: These are the figures for Ravioli Shurikens: Bonus: 0.0 and 1.2%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 52.0
BCC: I expect 10 damage from Ravioli Shurikens
BCC: These are the figures for Spaghetti Spear: Bonus: 0.0 and 1.2%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 52.0
BCC: I expect 3 damage from Spaghetti Spear
Round 1: guyy casts ENTANGLING NOODLES!
BCC: Monster HP is 46
BCC: These are the figures for Cannelloni Cannon: Bonus: 0.0 and 1.2%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 52.0
BCC: I expect 23 damage from Cannelloni Cannon
BCC: These are the figures for Ravioli Shurikens: Bonus: 0.0 and 1.2%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 52.0
BCC: I expect 10 damage from Ravioli Shurikens
BCC: These are the figures for Spaghetti Spear: Bonus: 0.0 and 1.2%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 52.0
BCC: I expect 3 damage from Spaghetti Spear
BCC: We are going to three-shot with Cannelloni Cannon
Round 2: guyy casts CANNELLONI CANNON!
You gain 25 Meat.
BCC: Monster HP is 25
BCC: These are the figures for Cannelloni Cannon: Bonus: 0.0 and 1.2%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 52.0
BCC: I expect 23 damage from Cannelloni Cannon
BCC: These are the figures for Ravioli Shurikens: Bonus: 0.0 and 1.2%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 52.0
BCC: I expect 10 damage from Ravioli Shurikens
BCC: These are the figures for Spaghetti Spear: Bonus: 0.0 and 1.2%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 52.0
BCC: I expect 3 damage from Spaghetti Spear
BCC: We are going to two-shot with Cannelloni Cannon
Round 3: guyy casts CANNELLONI CANNON!
You lose 26 hit points
BCC: Monster HP is 2
BCC: These are the figures for Cannelloni Cannon: Bonus: 0.0 and 1.2%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 52.0
BCC: I expect 23 damage from Cannelloni Cannon
BCC: These are the figures for Ravioli Shurikens: Bonus: 0.0 and 1.2%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 52.0
BCC: I expect 10 damage from Ravioli Shurikens
BCC: These are the figures for Spaghetti Spear: Bonus: 0.0 and 1.2%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 52.0
BCC: I expect 3 damage from Spaghetti Spear
BCC: We are going to one-shot with Spaghetti Spear
Round 4: guyy casts SPAGHETTI SPEAR!
You lose 25 hit points