BatBrain -- a central nervous system for consult scripts

If there was anything it wasn't captured by the session log. Where should I see resistance info? Here's more from the verbosity 10 session log. Does it help?

Code:
[1595] Sloppy Seconds Diner
Encounter: Runny Toffee Hot Syrup Extra S'Mores Sundae
Round 0: Arbos wins initiative!
Round 1: You lose 40 hit points
> BatMan RE disabled for this character, skipping enhancements.
> 1 HP costs 0.249µ. ( 444 / 516 )
> 1 MP costs 3.745µ. ( 479 / 1256 )
> WHAM: We currently think that the round number is: 0 and that the turn number is 1594.
> WHAM: Checking to see if WHAM sould adjust the unknown_ml for Sloppy Seconds Sundae.
> WHAM: No need to do anything with Sloppy Seconds Sundae.
> WHAM: Setting up variables via BatBrain
> Setting monster to Sloppy Seconds Sundae...
> Monster information loaded from cache.
> Info: mafia's monster name 'Sloppy Seconds Sundae' does not match KoL's monster name 'Runny Toffee Hot Syrup Extra S'Mores Sundae'.
> Parsed round number: 0 (real: 1)
> Building options...
> Events created: attack, jiggle
> Events created: use 2, use 8, use 27, use 29, use 145, use 181, use 185, use 208, use 232, use 233, use 234, use 270, use 344, use 345, use 347, use 353, use 357, use 409, use 452, use 464, use 466, use 469, use 474, use 536, use 546, use 547, use 549, use 550, use 559, use 563, use 610, use 613, use 615, use 624, use 630, use 744, use 747, use 779, (blank), use 819, use 820, use 821, use 822, use 823, use 824, use 825, use 826, use 827, use 829, use 866, use 869, use 910, use 1051, use 1055, use 1059, use 1063, use 1159, use 1316, use 1334, use 1335, use 1336, use 1390, use 1391, use 1392, use 1394, use 1510, use 1657, use 1704, use 1705, use 1777, use 1788, use 1907, use 1922, use 1939, use 1958, use 1959, use 1960, use 1965, use 2040, use 2041, use 2042, use 2043, use 2067, use 2068, use 2091, use 2092, use 2114, use 2116, use 2129, use 2131, use 2133, use 2135, use 2138, use 2139, use 2237, use 2240, use 2341, use 2348, use 2349, use 2350, use 2351, use 2369, use 2371, use 2374, use 2378, use 2396, use 2397, use 2400, use 2402, use 2437, use 2438, use 2439, use 2440, use 2492, use 2493, use 2537, use 2538, use 2562, use 2563, use 2565, use 2575, use 2581, use 2582, use 2606, use 2608, use 2613, use 2617, use 2644, use 2645, use 2646, use 2647, use 2648, use 2673, use 2678, use 2687, use 2696, use 2704, use 2858, use 2947, use 2956, use 2966, use 3020, use 3039, use 3040, use 3041, use 3063, use 3065, use 3068, use 3082, use 3083, use 3098, use 3099, use 3100, use 3101, use 3102, use 3103, use 3109, use 3110, use 3111, use 3112, use 3113, use 3114, use 3118, use 3119, use 3120, use 3121, use 3122, use 3146, use 3147, use 3148, use 3149, use 3150, use 3151, use 3152, use 3153, use 3154, use 3155, use 3156, use 3158, use 3339, use 3349, use 3388, use 3403, use 3448, use 3462, use 3467, use 3480, use 3594, use 3608, use 3643, use 3679, use 3696, use 3697, use 3726, use 3729, use 3730, use 3734, use 3741, use 3756, use 3757, use 3758, use 3775, use 3809, use 3923, use 3977, use 3980, use 3985, use 4011, use 4012, use 4013, use 4015, use 4045, use 4046, use 4084, use 4087, use 4116, use 4117, use 4118, use 4120, use 4121, use 4196, use 4198, use 4208, use 4210, use 4212, use 4214, use 4231, use 4236, use 4256, use 4257, use 4280, use 4330, use 4331, use 4454, use 4491, use 4492, use 4493, use 4521, use 4582, use 4586, use 4587, use 4594, use 4595, use 4598, use 4601, use 4603, use 4698, use 4699, use 4736, use 4864, use 4948, use 5073, use 5105, use 5120, use 5225, use 5229, use 5230, use 5231, use 5233, use 5268, use 5269, use 5270, use 5271, use 5272, use 5273, use 5274, use 5280, use 5285, use 5286, use 5287, use 5288, use 5289, use 5290, use 5327, use 5346, use 5370, use 5401, use 5431, use 5432, use 5433, use 5445, use 5446, use 5447, use 5528, use 5531, use 5557, use 5560, use 5561, use 5563, use 5642, use 5676, use 5678, use 5686, use 5689, use 5691, use 5700, use 5703, use 5719, use 5729, use 5750, use 5907, use 5980, use 5981, use 5983, use 5988, use 5989, use 5991, use 5996, use 5997, use 5999, use 6026, use 6027, use 6028, use 6029, use 6043, use 6097, use 6103, use 6104, use 6105, use 6106, use 6107, use 6135, use 6136, use 6138, use 6140, use 6278, use 6282, use 6284, use 6344, use 6361, use 6362, use 6363, use 6364, use 6365, use 6366, use 6367, use 6370, use 6374, use 6379, use 6382, use 6384, use 6385, use 6387, use 6414, use 6452, use 6459, use 6472, use 6653, use 6656, use 6683, use 6696, use 6708, use 6711, use 6713, use 6717, use 6736, use 6738, use 6740, use 6774, use 6832, use 6847, use 6853, use 6864, use 6865, use 6866, use 6871, use 7013, use 7099, use 7193, use 7194, use 7196, use 7199, use 7208, use 7220, use 7246, use 7260, use 7266, use 7333, use 7337, use 7339, use 7345, use 7353, use 7360, use 7364, use 7371, use 7383, use 7513, use 7518, use 7560, use 7661, use 7679, use 7761, use 7762, use 7763, use 7815, use 7943, use 7945, use 7952, use 7954, use 8033, use 8072, use 8147, use 8210, use 8228, use 8282, use 8300, use 8425, use 8427, use 8428, use 8429, use 8430, use 8431, use 8432, use 8433, use 8434, use 8455, use 8522, use 8650, use 8652, use 8694, use 8708, use 8709, use 8710, use 8772, use 8777, use 8778, use 8788, use 8789, use 8896, use 9017, use 9022, use 9024
> Events created: skill 15, skill 138, skill 7074, skill 7169, skill 7170, skill 7171, skill 7245, skill 7246, skill 7247, skill 7273, skill 7274, skill 14000, skill 14003, skill 14004, skill 14013, skill 14014, skill 14023, skill 14024, skill 14033, skill 14034, runaway; repeat
> Options built! (427 actions)
> WHAM: We currently think that the round number is: 1 and that the turn number is 1594.
> WHAM: Current MP = 479 out of 1256.
> WHAM: Your most profitable mp-restoring option is use 8455.
> WHAM: Your most profitable mp-restoring option is use 8455.
> WHAM: Your best MP restoring option available is: use 8455
> WHAM: Current HP = 476 out of 516.
> WHAM: You have no profitable HP restoratives.
> WHAM: You are fighting a Sloppy Seconds Sundae. Mafia considers that this monster has an attack of 823 or 613 when given a monster name.
> WHAM: Mafia further considers that this monster has a defense value of 738 or 528 when given a monster name.
> WHAM: Mafia further further considers that this monster has a HP value of 553 or 396 when given a monster name.
> WHAM: Your current ML-adjustment is: 60.
> WHAM: You have muscle = 463, mysticality = 804, and moxie = 548
> WHAM: Monster HP is 553.0.
[...]
> WHAM: We currently think that the round number is: 1 and that the turn number is 1594.
> WHAM: Starting evaluation and performing of attack
> WHAM: We currently think that the round number is: 1 and that the turn number is 1594.
> skill 14004 does hurt the monster for 553.0 and is ok.
> WHAM: No need to stun this monster
> Monster HP is 553 according to Mafia and 553.0 according to BatBrain.
> WHAM: We estimate the round number to currently be 1 (loop variable 0)
> Monster HP is 553 according to Mafia and 553.0 according to BatBrain (loop variable i = 0).
> Queued round 1: skill 14004
> Building options...
> Events created: jiggle
> Evaluating 'min(60,4*L)'...
> Evaluating 'max(5,floor(0.1*516.0))+25'...
> Evaluating 'max(5,floor(0.1*516.0))'...
> Evaluating 'floor(50+10*54.0^0.7)'...
> Evaluating 'loc(vibrato)'...
> Evaluating 'loc(vibrato)'...
> Evaluating 'loc(vibrato)'...
> Evaluating 'loc(vibrato)'...
> Evaluating 'loc(vibrato)'...
> Evaluating 'loc(vibrato)'...
> Evaluating 'loc(vibrato)'...
> Evaluating 'loc(vibrato)'...
> Evaluating 'loc(vibrato)'...
> Evaluating 'loc(vibrato)'...
> Evaluating 'loc(vibrato)'...
> Evaluating 'zone(sea)*422'...
> Evaluating '494-zone(sea)*389'...
> Evaluating '1.5+zone(sea)*2'...
> Evaluating '-(300+zone(sea)*(516.0-476.0))'...
> Evaluating 'min(max(0.0-476.0,0),1)*25'...
> Evaluating 'min(max(476.0-0.0,0),1)*25'...
> Evaluating '15+10*min(1,effect(17))'...
> Evaluating '-(10+sqrt(effect(17)))'...
> Evaluating '-(10+sqrt(effect(17)))'...
> Evaluating '35*(1-loc(kegger))'...
> Evaluating 'ceil(L/3.0)*4.5*5'...
> Evaluating '-min(0.25*516.0,0.5*(516.0-476.0))'...
> Evaluating '-max(min(10+823.0-548.0,100),10)'...
> Evaluating '-max(min(10+738.0-462.0,100),10)'...
> Events created: use 2, use 8, use 27, use 29, use 145, use 181, use 185, use 208, use 232, use 233, use 234, use 270, use 344, use 345, use 347, use 353, use 357, use 409, use 452, use 464, use 466, use 469, use 474, use 536, use 546, use 547, use 549, use 550, use 559, use 563, use 610, use 613, use 615, use 624, use 630, use 744, use 747, use 779, (blank), use 819, use 820, use 821, use 822, use 823, use 824, use 825, use 826, use 827, use 829, use 866, use 869, use 910, use 1051, use 1055, use 1059, use 1063, use 1159, use 1316, use 1334, use 1335, use 1336, use 1390, use 1391, use 1392, use 1394, use 1510, use 1657, use 1704, use 1705, use 1777, use 1788, use 1907, use 1922, use 1939, use 1958, use 1959, use 1960, use 1965, use 2040, use 2041, use 2042, use 2043, use 2067, use 2068, use 2091, use 2092, use 2114, use 2116, use 2129, use 2131, use 2133, use 2135, use 2138, use 2139, use 2237, use 2240, use 2341, use 2348, use 2349, use 2350, use 2351, use 2369, use 2371, use 2374, use 2378, use 2396, use 2397, use 2400, use 2402, use 2437, use 2438, use 2439, use 2440, use 2492, use 2493, use 2537, use 2538, use 2562, use 2563, use 2565, use 2575, use 2581, use 2582, use 2606, use 2608, use 2613, use 2617, use 2644, use 2645, use 2646, use 2647, use 2648, use 2673, use 2678, use 2687, use 2696, use 2704, use 2858, use 2947, use 2956, use 2966, use 3020, use 3039, use 3040, use 3041, use 3063, use 3065, use 3068, use 3082, use 3083, use 3098, use 3099, use 3100, use 3101, use 3102, use 3103, use 3109, use 3110, use 3111, use 3112, use 3113, use 3114, use 3118, use 3119, use 3120, use 3121, use 3122, use 3146, use 3147, use 3148, use 3149, use 3150, use 3151, use 3152, use 3153, use 3154, use 3155, use 3156, use 3158, use 3339, use 3349, use 3388, use 3403, use 3448, use 3462, use 3467, use 3480, use 3594, use 3608, use 3643, use 3679, use 3696, use 3697, use 3726, use 3729, use 3730, use 3734, use 3741, use 3756, use 3757, use 3758, use 3775, use 3809, use 3923, use 3977, use 3980, use 3985, use 4011, use 4012, use 4013, use 4015, use 4045, use 4046, use 4084, use 4087, use 4116, use 4117, use 4118, use 4120, use 4121, use 4196, use 4198, use 4208, use 4210, use 4212, use 4214, use 4231, use 4236, use 4256, use 4257, use 4280, use 4330, use 4331, use 4454, use 4491, use 4492, use 4493, use 4521, use 4582, use 4586, use 4587, use 4594, use 4595, use 4598, use 4601, use 4603, use 4698, use 4699, use 4736, use 4864, use 4948, use 5073, use 5105, use 5120, use 5225, use 5229, use 5230, use 5231, use 5233, use 5268, use 5269, use 5270, use 5271, use 5272, use 5273, use 5274, use 5280, use 5285, use 5286, use 5287, use 5288, use 5289, use 5290, use 5327, use 5346, use 5370, use 5401, use 5431, use 5432, use 5433, use 5445, use 5446, use 5447, use 5528, use 5531, use 5557, use 5560, use 5561, use 5563, use 5642, use 5676, use 5678, use 5686, use 5689, use 5691, use 5700, use 5703, use 5719, use 5729, use 5750, use 5907, use 5980, use 5981, use 5983, use 5988, use 5989, use 5991, use 5996, use 5997, use 5999, use 6026, use 6027, use 6028, use 6029, use 6043, use 6097, use 6103, use 6104, use 6105, use 6106, use 6107, use 6135, use 6136, use 6138, use 6140, use 6278, use 6282, use 6284, use 6344, use 6361, use 6362, use 6363, use 6364, use 6365, use 6366, use 6367, use 6370, use 6374, use 6379, use 6382, use 6384, use 6385, use 6387, use 6414, use 6452, use 6459, use 6472, use 6653, use 6656, use 6683, use 6696, use 6708, use 6711, use 6713, use 6717, use 6736, use 6738, use 6740, use 6774, use 6832, use 6847, use 6853, use 6864, use 6865, use 6866, use 6871, use 7013, use 7099, use 7193, use 7194, use 7196, use 7199, use 7208, use 7220, use 7246, use 7260, use 7266, use 7333, use 7337, use 7339, use 7345, use 7353, use 7360, use 7364, use 7371, use 7383, use 7513, use 7518, use 7560, use 7661, use 7679, use 7761, use 7762, use 7763, use 7815, use 7943, use 7945, use 7952, use 7954, use 8033, use 8072, use 8147, use 8210, use 8228, use 8282, use 8300, use 8425, use 8427, use 8428, use 8429, use 8430, use 8431, use 8432, use 8433, use 8434, use 8455, use 8522, use 8650, use 8652, use 8694, use 8708, use 8709, use 8710, use 8772, use 8777, use 8778, use 8788, use 8789, use 8896, use 9017, use 9022, use 9024
> Evaluating '-2*min(L,15)*(1+min(effect(580),1))'...
> Evaluating 'min(L,15)*(1+min(effect(580),1))'...
> Evaluating 'max(10,0.1*0.0)'...
> Evaluating '-max(10,0.1*0.0)'...
> Evaluating '3.5*min(15,3.5+0.5*803.0+5.0+0.0)'...
> Evaluating '3.5*min(5.0*10,12.5+0.4*803.0+5.0+0.0)'...
> Evaluating '3.5*min(20.0*10,45+0.4*803.0+5.0+0.0)'...
> Evaluating '3.5*min(20.0*10,45+0.4*803.0+5.0+0.0)'...
> Evaluating '3.5*min(5.0*10,12.5+0.4*803.0+5.0+0.0)'...
> Evaluating '3.5*min(30.0*10,45+0.3*803.0+5.0+0.0)*2'...
> Evaluating '3.5*min(5.0*10,12.5+0.4*803.0+5.0+0.0)'...
> Events created: skill 15, skill 138, skill 7074, skill 7169, skill 7170, skill 7171, skill 7245, skill 7246, skill 7247, skill 7273, skill 7274, skill 14000, skill 14003, skill 14004, skill 14013, skill 14014, skill 14023, skill 14024, skill 14033, skill 14034, runaway; repeat
> Options built! (427 actions)
> Info: mafia's monster name 'Sloppy Seconds Sundae' does not match KoL's monster name 'Runny Toffee Hot Syrup Extra S'Mores Sundae'.
> Parsed round number: 0 (real: 1)
> Building options...
> Events created: jiggle
> Evaluating 'min(60,4*L)'...
> Evaluating 'max(5,floor(0.1*516.0))+25'...
> Evaluating 'max(5,floor(0.1*516.0))'...
> Evaluating 'floor(50+10*54.0^0.7)'...
> Evaluating 'loc(vibrato)'...
> Evaluating 'loc(vibrato)'...
> Evaluating 'loc(vibrato)'...
> Evaluating 'loc(vibrato)'...
> Evaluating 'loc(vibrato)'...
> Evaluating 'loc(vibrato)'...
> Evaluating 'loc(vibrato)'...
> Evaluating 'loc(vibrato)'...
> Evaluating 'loc(vibrato)'...
> Evaluating 'loc(vibrato)'...
> Evaluating 'loc(vibrato)'...
> Evaluating 'zone(sea)*422'...
> Evaluating '494-zone(sea)*389'...
> Evaluating '1.5+zone(sea)*2'...
> Evaluating '-(300+zone(sea)*(516.0-476.0))'...
> Evaluating 'min(max(553.0-476.0,0),1)*25'...
> Evaluating 'min(max(476.0-553.0,0),1)*25'...
> Evaluating '15+10*min(1,effect(17))'...
> Evaluating '-(10+sqrt(effect(17)))'...
> Evaluating '-(10+sqrt(effect(17)))'...
> Evaluating '35*(1-loc(kegger))'...
> Evaluating 'ceil(L/3.0)*4.5*5'...
> Evaluating '-min(0.25*516.0,0.5*(516.0-476.0))'...
> Evaluating '-max(min(10+823.0-548.0,100),10)'...
> Evaluating '-max(min(10+738.0-462.0,100),10)'...
> Events created: use 2, use 8, use 27, use 29, use 145, use 181, use 185, use 208, use 232, use 233, use 234, use 270, use 344, use 345, use 347, use 353, use 357, use 409, use 452, use 464, use 466, use 469, use 474, use 536, use 546, use 547, use 549, use 550, use 559, use 563, use 610, use 613, use 615, use 624, use 630, use 744, use 747, use 779, (blank), use 819, use 820, use 821, use 822, use 823, use 824, use 825, use 826, use 827, use 829, use 866, use 869, use 910, use 1051, use 1055, use 1059, use 1063, use 1159, use 1316, use 1334, use 1335, use 1336, use 1390, use 1391, use 1392, use 1394, use 1510, use 1657, use 1704, use 1705, use 1777, use 1788, use 1907, use 1922, use 1939, use 1958, use 1959, use 1960, use 1965, use 2040, use 2041, use 2042, use 2043, use 2067, use 2068, use 2091, use 2092, use 2114, use 2116, use 2129, use 2131, use 2133, use 2135, use 2138, use 2139, use 2237, use 2240, use 2341, use 2348, use 2349, use 2350, use 2351, use 2369, use 2371, use 2374, use 2378, use 2396, use 2397, use 2400, use 2402, use 2437, use 2438, use 2439, use 2440, use 2492, use 2493, use 2537, use 2538, use 2562, use 2563, use 2565, use 2575, use 2581, use 2582, use 2606, use 2608, use 2613, use 2617, use 2644, use 2645, use 2646, use 2647, use 2648, use 2673, use 2678, use 2687, use 2696, use 2704, use 2858, use 2947, use 2956, use 2966, use 3020, use 3039, use 3040, use 3041, use 3063, use 3065, use 3068, use 3082, use 3083, use 3098, use 3099, use 3100, use 3101, use 3102, use 3103, use 3109, use 3110, use 3111, use 3112, use 3113, use 3114, use 3118, use 3119, use 3120, use 3121, use 3122, use 3146, use 3147, use 3148, use 3149, use 3150, use 3151, use 3152, use 3153, use 3154, use 3155, use 3156, use 3158, use 3339, use 3349, use 3388, use 3403, use 3448, use 3462, use 3467, use 3480, use 3594, use 3608, use 3643, use 3679, use 3696, use 3697, use 3726, use 3729, use 3730, use 3734, use 3741, use 3756, use 3757, use 3758, use 3775, use 3809, use 3923, use 3977, use 3980, use 3985, use 4011, use 4012, use 4013, use 4015, use 4045, use 4046, use 4084, use 4087, use 4116, use 4117, use 4118, use 4120, use 4121, use 4196, use 4198, use 4208, use 4210, use 4212, use 4214, use 4231, use 4236, use 4256, use 4257, use 4280, use 4330, use 4331, use 4454, use 4491, use 4492, use 4493, use 4521, use 4582, use 4586, use 4587, use 4594, use 4595, use 4598, use 4601, use 4603, use 4698, use 4699, use 4736, use 4864, use 4948, use 5073, use 5105, use 5120, use 5225, use 5229, use 5230, use 5231, use 5233, use 5268, use 5269, use 5270, use 5271, use 5272, use 5273, use 5274, use 5280, use 5285, use 5286, use 5287, use 5288, use 5289, use 5290, use 5327, use 5346, use 5370, use 5401, use 5431, use 5432, use 5433, use 5445, use 5446, use 5447, use 5528, use 5531, use 5557, use 5560, use 5561, use 5563, use 5642, use 5676, use 5678, use 5686, use 5689, use 5691, use 5700, use 5703, use 5719, use 5729, use 5750, use 5907, use 5980, use 5981, use 5983, use 5988, use 5989, use 5991, use 5996, use 5997, use 5999, use 6026, use 6027, use 6028, use 6029, use 6043, use 6097, use 6103, use 6104, use 6105, use 6106, use 6107, use 6135, use 6136, use 6138, use 6140, use 6278, use 6282, use 6284, use 6344, use 6361, use 6362, use 6363, use 6364, use 6365, use 6366, use 6367, use 6370, use 6374, use 6379, use 6382, use 6384, use 6385, use 6387, use 6414, use 6452, use 6459, use 6472, use 6653, use 6656, use 6683, use 6696, use 6708, use 6711, use 6713, use 6717, use 6736, use 6738, use 6740, use 6774, use 6832, use 6847, use 6853, use 6864, use 6865, use 6866, use 6871, use 7013, use 7099, use 7193, use 7194, use 7196, use 7199, use 7208, use 7220, use 7246, use 7260, use 7266, use 7333, use 7337, use 7339, use 7345, use 7353, use 7360, use 7364, use 7371, use 7383, use 7513, use 7518, use 7560, use 7661, use 7679, use 7761, use 7762, use 7763, use 7815, use 7943, use 7945, use 7952, use 7954, use 8033, use 8072, use 8147, use 8210, use 8228, use 8282, use 8300, use 8425, use 8427, use 8428, use 8429, use 8430, use 8431, use 8432, use 8433, use 8434, use 8455, use 8522, use 8650, use 8652, use 8694, use 8708, use 8709, use 8710, use 8772, use 8777, use 8778, use 8788, use 8789, use 8896, use 9017, use 9022, use 9024
> Evaluating '-2*min(L,15)*(1+min(effect(580),1))'...
> Evaluating 'min(L,15)*(1+min(effect(580),1))'...
> Evaluating 'max(10,0.1*553.0)'...
> Evaluating '-max(10,0.1*553.0)'...
> Evaluating '3.5*min(15,3.5+0.5*803.0+5.0+0.0)'...
> Evaluating '3.5*min(5.0*10,12.5+0.4*803.0+5.0+0.0)'...
> Evaluating '3.5*min(20.0*10,45+0.4*803.0+5.0+0.0)'...
> Evaluating '3.5*min(20.0*10,45+0.4*803.0+5.0+0.0)'...
> Evaluating '3.5*min(5.0*10,12.5+0.4*803.0+5.0+0.0)'...
> Evaluating '3.5*min(30.0*10,45+0.3*803.0+5.0+0.0)*2'...
> Evaluating '3.5*min(5.0*10,12.5+0.4*803.0+5.0+0.0)'...
> Events created: skill 15, skill 138, skill 7074, skill 7169, skill 7170, skill 7171, skill 7245, skill 7246, skill 7247, skill 7273, skill 7274, skill 14000, skill 14003, skill 14004, skill 14013, skill 14014, skill 14023, skill 14024, skill 14033, skill 14034, runaway; repeat
> Options built! (427 actions)
> WHAM: Evaluating the attack but not performing it took 1.50 seconds.
 
