Winterbay's Helpful Automatic Monsterbasher (WHAM)

My CCS looks like this:

[ animelf ]
"pickpocket"
skill moxious maneuver

I adventure via the Adventure frame of the GUI - tell it to go 180 times to Crimbokutown Toy Factory - and it works like a charm.
 
If you had set your goal to contain "+x plastic ingots" where x is a really high number I think WHAM would've pickpocketed for you as well.
 
I too had trouble getting my pickpocket working. It was an old CCS that already had "pickpocket" as the first line of default, but it wasn't pickpocketing. I tried a bunch of stuff to get it working again, so I have no idea if it was just a typo, but it felt to me like something had changed. It started working when I added plastic ingots and electronic thingamajigs as a goal. I added both, because some animelfs don't drop plastic ingots. This was on a character were pickpocketing was very safe (huge moxie well beyond the scaling cap).
 
This was on a character were pickpocketing was very safe (huge moxie well beyond the scaling cap).

Mafia doesn't know that the monsters cap at 10k for scaling purposes (I would want to figure out if the cap applies before or after +ML before updating it), so safe moxie isn't something mafia could expect you to do.
 
Mafia doesn't know that the monsters cap at 10k for scaling purposes (I would want to figure out if the cap applies before or after +ML before updating it), so safe moxie isn't something mafia could expect you to do.
Doesn't having the Manuel fix that? I honestly don't know, but the stats were known.

EDIT: I know this is the wrong thread. WHAM pickpockets for me, so I don't care if this problem is fixed or real. Just figured I'd add what info I had. Here's my "test.ccs" and the results of running it. I haven't looked at mafia's unsafe-to-pickpocket override code, but WHAM thinks I can handle over 600 rounds, so I'm pretty safe.

Code:
[ default ]
"pickpocket"
"pickpocket"
try to steal an item
consult WHAM.ash
Code:
[661824] Crimbokutown Toy Factory
Encounter: Shiro Neko
Strategy: /home/user/.kolmafia/ccs/test.ccs [default]
Round 0: WhimOrClutters wins initiative!
You have plastic pumpkin bucket equipped: (11.81) damage,
ATT: 10,030 (6% × 646.73, death in 359)
DEF: 10,030 (97.73% × 741.92 (25), win in 10)
HP: 7,527, Value: 78,559.75 μ
WHAM: Monster HP is 7527.0.
WHAM: Running SmartStasis
Profit per round: ActionProfitDamageOtherbase; plastic pumpkin bucket (0μ)0μ0 (11.81) Actual: 11.81 (0 μ/dmg)
Round 1: WhimOrClutters executes a macro!
Round 1: WhimOrClutters tries to steal an item!
Round 2: WhimOrClutters casts FIRE ORANGE BOTTLE-ROCKET!
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 attack with your weapon.
Round 3: WhimOrClutters executes a macro!
Round 3: WhimOrClutters attacks!
Round 4: WhimOrClutters attacks!
Round 5: WhimOrClutters attacks!
Round 6: WhimOrClutters attacks!
Round 7: WhimOrClutters attacks!
Round 8: WhimOrClutters attacks!
Round 9: WhimOrClutters attacks!
You lose 3 hit points
Round 10: WhimOrClutters attacks!
Round 11: WhimOrClutters attacks!
Round 12: WhimOrClutters attacks!
WHAM: Current monster HP is calculated to 787.0
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 2-shot with attack with your weapon and attack with your weapon.
Round 13: WhimOrClutters executes a macro!
Round 13: WhimOrClutters attacks!
Round 14: WhimOrClutters attacks!
Round 15: WhimOrClutters wins the fight!
You acquire an item: water purification pills
You gain 3 hit points
You gain 5 Mojo Points
You acquire an item: plastic ingot
You acquire an item: plastic ingot
You gain 592 Beefiness
You gain 787 Wizardliness
You gain 1418 Chutzpah
Look! You found 2 plastic ingot (5,640μ)!
Look! You found 1 water purification pills (23μ)!
 
Last edited:
Version 4.3 uploaded with some small fixes as well as ignoring combat items worth more than autoBuyPriceLimit since that seemed like a good idea. Also uploaded a version of BatBrain that adds Groar as a cold resistant monster and fixes damage calculation for Moxious Maneuver.
 
Bottlerocket support is a bit iffy. I'm having smart stasis fire a rocket, then WHAM try to fire three more.

