Winterbay's Helpful Automatic Monsterbasher (WHAM)

jbouzanquet

Member
WHAM is enqueing stuns before one-shotting the monsters. I set verbosity to 9 to copy this.
Code:
Running ZLib version: r37 (current)
Running Best Between Battle Script Ever version: 2.6 (current)
You don't have any spooky putty monsters.

Visit to IsleWar: Battlefield (Hippy Uniform) in progress...

[1444] Battlefield (Hippy Uniform)
Encounter: War Frat 151st Captain
Strategy: /home/julian/.kolmafia/ccs/default.ccs [default]
Round 0: frodobatman wins initiative!
Running ZLib version: r37 (current)
1 HP costs 6.667μ. ( 111 / 141 )
1 MP costs 8μ. ( 240 / 325 )
Running BatBrain version: 1.31.1 (current)
Running SmartStasis version: 3.18 (current)
Running WHAM version: 4.8.2 (current)
WHAM: We currently think that the round number is: 0 and that the turn number is 1443.
WHAM: Checking to see if WHAM sould adjust the unknown_ml for War Frat 151st Captain.
WHAM: No need to do anything with War Frat 151st Captain.
WHAM: Setting up variables via BatBrain
beer bomb (9.0 @ +50.0): 150μ * 13.5% = 20.25
beer helmet (5.0 @ +50.0): 594μ * 7.5% = 44.55
bejeweled pledge pin (4.0 @ +50.0): 579μ * 6% = 34.74
distressed denim pants (5.0 @ +50.0): 1,190μ * 7.5% = 89.25
keg shield (5.0 @ +50.0): 525μ * 7.5% = 39.38
PADL Phone (2.0 @ +50.0): 300μ * 3% = 9
perforated battle paddle (15.0 @ +50.0): 500μ * 22.5% = 112.5
red class ring (31.0 @ +50.0): 50μ * 46.5% = 23.25
Value of stat gain: 404.69μ
beer bomb (9.0 @ +50.0): 150μ * 13.5% = 20.25
beer helmet (5.0 @ +50.0): 594μ * 7.5% = 44.55
bejeweled pledge pin (4.0 @ +50.0): 579μ * 6% = 34.74
distressed denim pants (5.0 @ +50.0): 1,190μ * 7.5% = 89.25
keg shield (5.0 @ +50.0): 525μ * 7.5% = 39.38
PADL Phone (2.0 @ +50.0): 300μ * 3% = 9
perforated battle paddle (15.0 @ +50.0): 500μ * 22.5% = 112.5
red class ring (31.0 @ +50.0): 50μ * 46.5% = 23.25
Value of stat gain: 404.69μ
ATT: 185 (94% × (46.84), death in 3)
DEF: 171 (0% × 2.18 (15), win in 2150000)
HP: 215, Value: 777.6 μ, RES: 0 (-1) (1) (-1)
Parsed round number: 1
Building options...
Options built! (36 actions)
WHAM: We currently think that the round number is: 1 and that the turn number is 1443.
WHAM: Current MP = 240 out of 325.
WHAM: You have no profitable MP restoratives.
WHAM: Current HP = 111 out of 141.
WHAM: You have no profitable HP restoratives.
WHAM: You are fighting a War Frat 151st Captain. Mafia considers that this monster has an attack of 185 or 185 when given a monster name.
WHAM: Mafia further considers that this monster has a defense value of 171 or 171 when given a monster name.
WHAM: Mafia further further considers that this monster has a HP value of 210 or 210 when given a monster name.
WHAM: Your current ML-adjustment is: 5.
WHAM: Monster HP is 215.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; 
beer bomb (9.0 @ +50.0): 150μ * 13.5% = 20.25
beer helmet (5.0 @ +50.0): 594μ * 7.5% = 44.55
bejeweled pledge pin (4.0 @ +50.0): 579μ * 6% = 34.74
distressed denim pants (5.0 @ +50.0): 1,190μ * 7.5% = 89.25
keg shield (5.0 @ +50.0): 525μ * 7.5% = 39.38
PADL Phone (2.0 @ +50.0): 300μ * 3% = 9
perforated battle paddle (15.0 @ +50.0): 500μ * 22.5% = 112.5
red class ring (31.0 @ +50.0): 50μ * 46.5% = 23.25
Value of stat gain: 404.69μ
WHAM: Attack option chosen: skill 14033 (round 1, profit: -40)
WHAM: Running SmartStasis
Profit per round: ActionProfitDamageOtherbase (0μ)0μ--
Building custom WHAM actions...
WHAM: This monster does not drop a goal item
Custom WHAM actions built! (0 actions)
Building custom actions...
Custom actions built! (0 actions)
WHAM: Stasis option chosen: use 2678 (round 1, profit: -178.38)
beer bomb (9.0 @ +50.0): 150μ * 13.5% = 20.25
beer helmet (5.0 @ +50.0): 594μ * 7.5% = 44.55
bejeweled pledge pin (4.0 @ +50.0): 579μ * 6% = 34.74
distressed denim pants (5.0 @ +50.0): 1,190μ * 7.5% = 89.25
keg shield (5.0 @ +50.0): 525μ * 7.5% = 39.38
PADL Phone (2.0 @ +50.0): 300μ * 3% = 9
perforated battle paddle (15.0 @ +50.0): 500μ * 22.5% = 112.5
red class ring (31.0 @ +50.0): 50μ * 46.5% = 23.25
Value of stat gain: 404.69μ
WHAM: Attack option chosen: skill 14033 (round 1, profit: -40)
This monster is not your huckleberry.
Stasis loop complete.
WHAM: SmartStasis complete.
WHAM: Running SmartStasis took 0.26 seconds.
WHAM: SS did not finish the fight, continuing with script execution. 
WHAM: We currently think that the round number is: 1 and that the turn number is 1443.
WHAM: Starting evaluation and performing of attack
WHAM: We currently think that the round number is: 1 and that the turn number is 1443.
beer bomb (9.0 @ +50.0): 150μ * 13.5% = 20.25
beer helmet (5.0 @ +50.0): 594μ * 7.5% = 44.55
bejeweled pledge pin (4.0 @ +50.0): 579μ * 6% = 34.74
distressed denim pants (5.0 @ +50.0): 1,190μ * 7.5% = 89.25
keg shield (5.0 @ +50.0): 525μ * 7.5% = 39.38
PADL Phone (2.0 @ +50.0): 300μ * 3% = 9
perforated battle paddle (15.0 @ +50.0): 500μ * 22.5% = 112.5
red class ring (31.0 @ +50.0): 50μ * 46.5% = 23.25
Value of stat gain: 404.69μ
WHAM: Attack option chosen: skill 14033 (round 1, profit: -40)
WHAM: Stun option chosen: skill 14034 (round 1, profit: -56)
Monster HP is 210 according to Mafia and 215.0 according to BatBrain
Queued: skill 14034
Building options...
Options built! (36 actions)
Queued: skill 14033
Building options...
Options built! (36 actions)
Parsed round number: 1
Building options...
Options built! (36 actions)
WHAM: Evaluating the attack but not performing it took 0.29 seconds.
WHAM: Enqueuing a stun to help with the battle
Queued: skill 14034
Building options...
Options built! (36 actions)
WHAM: We can't Saucesplash.
true, true, true, true, false
WHAM: Enqueueing Freeze (macroid skill 14033). Estimated damage: 215.0.
Queued: skill 14033
Building options...
Options built! (36 actions)
WHAM: Successfully enqueued Freeze.
WHAM: We are going to 2-shot with Blend and Freeze.
Constructed macro: scrollwhendone; sub 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; endsub; skill 14034; call batround; skill 14033; call batround; 
Round 1: frodobatman executes a macro!
Round 1: frodobatman casts BLEND!
Round 2: frodobatman casts FREEZE!
Round 3: war frat 151st captain takes 320 damage.
Round 3: frodobatman wins the fight!
You acquire an item: beer helmet
You gain 15 Strongness
You gain a Muscle point!
You gain 22 Mysteriousness
You gain 11 Sarcasm
8 frat boys defeated; 64 down, 936 left.
The Lighthouse is now accessible in this uniform!
Happened: skill 14034
Happened: skill 14033
Parsed round number: 0
Look! You found 1 beer helmet (594μ)!
WHAM: Evaluating the attack and performing it took 1.00 seconds.
WHAM: We currently think that the round number is: 31 and that the turn number is 1444.
WHAM: We currently think that the round number is: 31 and that the turn number is 1444.
 