Hmmm, all the monster stats are printed to the CLI via print_html(), which evidently (and sensibly) doesn't make it into the session log. Perhaps we should print a colorful version to the CLI and a text-only version to the log. Can you encounter them again and note the CLI monster info readout?
 
Got one! The trick, as I discovered was to set verbosity to 8 and not 9. Set to 9 the needed information rolls out of the gCLI buffer.

Here's the monster summary:
Code:
ATT: 1,262 (94% × (407.37), death in 3)
DEF: 1,181 (8.59% × 7.18 (30) (30), win in 124)
HP: 885, Value: 2,936.13 μ, 
RES: 0 (-1) (-1) (1), 
Happenings: 0, ID: 1568

In the above:

On the DEF line the first 30 is purple and the second is is green.
On the RES line the 0 is black, the first -1 is blue, the second -1 is purple, and the last digit, 1, is green.

And here's the full combat complete with Beaten up due to the choice of Fry as the attack:
Code:
[2632] Sloppy Seconds Diner
Encounter: Gooey Syrup Chocolate Bombed Cobbler-and-Raspberry Bombed Sundae
Round 0: Arbos wins initiative!
Round 1: You lose 64 hit points
BatMan RE disabled for this character, skipping enhancements.
1 HP costs 0.565μ. ( 692 / 809 )
1 MP costs 3.704μ. ( 1,079 / 2032 )
WHAM: Checking to see if WHAM sould adjust the unknown_ml for Sloppy Seconds Sundae.
WHAM: No need to do anything with Sloppy Seconds Sundae.
WHAM: Setting up variables via BatBrain
Monster information loaded from cache.
Base round: damage, player damage, 0 meat
ATT: 1,262 (94% × (407.37), death in 3)
DEF: 1,181 (8.59% × 7.18 (30) (30), win in 124)
HP: 885, Value: 2,936.13 μ, RES: 0 (-1) (-1) (1), Happenings: 0, ID: 1568
Info: mafia's monster name 'Sloppy Seconds Sundae' does not match KoL's monster name 'Gooey Syrup Chocolate Bombed Cobbler-and-Raspberry Bombed Sundae'.
Parsed round number: 0 (real: 1)
WHAM: You have no profitable MP restoratives.
WHAM: You have no profitable HP restoratives.
WHAM: Monster HP is 885.0.
WHAM: Running SmartStasis
Profit per round: ActionProfitDamageOtherbase (0μ)0μ--
WHAM: Throwing some pocket crumbs at yoru opponent
Attack action chosen: skill 14004 (profit: -74.07)
Stun action chosen: use 5560 (profit: 0)
Custom action: skill 7170 (stun first with use 5560)
Queued round 1: use 5560
Queued round 2: skill 7170
WHAM: Stasis option chosen: skill 7273 (round 3, profit: 266.48)
Queued round 3: skill 7273
Constructed macro: scrollwhendone; sub batround; if pastround 27; 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 5560; call batround; skill 7170; call batround; sub finito; skill 7273; call batround; endsub; call finito; repeat hasskill 7273 && (!hpbelow 692.0 && hpbelow 809 && !mpbelow 1079.0 && !pastround 3)
Round 1: Arbos executes a macro!
Round 1: Arbos uses the Rain-Doh blue balls!
Round 2: Sloppy Seconds Sundae takes 20 damage.
Round 2: Arbos casts POCKET CRUMBS!
Round 3: Sloppy Seconds Sundae drops 176 attack power.
Round 3: Sloppy Seconds Sundae drops 118 defense.
Round 3: Arbos casts EXTRACT!
You acquire an item: Source essence (2)
Info: mafia's monster name 'Sloppy Seconds Sundae' does not match KoL's monster name 'Gooey Syrup Chocolate Bombed Cobbler-and-Raspberry Bombed Sundae'.
Happened round 1: use 5560
Happened round 2: skill 7170
Happened round 3: skill 7273
Parsed round number: 3 (real: 4)
Look! You found 2 Source essence (570μ)!
WHAM: Stasis option chosen: skill 7171 (round 4, profit: -16.24)
WHAM: SmartStasis complete.
WHAM: SS did not finish the fight, continuing with script execution. 
WHAM: Starting evaluation and performing of attack
WHAM: No need to stun this monster
Queued round 4: skill 14004
Parsed round number: 3 (real: 4)
Look! You found 2 Source essence (570μ)!
WHAM: Enqueueing Fry (macroid skill 14004). Estimated damage: 865.0.
Queued round 4: skill 14004
WHAM: Successfully enqueued Fry.
WHAM: We are going to 1-shot with Fry.
Constructed macro: scrollwhendone; sub batround; if pastround 27; 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 14004; call batround; 
Round 4: Arbos executes a macro!
Round 4: Arbos casts FRY!
Round 5: Sloppy Seconds Sundae takes 1 damage.
Round 5: Sloppy Seconds Sundae takes 67 damage.
Round 5: You lose 209 hit points
Happened round 4: skill 14004
Parsed round number: 4 (real: 5)
WHAM: Current monster HP is calculated to 797.0
WHAM: Starting evaluation and performing of attack
WHAM: No need to stun this monster
Queued round 5: skill 14004
Parsed round number: 4 (real: 5)
WHAM: Enqueueing Fry (macroid skill 14004). Estimated damage: 797.0.
Queued round 5: skill 14004
WHAM: Successfully enqueued Fry.
WHAM: We are going to 1-shot with Fry.
Constructed macro: scrollwhendone; sub batround; if pastround 27; 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 14004; call batround; 
Round 5: Arbos executes a macro!
Round 5: Arbos casts FRY!
Round 6: Sloppy Seconds Sundae takes 1 damage.
Round 6: Sloppy Seconds Sundae takes 72 damage.
Round 6: You lose 209 hit points
Happened round 5: skill 14004
Parsed round number: 5 (real: 6)
WHAM: Current monster HP is calculated to 724.0
WHAM: Starting evaluation and performing of attack
WHAM: No need to stun this monster
Queued round 6: skill 14004
Parsed round number: 5 (real: 6)
WHAM: Enqueueing Fry (macroid skill 14004). Estimated damage: 724.0.
Queued round 6: skill 14004
WHAM: Successfully enqueued Fry.
WHAM: We are going to 1-shot with Fry.
Constructed macro: scrollwhendone; sub batround; if pastround 27; 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 14004; call batround; 
Round 6: Arbos executes a macro!
Round 6: Arbos casts FRY!
Round 7: Sloppy Seconds Sundae takes 1 damage.
Happened round 6: skill 14004
Parsed round number: 6 (real: 7)
WHAM: Current monster HP is calculated to 723.0
WHAM: Starting evaluation and performing of attack
WHAM: No need to stun this monster
Queued round 7: skill 14004
Parsed round number: 6 (real: 7)
WHAM: Enqueueing Fry (macroid skill 14004). Estimated damage: 723.0.
Queued round 7: skill 14004
WHAM: Successfully enqueued Fry.
WHAM: We are going to 1-shot with Fry.
Constructed macro: scrollwhendone; sub batround; if pastround 27; 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 14004; call batround; 
Round 7: Arbos executes a macro!
Round 7: Arbos casts FRY!
Round 8: Sloppy Seconds Sundae takes 1 damage.
Happened round 7: skill 14004
Parsed round number: 7 (real: 8)
Happened round 7: crit
Happened round 7: monsterfumble
WHAM: Current monster HP is calculated to 722.0
WHAM: Starting evaluation and performing of attack
WHAM: No need to stun this monster
Queued round 8: skill 14004
Parsed round number: 7 (real: 8)
WHAM: Enqueueing Fry (macroid skill 14004). Estimated damage: 722.0.
Queued round 8: skill 14004
WHAM: Successfully enqueued Fry.
WHAM: We are going to 1-shot with Fry.
Constructed macro: scrollwhendone; sub batround; if pastround 27; 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 14004; call batround; 
Round 8: Arbos executes a macro!
Round 8: Arbos casts FRY!
Round 9: Sloppy Seconds Sundae takes 1 damage.
Round 9: Sloppy Seconds Sundae takes 64 damage.
Round 9: You lose 201 hit points
Happened round 8: skill 14004
Parsed round number: 8 (real: 9)
Happened round 8: crit
WHAM: Current monster HP is calculated to 657.0
1 HP costs 0.565μ. ( 73 / 809 )
1 MP costs 3.704μ. ( 974 / 2032 )
WHAM: Checking to see if WHAM sould adjust the unknown_ml for Sloppy Seconds Sundae.
WHAM: No need to do anything with Sloppy Seconds Sundae.
WHAM: Setting up variables via BatBrain
Monster information loaded from cache.
Base round: damage, player damage, 0 meat
ATT: 1,086 (94% × (278.01), death in 1)
DEF: 1,063 (8.59% × 7.18 (30) (30), win in 92)
HP: 657, Value: 2,936.13 μ, RES: 0 (-1) (-1) (1), Happenings: 6, ID: 1568
Info: mafia's monster name 'Sloppy Seconds Sundae' does not match KoL's monster name 'Gooey Syrup Chocolate Bombed Cobbler-and-Raspberry Bombed Sundae'.
Parsed round number: 8 (real: 9)
WHAM: Your best MP restoring option available is: use 8455
WHAM: Your best HP restoring option available is: use 5678
WHAM: Monster HP is 657.0.
WHAM: Running SmartStasis
Profit per round: ActionProfitDamageOtherbase (0μ)0μ--
WHAM: Stasis option chosen: skill 7171 (round 9, profit: -10.53)
WHAM: SmartStasis complete.
WHAM: SS did not finish the fight, continuing with script execution. 
WHAM: Starting evaluation and performing of attack
WHAM: No need to stun this monster
Queued round 9: skill 14004
Parsed round number: 8 (real: 9)
WHAM: Enqueueing Fry (macroid skill 14004). Estimated damage: 657.0.
Queued round 9: skill 14004
WHAM: Successfully enqueued Fry.
WHAM: We are going to 1-shot with Fry.
Constructed macro: scrollwhendone; sub batround; if pastround 27; 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 14004; call batround; 
Round 9: Arbos executes a macro!
Round 9: Arbos casts FRY!
Round 10: Sloppy Seconds Sundae takes 1 damage.
Round 10: Sloppy Seconds Sundae takes 72 damage.
Round 10: You lose 219 hit points
You lose an effect: Beaten Up (1)
Happened round 9: skill 14004
Parsed round number: 9 (real: 10)
WHAM: Current monster HP is calculated to 615.0
 
