Winterbay's Helpful Automatic Monsterbasher (WHAM)

I'm confused...if death is predicted in 9, why does it want to 10-shot?

Code:
[215] Lair of the Ninja Snowmen
Encounter: ninja snowman assassin
Strategy: C:\Users\Documents\kolmafia\ccs\HC.ccs [default]
Round 0: chef_rannos wins initiative!
ATT: 320 (94% × (80.42), death in 9)
DEF: 306 (8.59% × 75.6 (45) (25), win in 11)
HP: 170, Value: 985 μ, RES: 0 (1) (-1) (-1)
WHAM: Monster HP is 170.0.
WHAM: Running SmartStasis
Profit per round: ActionProfitDamageOtherbase (0μ)0μ--
1/5 monsters drop goals here.
This monster is the best source of goals (2)!
WHAM: Starting evaluation and performing of attack
WHAM: Reached WHAM_round_limit while looking for a way to kill the monster. Executing the current strategy and continuing from there.
WHAM: We are going to 10-shot with attack with your weapon, attack with your weapon, attack with your weapon, attack with your weapon, attack with your weapon, attack with your weapon, attack with your weapon, attack with your weapon, attack with your weapon and Clobber.
Round 1: chef_rannos executes a macro!
Round 1: chef_rannos attacks!
Round 2: ninja snowman assassin takes 1 damage.
You lose 103 hit points
Round 2: chef_rannos attacks!
You lose 1 hit point
You lose 94 hit points
Round 3: chef_rannos attacks!
Round 4: ninja snowman assassin takes 1 damage.
You lose 101 hit points
Round 4: chef_rannos attacks!
Round 5: ninja snowman assassin takes 1 damage.
You lose 96 hit points
Round 5: chef_rannos attacks!
Round 6: ninja snowman assassin takes 1 damage.
You lose 98 hit points

You've had the crap beaten out of you... attempting to find some more crap.

I had a jump suited hound dog out (for more +combat) and ~ 80 MP.
 
Code:
[752] The Middle Chamber
Encounter: Ed the Undying
Round 0: bumcheekcity wins initiative!
Round 1: bumcheekcity uses the rock band flyers!
You lose 31 hit points
ATT: 180 (6% × 13.52, death in 131)
DEF: 162 (95.45% × 23.99 (20), win in 6)
HP: 256, Value: 627.5 μ, RES: 0
WHAM: Monster HP is 256.0.
WHAM: Running SmartStasis
Profit per round: ActionProfitDamageOtherbase; Knob Goblin Organ Grinder (0μ)0μ(3.3) Actual: 3.3 (0 μ/dmg)
WHAM: Starting evaluation and performing of attack
WHAM: Reached WHAM_round_limit while looking for a way to kill the monster. Executing the current strategy and continuing from there.
WHAM: We are going to 15-shot with attack with your weapon, attack with your weapon, spectre scepter, spectre scepter, spectre scepter, spectre scepter, spectre scepter, spectre scepter, spectre scepter, spectre scepter, spectre scepter, spectre scepter, spectre scepter, spectre scepter and spectre scepter.
Round 2: bumcheekcity executes a macro!
Round 2: bumcheekcity attacks!
Round 3: ed the undying (2) takes 81 damage.
Round 3: bumcheekcity attacks!
Round 4: ed the undying (2) takes 85 damage.
Round 4: bumcheekcity uses the spectre scepter!
Round 5: ed the undying (2) takes 8 damage.
Round 5: bumcheekcity uses the spectre scepter!
You gain 5 hit points
Round 6: bumcheekcity uses the spectre scepter!
Round 7: ed the undying (2) takes 9 damage.
Round 7: bumcheekcity uses the spectre scepter!
Round 8: ed the undying (2) takes 8 damage.
Round 8: Grort shouts "McIntyre!" and flicks some ash from his stogie at him, burning him for 12 damage.
Round 8: ed the undying (2) takes 12 damage.
Round 8: bumcheekcity uses the spectre scepter!
Round 9: ed the undying (2) drops 1 attack power.
Round 9: ed the undying (2) drops 1 defense.
Round 9: bumcheekcity uses the spectre scepter!
Round 10: ed the undying (2) drops 1 attack power.
Round 10: ed the undying (2) drops 1 defense.
Round 10: bumcheekcity uses the spectre scepter!
You gain 4 hit points
Round 11: bumcheekcity uses the spectre scepter!
Round 12: ed the undying (2) takes 10 damage.
Round 12: bumcheekcity uses the spectre scepter!
You gain 4 hit points
Round 13: bumcheekcity uses the spectre scepter!
Round 14: ed the undying (2) takes 10 damage.
Round 14: bumcheekcity uses the spectre scepter!
Round 15: ed the undying (2) takes 9 damage.
Round 15: bumcheekcity uses the spectre scepter!
Round 16: ed the undying (2) drops 1 attack power.
Round 16: ed the undying (2) drops 3 defense.
Round 16: bumcheekcity uses the spectre scepter!
You gain 4 hit points
Round 17: Grort pulls a bone shard out of the organ grinder and stabs him for 11 damage, shouting "Stick that up yer Khyber, ya chav!"
Round 17: ed the undying (2) takes 11 damage.
WHAM: Current monster HP is calculated to 13.0
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 2-shot with spectre scepter and spectre scepter.
Round 17: bumcheekcity executes a macro!
Round 17: bumcheekcity uses the spectre scepter!
Round 18: ed the undying (2) drops 3 attack power.
Round 18: ed the undying (2) drops 3 defense.
Round 18: Grort pulls out a bit of cold shoulderbone that was stuck in his organ grinder. He flings it at him for 13 damage.
Round 18: ed the undying (2) takes 13 damage.
Round 18: bumcheekcity wins the fight!
After Battle: Grort rummages around in his body, picking a few choice bits to put in his grinder.
You gain 25 Beefiness
You gain 30 Magicalness
You gain 72 Cheek