Winterbay

Active member
Thanks for the reports. I'll look at them when I get the chance, which incidentally will not be until after Easter since we are being visited by my parents-in-law and as such any time I'd normally have to sit by the computer to do silly things will be taken up by socialising... :)
 

Crowther

Active member
i already manually adventured past this section and in other sections (to the best of my recollection) it was choosing SLICE to one-shot. i dont know if it was the ML or the area or what. I do use UR for healing so I guess in the absence of anything else maybe the logic for AoJ could be altered to make some mp assumptions.
That area is special. The monsters there have a bunch of strange attributes. WHAM used lose fights there, so wasting MP is actually an improvement. However, it seems like curdle would be a poor choice there, given what the wiki page currently says.
 
It's doing one round stuns for me in the island war too, before one shotting (if that helps any).

Code:
Visit to IsleWar: Battlefield (Hippy Uniform) in progress...

[1200] Battlefield (Hippy Uniform)
Encounter: War Frat Elite 110th Captain
Strategy: /~/.kolmafia/ccs/WHAM.ccs [default]
Round 0: chef_rannos wins initiative!
WHAM: Running SmartStasis
WHAM: Starting evaluation and performing of attack
WHAM: Enqueuing a stun to help with the battle
Round 1: chef_rannos executes a macro!
Round 1: chef_rannos uses the gob of wet hair!
Round 2: war frat elite 110th captain drops 2 attack power.
Round 2: war frat elite 110th captain drops 3 defense.
Round 2: chef_rannos casts FREEZE!
Round 3: war frat elite 110th captain takes 320 damage.
Round 3: chef_rannos wins the fight!
You gain 5 hit points
You gain 5 Mana Points
You acquire an item: red class ring
You acquire an item: giant foam finger
You gain 11 Fortitude
You gain 35 Mysteriousness
You gain 9 Sarcasm
8 frat boys defeated; 468 down, 532 left.

