loathers / autoscend

An ascension script for KoLMafia
Other
45 stars 67 forks source link

actually ed dying on sonofa beach causes autoscend to crash with not enough HP to continue #330

Closed taltamir closed 4 years ago

taltamir commented 4 years ago

Context

Expected/Desired Behavior

After dying to the damage event (zerg rush) in the sonofa beach, heal enough to try again. ideally with one of eds custom restorers, but otherwise via spending an adventure.

Current Behavior

autoscend crashes

taltamir commented 4 years ago

From discussion in discord, this is probably a mafia bug.

Malibu-Stacey commented 4 years ago

Testing a fix.

Malibu-Stacey commented 4 years ago

Still waiting to reproduce. Last run didn't hit the Zerg Rush adventure. Reported it to the mafia dev's at https://kolmafia.us/showthread.php?24904-Getting-to-0-hp-while-automating-adventures-causes-an-abort

Malibu-Stacey commented 4 years ago

Looks fixed by #361

> [INFO] - Turn(725): Starting with 60 left at Level: 12
> [INFO] - Still flyering: 9175
> [INFO] - Encounter: 0.0   Exp Bonus: 22.45416666666667
> [INFO] - Meat Drop: 0.0    Item Drop: 50.0
> [INFO] - HP: 128/198, MP: 327/357
> [INFO] - Tummy: 5/5 Liver: 4/4 Spleen: 35/35
> [INFO] - ML: 71 control: 11
> [INFO] - Everything Looks Yellow: 60
> [INFO] - Ka Coins: 24 Lashes used: 9
> [INFO] - Delay between adventures... beep boop... 

> [INFO] - Starting preadventure script...

> [INFO] - Pre Adventure at Sonofa Beach done, beep.

[726] Sonofa Beach
Preference lastEncounter changed from Forget It to Zerg Rush
Encounter: Zerg Rush
You lose 185 hit points

use 1 linen bandages
You gain 22 hit points
> [INFO] - Turn(726): Starting with 59 left at Level: 12
> [INFO] - Still flyering: 9175
> [INFO] - Encounter: 20.0   Exp Bonus: 22.45416666666667
> [INFO] - Meat Drop: 0.0    Item Drop: 50.0
> [INFO] - HP: 22/198, MP: 339/357
> [INFO] - Tummy: 5/5 Liver: 4/4 Spleen: 35/35
> [INFO] - ML: 71 control: 11
> [INFO] - Everything Looks Yellow: 59
> [INFO] - Ka Coins: 24 Lashes used: 9
> [INFO] - Delay between adventures... beep boop...