Code:
[8716] Fernswarthy's Basement (Level 91)
Encounter: 10-Dimensional Horror
Round 0: JohnDoe244 wins initiative!
1 HP costs 10μ. ( 1,054 / 1054 )
1 MP costs 8μ. ( 546 / 546 )
ATT: 1,110 (6% × 22.87, death in 768)
DEF: 1,110 (100% × , win in 9500000)
HP: 950, Value: 1,136.23 μ
WHAM: You have no profitable MP restoratives.
WHAM: You have no profitable HP restoratives.
WHAM: Monster HP is 950.0.
WHAM: Running SmartStasis
Profit per round: ActionProfitDamageOtherbase (0μ)0μ--
Round 1: JohnDoe244 executes a macro!
Round 1: JohnDoe244 casts FIRE ORANGE BOTTLE-ROCKET!
happened(chefstaff): false, happened(jiggle): false
WHAM: SmartStasis complete.
WHAM: SS did not finish the fight, continuing with script execution. 
WHAM: Starting evaluation and performing of attack
happened(chefstaff): false, happened(jiggle): false
happened(chefstaff): false, happened(jiggle): false
happened(chefstaff): false, happened(jiggle): false
happened(chefstaff): false, happened(jiggle): false
happened(chefstaff): false, happened(jiggle): false
happened(chefstaff): false, happened(jiggle): false
WHAM: Reached WHAM_round_limit while looking for a way to kill the monster. Executing the current strategy and continuing from there.
WHAM: Enqueuing a stun to help with the battle
WHAM: Enqueueing Fire red bottle-rocket (macroid skill 7010).
WHAM: Enqueueing Fire blue bottle-rocket (macroid skill 7011).
WHAM: Enqueueing Fire purple bottle-rocket (macroid skill 7013).
WHAM: Enqueueing Saucegeyser (macroid skill 4012).
WHAM: Enqueueing Clobber (macroid skill 1022).
WHAM: Enqueueing Clobber (macroid skill 1022).
WHAM: Enqueueing Clobber (macroid skill 1022).
WHAM: Enqueueing Clobber (macroid skill 1022).
WHAM: Enqueueing Clobber (macroid skill 1022).
WHAM: Enqueueing Clobber (macroid skill 1022).
WHAM: Enqueueing Clobber (macroid skill 1022).
WHAM: Enqueueing Clobber (macroid skill 1022).
WHAM: Enqueueing Clobber (macroid skill 1022).
WHAM: Enqueueing Clobber (macroid skill 1022).
WHAM: We are going to 15-shot with Entangling Noodles, Fire red bottle-rocket, Fire blue bottle-rocket, Fire purple bottle-rocket, Saucegeyser, Clobber, Clobber, Clobber, Clobber, Clobber, Clobber, Clobber, Clobber, Clobber and Clobber.
Round 2: JohnDoe244 executes a macro!
Round 2: JohnDoe244 casts ENTANGLING NOODLES!
Round 3: JohnDoe244 casts FIRE RED BOTTLE-ROCKET!
Round 4: x-dimensional horror takes 83 damage.
WHAM: Current monster HP is calculated to 867.0
WHAM: SS did not finish the fight, continuing with script execution. 
WHAM: Starting evaluation and performing of attack
happened(chefstaff): false, happened(jiggle): false
happened(chefstaff): false, happened(jiggle): false
happened(chefstaff): false, happened(jiggle): false
happened(chefstaff): false, happened(jiggle): false
happened(chefstaff): false, happened(jiggle): false
happened(chefstaff): false, happened(jiggle): false
WHAM: Reached WHAM_round_limit while looking for a way to kill the monster. Executing the current strategy and continuing from there.
WHAM: Enqueueing Fire blue bottle-rocket (macroid skill 7011).
Round 4: JohnDoe244 executes a macro!
KoLmafia thinks it is round 5 but KoL thinks it is round 4
WHAM: Failed to enqueue Fire blue bottle-rocket. Aborting to let you figure this out.
You're on your own, partner.
Click here to continue in the relay browser.
 
Been having a weird issue while in zombiecore.