Just a minor issue - why would WHAM try to hit with the sceptre when it could just attack for more damage? (I out-moxie'd Ed massively at this point).
 
I'm not sure why it always gets chosen but it is an "always hit" action that gets used excessively when the monster HP is low and attack has a chance of fumbling which gets that to slightly less than 100% hitchance.
 
Ok...this is odd...it wasn't using flyers in the 8-bit realm, but now it's using flyers in the airship, but not all the time. I'm really confused. If it was because the monsters are sometimes hard (but they aren't really) then I could see it, but it wasn't using the flyers while I got the digital key, and then I switched to the Fantasy Airship and it sometimes tried to use the flyers (after I already did manually) and sometimes didn't try to use the flyers.


No flyer by WHAM:
Code:
[531] The Penultimate Fantasy Airship
Encounter: Spunky Princess
Round 0: chef_rannos wins initiative!
Round 1: chef_rannos uses the rock band flyers!
You lose 16 hit points
ATT: 321 (68.38% × 26.12, death in 36)
DEF: 310 (16.49% × 42.86 (10) (25), win in 24)
HP: 308, Value: 1,569.8 μ, RES: 0
WHAM: Monster HP is 308.0.
WHAM: Running SmartStasis
Profit per round: ActionProfitDamageOtherbase; Baby Bugged Bugbear (0μ)0μ--27.25% stun chance
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 2-shot with Lunging Thrust-Smack and Lunging Thrust-Smack.
Round 2: chef_rannos executes a macro!
Round 2: chef_rannos casts LUNGING THRUST-SMACK!
Round 3: spunky princess takes 188 damage.
You lose 8 hit points
Round 3: chef_rannos casts LUNGING THRUST-SMACK!
Round 4: spunky princess takes 192 damage.
Round 4: chef_rannos wins the fight!
You gain 5 hit points
You gain 5 Muscularity Points
You gain 187 Meat
You acquire an item: tiny house
You acquire an item: cocoa eggshell fragment
After Battle: snɔɐʇ&#63 gives you a weird, lopsided grin. What's weird about it is that you can even tell, considering the ski-mask he's wearing. / / You gain ¤± / You gain « / You g¢
You gain 50 Strongness
You gain 18 Enchantedness
You gain 21 Smarm
You gain a Moxie point!
Look! You found 1 cocoa eggshell fragment (114μ)!
Look! You found 1 tiny house (107μ)!
Restoring HP! Currently at 634 of 705 HP, 50 of 313 MP, current meat: 28675 ... Target HP = 670.
Using 2 tiny house...
You gain 48 hit points
You gain 41 Muscularity Points
Finished using 2 tiny house.


