Winterbay's Helpful Automatic Monsterbasher (WHAM)

So...
Procrastination Giant
A.M.C Gremlin

Any other that would always want to be banished? Banishing everything that doesn't drop a goal sounds a tad bit too expensive, but is probably the most optimal thing to do. ALso, banishing more than 3 monsters in one zone would also be rather ineffective since the first one would come back again then.
 
Version 2.0 uploaded with a pretty large re-write. I hope I didn't break anything but instead made the script more awesome by better usage of BatBrain's features.

Known bug/problem: If you have 1 of an item that it is optimal to throw more than one of the script will probably crash. This is a Batbrain-bug/oversight that'll hopefully be fixed in an upcoming release.

Setting verbosity to 9 will give printouts of what turn you're on for help with the debugging of that problem (as discussed over in the BatBrain-thread).
 
Version 2.0.1 uploaded due to someone having downloaded the uploaded version and me having to change some small things.

Known bug/problems:
* If you have 1 of an item that it is optimal to throw more than one of the script will probably crash. This is a Batbrain-bug/oversight that'll hopefully be fixed in an upcoming release.
* If you're in over your head the script may abort due to not being able to delevel enough. This may be a feature, I'm not sure :)
 
2.0.2 has a small typo in it.
Expected ), found return (WHAM.ash, line 362)
Then this.
Code:
Request 1 of 131 (MusSign: Spooky Gravy Barrow) in progress...

[871] Spooky Gravy Barrow
Encounter: spooky gravy fairy guard
Strategy: C:\Users\best\.kolmafia\ccs\nekkid.ccs [default]
Round 0: weatherboy wins initiative!
Round 1: Mikey Jackson produces a tubular red firecracker labeled M-18, lights the long fuse, and tosses it behind your opponent.
WHAM: Running SmartStasis
Round 1: weatherboy executes a macro!
KoLmafia thinks it is round 2 but KoL thinks it is round 1
WHAM: Monster is weak. We are just going to bash its head in. It'll take 1 rounds.
WHAM: Empty macro generated. Please check, aborting.
You're on your own, partner.
Click here to continue in the relay browser.


Round 2: weatherboy attacks!
KoLmafia thinks it is round 3 but KoL thinks it is round 2
Round 3: spooky gravy fairy guard takes 113 damage.
Round 3: Mikey Jackson produces a cloud of noxious vapors, choking your opponent for 24 damage.
Round 3: spooky gravy fairy guard takes 24 damage.
Round 3: weatherboy wins the fight!
After Battle: Mikey Jackson sets off a lovely little cluster rocket, and smiles broadly as it explodes.
After Battle: Mikey Jackson does a little fairy dance.
You acquire an item: spooky mushroom
You gain 11 Muscleboundness
You gain a Muscle point!
You gain 4 Magicalness
You gain 5 Roguishness

> zlib verbosity = 10

Previous value of verbosity: 3
Changed to 10.
Validating adventure sequence...

Running ZLib version: r35 (current)
Running Best Between Battle Script Ever version: 2.6 (current)
You have a putty monster, but mafia doesn't know what it is.

Visit to MusSign: Spooky Gravy Barrow in progress...

[872] Spooky Gravy Barrow
Encounter: spooky gravy fairy warlock
Strategy: C:\Users\best\.kolmafia\ccs\nekkid.ccs [default]
Round 0: weatherboy wins initiative!
Round 1: Mikey Jackson produces a tubular red firecracker labeled M-21, lights the long fuse, and tosses it behind your opponent.
Running ZLib version: r35 (current)
1 HP costs 0.327μ. ( 321 / 323 )
1 MP costs 3.818μ. ( 43 / 171 )
Running BatBrain version: 1.22 (current)
Running SmartStasis version: 3.14 (current)
Running WHAM version: 2.0.2 (current)
WHAM: We currently think that the round number is: 0 and that the turn number is 871.
WHAM: No need to do anything with this monster.
WHAM: Setting up variables via BatBrain
spooky mushroom (40.0 @ +186.69046): 200μ * 100.0% = 200.0
enchanted toothpick (5.0 @ +186.69046): 595μ * 14.334522% = 85.29041
Value of stat gain: 172.19μ
No valid attacks.
No valid attacks.
spooky mushroom (40.0 @ +186.69046): 200μ * 100.0% = 200.0
enchanted toothpick (5.0 @ +186.69046): 595μ * 14.334522% = 85.29041
Value of stat gain: 172.19μ
ATT: 70 (6% × 1, death in 5350)
DEF: 63 (100% × 109.83 (5), win in 1)
HP: 60, Value: 457.48 μ
Parsed round number: 1
Building options...
Evaluating 'loc(vibrato)'...
Evaluating '192.5*zone(sea)'...
Evaluating '-0.25*70.0*(zone(sea)-1)'...
Evaluating '1.5+zone(sea)*2'...
Evaluating '-min(100,ceil(5*sqrt(min(156.0,60.0))))'...
Evaluating 'min(50,ceil(5*sqrt(min(97.0,60.0))))'...
Evaluating '124.2*zone(sea)'...
Evaluating '15+10*min(1,effect(sugar rush))'...
Evaluating 'max(156.0,max(125.0,97.0))'...
Evaluating 'min(12.0+3,10)+floor(sqrt(max(12.0-7,0)))'...
Evaluating '325.5*zone(sea)'...
Evaluating '1.0*(5.5+min(0.07*97.0,15)+min(0.0,25)+0.0)'...
Evaluating '1.0*(12+min(0.15*97.0,20)+min(0.0,40)+0.0)'...
Evaluating '1.0*(28+min(0.25*97.0,30)+min(0.0,60)+0.0)'...
Evaluating '1.0*(2.5+min(0.0,5)+0.0)'...
Evaluating '1.0*(12+min(0.15*97.0,20)+min(0.0,40))'...
Evaluating '1.0*(28+min(0.25*97.0,30)+min(0.0,60)+0.0)*1.5'...
Evaluating '1.0*(3.5+min(0.1*97.0,10)+min(10.0+0.0,10))'...
Evaluating '1.0*(16+min(0.2*97.0,25)+min(10.0+0.0,15))'...
Evaluating '1.0*(22+min(0.3*97.0,30)+min(10.0+0.0,25))'...
Evaluating '(1+0.5*min(1,effect(sugar rush)))*1.0*(16+min(0.2*97.0,25)+min(10.0+0.0,15))'...
Evaluating '1.0*(16+min(0.2*97.0,25)+min(10.0+0.0,15))'...
Options built! (205 actions)
WHAM: We currently think that the round number is: 1 and that the turn number is 871.
WHAM: You have no profitable MP restoratives.
WHAM: You have no profitable HP restoratives.
WHAM: You are fighting a Spooky Gravy Fairy Warlock. Mafia considers that this monster has an attack of 70 or 70 when given a monster name.
WHAM: Mafia further considers that this monster has a defense value of 63 or 63 when given a monster name.
WHAM: Mafia further further considers that this monster has a HP value of 60 or 60 when given a monster name.
WHAM: Your current ML-adjustment is: 10.
WHAM: Monster HP is 60.0.
WHAM: WHAM added the following to BatRound: if pastround 29; 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; 
WHAM: We currently think that the round number is: 1 and that the turn number is 871.
WHAM: SS did not finish the script off, continuing with script execution. 
WHAM: Starting evaluation and performing of attack
WHAM: We currently think that the round number is: 1 and that the turn number is 871.
WHAM: You will kill the monster in 1 rounds with your basic attack.
WHAM: The monster will take more than 30 rounds to kill you.
rounds_to_kill: 1, round_limit: 10, maxround: 30, die_rounds(): 5350, hitchance("attack"): 1.0
WHAM: Expected received damage per round: 0.06, Rounds to kill: 1, Expected damage: 60.0, Hit chance: 1.0
WHAM: Monster is weak. We are just going to bash its head in. It'll take 1 rounds.
WHAM: I would've choosen to attack the monster to death.
WHAM: Debug printing the damage dealt by your options.
 
