Winterbay's Helpful Automatic Monsterbasher (WHAM)

Crowther

Active member
It's also interesting that batbrain thought you would be dead in two rounds but you lasted 6...
I believe that's a combination of luck and deleveling with pop wheelie. I've also lost some fights recently that were previously handled well in WHAM. I haven't been able to figure out a common thread.
 

digitrev

Member
Whenever I use a mosquito type familiar (mosquito, adorable seal larva, etc...), I get the following error
Code:
Expression syntax errors for 'modifier_eval()':
Can't     understand dmg*2 (zlib.ash, line 186)
You're     on your own, partner.
Expression syntax errors     for 'modifier_eval()':
Can't understand dmg*2 (zlib.ash, line 186)
You're     on your own, partner.
 

shazbot

Member
Is there a configuration I'm missing for how it handles insufficient MP? I had 5MP (insufficient for cannon) and it goes into a loop of

BCC: Monster HP is 14
BCC: These are the figures for Cannelloni Cannon: Bonus: 3.0 and 1.0%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 29.0
BCC: I expect 19 damage from Cannelloni Cannon
BCC: These are the figures for Ravioli Shurikens: Bonus: 3.0 and 1.0%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 29.0
BCC: I expect 10 damage from Ravioli Shurikens
BCC: These are the figures for Spaghetti Spear: Bonus: 3.0 and 1.0%//0.0/0.0/0.0/0.0/0.0/El: 0.0/Myst: 29.0
BCC: I expect 5 damage from Spaghetti Spear
BCC: We are going to one-shot with Cannelloni Cannon
BCC: Monster HP is 14

until it stack overflows.
 

Crowther

Active member
I've run out of MP during a fight many times and never had this problem with WHAM. Sometimes it will abort, because it can't find a way to win, but it never tried a skill I couldn't afford to cast.
 

Theraze

Active member
As it clearly states in your quote, that's the Bum Cheek Consult script, not WHAM. Specifically, the BCA auto-combat for lazy people who want combat to be badly automated.

Not a problem with the much-superior WHAM at all. And unlikely to really get fixed on the BCA side, either, since the suggestion there is to change your consultMyst to use WHAM or something else better than the lazy-option.
 
Ok I got a good one. Running a HC No Path ascensions and everytime it stops at the ancient proctetor spirit its ends saying I am on my own. When I go into the relay browser and click script it works fine
 
Is there a way to tweak WHAM to always try to do the starfish trick whenever possible? I see it sometimes using it and sometimes not against the very same monster, I have some issues with running out of meat in the early stages of my runs because I end up spending too much in recovering MP partly because for some reason WHAM sometimes just refuses to do the trick
 

Crowther

Active member
WHAM/BatBrian looks at a whole bunch of factors to decide if stasis is a good idea or not. There's probably a good reason WHAM isn't doing it, but here's some things to try. You need to be using Bale's UR. Without that, the value of HP and MP will not be accurately considered. You can also change WHAM_roundcost_ronin. Say "zlib WHAM_roundcost_ronin = 0". 5 is the default and that should be low enough, but changing it lower will make WHAM spend rounds for even the tiniest gain. Personally, I run with it higher than 5 for the speed and reduced risk taking.
 

bumcheekcity