But yet here WHAM tried to flyer after I manually used them.

Code:
[537] The Penultimate Fantasy Airship
Encounter: Irritating Series of Random Encounters
Round 0: chef_rannos wins initiative!
Round 1: chef_rannos uses the rock band flyers!
Round 2: snɔɐʇ&#63 twitches violently as your opponent charges in for the kiWarning: Parse error in killplayer.php line 7722
ATT: 337 (68.38% × 33.41, death in 31)
DEF: 325 (8.59% × 42.86 (10) (25), win in 51)
HP: 346, Value: 1,605.01 μ, RES: 0
WHAM: Monster HP is 346.0.
WHAM: Running SmartStasis
Profit per round: ActionProfitDamageOtherbase; Baby Bugged Bugbear (0μ)0μ--27.25% stun chance
Custom action: use 2405 (no stun)
Round 2: chef_rannos executes a macro!
Round 2: chef_rannos uses the rock band flyers!
You lose 14 hit points
Flyering completed: 9769
WHAM: Starting evaluation and performing of attack
Flyering completed: 9769
WHAM: We are going to 2-shot with Thrust-Smack and Stuffed Mortar Shell.
Round 3: chef_rannos executes a macro!
Round 3: chef_rannos casts THRUST-SMACK!
Round 4: irritating series of random encounters takes 89 damage.
You lose 14 hit points
Round 4: chef_rannos casts STUFFED MORTAR SHELL!
You lose 14 hit points
WHAM: Current monster HP is calculated to 257.0
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 2-shot with Saucestorm and Saucestorm.
Round 5: chef_rannos executes a macro!
Round 5: chef_rannos casts SAUCESTORM!
Round 6: irritating series of random encounters takes 160 damage.
Round 6: irritating series of random encounters takes 160 damage.
Round 6: irritating series of random encounters takes 714 damage.
Round 6: chef_rannos wins the fight!
You gain 3 hit points
You gain 5 Muscularity Points
You gain 208 Meat
After Battle: snɔɐʇ&#63 gives you a weird, lopsided grin. What's weird about it is that you can even tell, considering the ski-mask he's wearing. / / You gain ¤± / You gain « / You g¢
You gain 46 Strongness
You gain 23 Wizardliness
You gain 24 Chutzpah
 
Last edited:
I noticed this as well. I was doing a BIG! run and got my flyers early, then when I got to the battlefield, none had been used at all. I figured I'd just messed up some setting.
 
Revision 33 of WHAM Beta and Revision 36 of WHAM now do not try to saucesplash if you're a sauceror since that is no longer a thing that is useful.

They should also, together with a recently updated batfactors, correctly use the class stun for all classes but DB since that is mainly a stagger-fest.
WHAM will still try and stun with Entangling Noodles even if you are not a PM if SmartStasis decides to stun before doing an action. Nothing much I can do about that before SS is updated...
 
Revision 33 of WHAM Beta and Revision 36 of WHAM now do not try to saucesplash if you're a sauceror since that is no longer a thing that is useful.

They should also, together with a recently updated batfactors, correctly use the class stun for all classes but DB since that is mainly a stagger-fest.
WHAM will still try and stun with Entangling Noodles even if you are not a PM if SmartStasis decides to stun before doing an action. Nothing much I can do about that before SS is updated...
I'm so overwhelmed with all the changes. I've got all the class skills available and not a clue what to do with the majority of them.
 
Yeah, playing mainly via automating turns it took me 200 turns or so as a newly ascended S before I realised that I a) had soulsauce skills available to me and b) that there was a combat skill with that...
 
Not sure whether this is WHAM, UR or an unfortunate interaction between them both. Character is in Class Act II, AT, and very poor. UR pretty consistently reverts to healing and restoring the minimum. WHAM wants to use an anti-anti antidote in combat when I am not poisoned resulting in a loop. Seems to correlate with 0 mp and the symptoms appear consistent with something thinking the antidote restores MP. Mentioning this in case anyone else sees it and has more information, but I understand it is a bit vague. Noticed it today in the Landfill so it may also be a case of incorrect monster data, since the area is fairly new.

Thanks.
 
I didn't think the script tried to use antidotes unless you were poisoned already. Also, restoring during combat is not very well supported.
 
I didn't think the script tried to use antidotes unless you were poisoned already. Also, restoring during combat is not very well supported.