WHAM: Attack with your weapon: 60.0 potential damage.
WHAM: Candyblast: 26.55 potential damage.
WHAM: Gnomitronic Hyperspatial Demodulizer: 11.0 potential damage.
WHAM: Toss: 12.0 potential damage.
WHAM: cinnamon troll doll: 8.0 potential damage.
WHAM: spectre scepter: 6.375 potential damage.
WHAM: seal tooth: 1.0 potential damage.
WHAM: spices: 1.0 potential damage.
WHAM: toy mercenary: 32.5 potential damage.
WHAM: Clobber: 21.5 potential damage.
WHAM: Chronic Indigestion: 60.0 potential damage.
WHAM: Stream of Sauce: 34.800003 potential damage.
WHAM: cocktail napkin: 60.0 potential damage.
WHAM: Spaghetti Spear: 2.5 potential damage.
WHAM: Sing: 2.5 potential damage.
WHAM: Saucestorm: 60.0 potential damage.
WHAM: Käsesoßesturm: 60.0 potential damage.
WHAM: Suckerpunch: 1.0 potential damage.
WHAM: Cannelloni Cannon: 31.974998 potential damage.
WHAM: Ravioli Shurikens: 15.338333 potential damage.
WHAM: Stuffed Mortar Shell: 60.0 potential damage.
WHAM: Stringozzi Serpent: 60.0 potential damage.
WHAM: Bohemian rhapsody: 36.5 potential damage.
WHAM: flirtatious feather: 60.0 potential damage.
WHAM: Wave of Sauce: 60.0 potential damage.
WHAM: yo-yo: 35.0 potential damage.
WHAM: dwarf bread: 17.5 potential damage.
WHAM: groupie lipstick: 60.0 potential damage.
WHAM: fat bottom quark: 60.0 potential damage.
WHAM: sonar-in-a-biscuit: 6.0 potential damage.
WHAM: Surge of Icing: 45.4 potential damage.
WHAM: bottle of alcohol: 60.0 potential damage.
WHAM: Weapon of the Pastalord: 60.0 potential damage.
WHAM: Disco Eye-Poke: 2.0 potential damage.
WHAM: stick of dynamite: 17.5 potential damage.
WHAM: flaregun: 26.400002 potential damage.
WHAM: Disco Dance of Doom: 7.0 potential damage.
WHAM: Saucegeyser: 60.0 potential damage.
WHAM: Harpoon!: 60.0 potential damage.
WHAM: Offensive Joke: 35.0 potential damage.
WHAM: Disco Face Stab: 16.5 potential damage.
WHAM: flaming feather: 60.0 potential damage.
WHAM: fetid feather: 60.0 potential damage.
WHAM: boulder: 25.0 potential damage.
WHAM: Disco Dance II: Electric Boogaloo: 9.0 potential damage.
WHAM: rocky raccoon: 55.0 potential damage.
WHAM: patchouli oil bomb: 60.0 potential damage.
WHAM: macrame net: 60.0 potential damage.
WHAM: tequila grenade: 60.0 potential damage.
WHAM: water pipe bomb: 60.0 potential damage.
WHAM: beer bomb: 60.0 potential damage.
WHAM: molotov cocktail cocktail: 60.0 potential damage.
WHAM: ovoid leather thing: 60.0 potential damage.
WHAM: Fire off a Roman Candle: 10.6 potential damage.
WHAM: love song of smoldering passion: 60.0 potential damage.
WHAM: Goodfella contract: 36.0 potential damage.
WHAM: spangly unitard: 60.0 potential damage.
WHAM: ancient poisoned dart: 8.0 potential damage.
WHAM: frozen feather: 60.0 potential damage.
WHAM: shard of double-ice: 60.0 potential damage.
WHAM: pixel cross: 60.0 potential damage.
WHAM: frigid ninja stars: 22.0 potential damage.
WHAM: stone frisbee: 60.0 potential damage.
WHAM: Conjure Relaxing Campfire: 49.4 potential damage.
WHAM: Mudbath: 49.4 potential damage.
WHAM: ancient spice: 35.0 potential damage.
WHAM: mauve plastic oyster egg: 42.5 potential damage.
WHAM: lavender plastic oyster egg: 42.5 potential damage.
WHAM: photoprotoneutron torpedo: 40.0 potential damage.
WHAM: love song of vague ambiguity: 60.0 potential damage.
WHAM: ferret bait: 52.5 potential damage.
WHAM: sake bomb: 52.5 potential damage.
WHAM: Tango of Terror: 1.0 potential damage.
WHAM: pixel holy water: 55.0 potential damage.
WHAM: Maximum Chill: 24.7 potential damage.
WHAM: Inappropriate Backrub: 24.7 potential damage.
WHAM: Wassail: 24.7 potential damage.
WHAM: floorboard cruft: 60.0 potential damage.
WHAM: pygmy blowgun: 25.0 potential damage.
WHAM: facehugging alien: 60.0 potential damage.
WHAM: NG: 55.0 potential damage.
WHAM: love song of naughty innuendo: 60.0 potential damage.
WHAM: plot hole: 22.5 potential damage.
WHAM: divine can of silly string: 60.0 potential damage.
WHAM: exploding hacky-sack: 60.0 potential damage.
WHAM: petrified wood: 56.0 potential damage.
WHAM: frightful feather: 1.0 potential damage.
WHAM: pool of liquid metal: 3.75 potential damage.
WHAM: Spectral Snapper: 1.0 potential damage.
WHAM: love song of sugary cuteness: 60.0 potential damage.
WHAM: old-school flying disc: 60.0 potential damage.
WHAM: love song of icy revenge: 60.0 potential damage.
WHAM: sausage bomb: 60.0 potential damage.
WHAM: imp air: 60.0 potential damage.
WHAM: Fearful Fettucini: 1.0 potential damage.
WHAM: poltergeist-in-the-jar-o: 60.0 potential damage.
WHAM: Dyspepsi grenade: 55.0 potential damage.
WHAM: Creepy Lullaby: 1.0 potential damage.
WHAM: razor-sharp can lid: 2.5 potential damage.
WHAM: crusty hula hoop: 60.0 potential damage.
WHAM: red wagon: 60.0 potential damage.
WHAM: bus pass: 47.0 potential damage.
WHAM: paint bomb: 46.0 potential damage.
WHAM: rickety old unicycle: 60.0 potential damage.
WHAM: mariachi G-string: 12.5 potential damage.
WHAM: big boom: 60.0 potential damage.
WHAM: robotronic egg: 14.2 potential damage.
WHAM: love song of disturbing obsession: 1.0 potential damage.
WHAM: scroll of ancient forbidden unspeakable evil: 30.166664 potential damage.
WHAM: boozebomb: 60.0 potential damage.
WHAM: Colon Annihilation Hot Sauce: 14.0 potential damage.
WHAM: grouchy restless spirit: 1.0 potential damage.
WHAM: Knob Goblin firecracker: 3.0 potential damage.
WHAM: baseball: 7.0 potential damage.
WHAM: noxious gas grenade: 60.0 potential damage.
WHAM: shrinking powder: 34.5 potential damage.
WHAM: The Bomb: 60.0 potential damage.
WHAM: skate skates: 60.0 potential damage.
WHAM: broken glass grenade: 60.0 potential damage.
WHAM: chocolate frosted sugar bomb: 60.0 potential damage.
WHAM: candy kneecapping stick: 15.0 potential damage.
WHAM: hedgeturtle: 50.0 potential damage.
WHAM: 4:20 bomb: 60.0 potential damage.
WHAM: leftovers of indeterminate origin: 10.0 potential damage.
WHAM: can of sterno: 45.0 potential damage.
WHAM: cursed cannonball: 1.0 potential damage.
WHAM: lewd playing card: 60.0 potential damage.
WHAM: possessed tomato: 1.0 potential damage.
WHAM: skull with a fuse in it: 1.0 potential damage.