Active member
Code:
[291] The Castle in the Clouds in the Sky (Basement)
Encounter: Furry Giant
Round 0: bumcheekcity loses initiative!
You lose 68 hit points
Round 1: bumcheekcity casts MUG FOR THE AUDIENCE!
KoLmafia thinks it is round 2 but KoL thinks it is round 1
1 HP costs 0.902μ. ( 352 / 736 )
1 MP costs 17μ. ( 155 / 232 )
Base round: 0 damage, 0 player damage, 2,330.69 meat
ATT: 273 (94% × (79), death in 8)
DEF: 257 (95.45% × 272.93, win in 2)
HP: 285, Value: 1,285.75 μ, RES: 0
WHAM: You have no profitable MP restoratives.
WHAM: Your best HP restoring option available is: use 5561
WHAM: Monster HP is 285.0.
WHAM: Running SmartStasis
Profit per round: ActionProfitDamageOtherbase; companion Grimstone Golem (2,330.69μ)2,330.69μ--
WHAM: Throwing some pocket crumbs at yoru opponent
Custom action: skill 7170 (no stun)
Round 2: bumcheekcity executes a macro!
Round 2: bumcheekcity casts POCKET CRUMBS!
KoLmafia thinks it is round 3 but KoL thinks it is round 2
Round 3: furry giant drops 38 attack power.
Round 3: furry giant drops 33 defense.
Round 3: furry giant takes 4 damage.
Round 3: bumcheekcity uses the Rain-Doh indigo cup!
You gain 147 hit points
Round 4: furry giant takes 4 damage.
Round 4: bumcheekcity executes a macro!
Round 4: bumcheekcity casts AIR DIRTY LAUNDRY!
KoLmafia thinks it is round 5 but KoL thinks it is round 4
Round 5: furry giant takes 4 damage.
Round 5: bumcheekcity executes a macro!
Round 5: bumcheekcity casts SUCKERPUNCH!
KoLmafia thinks it is round 6 but KoL thinks it is round 5
Round 6: furry giant takes 1 damage.
Round 6: furry giant drops 1 attack power.
Round 6: furry giant drops 1 defense.
Round 6: furry giant takes 5 damage.
You lose 33 hit points
Round 6: bumcheekcity executes a macro!
Round 6: bumcheekcity casts SUCKERPUNCH!
KoLmafia thinks it is round 7 but KoL thinks it is round 6
Round 7: furry giant takes 1 damage.
Round 7: furry giant drops 1 attack power.
Round 7: furry giant drops 1 defense.
Round 7: furry giant takes 6 damage.
You lose 54 hit points
Round 7: bumcheekcity executes a macro!
Round 7: bumcheekcity attacks!
Round 7: bumcheekcity casts SUCKERPUNCH!
KoLmafia thinks it is round 8 but KoL thinks it is round 7
Round 8: furry giant takes 1 damage.
Round 8: furry giant drops 1 attack power.
Round 8: furry giant drops 1 defense.
Round 8: furry giant takes 3 damage.
You lose 53 hit points
KoLmafia thinks it is round 9 but KoL thinks it is round 8
Round 9: furry giant takes 149 damage.
Round 9: furry giant takes 3 damage.
You lose 32 hit points
Round 9: bumcheekcity executes a macro!
Round 9: bumcheekcity casts SUCKERPUNCH!
KoLmafia thinks it is round 10 but KoL thinks it is round 9
Round 10: furry giant takes 1 damage.
Round 10: furry giant drops 1 attack power.
Round 10: furry giant drops 1 defense.
Round 10: furry giant takes 6 damage.
You lose 32 hit points
Round 10: bumcheekcity casts SUCKERPUNCH!
Round 11: furry giant takes 1 damage.
Round 11: furry giant drops 1 attack power.
Round 11: furry giant drops 1 defense.
Round 11: furry giant takes 3 damage.
You lose 53 hit points
Round 11: bumcheekcity attacks!
Round 11: bumcheekcity executes a macro!
KoLmafia thinks it is round 12 but KoL thinks it is round 11
Round 12: furry giant takes 152 damage.
Round 12: furry giant takes 4 damage.
Round 12: bumcheekcity wins the fight!
After Battle: Stoic Ankerite surveys the scene from your back, and gains 1 Experience.
You gain 313 Meat
You acquire an item: furry fur
You acquire an item: disturbing fanfic
After Battle: Andy 'Lucien' Diremist draws a picture of your opponent morbidly obese with buck teeth and acne. It comes to life and starts crying, which makes Andy 'Lucien' Diremist smile a wicked smile. (+8 Stats)
You gain 53 Strongness
You gain 25 Wizardliness
You gain 21 Roguishness
WHAM: SmartStasis complete.
WHAM: SS has finished the fight. Aborting script execution.

I've noticed that WHAM is using suckerpunch a lot for no obvious reason. I'm dual wielding the meat tenderizers is murder and out-musciel the enemy by about 120 before I start the battle - attacking would seem more sensible (?).
 

Bale

Minion
WHAM isn't doing that. SS is using suckerpunch to stasis the monster. It's doing that because SS doesn't check to see if your Grimstone Golem has already dropped a mask yet today so it will always do that on the off chance that the mask will drop in this combat. Complain at SS.
 

Crowther

Active member
WHAM isn't doing that. SS is using suckerpunch to stasis the monster. It's doing that because SS doesn't check to see if your Grimstone Golem has already dropped a mask yet today so it will always do that on the off chance that the mask will drop in this combat. Complain at SS.
And SS gets information to make that choice from BatBrain.
 

Winterbay

Active member
Just a heads up: I do most of my playing and coding during down time at work and there is currently way too much to do there so I have very little time to do either. As such I may not notice things breaking horribly due to mafia or kol changes.
In case of such breakage please post about it and I'll try and squeeze it in as fast as I can.
 

Magus_Prime

