Winterbay's Helpful Automatic Monsterbasher (WHAM)

Tipmon

Member
Could you reexplain why 9 is better than 10? This is just for curiosity's sake. I just didn't really get your explanation.
 

Winterbay

Active member
Exactly, at 10 the script aborts after calculatging your options and prints useful debugging info. At 9 it performs an entire fight while printing lots of information. Both may give CLI overflow if we are unlucky...
 

CptJesus

Member
WHAM seems to have stopped starfishing for me recently. Not entirely sure why. Even when at low MP, it elects instead to attack, even when the monster I'm facing has attack well below my current mox. Any particular reason this would be occurring?

I'm not sure if the change occurred in one of the sub-scripts, but I'm getting stuff like

Code:
WHAM: We are going to 3-shot with Cannelloni Cannon, Stringozzi Serpent and Stringozzi Serpent.

Despite out-moxing the opponent by a good margin. Its a huge waste of MP.
 
Last edited:

m00g

New member
Hi Winterbay!

Love your script!

Is there a way to specify what particular actions take place for a specific monster type?

The reason I ask is that for "Beast" type combats, the item Great Wolf's Lice delevels by 30%, but for non-beast combats, it delevels by a static 30 levels. So it would be good to use it for Beasts in Dread, but obviously not for non-beasts.

Thanks in advance,
m00gam00g.
 
Last edited:

Winterbay

Active member
Hi Winterbay!

Love your script!

Is there a way to specify what particular actions take place for a specific monster type?

The reason I ask is that for "Beast" type combats, the item Great Wolf's Lice delevels by 30%, but for non-beast combats, it delevels by a static 30 levels. So it would be good to use it for Beasts in Dread, but obviously not for non-beasts.

Thanks in advance,
m00gam00g.

NOt at the moment, well at least not without editing the script yourself. Also, the delevleing code is... a bit of a mess :)

ALso: Anyone have any idea why my TortoiseSVN suddenly cannot access sourceforge to commit changes? When I try I get the login-box and then after entering the correct info it says:
Commit failed (details follow):
could not begin a transaction

Which is a less than useful error message...