WHAM: Evaluating the attack but not performing it took 0.685 seconds.
WHAM: Stopping now, go read the generated data-files
You're on your own, partner.
Click here to continue in the relay browser.


Round 1: weatherboy attacks!
Round 2: spooky gravy fairy warlock takes 111 damage.
Round 2: weatherboy wins the fight!
After Battle: Mikey Jackson sets off a lovely little cluster rocket, and smiles broadly as it explodes.
After Battle: Mikey Jackson does a little fairy dance.
You acquire an item: spooky mushroom
You gain 13 Strengthliness
You gain 4 Wizardliness
You gain 5 Sarcasm
 
Last edited:
sabre-toothed goat?
slick lihc, slick lihc?
Flaming Troll?

There must me more than that...

Admitting again that perhaps I am a bit excessive, here's part of my ccs.

Code:
[ _banish ]
if hascombatitem rock band flyers
    item rock band flyers
endif
skill banishing shout
default

[ a.m.c. gremlin ]
section _banish

[ blackberry bush ]
section _banish

[ bullet bill ]
section _banish

[ chatty pirate ]
section _banish

[ clingy pirate ]
if hascombatitem cocktail napkin
    item cocktail napkin
endif
section _banish

[ crusty pirate ]
section _banish

[ drab bard ]
section _banish