Last edited:
Does BatBrain think that Beanstorm is a once per fight skill? I have been having odd responses from various fights, most recently fighting The Man. WHAM was for some reason unable to come up with anything better than the following
Code:
WHAM: Running SmartStasis
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: Enqueuing a stun to help with the battle
WHAM: We are going to 14-shot with Beanscreen, Beanstorm, 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, attack with your weapon, attack with your weapon and attack with your weapon.

which left me beaten up, whereas fighting manually, I used Beanscreen then spammed Beanstorm for 5 rounds and was done.
 
Changing BatBrain to use list_contains() rather than contains_text() would probably solve that. Will have a look when I get home.

EDIT: And r100 makes that change, which ought to solve that issue. It certainly is a good thing I wrote that function specifically to avoid errors like that! If only I had employed it. Haha.

While I was at it, I availed myself of ZLib's shiny new qprop() function to compact several of the quest property checks.

@Magus: I haven't looked into your issue further, but the problem as revealed by your detailed output is that for whatever reason BatBrain believed that your monster was stench-aligned rather than sleaze-aligned. Were you throwing grody jugs perhaps? Not sure what else could cause that.
 
Last edited:
I've recently added the following to batfactors.

Code:
item	9104	Time-Spinner	0	0	att -0.05*monsterattack, def -0.05*monsterdefense, stun, once
skill	7279	Shoot Ghost	0	0	custom
skill	7280	Trap Ghost	0	0	custom
skill	7281	Censurious Lecture	0	0	att -{5,7,10}, def -{5,7,10}, stun, once