[1106] Battlefield (Frat Uniform)
Encounter: War Hippy Rigger
Strategy: c:\Games\Kolmafia\ccs\WHAM.ccs [default]
Round 0: boxwhore wins initiative!
Running ZLib version: r37 (current)
1 HP costs 0.186μ. ( 430 / 430 )
1 MP costs 8μ. ( 18 / 18 )
Running BatBrain version: 1.29 (current)
Running SmartStasis version: 3.16 (current)
Running WHAM version: 4.3.1 (current)
WHAM: We currently think that the round number is: 0 and that the turn number is 1105.
WHAM: Checking to see if WHAM sould adjust the unknown_ml for War Hippy Rigger.
WHAM: No need to do anything with War Hippy Rigger.
WHAM: Setting up variables via BatBrain
bullet-proof corduroys (10.0 @ +102.62019202317981): 475μ * 20.26% = 96.24
hippy protest button (10.0 @ +102.62019202317981): 600μ * 20.26% = 121.57
lead pipe (10.0 @ +102.62019202317981): 639μ * 20.26% = 129.47
reinforced beaded headband (10.0 @ +102.62019202317981): 475μ * 20.26% = 96.24
round purple sunglasses (10.0 @ +102.62019202317981): 900μ * 20.26% = 182.36
water pipe bomb (5.0 @ +102.62019202317981): 150μ * 10.13% = 15.2
wicker shield (5.0 @ +102.62019202317981): 659μ * 10.13% = 66.76
Value of stat gain: 131.25μ
bullet-proof corduroys (10.0 @ +102.62019202317981): 475μ * 20.26% = 96.24
hippy protest button (10.0 @ +102.62019202317981): 600μ * 20.26% = 121.57
lead pipe (10.0 @ +102.62019202317981): 639μ * 20.26% = 129.47
reinforced beaded headband (10.0 @ +102.62019202317981): 475μ * 20.26% = 96.24
round purple sunglasses (10.0 @ +102.62019202317981): 900μ * 20.26% = 182.36
water pipe bomb (5.0 @ +102.62019202317981): 150μ * 10.13% = 15.2
wicker shield (5.0 @ +102.62019202317981): 659μ * 10.13% = 66.76
Value of stat gain: 131.25μ
ATT: 176 (94% × 32.28, death in 15)
DEF: 152 (95.45% × 155.17 (15), win in 2)
HP: 187, Value: 839.1 μ
Parsed round number: 1
Building options...
Options built! (49 actions)
WHAM: We currently think that the round number is: 1 and that the turn number is 1105.
WHAM: Current MP = 18 out of 18.
WHAM: You have no profitable MP restoratives.
WHAM: Current HP = 430 out of 430.
WHAM: You have no profitable HP restoratives.
WHAM: You are fighting a War Hippy Rigger. Mafia considers that this monster has an attack of 176 or 172 when given a monster name.
WHAM: Mafia further considers that this monster has a defense value of 152 or 154 when given a monster name.
WHAM: Mafia further further considers that this monster has a HP value of 187 or 185 when given a monster name.
WHAM: Your current ML-adjustment is: 0.
WHAM: Monster HP is 187.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: Running SmartStasis
Profit per round: [TABLE="width: 100%"]
[TR]
[TH] Action[/TH]
[TH] Profit[/TH]
[TH] Damage[/TH]
[TH] Other[/TH]
[/TR]
[TR]
[TD="align: left"] base (0μ)[/TD]
[TD="align: right"] [/TD]
[TD="align: center"] --[/TD]
[TD="align: center"][/TD]
[/TR]
[/TABLE]