[drunk goat ]
section _banish

[ flaming troll ]
section _banish

[ fleaman ]
section _banish

[ flock of stab-bats ]
section _banish

[ grassy pirate ]
section _banish

[ gritty pirate ]
section _banish

[ groovy pirate ]
section _banish

[ knight in white satin ]
section _banish

[ probability giant ]
section _banish

[ procrastination giant ]
skill banishing shout
skill intimidating bellow
skill heroic belch

[sabre-tooth goat ]
section _banish

[ taco cat ]
section _banish

[ the box ]
section _banish

[ white chocolate golem ]
section _banish

:eek::eek::eek:

eta: there are also the 7-foot dwarves in the mine (2 + a foreman).
 
Last edited:
2.0.2 has a small typo in it.
Expected ), found return (WHAM.ash, line 362)
Then this.
Code:
Request 1 of 131 (MusSign: Spooky Gravy Barrow) in progress...

[871] Spooky Gravy Barrow
Encounter: spooky gravy fairy guard
Strategy: C:\Users\best\.kolmafia\ccs\nekkid.ccs [default]
Round 0: weatherboy wins initiative!
Round 1: Mikey Jackson produces a tubular red firecracker labeled M-18, lights the long fuse, and tosses it behind your opponent.
WHAM: Running SmartStasis
Round 1: weatherboy executes a macro!
KoLmafia thinks it is round 2 but KoL thinks it is round 1
WHAM: Monster is weak. We are just going to bash its head in. It'll take 1 rounds.
WHAM: Empty macro generated. Please check, aborting.
You're on your own, partner.
Click here to continue in the relay browser.


Round 2: weatherboy attacks!
KoLmafia thinks it is round 3 but KoL thinks it is round 2
Round 3: spooky gravy fairy guard takes 113 damage.
Round 3: Mikey Jackson produces a cloud of noxious vapors, choking your opponent for 24 damage.
Round 3: spooky gravy fairy guard takes 24 damage.
Round 3: weatherboy wins the fight!
After Battle: Mikey Jackson sets off a lovely little cluster rocket, and smiles broadly as it explodes.
After Battle: Mikey Jackson does a little fairy dance.
You acquire an item: spooky mushroom
You gain 11 Muscleboundness
You gain a Muscle point!
You gain 4 Magicalness
You gain 5 Roguishness

> zlib verbosity = 10

Previous value of verbosity: 3
Changed to 10.
Validating adventure sequence...

Running ZLib version: r35 (current)
Running Best Between Battle Script Ever version: 2.6 (current)
You have a putty monster, but mafia doesn't know what it is.

Visit to MusSign: Spooky Gravy Barrow in progress...

[872] Spooky Gravy Barrow
Encounter: spooky gravy fairy warlock
Strategy: C:\Users\best\.kolmafia\ccs\nekkid.ccs [default]
Round 0: weatherboy wins initiative!
Round 1: Mikey Jackson produces a tubular red firecracker labeled M-21, lights the long fuse, and tosses it behind your opponent.
Running ZLib version: r35 (current)
1 HP costs 0.327μ. ( 321 / 323 )
1 MP costs 3.818μ. ( 43 / 171 )
Running BatBrain version: 1.22 (current)
Running SmartStasis version: 3.14 (current)
Running WHAM version: 2.0.2 (current)
WHAM: We currently think that the round number is: 0 and that the turn number is 871.
WHAM: No need to do anything with this monster.
WHAM: Setting up variables via BatBrain
spooky mushroom (40.0 @ +186.69046): 200μ * 100.0% = 200.0
enchanted toothpick (5.0 @ +186.69046): 595μ * 14.334522% = 85.29041
Value of stat gain: 172.19μ
No valid attacks.
No valid attacks.
spooky mushroom (40.0 @ +186.69046): 200μ * 100.0% = 200.0
enchanted toothpick (5.0 @ +186.69046): 595μ * 14.334522% = 85.29041
Value of stat gain: 172.19μ
ATT: 70 (6% × 1, death in 5350)
DEF: 63 (100% × 109.83 (5), win in 1)
HP: 60, Value: 457.48 μ
Parsed round number: 1
Building options...
Evaluating 'loc(vibrato)'...
Evaluating '192.5*zone(sea)'...
Evaluating '-0.25*70.0*(zone(sea)-1)'...
Evaluating '1.5+zone(sea)*2'...
Evaluating '-min(100,ceil(5*sqrt(min(156.0,60.0))))'...
Evaluating 'min(50,ceil(5*sqrt(min(97.0,60.0))))'...
Evaluating '124.2*zone(sea)'...
Evaluating '15+10*min(1,effect(sugar rush))'...
Evaluating 'max(156.0,max(125.0,97.0))'...
Evaluating 'min(12.0+3,10)+floor(sqrt(max(12.0-7,0)))'...
Evaluating '325.5*zone(sea)'...
Evaluating '1.0*(5.5+min(0.07*97.0,15)+min(0.0,25)+0.0)'...
Evaluating '1.0*(12+min(0.15*97.0,20)+min(0.0,40)+0.0)'...
Evaluating '1.0*(28+min(0.25*97.0,30)+min(0.0,60)+0.0)'...
Evaluating '1.0*(2.5+min(0.0,5)+0.0)'...
Evaluating '1.0*(12+min(0.15*97.0,20)+min(0.0,40))'...
Evaluating '1.0*(28+min(0.25*97.0,30)+min(0.0,60)+0.0)*1.5'...
Evaluating '1.0*(3.5+min(0.1*97.0,10)+min(10.0+0.0,10))'...
Evaluating '1.0*(16+min(0.2*97.0,25)+min(10.0+0.0,15))'...
Evaluating '1.0*(22+min(0.3*97.0,30)+min(10.0+0.0,25))'...
Evaluating '(1+0.5*min(1,effect(sugar rush)))*1.0*(16+min(0.2*97.0,25)+min(10.0+0.0,15))'...
Evaluating '1.0*(16+min(0.2*97.0,25)+min(10.0+0.0,15))'...
Options built! (205 actions)
WHAM: We currently think that the round number is: 1 and that the turn number is 871.
WHAM: You have no profitable MP restoratives.
WHAM: You have no profitable HP restoratives.
WHAM: You are fighting a Spooky Gravy Fairy Warlock. Mafia considers that this monster has an attack of 70 or 70 when given a monster name.
WHAM: Mafia further considers that this monster has a defense value of 63 or 63 when given a monster name.
WHAM: Mafia further further considers that this monster has a HP value of 60 or 60 when given a monster name.
WHAM: Your current ML-adjustment is: 10.
WHAM: Monster HP is 60.0.
WHAM: WHAM added the following to BatRound: if pastround 29; 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; 
WHAM: We currently think that the round number is: 1 and that the turn number is 871.
WHAM: SS did not finish the script off, continuing with script execution. 
WHAM: Starting evaluation and performing of attack
WHAM: We currently think that the round number is: 1 and that the turn number is 871.
WHAM: You will kill the monster in 1 rounds with your basic attack.
WHAM: The monster will take more than 30 rounds to kill you.
rounds_to_kill: 1, round_limit: 10, maxround: 30, die_rounds(): 5350, hitchance("attack"): 1.0
WHAM: Expected received damage per round: 0.06, Rounds to kill: 1, Expected damage: 60.0, Hit chance: 1.0
WHAM: Monster is weak. We are just going to bash its head in. It'll take 1 rounds.
WHAM: I would've choosen to attack the monster to death.
WHAM: Debug printing the damage dealt by your options.
 