Mood swing complete.

Visit to IsleWar: Battlefield (Hippy Uniform) in progress...

[1201] Battlefield (Hippy Uniform)
Encounter: Sorority Nurse
Strategy: /~/.kolmafia/ccs/WHAM.ccs [default]
Round 0: chef_rannos wins initiative!
WHAM: Running SmartStasis
WHAM: Starting evaluation and performing of attack
WHAM: Enqueuing a stun to help with the battle
Round 1: chef_rannos executes a macro!
Round 1: chef_rannos uses the gob of wet hair!
Round 2: sorority nurse drops 3 attack power.
Round 2: sorority nurse drops 3 defense.
Round 2: chef_rannos casts FREEZE!
Round 3: sorority nurse takes 320 damage.
Round 3: chef_rannos wins the fight!
You gain 3 hit points
You gain 5 Mana Points
You gain 13 Beefiness
You gain 28 Wizardliness
You gain 10 Chutzpah
8 frat boys defeated; 476 down, 524 left.

Mood swing complete.

Visit to IsleWar: Battlefield (Hippy Uniform) in progress...

[1202] Battlefield (Hippy Uniform)
Encounter: War Frat 110th Infantryman
Strategy: /~/.kolmafia/ccs/WHAM.ccs [default]
Round 0: chef_rannos wins initiative!
WHAM: Running SmartStasis
WHAM: Starting evaluation and performing of attack
WHAM: Enqueuing a stun to help with the battle
Round 1: chef_rannos executes a macro!
Round 1: chef_rannos uses the gob of wet hair!
Round 2: war frat 110th infantryman drops 2 attack power.
Round 2: war frat 110th infantryman drops 2 defense.
Round 2: chef_rannos casts FREEZE!
Round 3: war frat 110th infantryman takes 320 damage.
Round 3: chef_rannos wins the fight!
You gain 5 hit points
You gain 4 Mana Points
You gain 12 Strongness
You gain 32 Mysteriousness
You gain a Mysticality point!
You gain 7 Roguishness
You gain a Moxie point!
8 frat boys defeated; 484 down, 516 left.
 