Unfortunately I don't know the formulae for the new Nuclear Autumn combat skills. Does anyone have any spading on those?
 
WTF. It seems that in batfactors there are these three entries. I suspect you've got a sleazy bindle equipped.

Code:
gear	3136	sleazy bindle	{75,87.5,100} sleazy	0	oncrit
item	1394	stuffed doppelshifter	0 none,hot,cold,spooky,sleazy,stench	0	custom
item	2135	stuffed alien blob	0 none,hot,cold,spooky,sleazy,stench	0	custom

The proper name for the element is sleaze. Also, I think that the two combat items might be a lot more wrong than that since it looks to me that it says they are doing damage to the user. I'd like some advice since there might be more to do than just changing the element from sleazy to sleaze in the datafile.
 
Yes, "sleazy" is not an element and doesn't belong in there. Not only that, but the item entries appear pointless as the damage specified is 0. The damage for the bindle should be "85 sleaze" but that entry is otherwise correct (the first field is monster damage, not player damage). The other two entries should just have the damage information removed; supporting them would be a significant overhead for an almost nonexistent benefit. I'm at work at the moment and can't make the changes myself, but I'll get around to it later if someone doesn't beat me to it.
 
Got this error don't know which script it came from after upgrading to 17135 Expression syntax errors for 'modifier_eval()':
Expected end, found sleazy (zlib.ash, line 189)