WHAM: Attack with your weapon: 60.0 potential damage.
WHAM: Candyblast: 26.55 potential damage.
WHAM: Gnomitronic Hyperspatial Demodulizer: 11.0 potential damage.
WHAM: Toss: 12.0 potential damage.
WHAM: cinnamon troll doll: 8.0 potential damage.
WHAM: spectre scepter: 6.375 potential damage.
WHAM: seal tooth: 1.0 potential damage.
WHAM: spices: 1.0 potential damage.
WHAM: toy mercenary: 32.5 potential damage.
WHAM: Clobber: 21.5 potential damage.
WHAM: Chronic Indigestion: 60.0 potential damage.
WHAM: Stream of Sauce: 34.800003 potential damage.
WHAM: cocktail napkin: 60.0 potential damage.
WHAM: Spaghetti Spear: 2.5 potential damage.
WHAM: Sing: 2.5 potential damage.
WHAM: Saucestorm: 60.0 potential damage.
WHAM: Käsesoßesturm: 60.0 potential damage.
WHAM: Suckerpunch: 1.0 potential damage.
WHAM: Cannelloni Cannon: 31.974998 potential damage.
WHAM: Ravioli Shurikens: 15.338333 potential damage.
WHAM: Stuffed Mortar Shell: 60.0 potential damage.
WHAM: Stringozzi Serpent: 60.0 potential damage.
WHAM: Bohemian rhapsody: 36.5 potential damage.
WHAM: flirtatious feather: 60.0 potential damage.
WHAM: Wave of Sauce: 60.0 potential damage.
WHAM: yo-yo: 35.0 potential damage.
WHAM: dwarf bread: 17.5 potential damage.
WHAM: groupie lipstick: 60.0 potential damage.
WHAM: fat bottom quark: 60.0 potential damage.
WHAM: sonar-in-a-biscuit: 6.0 potential damage.
WHAM: Surge of Icing: 45.4 potential damage.
WHAM: bottle of alcohol: 60.0 potential damage.
WHAM: Weapon of the Pastalord: 60.0 potential damage.
WHAM: Disco Eye-Poke: 2.0 potential damage.
WHAM: stick of dynamite: 17.5 potential damage.
WHAM: flaregun: 26.400002 potential damage.
WHAM: Disco Dance of Doom: 7.0 potential damage.
WHAM: Saucegeyser: 60.0 potential damage.
WHAM: Harpoon!: 60.0 potential damage.
WHAM: Offensive Joke: 35.0 potential damage.
WHAM: Disco Face Stab: 16.5 potential damage.
WHAM: flaming feather: 60.0 potential damage.
WHAM: fetid feather: 60.0 potential damage.
WHAM: boulder: 25.0 potential damage.
WHAM: Disco Dance II: Electric Boogaloo: 9.0 potential damage.
WHAM: rocky raccoon: 55.0 potential damage.
WHAM: patchouli oil bomb: 60.0 potential damage.
WHAM: macrame net: 60.0 potential damage.
WHAM: tequila grenade: 60.0 potential damage.
WHAM: water pipe bomb: 60.0 potential damage.
WHAM: beer bomb: 60.0 potential damage.
WHAM: molotov cocktail cocktail: 60.0 potential damage.
WHAM: ovoid leather thing: 60.0 potential damage.
WHAM: Fire off a Roman Candle: 10.6 potential damage.
WHAM: love song of smoldering passion: 60.0 potential damage.
WHAM: Goodfella contract: 36.0 potential damage.
WHAM: spangly unitard: 60.0 potential damage.
WHAM: ancient poisoned dart: 8.0 potential damage.
WHAM: frozen feather: 60.0 potential damage.
WHAM: shard of double-ice: 60.0 potential damage.
WHAM: pixel cross: 60.0 potential damage.
WHAM: frigid ninja stars: 22.0 potential damage.
WHAM: stone frisbee: 60.0 potential damage.
WHAM: Conjure Relaxing Campfire: 49.4 potential damage.
WHAM: Mudbath: 49.4 potential damage.
WHAM: ancient spice: 35.0 potential damage.
WHAM: mauve plastic oyster egg: 42.5 potential damage.
WHAM: lavender plastic oyster egg: 42.5 potential damage.
WHAM: photoprotoneutron torpedo: 40.0 potential damage.
WHAM: love song of vague ambiguity: 60.0 potential damage.
WHAM: ferret bait: 52.5 potential damage.
WHAM: sake bomb: 52.5 potential damage.
WHAM: Tango of Terror: 1.0 potential damage.
WHAM: pixel holy water: 55.0 potential damage.
WHAM: Maximum Chill: 24.7 potential damage.
WHAM: Inappropriate Backrub: 24.7 potential damage.
WHAM: Wassail: 24.7 potential damage.
WHAM: floorboard cruft: 60.0 potential damage.
WHAM: pygmy blowgun: 25.0 potential damage.
WHAM: facehugging alien: 60.0 potential damage.
WHAM: NG: 55.0 potential damage.
WHAM: love song of naughty innuendo: 60.0 potential damage.
WHAM: plot hole: 22.5 potential damage.
WHAM: divine can of silly string: 60.0 potential damage.
WHAM: exploding hacky-sack: 60.0 potential damage.
WHAM: petrified wood: 56.0 potential damage.
WHAM: frightful feather: 1.0 potential damage.
WHAM: pool of liquid metal: 3.75 potential damage.
WHAM: Spectral Snapper: 1.0 potential damage.
WHAM: love song of sugary cuteness: 60.0 potential damage.
WHAM: old-school flying disc: 60.0 potential damage.
WHAM: love song of icy revenge: 60.0 potential damage.
WHAM: sausage bomb: 60.0 potential damage.
WHAM: imp air: 60.0 potential damage.
WHAM: Fearful Fettucini: 1.0 potential damage.
WHAM: poltergeist-in-the-jar-o: 60.0 potential damage.
WHAM: Dyspepsi grenade: 55.0 potential damage.
WHAM: Creepy Lullaby: 1.0 potential damage.
WHAM: razor-sharp can lid: 2.5 potential damage.
WHAM: crusty hula hoop: 60.0 potential damage.
WHAM: red wagon: 60.0 potential damage.
WHAM: bus pass: 47.0 potential damage.
WHAM: paint bomb: 46.0 potential damage.
WHAM: rickety old unicycle: 60.0 potential damage.
WHAM: mariachi G-string: 12.5 potential damage.
WHAM: big boom: 60.0 potential damage.
WHAM: robotronic egg: 14.2 potential damage.
WHAM: love song of disturbing obsession: 1.0 potential damage.
WHAM: scroll of ancient forbidden unspeakable evil: 30.166664 potential damage.
WHAM: boozebomb: 60.0 potential damage.
WHAM: Colon Annihilation Hot Sauce: 14.0 potential damage.
WHAM: grouchy restless spirit: 1.0 potential damage.
WHAM: Knob Goblin firecracker: 3.0 potential damage.
WHAM: baseball: 7.0 potential damage.
WHAM: noxious gas grenade: 60.0 potential damage.
WHAM: shrinking powder: 34.5 potential damage.
WHAM: The Bomb: 60.0 potential damage.
WHAM: skate skates: 60.0 potential damage.
WHAM: broken glass grenade: 60.0 potential damage.
WHAM: chocolate frosted sugar bomb: 60.0 potential damage.
WHAM: candy kneecapping stick: 15.0 potential damage.
WHAM: hedgeturtle: 50.0 potential damage.
WHAM: 4:20 bomb: 60.0 potential damage.
WHAM: leftovers of indeterminate origin: 10.0 potential damage.
WHAM: can of sterno: 45.0 potential damage.
WHAM: cursed cannonball: 1.0 potential damage.
WHAM: lewd playing card: 60.0 potential damage.
WHAM: possessed tomato: 1.0 potential damage.
WHAM: skull with a fuse in it: 1.0 potential damage.