Winterbay

Active member
I think it is more interesting actually to point out that it's doing 1 round stuns for a skill which is pretty pointless... That part is at least fixed in the upcoming WHAM-version that comes out with the next BatBrain. As to why it wants to do a stun when it it clearly one-shotting (not even close to not doing it I don't know). What damage does freeze say it'll do with verbosity 10? Is that value completely off compared to the actual value? That may be one reason.
 

jbouzanquet

Member
I already broke the prism this run, but I'll try verbosity 10 against a few enemies when I go back into it tomorrow. From memory, Batman Relay (which uses the same BatBrain numbers, right?) was always underestimating damage, but usually only by a few points.
 

Winterbay

Active member
Version 4.9 uploaded with the following changes:
Update to be on par with the new BatBrain
Fix some small issues with the ok()-function
Don't stun with 1-round stunners unless we have funkslinging and is stunning for an item


I'll see if I can get to look at some of the odd bugs and also improve handling for Jarlsberg chefstaffs as well soon.
 

Magus_Prime

Well-known member
With the new Batbrain, WHAM, and r12006:

Code:
[1103] Battlefield (Hippy Uniform)
Encounter: Naughty Sorority Nurse
Strategy: F:\software\Kol\ccs\default.ccs [default]
Round 0: Arbos wins initiative!
WHAM: Running SmartStasis
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 4-shot with Curdle, Curdle, Curdle and Curdle.
Round 1: Arbos executes a macro!
Round 1: Arbos casts CURDLE!
Round 2: naughty sorority nurse takes 48 damage.
Round 2: naughty sorority nurse heals 48 hit points.
Round 2: Arbos casts CURDLE!
Round 3: naughty sorority nurse takes 96 damage.
Round 3: naughty sorority nurse heals 93 hit points.
Round 3: Arbos casts CURDLE!
Round 4: naughty sorority nurse takes 48 damage.
Round 4: naughty sorority nurse heals 51 hit points.
Round 4: Arbos casts CURDLE!
Round 5: naughty sorority nurse takes 48 damage.
Round 5: naughty sorority nurse heals 48 hit points.
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 3-shot with Curdle, Curdle and Curdle.
Round 5: Arbos executes a macro!
Round 5: Arbos casts CURDLE!
Round 6: naughty sorority nurse takes 48 damage.
Round 6: naughty sorority nurse heals 48 hit points.
Round 6: Arbos casts CURDLE!
Round 7: naughty sorority nurse takes 48 damage.
Round 7: naughty sorority nurse heals 48 hit points.
Round 7: Arbos casts CURDLE!
Round 8: naughty sorority nurse takes 48 damage.
Round 8: naughty sorority nurse heals 48 hit points.
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 3-shot with Curdle, Curdle and Curdle.
Round 8: Arbos executes a macro!
Round 8: Arbos casts CURDLE!
Round 9: naughty sorority nurse takes 48 damage.
Round 9: naughty sorority nurse heals 48 hit points.
Round 9: Arbos casts CURDLE!
Round 10: naughty sorority nurse takes 48 damage.
Round 10: naughty sorority nurse heals 48 hit points.
Round 10: Arbos casts CURDLE!
Round 11: naughty sorority nurse takes 48 damage.
Round 11: naughty sorority nurse heals 48 hit points.
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 3-shot with Curdle, Curdle and Curdle.
Round 11: Arbos executes a macro!
Round 11: Arbos casts CURDLE!
Round 12: naughty sorority nurse takes 96 damage.
Round 12: naughty sorority nurse heals 87 hit points.
Round 12: Arbos casts CURDLE!
Round 13: naughty sorority nurse takes 48 damage.
Round 13: naughty sorority nurse heals 57 hit points.
Round 13: Arbos casts CURDLE!
Round 14: naughty sorority nurse takes 48 damage.
Round 14: naughty sorority nurse heals 48 hit points.
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 3-shot with Curdle, Curdle and Curdle.
Round 14: Arbos executes a macro!
Round 14: Arbos casts CURDLE!
Round 15: naughty sorority nurse takes 48 damage.
Round 15: naughty sorority nurse heals 48 hit points.
Round 15: Arbos casts CURDLE!
Round 16: naughty sorority nurse takes 48 damage.
Round 16: naughty sorority nurse heals 48 hit points.
Round 16: Arbos casts CURDLE!
Round 17: naughty sorority nurse takes 48 damage.
Round 17: naughty sorority nurse heals 48 hit points.
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 3-shot with Curdle, Curdle and Curdle.
Round 17: Arbos executes a macro!
Round 17: Arbos casts CURDLE!
Round 18: naughty sorority nurse takes 48 damage.
Round 18: naughty sorority nurse heals 48 hit points.
Round 18: Arbos casts CURDLE!
Round 19: naughty sorority nurse takes 48 damage.
Round 19: naughty sorority nurse heals 48 hit points.
Round 19: Arbos casts CURDLE!
Round 20: naughty sorority nurse takes 48 damage.
Round 20: naughty sorority nurse heals 48 hit points.
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 3-shot with Curdle, Curdle and Curdle.
Round 20: Arbos executes a macro!
Round 20: Arbos casts CURDLE!
Round 21: naughty sorority nurse takes 48 damage.
Round 21: naughty sorority nurse heals 48 hit points.
Round 21: Arbos casts CURDLE!
Round 22: naughty sorority nurse takes 48 damage.
Round 22: naughty sorority nurse heals 48 hit points.
Round 22: Arbos casts CURDLE!
Round 23: naughty sorority nurse takes 48 damage.
Round 23: naughty sorority nurse heals 48 hit points.
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 3-shot with Curdle, Curdle and Curdle.
Round 23: Arbos executes a macro!
Round 23: Arbos casts CURDLE!
Round 24: naughty sorority nurse takes 48 damage.
Round 24: naughty sorority nurse heals 48 hit points.
Round 24: Arbos casts CURDLE!
Round 25: naughty sorority nurse takes 48 damage.
Round 25: naughty sorority nurse heals 48 hit points.
Round 25: Arbos casts CURDLE!
Round 26: naughty sorority nurse takes 48 damage.
Round 26: naughty sorority nurse heals 48 hit points.
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 1-shot with Boil.
Round 26: Arbos executes a macro!
Round 26: Arbos casts BOIL!
Round 27: naughty sorority nurse takes 160 damage.
Round 27: naughty sorority nurse heals 94 hit points.
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 1-shot with Curdle.
Round 27: Arbos executes a macro!
Round 27: Arbos casts CURDLE!
Round 28: naughty sorority nurse takes 48 damage.
Round 28: naughty sorority nurse heals 88 hit points.
WHAM: Starting evaluation and performing of attack
WHAM: Unable to delevel until you can kill the monster without it killing you. Try it yourself.
WHAM: Unable to determine a valid combat strategy. For your benefit here are the numbers for your combat options.
WHAM: Boil: 75.00 potential damage (raw damage: 160.00) and a hitchance of 100.00%.
WHAM: Chop: 75.00 potential damage (raw damage: 160.00) and a hitchance of 100.00%.
WHAM: Freeze: 75.00 potential damage (raw damage: 160.00) and a hitchance of 100.00%.
WHAM: grouchy restless spirit: 75.00 potential damage (raw damage: 42.00) and a hitchance of 100.00%.
WHAM: flaming feather: 75.00 potential damage (raw damage: 100.00) and a hitchance of 100.00%.
WHAM: exploding hacky-sack: 75.00 potential damage (raw damage: 87.00) and a hitchance of 100.00%.
WHAM: Slice: 75.00 potential damage (raw damage: 368.00) and a hitchance of 100.00%.
WHAM: Grill: 75.00 potential damage (raw damage: 736.00) and a hitchance of 100.00%.
WHAM: patchouli oil bomb: 72.00 potential damage (raw damage: 72.00) and a hitchance of 100.00%.
WHAM: water pipe bomb: 65.00 potential damage (raw damage: 65.00) and a hitchance of 100.00%.
WHAM: beer bomb: 65.00 potential damage (raw damage: 65.00) and a hitchance of 100.00%.
WHAM: rocky raccoon: 55.00 potential damage (raw damage: 55.00) and a hitchance of 100.00%.
WHAM: bottle of alcohol: 55.00 potential damage (raw damage: 55.00) and a hitchance of 100.00%.
WHAM: Battlie Light Saver: 49.00 potential damage (raw damage: 49.00) and a hitchance of 100.00%.
WHAM: Curdle: 48.00 potential damage (raw damage: 48.00) and a hitchance of 100.00%.
WHAM: photoprotoneutron torpedo: 40.00 potential damage (raw damage: 40.00) and a hitchance of 100.00%.
WHAM: pygmy blowgun: 25.00 potential damage (raw damage: 25.00) and a hitchance of 100.00%.
WHAM: flaregun: 19.80 potential damage (raw damage: 19.80) and a hitchance of 100.00%.
WHAM: Bake: 16.00 potential damage (raw damage: 16.00) and a hitchance of 100.00%.
WHAM: ancient poisoned dart: 8.00 potential damage (raw damage: 8.00) and a hitchance of 100.00%.
WHAM: baseball: 7.00 potential damage (raw damage: 7.00) and a hitchance of 100.00%.
WHAM: spectre scepter: 4.25 potential damage (raw damage: 4.25) and a hitchance of 100.00%.
WHAM: razor-sharp can lid: 2.50 potential damage (raw damage: 2.50) and a hitchance of 100.00%.
WHAM: seal tooth: 1.00 potential damage (raw damage: 1.00) and a hitchance of 100.00%.
WHAM: flirtatious feather: 1.00 potential damage (raw damage: 100.00) and a hitchance of 100.00%.
WHAM: Fry: 1.00 potential damage (raw damage: 368.00) and a hitchance of 100.00%.
WHAM: magical mystery juice: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: Mountain Stream soda: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: wussiness potion: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: handful of sawdust: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: Blend: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: pool torpedo: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: inkwell: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: procrastination potion: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: spider web: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: handful of sand: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: dark potion: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: swirly potion: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: milky potion: 0.00 potential damage (raw damage: -14.00) and a hitchance of 100.00%.
WHAM: bubbly potion: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: fizzy potion: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: effervescent potion: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: murky potion: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: cast: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: soggy used band-aid: 0.00 potential damage (raw damage: 0.00) and a hitchance of 100.00%.
WHAM: You now have the knowledge needed to go forward and be victorious
Round 28: Arbos executes a macro!
KoLmafia thinks it is round 29 but KoL thinks it is round 28
WHAM: Unable to figure out a combat strategy. Helpful information regarding your skills have been printed to the CLI
You're on your own, partner.
Click here to continue in the relay browser.

