Winterbay's Helpful Automatic Monsterbasher (WHAM)

I was pleased to note that this update of BatBrain actually broke WHAM rather than making it do horrific things like throw people's Frosty's iceballs. That's why I went ahead with it.

According to Winterbay's previous post, about 5 hours remain until he may have time to fix it. If you'd like to fix your local copy in the meantime, all you need to do is this:

Find: .custom
Replace With: .custom != ""

I'm not sure the revert command will work since BatBrain automatically updates itself to the latest version.

@Chef_Rannos: SS does not handle getting vials of slime as of yet, however I do have this in my notes of things to add to BatBrain:
Code:
mostly_kill_action() -- same as attack_action except skips actions which will kill the monster in 1 round
killdownto(hp target) -- perform mka until target reached
If and when those functions are added (which isn't too hard to do), SS could pretty easily deal with getting vials of slime from those slimy slimes.
 
I'm not sure the revert command will work since BatBrain automatically updates itself to the latest version.

I used Dropbox functionality to get the previous version and it seemed to work (as in keep the older version) for me.

That said, automatically and unconditionally forcing an update on a user, even after they have decided they don't want it by reverting it, seems like the kind of arrogant behavior associated with Microsoft and not that of a well regarded script author who has been making voluntary contributions to the community. I hope I have misunderstood the comment, but if not, perhaps you would reconsider?
 
@Chef_Rannos: SS does not handle getting vials of slime as of yet, however I do have this in my notes of things to add to BatBrain:
Code:
mostly_kill_action() -- same as attack_action except skips actions which will kill the monster in 1 round
killdownto(hp target) -- perform mka until target reached
If and when those functions are added (which isn't too hard to do), SS could pretty easily deal with getting vials of slime from those slimy slimes.


Cool, until I notice an update I'll modify my CCS that uses WHAM to have manual slime handling. If I do a BIG! run first, I really have no issue with safe moxie or running out of HP fighting them. ;)
 
Latest everything, I hope. I am trying to keep WHAM from using stun items by setting noitemsplease. What am I doing wrong?

Code:
[154852] Dreadsylvanian Village
Encounter: Nathan Ruth, who learned dark secrets man was not meant to know
Strategy: /Users/rheinhold/Library/Application Support/KoLmafia/ccs/WHAM.ccs [default]
Round 0: rheinhold wins initiative!
WHAM: Running SmartStasis
WHAM: Starting evaluation and performing of attack
WHAM: Enqueuing a stun to help with the battle
WHAM: We are going to 2-shot with d6 and Weapon of the Pastalord.
Round 1: rheinhold executes a macro!
Round 1: rheinhold uses the d6!
Round 2: rheinhold casts WEAPON OF THE PASTALORD!
Round 3: rheinhold wins the fight!
After Battle: An elderly Dreadsylvanian groundskeeper gives you a grateful kiss on the cheek. You ask that next time he just give you a potted plant or something.
After Battle: 1 kiss for winning
You gain 39 Strengthliness
You gain 62 Wizardliness
You gain 31 Sarcasm

Manual stop requested.
Placing items into closet...
Requests complete.

> zlib WHAM_noitemsplease = true

Previous value of WHAM_noitemsplease: true
 
Last edited:
I don't know. Try running a fight at verbosity 10 followed by 9 (the 10 will not perform anything just print a lot) and see what it says.
 
OK. This is *just* the verbose=9, and it overran my CLI buffer so you're not even getting all of it. If that's not enough info, please let me know and I'll paste everything elsewhere.

(Thx lostcalpolydude for editing for me.)

Code:
Creating event 'use 3118'...
Creating event 'use 3119'...
Creating event 'use 3120'...
Creating event 'use 3121'...
Creating event 'use 3147'...
Creating event 'use 3148'...
Creating event 'use 3149'...
Creating event 'use 3150'...
Creating event 'use 3151'...
Creating event 'use 3152'...
Creating event 'use 3153'...
Creating event 'use 3155'...
Creating event 'use 3156'...
Creating event 'use 3403'...
Creating event 'use 3462'...
Creating event 'use 3467'...
Creating event 'use 3480'...
Creating event 'use 3594'...
Creating event 'use 3597'...
Creating event 'use 3643'...
Creating event 'use 3665'...
Creating event 'use 3696'...
Creating event 'use 3726'...
Creating event 'use 3730'...
Creating event 'use 3734'...
Creating event 'use 3757'...
Creating event 'use 3775'...
Creating event 'use 3809'...
Creating event 'use 4045'...
Creating event 'use 4046'...
Creating event 'use 4084'...
Creating event 'use 4087'...
Creating event 'use 4256'...
Creating event 'use 4257'...
Creating event 'use 4330'...
Creating event 'use 4331'...
Creating event 'use 4491'...
Creating event 'use 4494'...
Creating event 'use 4582'...
Creating event 'use 4583'...
Creating event 'use 4586'...
Creating event 'use 4698'...
Creating event 'use 4699'...
Creating event 'use 4736'...
Creating event 'use 4864'...
Creating event 'use 4948'...
Creating event 'use 5048'...
Creating event 'use 5073'...
Creating event 'use 5105'...
Creating event 'use 5120'...
Creating event 'use 5225'...
Creating event 'use 5229'...
Creating event 'use 5233'...
Creating event 'use 5285'...
Creating event 'use 5287'...
Creating event 'use 5288'...
Creating event 'use 5290'...
Creating event 'use 5308'...
Creating event 'use 5309'...
Creating event 'use 5327'...
Creating event 'use 5432'...
Creating event 'use 5642'...
Creating event 'use 5678'...
Creating event 'use 5719'...
Creating event 'use 5729'...
Creating event 'use 6282'...
Creating event 'use 6284'...
Creating event 'use 6452'...
Creating event 'use 6502'...
Creating event 'skill 15'...
Creating event 'skill 19'...
Creating event 'skill 30'...
Creating event 'skill 1023'...
Creating event 'skill 2022'...
Creating event 'skill 3019'...
Creating event 'skill 3008'...
Creating event 'skill 4020'...
Creating event 'skill 5019'...
Creating event 'skill 5012'...
Options built! (220 actions)
Parsed round number: 1
Building options...
Creating event 'attack'...
Creating event ''...
Creating event ''...
Creating event 'use 2'...
Creating event 'use 8'...
Creating event 'use 27'...
Creating event 'use 145'...
Creating event 'use 181'...
Creating event 'use 185'...
Creating event 'use 208'...
Creating event 'use 232'...
Creating event 'use 233'...
Creating event 'use 234'...
Creating event 'use 270'...
Creating event 'use 342'...
Creating event 'use 344'...
Creating event 'use 345'...
Creating event 'use 347'...
Creating event 'use 353'...
Creating event 'use 357'...
Creating event 'use 409'...
Creating event 'use 452'...
Creating event 'use 469'...
Creating event 'use 474'...
Creating event 'use 518'...
Creating event 'use 546'...
Creating event 'use 547'...
Creating event 'use 548'...
Creating event 'use 549'...
Creating event 'use 550'...
Creating event 'use 559'...
Creating event 'use 563'...
Creating event 'use 610'...
Creating event 'use 613'...
Creating event 'use 615'...
Creating event 'use 624'...
Creating event 'use 630'...
Creating event 'use 744'...
Creating event 'use 747'...
Creating event 'use 779'...
Creating event 'use 819'...
Creating event 'use 820'...
Creating event 'use 822'...
Creating event 'use 823'...
Creating event 'use 824'...
Creating event 'use 825'...
Creating event 'use 826'...
Creating event 'use 827'...
Creating event 'use 829'...
Creating event 'use 866'...
Creating event 'use 910'...
Creating event 'use 1051'...
Creating event 'use 1055'...
Creating event 'use 1059'...
Creating event 'use 1063'...
Creating event 'use 1067'...
Creating event 'use 1071'...
Creating event 'use 1075'...
Creating event 'use 1079'...
Creating event 'use 1159'...
Creating event 'use 1316'...
Creating event 'use 1335'...
Creating event 'use 1336'...
Creating event 'use 1389'...
Creating event 'use 1390'...
Creating event 'use 1391'...
Creating event 'use 1392'...
Creating event 'use 1394'...
Creating event 'use 1397'...
Creating event 'use 1704'...
Creating event 'use 1705'...
Creating event 'use 1777'...
Creating event 'use 1788'...
Creating event 'use 1907'...
Creating event 'use 1922'...
Creating event 'use 1939'...
Creating event 'use 1958'...
Creating event 'use 1959'...
Creating event 'use 1960'...
Creating event 'use 1965'...
Creating event 'use 2040'...
Creating event 'use 2041'...
Creating event 'use 2042'...
Creating event 'use 2067'...
Creating event 'use 2068'...
Creating event 'use 2091'...
Creating event 'use 2092'...
Creating event 'use 2114'...
Creating event 'use 2129'...
Creating event 'use 2131'...
Creating event 'use 2133'...
Creating event 'use 2135'...
Creating event 'use 2138'...
Creating event 'use 2139'...
Creating event 'use 2237'...
Creating event 'use 2240'...
Creating event 'use 2341'...
Creating event 'use 2348'...
Creating event 'use 2350'...
Creating event 'use 2369'...
Creating event 'use 2371'...
Creating event 'use 2374'...
Creating event 'use 2378'...
Creating event 'use 2397'...
Creating event 'use 2400'...
Creating event 'use 2402'...
Creating event 'use 2438'...
Creating event 'use 2439'...
Creating event 'use 2492'...
Creating event 'use 2493'...
Creating event 'use 2537'...
Creating event 'use 2538'...
Creating event 'use 2562'...
Creating event 'use 2563'...
Creating event 'use 2565'...
Creating event 'use 2575'...
Creating event 'use 2581'...
Creating event 'use 2606'...
Creating event 'use 2608'...
Creating event 'use 2613'...
Creating event 'use 2617'...
Creating event 'use 2644'...
Creating event 'use 2646'...
Creating event 'use 2647'...
Creating event 'use 2648'...
Creating event 'use 2678'...
Creating event 'use 2687'...
Creating event 'use 2696'...
Creating event 'use 2704'...
Creating event 'use 2715'...
Creating event 'use 2765'...
Creating event 'use 2848'...
Creating event 'use 2947'...
Creating event 'use 2956'...
Creating event 'use 2966'...
Creating event 'use 3020'...
Creating event 'use 3039'...
Creating event 'use 3040'...
Creating event 'use 3041'...
Creating event 'use 3098'...
Creating event 'use 3099'...
Creating event 'use 3100'...
Creating event 'use 3101'...
Creating event 'use 3102'...
Creating event 'use 3103'...
Creating event 'use 3109'...
Creating event 'use 3110'...
Creating event 'use 3111'...
Creating event 'use 3112'...
Creating event 'use 3113'...
Creating event 'use 3118'...
Creating event 'use 3119'...
Creating event 'use 3120'...
Creating event 'use 3121'...
Creating event 'use 3147'...
Creating event 'use 3148'...
Creating event 'use 3149'...
Creating event 'use 3150'...
Creating event 'use 3151'...
Creating event 'use 3152'...
Creating event 'use 3153'...
Creating event 'use 3155'...
Creating event 'use 3156'...
Creating event 'use 3403'...
Creating event 'use 3462'...
Creating event 'use 3467'...
Creating event 'use 3480'...
Creating event 'use 3594'...
Creating event 'use 3597'...
Creating event 'use 3643'...
Creating event 'use 3665'...
Creating event 'use 3696'...
Creating event 'use 3726'...
Creating event 'use 3730'...
Creating event 'use 3734'...
Creating event 'use 3757'...
Creating event 'use 3775'...
Creating event 'use 3809'...
Creating event 'use 4045'...
Creating event 'use 4046'...
Creating event 'use 4084'...
Creating event 'use 4087'...
Creating event 'use 4256'...
Creating event 'use 4257'...
Creating event 'use 4330'...
Creating event 'use 4331'...
Creating event 'use 4491'...
Creating event 'use 4494'...
Creating event 'use 4582'...
Creating event 'use 4583'...
Creating event 'use 4586'...
Creating event 'use 4698'...
Creating event 'use 4699'...
Creating event 'use 4736'...
Creating event 'use 4864'...
Creating event 'use 4948'...
Creating event 'use 5048'...
Creating event 'use 5073'...
Creating event 'use 5105'...
Creating event 'use 5120'...
Creating event 'use 5225'...
Creating event 'use 5229'...
Creating event 'use 5233'...
Creating event 'use 5285'...
Creating event 'use 5287'...
Creating event 'use 5288'...
Creating event 'use 5290'...
Creating event 'use 5308'...
Creating event 'use 5309'...
Creating event 'use 5327'...
Creating event 'use 5432'...
Creating event 'use 5642'...
Creating event 'use 5678'...
Creating event 'use 5719'...
Creating event 'use 5729'...
Creating event 'use 6282'...
Creating event 'use 6284'...
Creating event 'use 6452'...
Creating event 'use 6502'...
Creating event 'skill 15'...
Creating event 'skill 19'...
Creating event 'skill 30'...
Creating event 'skill 1023'...
Creating event 'skill 2022'...
Creating event 'skill 3019'...
Creating event 'skill 3008'...
Creating event 'skill 4020'...
Creating event 'skill 5019'...
Creating event 'skill 5012'...
Options built! (220 actions)
WHAM: Evaluating the attack but not performing it took 0.66 seconds.
WHAM: Enqueuing a stun to help with the battle
Queued: use 2715
Building options...
Creating event 'attack'...
Creating event ''...
Creating event ''...
Creating event 'use 2'...
Creating event 'use 8'...
Creating event 'use 27'...
Creating event 'use 145'...
Creating event 'use 181'...
Creating event 'use 185'...
Creating event 'use 208'...
Creating event 'use 232'...
Creating event 'use 233'...
Creating event 'use 234'...
Creating event 'use 270'...
Creating event 'use 342'...
Creating event 'use 344'...
Creating event 'use 345'...
Creating event 'use 347'...
Creating event 'use 353'...
Creating event 'use 357'...
Creating event 'use 409'...
Creating event 'use 452'...
Creating event 'use 469'...
Creating event 'use 474'...
Creating event 'use 518'...
Creating event 'use 546'...
Creating event 'use 547'...
Creating event 'use 548'...
Creating event 'use 549'...
Creating event 'use 550'...
Creating event 'use 559'...
Creating event 'use 563'...
Creating event 'use 610'...
Creating event 'use 613'...
Creating event 'use 615'...
Creating event 'use 624'...
Creating event 'use 630'...
Creating event 'use 744'...
Creating event 'use 747'...
Creating event 'use 779'...
Creating event 'use 819'...
Creating event 'use 820'...
Creating event 'use 822'...
Creating event 'use 823'...
Creating event 'use 824'...
Creating event 'use 825'...
Creating event 'use 826'...
Creating event 'use 827'...
Creating event 'use 829'...
Creating event 'use 866'...
Creating event 'use 910'...
Creating event 'use 1051'...
Creating event 'use 1055'...
Creating event 'use 1059'...
Creating event 'use 1063'...
Creating event 'use 1067'...
Creating event 'use 1071'...
Creating event 'use 1075'...
Creating event 'use 1079'...
Creating event 'use 1159'...
Creating event 'use 1316'...
Creating event 'use 1335'...
Creating event 'use 1336'...
Creating event 'use 1389'...
Creating event 'use 1390'...
Creating event 'use 1391'...
Creating event 'use 1392'...
Creating event 'use 1394'...
Creating event 'use 1397'...
Creating event 'use 1704'...
Creating event 'use 1705'...
Creating event 'use 1777'...
Creating event 'use 1788'...
Creating event 'use 1907'...
Creating event 'use 1922'...
Creating event 'use 1939'...
Creating event 'use 1958'...
Creating event 'use 1959'...
Creating event 'use 1960'...
Creating event 'use 1965'...
Creating event 'use 2040'...
Creating event 'use 2041'...
Creating event 'use 2042'...
Creating event 'use 2067'...
Creating event 'use 2068'...
Creating event 'use 2091'...
Creating event 'use 2092'...
Creating event 'use 2114'...
Creating event 'use 2129'...
Creating event 'use 2131'...
Creating event 'use 2133'...
Creating event 'use 2135'...
Creating event 'use 2138'...
Creating event 'use 2139'...
Creating event 'use 2237'...
Creating event 'use 2240'...
Creating event 'use 2341'...
Creating event 'use 2348'...
Creating event 'use 2350'...
Creating event 'use 2369'...
Creating event 'use 2371'...
Creating event 'use 2374'...
Creating event 'use 2378'...
Creating event 'use 2397'...
Creating event 'use 2400'...
Creating event 'use 2402'...
Creating event 'use 2438'...
Creating event 'use 2439'...
Creating event 'use 2492'...
Creating event 'use 2493'...
Creating event 'use 2537'...
Creating event 'use 2538'...
Creating event 'use 2562'...
Creating event 'use 2563'...
Creating event 'use 2565'...
Creating event 'use 2575'...
Creating event 'use 2581'...
Creating event 'use 2606'...
Creating event 'use 2608'...
Creating event 'use 2613'...
Creating event 'use 2617'...
Creating event 'use 2644'...
Creating event 'use 2646'...
Creating event 'use 2647'...
Creating event 'use 2648'...
Creating event 'use 2678'...
Creating event 'use 2687'...
Creating event 'use 2696'...
Creating event 'use 2704'...
Creating event 'use 2715'...
Creating event 'use 2765'...
Creating event 'use 2848'...
Creating event 'use 2947'...
Creating event 'use 2956'...
Creating event 'use 2966'...
Creating event 'use 3020'...
Creating event 'use 3039'...
Creating event 'use 3040'...
Creating event 'use 3041'...
Creating event 'use 3098'...
Creating event 'use 3099'...
Creating event 'use 3100'...
Creating event 'use 3101'...
Creating event 'use 3102'...
Creating event 'use 3103'...
Creating event 'use 3109'...
Creating event 'use 3110'...
Creating event 'use 3111'...
Creating event 'use 3112'...
Creating event 'use 3113'...
Creating event 'use 3118'...
Creating event 'use 3119'...
Creating event 'use 3120'...
Creating event 'use 3121'...
Creating event 'use 3147'...
Creating event 'use 3148'...
Creating event 'use 3149'...
Creating event 'use 3150'...
Creating event 'use 3151'...
Creating event 'use 3152'...
Creating event 'use 3153'...
Creating event 'use 3155'...
Creating event 'use 3156'...
Creating event 'use 3403'...
Creating event 'use 3462'...
Creating event 'use 3467'...
Creating event 'use 3480'...
Creating event 'use 3594'...
Creating event 'use 3597'...
Creating event 'use 3643'...
Creating event 'use 3665'...
Creating event 'use 3696'...
Creating event 'use 3726'...
Creating event 'use 3730'...
Creating event 'use 3734'...
Creating event 'use 3757'...
Creating event 'use 3775'...
Creating event 'use 3809'...
Creating event 'use 4045'...
Creating event 'use 4046'...
Creating event 'use 4084'...
Creating event 'use 4087'...
Creating event 'use 4256'...
Creating event 'use 4257'...
Creating event 'use 4330'...
Creating event 'use 4331'...
Creating event 'use 4491'...
Creating event 'use 4494'...
Creating event 'use 4582'...
Creating event 'use 4583'...
Creating event 'use 4586'...
Creating event 'use 4698'...
Creating event 'use 4699'...
Creating event 'use 4736'...
Creating event 'use 4864'...
Creating event 'use 4948'...
Creating event 'use 5048'...
Creating event 'use 5073'...
Creating event 'use 5105'...
Creating event 'use 5120'...
Creating event 'use 5225'...
Creating event 'use 5229'...
Creating event 'use 5233'...
Creating event 'use 5285'...
Creating event 'use 5287'...
Creating event 'use 5288'...
Creating event 'use 5290'...
Creating event 'use 5308'...
Creating event 'use 5309'...
Creating event 'use 5327'...
Creating event 'use 5432'...
Creating event 'use 5642'...
Creating event 'use 5678'...
Creating event 'use 5719'...
Creating event 'use 5729'...
Creating event 'use 6282'...
Creating event 'use 6284'...
Creating event 'use 6452'...
Creating event 'use 6502'...
Creating event 'skill 15'...
Creating event 'skill 19'...
Creating event 'skill 30'...
Creating event 'skill 1023'...
Creating event 'skill 2022'...
Creating event 'skill 3019'...
Creating event 'skill 3008'...
Creating event 'skill 4020'...
Creating event 'skill 5019'...
Creating event 'skill 5012'...
Options built! (220 actions)
WHAM: We can't Saucesplash.
false, true, true, false, false
WHAM: Enqueueing attack with your weapon (macroid attack). Estimated damage: 170.0.
Queued: attack
Building options...
Creating event 'attack'...
Creating event ''...
Creating event ''...
Creating event 'use 2'...
Creating event 'use 8'...
Creating event 'use 27'...
Creating event 'use 145'...
Creating event 'use 181'...
Creating event 'use 185'...
Creating event 'use 208'...
Creating event 'use 232'...
Creating event 'use 233'...
Creating event 'use 234'...
Creating event 'use 270'...
Creating event 'use 342'...
Creating event 'use 344'...
Creating event 'use 345'...
Creating event 'use 347'...
Creating event 'use 353'...
Creating event 'use 357'...
Creating event 'use 409'...
Creating event 'use 452'...
Creating event 'use 469'...
Creating event 'use 474'...
Creating event 'use 518'...
Creating event 'use 546'...
Creating event 'use 547'...
Creating event 'use 548'...
Creating event 'use 549'...
Creating event 'use 550'...
Creating event 'use 559'...
Creating event 'use 563'...
Creating event 'use 610'...
Creating event 'use 613'...
Creating event 'use 615'...
Creating event 'use 624'...
Creating event 'use 630'...
Creating event 'use 744'...
Creating event 'use 747'...
Creating event 'use 779'...
Creating event 'use 819'...
Creating event 'use 820'...
Creating event 'use 822'...
Creating event 'use 823'...
Creating event 'use 824'...
Creating event 'use 825'...
Creating event 'use 826'...
Creating event 'use 827'...
Creating event 'use 829'...
Creating event 'use 866'...
Creating event 'use 910'...
Creating event 'use 1051'...
Creating event 'use 1055'...
Creating event 'use 1059'...
Creating event 'use 1063'...
Creating event 'use 1067'...
Creating event 'use 1071'...
Creating event 'use 1075'...
Creating event 'use 1079'...
Creating event 'use 1159'...
Creating event 'use 1316'...
Creating event 'use 1335'...
Creating event 'use 1336'...
Creating event 'use 1389'...
Creating event 'use 1390'...
Creating event 'use 1391'...
Creating event 'use 1392'...
Creating event 'use 1394'...
Creating event 'use 1397'...
Creating event 'use 1704'...
Creating event 'use 1705'...
Creating event 'use 1777'...
Creating event 'use 1788'...
Creating event 'use 1907'...
Creating event 'use 1922'...
Creating event 'use 1939'...
Creating event 'use 1958'...
Creating event 'use 1959'...
Creating event 'use 1960'...
Creating event 'use 1965'...
Creating event 'use 2040'...
Creating event 'use 2041'...
Creating event 'use 2042'...
Creating event 'use 2067'...
Creating event 'use 2068'...
Creating event 'use 2091'...
Creating event 'use 2092'...
Creating event 'use 2114'...
Creating event 'use 2129'...
Creating event 'use 2131'...
Creating event 'use 2133'...
Creating event 'use 2135'...
Creating event 'use 2138'...
Creating event 'use 2139'...
Creating event 'use 2237'...
Creating event 'use 2240'...
Creating event 'use 2341'...
Creating event 'use 2348'...
Creating event 'use 2350'...
Creating event 'use 2369'...
Creating event 'use 2371'...
Creating event 'use 2374'...
Creating event 'use 2378'...
Creating event 'use 2397'...
Creating event 'use 2400'...
Creating event 'use 2402'...
Creating event 'use 2438'...
Creating event 'use 2439'...
Creating event 'use 2492'...
Creating event 'use 2493'...
Creating event 'use 2537'...
Creating event 'use 2538'...
Creating event 'use 2562'...
Creating event 'use 2563'...
Creating event 'use 2565'...
Creating event 'use 2575'...
Creating event 'use 2581'...
Creating event 'use 2606'...
Creating event 'use 2608'...
Creating event 'use 2613'...
Creating event 'use 2617'...
Creating event 'use 2644'...
Creating event 'use 2646'...
Creating event 'use 2647'...
Creating event 'use 2648'...
Creating event 'use 2678'...
Creating event 'use 2687'...
Creating event 'use 2696'...
Creating event 'use 2704'...
Creating event 'use 2715'...
Creating event 'use 2765'...
Creating event 'use 2848'...
Creating event 'use 2947'...
Creating event 'use 2956'...
Creating event 'use 2966'...
Creating event 'use 3020'...
Creating event 'use 3039'...
Creating event 'use 3040'...
Creating event 'use 3041'...
Creating event 'use 3098'...
Creating event 'use 3099'...
Creating event 'use 3100'...
Creating event 'use 3101'...
Creating event 'use 3102'...
Creating event 'use 3103'...
Creating event 'use 3109'...
Creating event 'use 3110'...
Creating event 'use 3111'...
Creating event 'use 3112'...
Creating event 'use 3113'...
Creating event 'use 3118'...
Creating event 'use 3119'...
Creating event 'use 3120'...
Creating event 'use 3121'...
Creating event 'use 3147'...
Creating event 'use 3148'...
Creating event 'use 3149'...
Creating event 'use 3150'...
Creating event 'use 3151'...
Creating event 'use 3152'...
Creating event 'use 3153'...
Creating event 'use 3155'...
Creating event 'use 3156'...
Creating event 'use 3403'...
Creating event 'use 3462'...
Creating event 'use 3467'...
Creating event 'use 3480'...
Creating event 'use 3594'...
Creating event 'use 3597'...
Creating event 'use 3643'...
Creating event 'use 3665'...
Creating event 'use 3696'...
Creating event 'use 3726'...
Creating event 'use 3730'...
Creating event 'use 3734'...
Creating event 'use 3757'...
Creating event 'use 3775'...
Creating event 'use 3809'...
Creating event 'use 4045'...
Creating event 'use 4046'...
Creating event 'use 4084'...
Creating event 'use 4087'...
Creating event 'use 4256'...
Creating event 'use 4257'...
Creating event 'use 4330'...
Creating event 'use 4331'...
Creating event 'use 4491'...
Creating event 'use 4494'...
Creating event 'use 4582'...
Creating event 'use 4583'...
Creating event 'use 4586'...
Creating event 'use 4698'...
Creating event 'use 4699'...
Creating event 'use 4736'...
Creating event 'use 4864'...
Creating event 'use 4948'...
Creating event 'use 5048'...
Creating event 'use 5073'...
Creating event 'use 5105'...
Creating event 'use 5120'...
Creating event 'use 5225'...
Creating event 'use 5229'...
Creating event 'use 5233'...
Creating event 'use 5285'...
Creating event 'use 5287'...
Creating event 'use 5288'...
Creating event 'use 5290'...
Creating event 'use 5308'...
Creating event 'use 5309'...
Creating event 'use 5327'...
Creating event 'use 5432'...
Creating event 'use 5642'...
Creating event 'use 5678'...
Creating event 'use 5719'...
Creating event 'use 5729'...
Creating event 'use 6282'...
Creating event 'use 6284'...
Creating event 'use 6452'...
Creating event 'use 6502'...
Creating event 'skill 15'...
Creating event 'skill 19'...
Creating event 'skill 30'...
Creating event 'skill 1023'...
Creating event 'skill 2022'...
Creating event 'skill 3019'...
Creating event 'skill 3008'...
Creating event 'skill 4020'...
Creating event 'skill 5019'...
Creating event 'skill 5012'...
Options built! (220 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We are going to 2-shot with sausage bomb and attack with your weapon.
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; use 2715; call batround; attack; call batround; 
Round 1: rheinhold executes a macro!
Round 1: rheinhold uses the sausage bomb!
Round 2: rheinhold attacks!
Round 3: rheinhold wins the fight!
After Battle: A Dreadsylvanian grandpa gives you a kiss on the cheek. Must be one of those foreign things.
After Battle: 1 kiss for winning
You gain 33 Strongness
You gain 65 Enchantedness
You gain 33 Chutzpah
Happened: use 2715
Happened: attack
Parsed round number: 0
WHAM: Evaluating the attack and performing it took 2.55 seconds.
WHAM: We currently think that the round number is: 31 and that the turn number is 154854.
WHAM: We currently think that the round number is: 31 and that the turn number is 154854.
 
Last edited:
WEll, it at least shows that something is calling to_event for all your items even though WHAM has explicitly removed them from the map. I'll have to dig deeper.

Edit: I think I found it. Try r24
 
Last edited:
[4658] Thugnderdome
Encounter: vicious gnauga
Strategy: C:\Users\john\Desktop\kolmafia\ccs\default.ccs [default]
Round 0: halfvoid wins initiative!
Round 1: Newt produces a tubular red firecracker labeled M-34, lights the long fuse, and tosses it behind your opponent.
Checking for updates (running BatBrain rev. 19)...
BatBrain Updated!
BatBrain has been updated from r18 to r19 since you last ran it.
Click here for discussion of what's new. (last post) (SourceForge)
Checking for updates (running SmartStasis rev. 9)...
Updating batfactors.txt from '2013-08-20T05:16:32-05:00' to '2013-08-20T13:09:44-05:00'...
...batfactors.txt updated.
Round 1: halfvoid executes a macro!
Round 1: halfvoid tries to steal an item!
Invalid field name 'kisses' (WHAM.ash, line 663)
Consult script 'WHAM.ash' not found.
You're on your own, partner.

Not sure if that's because of WHAM or BatBrain.
Here's all I found for "kisses" that wasn't commented out.

Code:
// returns cheapest multi-round stun
advevent stun_option(float rounds, boolean foritem) {
	if(my_location().kisses >= 1 && (rounds < 0.90 || die_rounds() > maxround - round || monster_stat("hp") <= 10)) { //Don't stun if we will kill it directly (add a ~10% buffer for swingy actions)
		vprint("WHAM: No need to stun this monster", "purple", 8);													  //Always attempt to stun if the kiss-value is greater than 1
		buytime = new advevent;
		return buytime;
	}
 
Last edited:
You may need to get a newer version of Mafia, the kisses-field was added in 12480. Either that or the field is not available for non-dreadsylvanian locations which would be a problem with the current implementation.
 
Winterbay, if you didn't already fix it, I suspect it's because as of r18 BatBrain doesn't actually load batfactors until set_monster(), which happens in act(). It used to be top level, but that caused some sequence problems. So if you were removing items before act(), you would now be removing nothing, and then all the items would be loaded in normally. You'll need to make your noitemsplease check after act().
 
Yep, that's what I noticed as well and moved the deletion of factors["items"] after act() instead. I think I may need to do that in more places to make it stick though, or is batfactors only loaded once per instance?
 
Yep, once per instance for consult scripts -- in act(), if m == $monster[none], it calls set_monster(), which loads batfactors and sets m to last_monster().
 
Same options (noitems, verbose=9), my Zombo's empty eye is a little cranky:

Code:
WHAM: Enqueueing Zombo's empty eye (macroid use 3388). Estimated damage: 0.0.
Unable to enqueue empty action.
Round 1: rheinhold executes a macro!
KoLmafia thinks it is round 2 but KoL thinks it is round 1
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.
 
And, as long as I'm pointing out issues:

I'm in the Dreadsylvanian Woods, fighting a "beast" ("Creepy-Eye, Render of Moths"). (Creepy-Eye really grinds my gears.)

WHAM likes to hit these monsters with a weapon (I am carrying the bounty-hunting rifle). This, however, is a bad choice: "You bash your foe over the head with your bounty-hunting rifle, but only deal 7 damage. It's not really designed for that -- maybe you should try a melee weapon instead."

Code:
WHAM: Evaluating the attack and performing it took 10.39 seconds.
WHAM: Current monster HP is calculated to 171.0
WHAM: We currently think that the round number is: 8 and that the turn number is 155158.
WHAM: We currently think that the round number is: 8 and that the turn number is 155158.
WHAM: Starting evaluation and performing of attack
WHAM: We currently think that the round number is: 8 and that the turn number is 155158.
WHAM: No need to stun this monster
Monster HP is -47 according to Mafia and 171.0 according to BatBrain.
WHAM: We can't Saucesplash.
false, true, true, true, false
WHAM: We estimate the round number to currently be 8 (loop variable 0)
Monster HP is -47 according to Mafia and 171.0 according to BatBrain (loop variable i = 0).
Queued: attack
Building options...
Creating event 'attack'...
Creating event ''...
Creating event ''...
Creating event 'skill 15'...
Creating event 'skill 30'...
Creating event 'skill 1023'...
Creating event 'skill 2022'...
Creating event 'skill 3019'...
Creating event 'skill 3008'...
Creating event 'skill 4020'...
Creating event 'skill 5019'...
Creating event 'skill 5012'...
Options built! (10 actions)
Happened: attack
Parsed round number: 8
Building options...
Creating event 'attack'...
Creating event ''...
Creating event ''...
Creating event 'skill 15'...
Creating event 'skill 30'...
Creating event 'skill 1023'...
Creating event 'skill 2022'...
Creating event 'skill 3019'...
Creating event 'skill 3008'...
Creating event 'skill 4020'...
Creating event 'skill 5019'...
Creating event 'skill 5012'...
Options built! (10 actions)
WHAM: Evaluating the attack but not performing it took 0.05 seconds.
WHAM: We can't Saucesplash.
false, true, true, true, false
WHAM: Enqueueing attack with your weapon (macroid attack). Estimated damage: 171.0.
Queued: attack
Building options...
Creating event 'attack'...
Creating event ''...
Creating event ''...
Creating event 'skill 15'...
Creating event 'skill 30'...
Creating event 'skill 1023'...
Creating event 'skill 2022'...
Creating event 'skill 3019'...
Creating event 'skill 3008'...
Creating event 'skill 4020'...
Creating event 'skill 5019'...
Creating event 'skill 5012'...
Options built! (10 actions)
WHAM: Successfully enqueued attack with your weapon.
WHAM: We are going to 1-shot with attack with your weapon.
 
That's odd. Mine has been shooting monsters in the wood all day with my bounty-hunting rifle. What's your class and do you have a Monster Manuel?
 
Back
Top