I'm just reporting what I saw :-)

The relay browser had a message about not wasting anti-anti antidotes when you weren't poisoned.

Clearly this will require some diagnostic work on my part.
 
Do you have the always continue variable set to true? I seem to recall an issue with that where if there were no good options it managed to pick something stupid, like an anti-dote.
 
Do you have the always continue variable set to true? I seem to recall an issue with that where if there were no good options it managed to pick something stupid, like an anti-dote.

Ah. That could be it, since there was a time I was an automate at all costs kind of player. If it happens tomorrow I'll tweak that and see what happens.
 
Flipped the always continue switch and didn't see the problem, but also didn't see WHAM stopping any automation because it couldn't figure out what to do.

If that did cause the loop I saw then perhaps the existence of the switch ought to be reconsidered? I was probably an advocate for it but that was when WHAM was immature and making bad decisions :-)
 
Disco combos are no longer a thing. They've been replaced with disco momentum. SmartStasis (used by WHAM) hasn't been updated yet, though; it'll still try to do disco combos.

Rave combos are already automatically discovered (also as part of SmartStasis). You can just adventure outside the club with all the rave items as goal and it'll learn the rave skills, learn the rave combos, and rave steal.
 
Last edited:
When WHAM decides on a strategy that involves Stuffed Mortar Shell, Stuffed Mortar Shell shouldn't be the last thing it does since it takes another round to actually hit. Is there a way to change this?

Code:
[13508] WarBear Fortress (First Level)
Encounter: Nils Rutgermån the Warbear Foot Soldier
Round 0: Steve Hanler wins initiative!
You lose 41 hit points
 > WHAM: Running SmartStasis
 > WHAM: Starting evaluation and performing of attack
 > WHAM: We are going to 2-shot with Weapon of the Pastalord and Stuffed Mortar Shell.
Round 1: Steve Hanler executes a macro!
Round 1: Steve Hanler casts WEAPON OF THE PASTALORD!
Round 2: warbear foot soldier takes 161 damage.
Round 2: Ben bites your opponent for 6 damage, and he gets a disconcerted look on his face as his blood turns into poison.
Round 2: warbear foot soldier takes 6 damage.
Round 2: warbear foot soldier takes 6 damage.
Round 2: Steve Hanler casts STUFFED MORTAR SHELL!
Round 3: Ben leaves 9 damage worth of scratches on your opponent's leg that probably shouldn't be, but are, green.
Round 3: warbear foot soldier takes 9 damage.
Round 3: warbear foot soldier takes 3 damage.
Round 3: warbear foot soldier takes 1 damage.
Round 3: warbear foot soldier takes 10 damage.
Round 3: warbear foot soldier takes 10 damage.
You lose 25 hit points
 > WHAM: Starting evaluation and performing of attack
 > WHAM: We are going to 1-shot with Weapon of the Pastalord.
Round 3: Steve Hanler executes a macro!
Round 3: Steve Hanler casts WEAPON OF THE PASTALORD!
Round 4: warbear foot soldier takes 161 damage.
Round 4: Ben pauses from always running here and there to viciously bite your opponent for 8 damage with his plague-filled pasta teeth. Al dente, indeed.
Round 4: warbear foot soldier takes 8 damage.
Round 4: warbear foot soldier takes 161 damage.
Round 4: warbear foot soldier takes 1 damage.
Round 4: Steve Hanler wins the fight!
After Battle: Ben nuzzles your ankle. Aww.
You gain 13 Mana Points
After Battle: Tentanat does a little fairy dance.
You acquire an item: warbear whosit
You gain 52 Muscleboundness
You gain 105 Mysteriousness
You gain 35 Chutzpah

Also, this is a little too optimistic in my opinion. If WHAM thinks it can one shot with Stuffed Mortar Shell it should automatically cue something like an attack with a weapon to allow Stuffed Mortar Shell to actually hit.
Code:
WHAM: We are going to 1-shot with Stuffed Mortar Shell.
 
Last edited:
The problem here is twofold and botrh have really norhing to do with WHAM itself. 1) the damage formula for mortar shell has not been updated in batfactors since irt has not been fully spaded yet and 2) batbbrain and by extennsion wham knows northing about the delqayed action and thus uses it as if it will happen rthis round.
 
Back
Top