I could one-shot her with Grill or two shot with Blend and Boil. Why is WHAM choosing to use Curdle?
 
Last edited:

Winterbay

Active member
Because a) it's cheap and b) I removed the check for "don't use things that do less than x damage" from WHAM's Ok-function since zarqon assured me it was not needed. I think he was lying.
 

zarqon

Well-known member
Yep, lying like a rug. I checked just now to verify that kill_rounds() includes monster healing and discovered I'd not changed the function call after changing the monster function to return an advevent.

It also looks as though mafia thought the nurse had only 75 HP for some reason.

This should not be WHAM's problem, regardless. I've fixed it locally and the fix will be in the next update, which I'm thinking about calling version (^._.^)~
 

MgDark

New member
My WHAM gets stuck in a fight for several minutes in each fight, looks like he cant reach the pluralmonsters.txt
Report:
[471] Defiled Niche
Encounter: senile lihc
Round 0: mggdark wins initiative!
IOException during data post (http://zachbardon.com/mafiatools/autoupdate.php?f=pluralMonsters&act=getver).<----- In this part he gets stuck for like 4 minutes
Updating pluralMonsters.txt from '2012-12-01T04:19:22-08:00' to ''...
Error loading pluralMonsters.txt from the Map Manager.
WHAM: Running SmartStasis
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 1-shot with Curdle.
Round 1: mggdark executes a macro!
Round 1: mggdark casts CURDLE!
Round 2: senile lihc takes 60 damage.
Round 2: mggdark wins the fight!
After Battle: Your Evilometer emits a single beep. The air in this part of the crypt smells slightly less evil...
You gain 5 Fortitude
You gain a Muscle point!
You gain 8 Enchantedness
You gain 2 Chutzpah
 

Winterbay

Active member
My WHAM gets stuck in a fight for several minutes in each fight, looks like he cant reach the pluralmonsters.txt
Report:
[471] Defiled Niche
Encounter: senile lihc
Round 0: mggdark wins initiative!
IOException during data post (http://zachbardon.com/mafiatools/autoupdate.php?f=pluralMonsters&act=getver).<----- In this part he gets stuck for like 4 minutes
Updating pluralMonsters.txt from '2012-12-01T04:19:22-08:00' to ''...
Error loading pluralMonsters.txt from the Map Manager.
WHAM: Running SmartStasis
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 1-shot with Curdle.
Round 1: mggdark executes a macro!
Round 1: mggdark casts CURDLE!
Round 2: senile lihc takes 60 damage.
Round 2: mggdark wins the fight!
After Battle: Your Evilometer emits a single beep. The air in this part of the crypt smells slightly less evil...
You gain 5 Fortitude
You gain a Muscle point!
You gain 8 Enchantedness
You gain 2 Chutzpah

For some reason you cannot reach Zarqon's server and thus Mafia waits until the connection times out before continuing and since it didn't get updated it'll try again next adventure.
To fix it you can add the following line to your zversions.txt file in the /data folder:
Code:
map_pluralMonsters.txt    2012-12-01T04:19:22-08:00    20130402
(i.e. change the date on the line with map_pluralmonsters.txt to today's date)

Edit: Not only you, it appears to be down from here at teh moment as well.
 
Last edited:
not sure if this is a WHAM issue or a SmartStasis issue, but...

Code:
Request 62 of 62 (Junkyard: Over Where the Old Tires Are) in progress...

[1047] Over Where the Old Tires Are
Encounter: erudite gremlin
Strategy: C:\Program Files (x86)\KolMafia\ccs\in run.ccs [default]
Round 0: lizardking24 wins initiative!
BCC: Right location.
BCC: We have found the correct monster, so will stasis until the item drop occurrs.
WHAM: Running SmartStasis
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 1-shot with Slice.
Round 1: xxx executes a macro!
Round 1: xxx casts SLICE!
Round 2: xxx wins the fight!
You gain 51 Meat
You gain 10 Fortitude
You gain 26 Mysteriousness
You gain a Mysticality point!
You gain 12 Sarcasm


i'm guessing we don't want to one-shot these :)
yeah burned my remaining 62 adventures not paying attention to this part. bleh.
 

Theraze

Active member
Eh, you have a chance to get the right one. If you want to run for longer, increase your DR/DA. On my AoJ currently, balancing Moxie, Myst, DR, and DA for the Gremlins does fairly well. Get at least 4-8 (depending on the specific gear) rounds in before it hits emergency "kill kill kill" mode. :) That being said, I'd rather it took the one round and killed if it didn't happen then rather than either let me die or aborted... both screw up people trying to run things unattended.
 
So...here's another instance of WHAM trying to attack in AOJ (or so it appears to me).

Code:
[801] Whitey's Grove
Encounter: white chocolate golem
Strategy: /~/.kolmafia/ccs/WHAM.ccs [default]
Round 0: chef_rannos wins initiative!
The string "/\/\^v^/\/\" is not an integer; returning 0 (zlib.ash, line 181)
The string "/\/\^v^/\/\" is not an integer; returning 0 (zlib.ash, line 182)
WHAM: Running SmartStasis
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 2-shot with Curdle and attack with your weapon.
Round 1: chef_rannos executes a macro!
Round 1: chef_rannos casts CURDLE!
Round 2: white chocolate golem takes 33 damage.
Round 2: chef_rannos wins the fight!
You gain 5 hit points
You gain 3 Mana Points
You acquire an item: Cosmic Calorie
You gain 1 Fortitude
You gain 9 Mysteriousness
You gain 4 Sarcasm

Request 4 of 141 (Woods: Whitey's Grove) in progress...

[802] Whitey's Grove
Encounter: white lion
Strategy: /~/.kolmafia/ccs/WHAM.ccs [default]
Round 0: chef_rannos wins initiative!
The string "/\/\^v^/\/\" is not an integer; returning 0 (zlib.ash, line 181)
The string "/\/\^v^/\/\" is not an integer; returning 0 (zlib.ash, line 182)
WHAM: Running SmartStasis
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 1: chef_rannos executes a macro!
Round 1: chef_rannos attacks!
Round 2: chef_rannos attacks!
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 3: chef_rannos executes a macro!
Round 3: chef_rannos attacks!
Round 4: chef_rannos attacks!
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 5: chef_rannos executes a macro!
Round 5: chef_rannos attacks!
Round 6: chef_rannos attacks!
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 7: chef_rannos executes a macro!
Round 7: chef_rannos attacks!
You lose 1 hit point
Round 8: chef_rannos attacks!
You lose 5 hit points
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 9: chef_rannos executes a macro!
Round 9: chef_rannos attacks!
Round 10: chef_rannos attacks!
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 11: chef_rannos executes a macro!
Round 11: chef_rannos attacks!
Round 12: chef_rannos attacks!
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: chef_rannos executes a macro!
Round 13: chef_rannos attacks!
Round 14: chef_rannos attacks!
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 15: chef_rannos executes a macro!
Round 15: chef_rannos attacks!
You lose 5 hit points
Round 16: chef_rannos attacks!
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 17: chef_rannos executes a macro!
Round 17: chef_rannos attacks!
Round 18: chef_rannos attacks!
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 19: chef_rannos executes a macro!
Round 19: chef_rannos attacks!
Round 20: chef_rannos attacks!
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 21: chef_rannos executes a macro!
Round 21: chef_rannos attacks!
Round 22: chef_rannos attacks!
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 23: chef_rannos executes a macro!
KoLmafia declares world peace.
Round 23: chef_rannos attacks!
Round 24: chef_rannos attacks!
You're on your own, partner.
Click here to continue in the relay browser.
 

Crowther

Active member
It's about double, so I did another silly hack. I added "if (my_location().zone == "The Sea") res[m.attack_element] = res[m.attack_element] * 2;" to m_regular() in BatBrain and now things are working well, but I really doubt that's the correct formula.
Even that's not working for me in the library. I'm getting "ATT: 898 (94% × 60.3, death in 24)", but damage done is more like 90 and I'm dead in 16 rounds. No time to spade, but there's something going on.

EDIT: Never mind. It turns out that my mafia version doesn't know the library is in the sea, so my hack wasn't doing anything.
 
Last edited:
Eh, you have a chance to get the right one. If you want to run for longer, increase your DR/DA. On my AoJ currently, balancing Moxie, Myst, DR, and DA for the Gremlins does fairly well. Get at least 4-8 (depending on the specific gear) rounds in before it hits emergency "kill kill kill" mode. :) That being said, I'd rather it took the one round and killed if it didn't happen then rather than either let me die or aborted... both screw up people trying to run things unattended.

agreed, but i run BCA which also happens to choose my outfit. so if i want to run it unattended i cant balance moxie/DA/etc. it's fine, i can run that part manually or at least just run it without BCA.
 
Top