Edit: For the autoBasement I get another error message (and no login-popup):
Commit failed (details follow):
POST of '/p/winterbay-mafia/autobasement/code/!svn/me': 403 Forbidden
(http://svn.code.sf.net)

Which admittedly is slightly more useful but I have no idea why I would get different error message when they are in the same parent folder and it worked just fine when I tried 2 weeks ago...
 

CptJesus

Member
So is the extra round setting preventing stasis from happening? I guess I can try setting it to something other than 0 after rollover. I dont understand why it would stop working now though, since I haven't changed anything recently.
 

Valliant

Member
Ok, this was 4 times too large for a post here, so here's the pastebin.

It includes a 10 verbosity examination of combat options earlier today, though unfortunately without the V mask equipped.

The 9 verbosity monster is what happened when WHAM decided to Creepy Grin a netdragger in the Mer-Kin Coliseum.

http://pastebin.com/pXdHpwSi

The suspicious bit at the very end was "WHAM: We are going to 15-shot with Creepy Grin, Creepy Grin, pulled indigo taffy, pulled indigo taffy, pulled indigo taffy, pulled indigo taffy, pulled indigo taffy, pulled indigo taffy, pulled indigo taffy, pulled indigo taffy, pulled indigo taffy, pulled indigo taffy, pulled indigo taffy, pulled indigo taffy and pulled indigo taffy." and that's definitely not right.
 
Last edited:

Winterbay

Active member
Ok, this was 4 times too large for a post here, so here's the pastebin.

It includes a 10 verbosity examination of combat options earlier today, though unfortunately without the V mask equipped.

The 9 verbosity monster is what happened when WHAM decided to Creepy Grin a netdragger in the Mer-Kin Coliseum.

http://pastebin.com/pXdHpwSi

The suspicious bit at the very end was "WHAM: We are going to 15-shot with Creepy Grin, Creepy Grin, pulled indigo taffy, pulled indigo taffy, pulled indigo taffy, pulled indigo taffy, pulled indigo taffy, pulled indigo taffy, pulled indigo taffy, pulled indigo taffy, pulled indigo taffy, pulled indigo taffy, pulled indigo taffy, pulled indigo taffy and pulled indigo taffy." and that's definitely not right.

Huh... It clearly says "skill 7015 is not OK since it is marked as a custom action" yet it never says "Skipping skill 7015 since it is not OK" which it does for the other custom things it removed...
I may need to add more debugging text which bugs me...

Edit: Also, I assume you didn't know the correct moves to counter his healing move? BEcause I was under the impression that BatBrain would throw that in there if it detected the need.
 
Last edited:
Is there a WHAM or Smartstassis setting I can tweak to fix this?


It thinks stassis is profitable but IT LIES. Stassis for familiar damage when I'm wasting MP healing instead of blasting monsters to smithereens is not profitable.


If I don't have enough moxie to avoid getting hit, I don't want to stassis longer than I can keep the monster busy (entangling, jiggle, silent squirt, etc.) unless I'm using something like my Rogue Program where I'm going to be getting more MP than I'm using on in-combat healing.


Code:
[170] The Defiled Alcove
Encounter: modern zmobie
Round 0: chef_rannos loses initiative!
You lose 20 hit points
ATT: 218 (94% × (18.91), death in 20)
DEF: 215 (8.8% × 36.18, win in 17)
HP: 210, Value: 481.25 μ, RES: 0 (-1) (1) (-1)
WHAM: Monster HP is 210.0.
WHAM: Running SmartStasis
Profit per round: ActionProfitDamageOtherbase; Knob Goblin Organ Grinder (0μ)0μ(4.62) Actual: 9.24 (0 μ/dmg)
Round 1: chef_rannos executes a macro!
Round 1: chef_rannos casts SAUCY SALVE!
KoLmafia thinks it is round 2 but KoL thinks it is round 1
You gain 10 hit points
Round 2: chef_rannos executes a macro!
Round 2: chef_rannos casts SAUCY SALVE!
KoLmafia thinks it is round 3 but KoL thinks it is round 2
You gain 14 hit points
You lose 20 hit points
Round 3: chef_rannos executes a macro!
Round 3: chef_rannos casts SAUCY SALVE!
KoLmafia thinks it is round 4 but KoL thinks it is round 2
You gain 13 hit points
Round 4: chef_rannos executes a macro!
Round 4: chef_rannos casts SAUCY SALVE!
KoLmafia thinks it is round 5 but KoL thinks it is round 3
You gain 15 hit points
You lose 19 hit points
Round 5: chef_rannos executes a macro!
Round 5: chef_rannos casts SAUCY SALVE!
KoLmafia thinks it is round 6 but KoL thinks it is round 4
You gain 14 hit points
You lose 19 hit points
Round 6: chef_rannos executes a macro!
Round 6: chef_rannos casts SAUCY SALVE!
KoLmafia thinks it is round 7 but KoL thinks it is round 5
You gain 24 hit points
Round 7: chef_rannos executes a macro!
Round 7: chef_rannos casts SAUCY SALVE!
KoLmafia thinks it is round 8 but KoL thinks it is round 6
You gain 28 hit points
You lose 21 hit points
Round 8: chef_rannos executes a macro!
Round 8: chef_rannos casts SAUCY SALVE!
KoLmafia thinks it is round 9 but KoL thinks it is round 7
You gain 11 hit points
You lose 19 hit points
Round 9: chef_rannos executes a macro!
Round 9: chef_rannos casts SAUCY SALVE!
KoLmafia thinks it is round 10 but KoL thinks it is round 8
You gain 11 hit points
Round 10: Pie Master shouts "McIntyre!" and flicks some ash from his stogie at it, burning it for 32 damage.
Round 10: modern zmobie takes 32 damage.
You lose 18 hit points
Round 10: chef_rannos executes a macro!
Round 10: chef_rannos casts SAUCY SALVE!
KoLmafia thinks it is round 11 but KoL thinks it is round 9
You gain 14 hit points
Round 11: Pie Master shouts "McIntyre!" and flicks some ash from his stogie at it, burning it for 34 damage.
Round 11: modern zmobie takes 34 damage.
You lose 20 hit points
Round 11: chef_rannos executes a macro!
Round 11: chef_rannos casts SAUCY SALVE!
KoLmafia thinks it is round 12 but KoL thinks it is round 10
You gain 30 hit points
Round 12: Pie Master shouts "McIntyre!" and flicks some ash from his stogie at it, burning it for 34 damage.
Round 12: modern zmobie takes 34 damage.
You lose 20 hit points
Round 12: chef_rannos executes a macro!
Round 12: chef_rannos casts SAUCY SALVE!
KoLmafia thinks it is round 13 but KoL thinks it is round 11
You gain 11 hit points
You lose 19 hit points
Round 13: chef_rannos executes a macro!
Round 13: chef_rannos casts SAUCY SALVE!
KoLmafia thinks it is round 14 but KoL thinks it is round 11
You gain 13 hit points
Round 14: chef_rannos executes a macro!
Round 14: chef_rannos casts SAUCY SALVE!
KoLmafia thinks it is round 15 but KoL thinks it is round 12
You gain 11 hit points
Round 15: Pie Master shouts "McIntyre!" and flicks some ash from his stogie at it, burning it for 34 damage.
Round 15: modern zmobie takes 34 damage.
You lose 21 hit points
Round 15: chef_rannos executes a macro!
Round 15: chef_rannos casts SAUCY SALVE!
KoLmafia thinks it is round 16 but KoL thinks it is round 13
You gain 22 hit points
You lose 19 hit points
Round 16: chef_rannos executes a macro!
Round 16: chef_rannos casts SAUCY SALVE!
KoLmafia thinks it is round 17 but KoL thinks it is round 14
You gain 12 hit points
You lose 21 hit points
Round 17: chef_rannos executes a macro!
Round 17: chef_rannos casts SAUCY SALVE!
KoLmafia thinks it is round 18 but KoL thinks it is round 15
You gain 13 hit points
You lose 20 hit points
Round 18: chef_rannos executes a macro!
Round 18: chef_rannos casts SAUCY SALVE!
KoLmafia thinks it is round 19 but KoL thinks it is round 16
You gain 10 hit points
You lose 21 hit points
Round 19: chef_rannos executes a macro!
Round 19: chef_rannos casts SAUCY SALVE!
KoLmafia thinks it is round 20 but KoL thinks it is round 17
You gain 15 hit points
You lose 20 hit points
Round 20: chef_rannos executes a macro!
Round 20: chef_rannos casts SAUCY SALVE!
KoLmafia thinks it is round 21 but KoL thinks it is round 18
You gain 15 hit points
You lose 19 hit points
Round 21: chef_rannos executes a macro!
Round 21: chef_rannos casts SAUCY SALVE!
KoLmafia thinks it is round 22 but KoL thinks it is round 19
You gain 11 hit points
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 4-shot with jiggle your chefstaff, Spaghetti Spear, attack with your weapon and Salsaball.
Round 22: chef_rannos executes a macro!
Round 22: chef_rannos jiggles the Staff of the November Jack-O-Lantern
KoLmafia thinks it is round 23 but KoL thinks it is round 20
Round 23: You jiggle your staff, stirring up the rotting guts of the drooping pumpkin. Bowled over by the stench and the sadness, it suffers 10 damage and pauses to regain its composure.
Round 23: modern zmobie takes 10 damage.
Round 23: Pie Master shouts "McIntyre!" and flicks some ash from his stogie at it, burning it for 34 damage.
Round 23: modern zmobie takes 34 damage.
Round 23: chef_rannos casts SPAGHETTI SPEAR!
Round 24: modern zmobie takes 12 damage.
You lose 21 hit points
Round 24: chef_rannos attacks!
Round 25: modern zmobie takes 1 damage.
You lose 18 hit points
Round 25: chef_rannos casts SALSABALL!
Round 26: modern zmobie takes 20 damage.
Round 26: Pie Master shouts "McIntyre!" and flicks some ash from his stogie at it, burning it for 30 damage.
Round 26: modern zmobie takes 30 damage.
Round 26: chef_rannos wins the fight!
After Battle: Your Evilometer emits five quick beeps.
Your familiar gains a pound: Pie Master, the 5 lb. Knob Goblin Organ Grinder
After Battle: Pie Master rummages through your defeated enemy's body for organs to grind. He holds up a little extra Meat. "Oi, guvna, 'ere's some extra Pie and Mash!" he says, winking.
You gain 152 Meat
After Battle: Pie Master shudders as he plunders it for organs to grind, chattering about how the upper story on his Gregory is standing up.
You gain 13 Fortitude
You gain 28 Enchantedness
You gain 17 Smarm
 

bumcheekcity

Active member
Could I request that using the KOLHS items be blacklisted in some way? WHAM used up a lot of twisted pieces of wire this morning.
 

Winterbay

Active member
I tried adding them, but I don't think the blacklist supports blacklisting all of an item so it may have failed to do so. I was waiting for confirmation if it worked or not since I'm still doing dreadsylvania runs.
 

zarqon

Well-known member
You can most certainly totally blacklist an item. Total blacklist is 0. Nonzero means to blacklist only some of them.
 

Valliant

Member
Another odd one:

Code:
[922] Mer-kin Elementary School
Encounter: Mer-kin punisher
Strategy: C:\Users\______\Documents\___\Games\KoL\KolMafia\ccs\default.ccs [default]
Round 0: ililili loses initiative!
Round 1: mer-kin punisher takes 1 damage.
Round 1: mer-kin punisher takes 5 damage.
You lose 121 hit points
ATT: 701 (94% × 70.62, death in 2)
DEF: 601 (8.59% × 14.62, win in 632)
HP: 793, Value: 1,909.38 μ, RES: 0
WHAM: Monster HP is 793.0.
WHAM: Running SmartStasis
Profit per round: ActionProfitDamageOtherbase (0μ)0μ--
WHAM: Starting evaluation and performing of attack
Auto-funk: merging 'use 5560' and 'use 6097'.
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
Auto-funk: merging 'use 5560' and 'use 6097'.
WHAM: We are going to 15-shot with Rain-Doh blue balls, classy monkey, classy monkey, classy monkey, classy monkey, classy monkey, classy monkey, classy monkey, classy monkey, classy monkey, classy monkey, classy monkey, classy monkey, classy monkey and classy monkey.
Round 1: ililili executes a macro!
Round 1: ililili uses the Rain-Doh blue balls and uses the classy monkey!
Round 2: mer-kin punisher takes 14 damage.
Round 2: mer-kin punisher takes 2 damage.
Round 2: mer-kin punisher takes 3 damage.
You lose 120 hit points
You lose an effect: Beaten Up

I'm really not sure why a classy monkey was considered something that could win. I was in aftercore from a Big run, so no Class Act connection at all.
 

Crowther

Active member
I've no idea what's up with the classy monkey, I've been meaning to look into how WHAM selects items, but haven't.

I do notice, that it used blue balls and the punisher was not stunned. The other two monsters in that zone are listed in batfactors.txt as nomultistun, so it's likely the punisher should be listed as well. I don't have access to that zone to verify this.
 
Any chance we can save Zombo's eye for something that needs it? :D

If I can one hit or easily outlast a guy with my moxie, I'd prefer to save my limited items for something more important...or should I blacklist it and forget I have it? ;)

I smacked the next clown I came to into next week with a regular attack. ;)