Well-known member
I just noticed that WHAM is trying to use item 2404 (Jam Band Fliers) in aftercore. I accidentally picked up the fliers during the war but never completed the quest. The fliers aren't even in inventory.

Sorry - it's SmartStasis that's the culprit. I'll post this to the correct thread.
 
Last edited:
Is there something I can tweak to fix this?

I'm wearing the Clothing of Loathing outfit, 696 muscle, 463 moxie, I really don't need to be wasting MP on delevels, staggers or stuns. I'd prefer to save that MP for maintaining my buffs.

I understand delaying the end of combat, because I have a Hobo Monkey out with a Happy Medium in my backpack, but I have lots of ways to do that without spending MP.


Code:
[2912] The Hidden Bowling Alley
Encounter: pygmy orderlies
Strategy: kolmafia\ccs\WHAM.ccs [default]
Round 0: chef_rannos wins initiative!
Round 1: Mo Meat produces a tubular red firecracker labeled M-84, lights the long fuse, and tosses it behind your opponents.
Base round: 0 damage, 0 player damage, 75 meat
ATT: 196 (6% × 1.51, death in 1884)
DEF: 187 (100% × 1,254.76, win in 1)
HP: 202, Value: 2,042.38 μ, RES: 0
WHAM: Monster HP is 202.0.
WHAM: Running SmartStasis
Profit per round: ActionProfitDamageOtherbase; Hobo Monkey (75μ)75μ--
Round 1: chef_rannos executes a macro!
Round 1: chef_rannos casts DISCO DANCE OF DOOM!
Round 2: pygmy orderlies takes 6 damage.
Round 2: pygmy orderlies drops 3 attack power.
Round 2: pygmy orderlies drops 3 defense.
Round 2: "Ah yes!" Seer says, "This meat was right where I predicted it would be!" She then hands you some meat.
Round 2: You gain 15 Meat.
Round 2: chef_rannos executes a macro!
Round 2: chef_rannos casts ENTANGLING NOODLES!
Round 3: pygmy orderlies drops 10 attack power.
Round 3: pygmy orderlies drops 9 defense.
Round 3: "Ah yes!" Seer says, "This meat was right where I predicted it would be!" She then hands you some meat.
Round 3: You gain 8 Meat.
Round 3: chef_rannos executes a macro!
Round 3: chef_rannos casts STEALTH MISTLETOE!
KoLmafia thinks it is round 4 but KoL thinks it is round 3
Round 4: chef_rannos casts SUCKERPUNCH!
Round 5: pygmy orderlies takes 1 damage.
Round 5: pygmy orderlies drops 2 attack power.
Round 5: pygmy orderlies drops 2 defense.
Round 5: "Ah yes!" Seer says, "This meat was right where I predicted it would be!" She then hands you some meat.
Round 5: You gain 13 Meat.
Round 5: Mo Meat climbs up and sits on your shoulder, and hands you some Meat. Huh, where did he find that?
You gain 58 Meat.
Round 5: pygmy orderlies takes 70 damage.
Round 5: chef_rannos executes a macro!
Round 5: chef_rannos casts SUCKERPUNCH!
KoLmafia thinks it is round 6 but KoL thinks it is round 5
Round 6: pygmy orderlies takes 1 damage.
Round 6: pygmy orderlies drops 2 attack power.
Round 6: pygmy orderlies drops 2 defense.
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 1-shot with attack with your weapon.
Round 6: chef_rannos executes a macro!
Round 6: chef_rannos attacks!
KoLmafia thinks it is round 7 but KoL thinks it is round 6
Round 7: pygmy orderlies takes 1026 damage.
Round 7: chef_rannos wins the fight!
After Battle: Mo Meat lights a miniature Catherine wheel and dances in the shower of sparks. How cute!
After Battle: Seer surveys the scene from your back and sighs.
You gain 5 hit points
You gain 3 Muscularity Points
After Battle: Mo Meat sits on your fallen opponent's body, blows a smoke ring, and winks at you.
You gain 1219 Meat
You acquire an item: pill cup
You gain 40 Fortitude
You gain 12 Magicalness
You gain 11 Sarcasm
Look! You found 1 pill cup (79μ)!



For example, combat is much faster if I switch to a CCS that spams spectre scepter 6 times and then finishes with attack, but I like being lazy and leaving it at WHAM all the time... ;)
 
Last edited:

Theraze

Active member
You DO see the part where the entire stasising is actually SS, not WHAM, right? Once WHAM gets involved, it one-hits the enemy with attack. :)

If you don't use UR, you could start. If you do use UR, you could lie and tell it that MP is actually really expensive.
 
Top