Building custom actions...
WHAM: This monster does not drop a goal item
bullet-proof corduroys (10.0 @ +102.62019202317981): 475μ * 20.26% = 96.24
hippy protest button (10.0 @ +102.62019202317981): 600μ * 20.26% = 121.57
lead pipe (10.0 @ +102.62019202317981): 639μ * 20.26% = 129.47
reinforced beaded headband (10.0 @ +102.62019202317981): 475μ * 20.26% = 96.24
round purple sunglasses (10.0 @ +102.62019202317981): 900μ * 20.26% = 182.36
water pipe bomb (5.0 @ +102.62019202317981): 150μ * 10.13% = 15.2
wicker shield (5.0 @ +102.62019202317981): 659μ * 10.13% = 66.76
Value of stat gain: 131.25μ
WHAM: Attack option chosen: skill 7131 (round 1, profit: -1.92)
Custom actions built! (0 actions)
Stasis option chosen: skill 7134 (round 1, profit: 2.45)
bullet-proof corduroys (10.0 @ +102.62019202317981): 475μ * 20.26% = 96.24
hippy protest button (10.0 @ +102.62019202317981): 600μ * 20.26% = 121.57
lead pipe (10.0 @ +102.62019202317981): 639μ * 20.26% = 129.47
reinforced beaded headband (10.0 @ +102.62019202317981): 475μ * 20.26% = 96.24
round purple sunglasses (10.0 @ +102.62019202317981): 900μ * 20.26% = 182.36
water pipe bomb (5.0 @ +102.62019202317981): 150μ * 10.13% = 15.2
wicker shield (5.0 @ +102.62019202317981): 659μ * 10.13% = 66.76
Value of stat gain: 131.25μ
WHAM: Attack option chosen: skill 7131 (round 1, profit: -1.92)
This monster is not your huckleberry.
Stasis loop complete.
WHAM: SmartStasis complete.
WHAM: Running SmartStasis took 0.17 seconds.
WHAM: We currently think that the round number is: 1 and that the turn number is 1105.
WHAM: SS did not finish the fight, 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 1105.
bullet-proof corduroys (10.0 @ +102.62019202317981): 475μ * 20.26% = 96.24
hippy protest button (10.0 @ +102.62019202317981): 600μ * 20.26% = 121.57
lead pipe (10.0 @ +102.62019202317981): 639μ * 20.26% = 129.47
reinforced beaded headband (10.0 @ +102.62019202317981): 475μ * 20.26% = 96.24
round purple sunglasses (10.0 @ +102.62019202317981): 900μ * 20.26% = 182.36
water pipe bomb (5.0 @ +102.62019202317981): 150μ * 10.13% = 15.2
wicker shield (5.0 @ +102.62019202317981): 659μ * 10.13% = 66.76
Value of stat gain: 131.25μ
WHAM: Attack option chosen: skill 7131 (round 1, profit: -1.92)
WHAM: No profitable stun option
Queued: skill 7131
Building options...
Options built! (48 actions)
bullet-proof corduroys (10.0 @ +102.62019202317981): 475μ * 20.26% = 96.24
hippy protest button (10.0 @ +102.62019202317981): 600μ * 20.26% = 121.57
lead pipe (10.0 @ +102.62019202317981): 639μ * 20.26% = 129.47
reinforced beaded headband (10.0 @ +102.62019202317981): 475μ * 20.26% = 96.24
round purple sunglasses (10.0 @ +102.62019202317981): 900μ * 20.26% = 182.36
water pipe bomb (5.0 @ +102.62019202317981): 150μ * 10.13% = 15.2
wicker shield (5.0 @ +102.62019202317981): 659μ * 10.13% = 66.76
Value of stat gain: 131.25μ
WHAM: Attack option chosen: skill 12012 (round 2, profit: 0.46)
Queued: skill 12012
Building options...
Options built! (48 actions)
Parsed round number: 1
Building options...
Options built! (49 actions)
WHAM: Evaluating the attack but not performing it took 0.22 seconds.
WHAM: Infecting the opponent to up the damage of Plague Claws
WHAM: We can't Saucesplash.
true, true, true, true, false
WHAM: Enqueueing Kodiak Moment (macroid skill 7131).
Queued: skill 7131
Building options...
Options built! (48 actions)
WHAM: Successfully enqueued Kodiak Moment.
WHAM: We can't Saucesplash.
true, true, true, true, false
WHAM: Enqueueing Infectious Bite (macroid skill 12012).
Queued: skill 12012
Building options...
Options built! (48 actions)
WHAM: Successfully enqueued Infectious Bite.
WHAM: We can't Saucesplash.
true, true, true, true, true
WHAM: Enqueueing (macroid ).
Unable to enqueue empty action.
WHAM: Failed to enqueue (entry 3 in the strategy).
WHAM: The following combat strategy was attempted:
Kodiak Moment
Infectious Bite

Round 1: boxwhore executes a macro!
KoLmafia thinks it is round 2 but KoL thinks it is round 1
WHAM: Failed to enqueue . There's more detailed information in the gCLI.
You're on your own, partner.
 
Running BatBrain version: 1.29 (current)
Running SmartStasis version: 3.16 (current)
Running WHAM version: 4.3.1 (current)
 
Try the version of BatBrain in the first post (that I just uploaded), it should also be 1.29 and hopefully fix that issue, if the problem is what I think it is.
 
hmm, I have no idea what causes this but it happened on the 2 cans in the pantry and a goblin

WHAM: Starting evaluation and performing of attack
WHAM: Failed to enqueue razor-sharp can lid (entry 2 in the strategy).
WHAM: The following combat strategy was attempted:
razor-sharp can lid
razor-sharp can lid
Knob Goblin firecracker
Knob Goblin firecracker
Knob Goblin firecracker
Round 1: tipmon1995 executes a macro!
KoLmafia thinks it is round 2 but KoL thinks it is round 1
WHAM: Failed to enqueue razor-sharp can lid. There's more detailed information in the gCLI.
You're on your own, partner.
Click here to continue in the relay browser.

The only thing I could do is just autosell those 2 items :/ Even then though, I could easily one hit them(I am doing a Boris run) but it chooses to waste items instead? I am not good at all at programming so I didn't even try to delve into the code.
 
Any chance you have 1 item and ambidextrous funkslinging? I think I might have seen it fail sometimes where AF tries to throw 2 items when I only have a single, but it's been a while, so I'm working on vague memories pre-Crimbo, pre-Zombie.
 
Any chance you have 1 item and ambidextrous funkslinging? I think I might have seen it fail sometimes where AF tries to throw 2 items when I only have a single, but it's been a while, so I'm working on vague memories pre-Crimbo, pre-Zombie.

I have seen that in non-Boris runs where it tries to sling two items but there is only one available.
 
Back
Top