WHAM: Evaluating the attack but not performing it took 0.685 seconds.
WHAM: Stopping now, go read the generated data-files
You're on your own, partner.
Click here to continue in the relay browser.


Round 1: weatherboy attacks!
Round 2: spooky gravy fairy warlock takes 111 damage.
Round 2: weatherboy wins the fight!
After Battle: Mikey Jackson sets off a lovely little cluster rocket, and smiles broadly as it explodes.
After Battle: Mikey Jackson does a little fairy dance.
You acquire an item: spooky mushroom
You gain 13 Strengthliness
You gain 4 Wizardliness
You gain 5 Sarcasm

Thanks. I'll fix that and reupload.

I have however no idea why it aborted there, well I know why it aborted the 2nd time (verbosity = 10 does that) but that's beside the point. 2.0.3 fixes the parenthesis and possibly this issue as well. I changed the way that "attack" is enqueued to a macro at least.
 
SO it did. Reuploaded with the correct number (change the 2.0.2 to a 2.0.3 yourself if You don't want to redownload).
 
Version 2.1 uploaded to be compatible with latest version of SS and also to not enqueue items as skills since that won't work.

I did run into an issue at time when it tried to enqueue an item or skill and failed, but I have no idea why. If you run into it let me know so that I know I'm jus timagining things :)
 
I keep having the enqueue issue with the snow queen, so I bumped verbosity up to 8 in case that would help with troubleshooting.

PHP:
Request 2 of 176 (McLarge: Icy Peak) in progress...

[1389] Icy Peak
Encounter: Snow Queen
Strategy: C:\KOLMafia\ccs\default.ccs [default]
Round 0: smeagol69 wins initiative!
Round 1: smeagol69 tries to steal an item!
Running ZLib version: r35 (current)
1 HP costs 0.0070μ. ( 165 / 235 )
1 MP costs 0.018μ. ( 113 / 213 )
Running BatBrain version: 1.23 (current)
Running SmartStasis version: 3.15 (current)
Running WHAM version: 2.1 (current)
WHAM: No need to do anything with this monster.
WHAM: Setting up variables via BatBrain
crazy little Turkish delight (25.0 @ +55.0): 50μ * 38.75% = 19.375
ga-ga radio (5.0 @ +55.0): 130μ * 7.75% = 10.075
Snow Queen Crown (5.0 @ +55.0): 428μ * 7.75% = 33.17
Value of stat gain: 419.38μ
crazy little Turkish delight (25.0 @ +55.0): 50μ * 38.75% = 19.375
ga-ga radio (5.0 @ +55.0): 130μ * 7.75% = 10.075
Snow Queen Crown (5.0 @ +55.0): 428μ * 7.75% = 33.17
Value of stat gain: 419.38μ
ATT: 122 (6% × 6.38, death in 432)
DEF: 108 (95.45% × 67.97, win in 89)
HP: 89.25, Value: 481.0 μ
Parsed round number: 2
WHAM: You have no profitable MP restoratives.
WHAM: You have no profitable HP restoratives.
WHAM: Monster HP is 89.25.
WHAM: Running SmartStasis
Profit per round: ActionProfitDamageOtherbase; Hobo Monkey (75μ)75μ--
crazy little Turkish delight (25.0 @ +55.0): 50μ * 38.75% = 19.375
ga-ga radio (5.0 @ +55.0): 130μ * 7.75% = 10.075
Snow Queen Crown (5.0 @ +55.0): 428μ * 7.75% = 33.17
crazy little Turkish delight (25.0 @ +55.0): 50μ * 38.75% = 19.375
crazy little Turkish delight (30.000002 @ +55.0): 50μ * 46.500004% = 23.250002
ga-ga radio (5.0 @ +55.0): 130μ * 7.75% = 10.075
ga-ga radio (6.0 @ +55.0): 130μ * 9.3% = 12.09
Snow Queen Crown (5.0 @ +55.0): 428μ * 7.75% = 33.17
Snow Queen Crown (6.0 @ +55.0): 428μ * 9.3% = 39.804
crazy little Turkish delight (25.0 @ +55.0): 50μ * 38.75% = 19.375
crazy little Turkish delight (32.5 @ +55.0): 50μ * 50.375% = 25.1875
ga-ga radio (5.0 @ +55.0): 130μ * 7.75% = 10.075
ga-ga radio (6.5 @ +55.0): 130μ * 10.075% = 13.0975
Snow Queen Crown (5.0 @ +55.0): 428μ * 7.75% = 33.17
Snow Queen Crown (6.5 @ +55.0): 428μ * 10.075% = 43.121002
crazy little Turkish delight (25.0 @ +55.0): 50μ * 38.75% = 19.375
ga-ga radio (5.0 @ +55.0): 130μ * 7.75% = 10.075
Snow Queen Crown (5.0 @ +55.0): 428μ * 7.75% = 33.17
Value of stat gain: 419.38μ
Attack action chosen: use 3388 (round 2, profit: 75.0)
Queued: skill 50; skill 52; skill 51
crazy little Turkish delight (25.0 @ +55.0): 50μ * 38.75% = 19.375
ga-ga radio (5.0 @ +55.0): 130μ * 7.75% = 10.075
Snow Queen Crown (5.0 @ +55.0): 428μ * 7.75% = 33.17
Value of stat gain: 419.38μ
Attack action chosen: use 3388 (round 5, profit: 75)
Queued: skill 51; skill 52; skill 50
crazy little Turkish delight (25.0 @ +55.0): 50μ * 38.75% = 19.375
ga-ga radio (5.0 @ +55.0): 130μ * 7.75% = 10.075
Snow Queen Crown (5.0 @ +55.0): 428μ * 7.75% = 33.17
Value of stat gain: 419.38μ
Attack action chosen: use 3388 (round 8, profit: 75)
Queued: skill 5003; skill 5005; skill 5008
Constructed macro: scrollwhendone; sub batround; 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; endsub; skill 50; skill 52; skill 51; call batround; skill 51; skill 52; skill 50; call batround; skill 5003; skill 5005; skill 5008; call batround; 
Round 2: smeagol69 executes a macro!
Round 2: smeagol69 casts BREAK IT ON DOWN!
Round 3: snow queen takes 1 damage.
Round 3: Hodgman climbs up and sits on your shoulder, and hands you some Meat. Huh, where did he find that?
You gain 66 Meat.
Round 3: smeagol69 casts RUN LIKE THE WIND!
Round 4: snow queen takes 1 damage.
Round 4: smeagol69 casts POP AND LOCK IT!
Round 5: snow queen takes 1 damage.
You acquire an item: crazy little Turkish delight
Round 5: smeagol69 casts POP AND LOCK IT!
Round 6: snow queen takes 1 damage.
Round 6: smeagol69 casts RUN LIKE THE WIND!
Round 7: snow queen takes 1 damage.
Round 7: smeagol69 casts BREAK IT ON DOWN!
You acquire an effect: Rave Concentration (duration: 1 Adventure)
Round 8: smeagol69 casts DISCO EYE-POKE!
Round 9: snow queen takes 1 damage.
Round 9: snow queen drops 3 attack power.
Round 9: snow queen drops 3 defense.
Round 9: smeagol69 casts DISCO DANCE OF DOOM!
Round 10: snow queen takes 1 damage.
Round 10: snow queen drops 5 attack power.
Round 10: snow queen drops 5 defense.
Round 10: smeagol69 casts DISCO DANCE II: ELECTRIC BOOGALOO!
Round 11: snow queen takes 1 damage.
You acquire an effect: Disco Concentration (duration: 1 Adventure)
Round 11: snow queen drops 7 attack power.
Round 11: snow queen drops 7 defense.
Happened: skill 50
Happened: skill 52
Happened: skill 51
Happened: skill 51
Happened: skill 52
Happened: skill 50
Happened: skill 5003
Happened: skill 5005
Happened: skill 5008
Parsed round number: 11
Happened: famspent
You snatched a crazy little Turkish delight (50μ)!
ga-ga radio (5.0 @ +105.0): 130μ * 10.25% = 13.325
Snow Queen Crown (5.0 @ +105.0): 428μ * 10.25% = 43.87
Value of stat gain: 419.38μ
Revised monster value: 476.57
Happened: stolen
Stasis action chosen: skill 5021 (round 11, profit: -0.0)
ga-ga radio (5.0 @ +105.0): 130μ * 10.25% = 13.325
Snow Queen Crown (5.0 @ +105.0): 428μ * 10.25% = 43.87
Value of stat gain: 419.38μ
Attack action chosen: use 3388 (round 11, profit: 0.0)
WHAM: SmartStasis complete.
WHAM: Starting evaluation and performing of attack
WHAM: You won't kill the monster before 30 rounds with your basic attack.
WHAM: The monster will take more than 30 rounds to kill you.
ga-ga radio (5.0 @ +105.0): 130μ * 10.25% = 13.325
Snow Queen Crown (5.0 @ +105.0): 428μ * 10.25% = 43.87
Value of stat gain: 419.38μ
Attack action chosen: use 3388 (round 11, profit: 0.0)
Queued: use 3388
WHAM: Enqueueing Zombo's empty eye (macroid use 3388).
Unable to enqueue empty action.
WHAM: Failed to enqueue Zombo's empty eye. Aborting to let you figure this out.
You're on your own, partner.
Click here to continue in the relay browser.

since it failed, and it appears to have been trying to use the empty eye, I tried that manually (I also have fire red bottle rocket available, but it costs more MP I guess)
PHP:
KoLmafia thinks it is round 12 but KoL thinks it is round 11
KoLmafia thinks it is round 13 but KoL thinks it is round 11
KoLmafia thinks it is round 14 but KoL thinks it is round 11
KoLmafia thinks it is round 15 but KoL thinks it is round 11
Round 15: smeagol69 uses the Zombo's empty eye!
KoLmafia thinks it is round 16 but KoL thinks it is round 12
Round 16: snow queen takes 342 damage.
Round 16: snow queen drops 31 attack power.
Round 16: snow queen drops 37 defense.
Round 16: smeagol69 wins the fight!
You gain 10 Mojo Points
You gain 8 Muscleboundness
You gain 6 Wizardliness
You gain 23 Cheek
You gain a Moxie point!

If there is anything else you want me to try, let me know...
 
Latest versions of everything - WHAM does not seem to be getting pirate insults. Zarqon suggested in the SmartStasis thread that it might be a WHAM issue rather than SS. Perhaps related, WHAM didn't really figure out what to do with any of the pirates and dropped me into the relay browser for every fight.
 
I'd also add that automatic usage of fliers isn't working either and I got dropped to the relay browser whenever I encountered a Procrastination Giant.
 
I'd also add that automatic usage of fliers isn't working either and I got dropped to the relay browser whenever I encountered a Procrastination Giant.

Procrastination giant has dropped me for quite a while. I suspect bad or funky data although I have not bothered to investigate. zarqon also noted the fliers and again, the hypothesis is that is is WHAM and not SmartStasis or BatBrain.
 
I'm also having problems with flyering and insults, latest versions of WHAM, SmartStasis and BatBrain. Tried DestroyAllMonsters, which I hadn't heard about before, and that IS working (well, flyering - I'm past the pirates now).
 
I'm having a problem with the Pirates and some other mobs, but that is because sometimes WHAM try to enqueue a Double-Ice shard, which I do have one of, but..

Code:
[558] Giant's Castle
Encounter: Procrastination Giant
Strategy: D:\Bengt\KoLMafia\ccs\Sauceror.ccs [default]
Round 0: ferdawoon wins initiative!
1 HP costs 11.333μ. ( 364 / 364 )
1 MP costs 17μ. ( 71 / 71 )
Factoring in double-ice cap: (15) damage, stun 1.0, retal
ATT: 162 (94% × 90.02, death in 5)
DEF: 146 (95.45% × 158.9 (10), win in 2)
HP: 192, Value: 683.12 μ
WHAM: You have no profitable MP restoratives.
WHAM: You have no profitable HP restoratives.
WHAM: Monster HP is 192.0.
WHAM: Running SmartStasis
Profit per round: ActionProfitDamageOtherbase (0μ)0μ--
Round 1: ferdawoon executes a macro!
Round 1: ferdawoon casts INTIMIDATING BELLOW!
Round 2: procrastination giant drops 48 attack power.
Round 2: procrastination giant drops 48 defense.
WHAM: SmartStasis complete.
WHAM: You will kill the monster in 1 rounds with your basic attack.
WHAM: The monster will take 9 rounds to kill you.
WHAM: Enqueueing shard of double-ice (macroid use 5048).
WHAM: Failed to enqueue shard of double-ice. Aborting to let you figure this out.
You're on your own, partner.
Click here to continue in the relay browser.
 
I am sorry for my lack of being here, but I've been stuck at the hospital with my newborn daughter since Monday. Will probably be home on Sunday but will be, for obvious reasons, a bit absent.
I'm sorry for any inconvenience :)
 
Congratulations. Hope the duration of the hospital stay is not an indication of "problems" with the young lady...
 
Back
Top