Code:
[1039] The Fun House
Encounter: bugbear-in-the-box
Round 0: chef_rannos wins initiative!
Round 1: Silence produces a tubular red firecracker labeled M-73, lights the long fuse, and tosses it behind your opponent.
Checking for updates (running BatBrain rev. 21)...
Checking for updates (running SmartStasis rev. 11)...
You have the latest batfactors.txt. Will not check again today.
ATT: 36 (6% × 0.29, death in 634)
DEF: 36 (97.73% × 436.98 (2) (2) (25), win in 1)
HP: 31, Value: 446.6 μ, RES: 0
WHAM: Monster HP is 31.0.
WHAM: Running SmartStasis
Profit per round: ActionProfitDamageOtherbase (0μ)0μ--
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 1-shot with Zombo's empty eye.
Round 1: chef_rannos executes a macro!
Round 1: chef_rannos uses the Zombo's empty eye!
Round 2: bugbear-in-the-box takes 154 damage.
Round 2: bugbear-in-the-box drops 47 attack power.
Round 2: bugbear-in-the-box drops 45 defense.
Round 2: chef_rannos wins the fight!
After Battle: Silence lights a miniature Catherine wheel and dances in the shower of sparks. How cute!
You gain 5 hit points
You gain 3 Mana Points
You gain 39 Meat
After Battle: Silence assumes the plié position and bends its calf-parts in and out a few times.
You acquire an item: box
You gain 3 Fortitude
You gain 7 Mysteriousness
You gain 1 Sarcasm
Look! You found 1 box (528μ)!
 

Tarko

Member
Code:
WHAM: Running SmartStasis
WHAM: Starting evaluation and performing of attack
WHAM: We are going to 1-shot with Point at your opponent.
Round 3: tarko executes a macro!
Round 3: tarko casts POINT AT YOUR OPPONENT!
Round 4: Lucky Day swings his eyestalk around and unleashes a massive ray of yellow energy, completely disintegrating your opponent.
You acquire an effect: Everything Looks Yellow (duration: 150 Adventures)


It's the first time this happens. Why did my Yellow ray triggered?
 
Top