Bug - Fixed infinite loop hang when automating fighting ed the undying

taltamir

Member
when using mafia to automate fighting ed the undying it fought him repeatedly until he died and dropped the holy mcguffin, then it got stuck in an infinite loop that requires manual aborting

[862] The Lower Chambers (Empty/Empty/Ed's Chamber)
Encounter: Ed the Undying
Round 0: taltamir wins initiative!
Round 1: taltamir executes a macro!
Round 1: taltamir casts LUNGE SMACK!
Round 2: Ed the Undying (7) takes 263 damage.
Round 2: You gain 4 hit points
Round 2: taltamir wins the fight!
After Battle: Klepto Balinese purrs and does that thing cats do where he rubs a figure-eight around your ankles. (That's sort of like a dance.)
After Battle: You gain 57 Strengthliness
After Battle: You gain 29 Mysteriousness
After Battle: You gain 24 Sarcasm
After Battle: Klepto Balinese watches carefully to see if there are any guards and when they change shifts.
You acquire an item: Holy MacGuffin

Casting Singer's Faithful Ocelot 2 times...
You acquire an effect: Singer's Faithful Ocelot (20)
Singer's Faithful Ocelot was successfully cast.

Request 6 of 10 (Pyramid: The Lower Chambers) in progress...

Request 6 of 10 (Pyramid: The Lower Chambers) in progress...

Request 6 of 10 (Pyramid: The Lower Chambers) in progress...

Request 6 of 10 (Pyramid: The Lower Chambers) in progress...

Request 6 of 10 (Pyramid: The Lower Chambers) in progress...

Request 6 of 10 (Pyramid: The Lower Chambers) in progress...
It was constantly repeating
Request 6 of 10 (Pyramid: The Lower Chambers) in progress...
for a few pages after that.

Note that the reason it is on 6 is that I did multiple fights manually before calling on mafia to automate the rest
 

Crowther

Active member
Actually this problem exists any time you request to adventure there after Ed is done. I was able to recreate this in aftercore, by entering: adv 1 lower cham
 

Darzil

Developer
How very strange, the adventure failure code should be checking for the text in "The chamber is empty now. Ed the Undying sleeps once again.", but doesn't seem to be working.
 
Top