You're on your own, partner.
Click here to continue in the relay browser.

Hey all,

I wanted to post my error message in the WHAM thread, or even better, Ezan allowed me to complain in the Guide thread,
but now I found this post from txrangersxx and to me, as a non-expert, it looks like the same error message.

Whenever I try to invoke WHAM.ash I get:

Expression syntax errors for 'modifier_eval()':
Expected ,, found
Unexpected end of expr
Expected ), found (zlib.ash, line 189)
You're on your own, partner.


I don't think I did sth stupid, it worked a few days/builds ago; I updated Mafia, all the scripts, deleted batfactors ...
I can't tell why this happens, hope someone has the same problem or a solution.

And if I post this in the wrong thread: sorry! please move :)
 
Well, if you deleted batfactors and didn't clear your zversions or redownload it, then you've left it in a broken state...
 
intermission, I got nothing.

It might help me find the problem if you would try combat while wearing entirely different equipment. (Don't forget to change familiar gear also!) If you don't still get the error, then equip each of the items one-by-one until you get the error again and post the name of the offending item.

If you don't still get the error, then it might be a familiar, so try combat with a different familiar. If it is the familiar, post it here.

If you still don't get the familiar, then it must be a combat item in your inventory. Ugh. Post the html of your combat so I can extract the list of combat items, but... urgh. It'll be long and I'd have to struggle to find the right one...

Well, if you deleted batfactors and didn't clear your zversions or redownload it, then you've left it in a broken state...
I'm pretty sure that if batfactors is deleted it will re-download it automatically, even if zversions isn't clear. zarqon is pretty efficient that way.
 
Last edited:
Bale! :) Uff! Thanks!!!
(I did the unequipping, I put combat items in the closet, ....) turns out:

It's the Imitation Crab!

How is this even possible! The best: I used the crab to get it to show up in the ascension log, as an indicator for me, to tell me later that this was a bugged run,
hahaha, this is cynical! :D

Thanks for the help!!!
Also thanks Theraze! (But yes, it did auto-download after deleting.)
 
Thank you for all that troubleshooting help. So, the troublesome line in batfactors is this...

Code:
fam	102	Imitation Crab	{2+5*famgear,max(2,fweight/2-max(0,(fweight-(20+20*famgear)))*zone(sea))+5*famgear,fweight-max(0,(fweight-(20+20*famgear)))*zone(sea)+5*famgear}	0	rate 1

I'm a little lost in the complexities of that. I suppose I'll look at it later, but I'm really hoping someone will go over it for me. It gets a little tricky because there are two damage formulas based on whether or not we're in the sea...
http://kol.coldfront.net/thekolwiki/index.php/Imitation_Crab
 
Looks like it's done as a triple/range damage value. Based on the error, it looks like it doesn't expect the three formulae.

MIGHT be fixed by putting each of the three values fully inside parenthesis, like so:
Code:
fam	102	Imitation Crab	{(2+5*famgear),(max(2,fweight/2-max(0,(fweight-(20+20*famgear)))*zone(sea))+5*famgear),(fweight-max(0,(fweight-(20+20*famgear)))*zone(sea)+5*famgear)}	0	rate 1
 
Nope. Ranges don't support additional min/max values. With all of the famgear/fweight/zone(sea) segments replaced with zeroes, and the comment removed so it evaluates, we get:
Code:
> ash matcher rng = create_matcher("\\{.+?,(.+?),.+?}",""); string deranged(string sane) { rng.reset(sane); while (rng.find()) sane = sane.replace_string(rng.group(0),rng.group(1)); return replace_string(sane, "prismatic", "hot,cold,spooky,sleaze,stench"); } deranged("{(2+5*0),(max(2,20/2-max(0,(20-(20+20*0)))*0)+5*0),(20-max(0,(20-(20+20*0)))*0+5*0)}")

Returned: (max(2

So yes. Expressing complex formulae as an average would fix this. :)
 
So if I understand properly...

Code:
fam	102	Imitation Crab	max(2,fweight/2-max(0,(fweight-(20+20*famgear)))*zone(sea))+5*famgear)	0	rate 1

You think that would work?
 
Back
Top