Bug - Not A Bug Script issue: DungeonFist.ash not functioning properly due to lag?

mstieler

Member
I'm not certain if something changed or if there's hidden equipment bits for Dungeon Fist (like with DemonStar) but for whatever reason, when I was running DungeonFist.ash today, I repeatedly died in the minigame, getting 9-11 tickets a go. I manually played Dungeon Fist, going by the guide, and was able to obtain 27 tickets (human error) though I did see some lag while playing.

Code:
> call scripts\DungeonFist.ash

Iteration 1 of 12
Validating adventure sequence...
No location selected.
Action: Go West
Encounter: Demons
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Go South
Encounter: Ghosts
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Encounter: Bone Piles
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Go East
You find a Muscle Potion
Action: Go West
Action: Go North
Action: Go East
Action: Go North
Encounter: Grunts
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Encounter: Large Stone Boxes
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
You find a Combat Potion
Action: Go North
Action: Go North
Encounter: Grunts
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Encounter: Large Stone Boxes
Action: Attack!
Action: Go East
You find a Magic Potion
Action: Go East
Encounter: Ghosts
Action: Use Potion
Action: Go West
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go South
Action: Go East
Action: Go West
Action: Go North
Action: Go East
Action: Go East
Action: Go South
You shoot the food
Action: Go North
Action: Go West
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go East
Action: Go West
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Quit
YOU HAVE DIED. FINAL SCORE: 7800
You acquire Game Grid ticket (9)
Iteration 2 of 12
Action: Go West
Encounter: Demons
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Go South
Encounter: Ghosts
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Encounter: Bone Piles
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Go East
You find a Muscle Potion
Action: Go West
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go East
Action: Go East
Action: Go West
Action: Go North
Encounter: Grunts
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Encounter: Large Stone Boxes
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
You find a Combat Potion
Action: Go North
Action: Go North
Encounter: Grunts
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Encounter: Large Stone Boxes
Action: Attack!
Action: Go East
You find a Magic Potion
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go West
You find a locked door
Action: Go West
You find a locked door
Action: Go West
You find a locked door
Action: Go East
Action: Go West
Action: Go South
Action: Go North
Action: Go East
Action: Go West
YOU HAVE DIED. FINAL SCORE: 7200
You acquire Game Grid ticket (9)
Iteration 3 of 12
Action: Go West
Encounter: Demons
Action: Quit
YOU HAVE DIED. FINAL SCORE: 4950
You acquire Game Grid ticket (6)
Iteration 4 of 12
Action: Go West
Encounter: Demons
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Go South
Encounter: Ghosts
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Encounter: Bone Piles
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Go East
You find a Muscle Potion
Action: Go West
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go South
Action: Go North
Action: Go East
Action: Go East
Action: Go North
Encounter: Death
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Go North
Action: Go West
Action: Go East
Action: Go South
Action: Go East
Encounter: Demons
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Encounter: Large Stone Boxes
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
You find a key
Action: Go West
Action: Go North
Action: Go West
Action: Go North
Encounter: Grunts
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Encounter: Large Stone Boxes
Action: Attack!
Action: Go East
You find a Magic Potion
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go South
Action: Go East
Action: Quit
YOU HAVE DIED. FINAL SCORE: 8700
You acquire Game Grid ticket (11)
Iteration 5 of 12
Action: Go West
Encounter: Demons
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Go South
Encounter: Ghosts
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Encounter: Bone Piles
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Go East
You find a Muscle Potion
Action: Go West
Action: Go North
Action: Go East
Action: Go East
Action: Go North
Encounter: Death
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Go North
Action: Go West
Action: Go North
Encounter: Grunts
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Encounter: Large Stone Boxes
Action: Attack!
Action: Go East
You find a Magic Potion
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go West
Action: Go East
Action: Go East
Encounter: Ghosts
Action: Run Back West
Action: Go East
Encounter: Ghosts
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Encounter: Bone Piles
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Quit
YOU HAVE DIED. FINAL SCORE: 9000
You acquire Game Grid ticket (11)
KoLmafia declares world peace.
Putting on Disco 'Fro Pick...
Equipment changed.
Wielding haiku katana...
Equipment changed.
You have 7 Game Grid tokens.

> call scripts\DungeonFist.ash

Validating adventure sequence...
No location selected.
Action: Go West
Encounter: Demons
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Go South
Encounter: Ghosts
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Encounter: Bone Piles
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Go East
You find a Muscle Potion
Action: Go West
Action: Go North
Action: Go East
Action: Go East
Action: Go North
Encounter: Death
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Go North
Action: Go West
Action: Go North
Encounter: Grunts
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Encounter: Large Stone Boxes
Action: Attack!
Action: Go East
You find a Magic Potion
Action: Go West
Action: Go East
Action: Go West
Action: Go South
Action: Go East
Action: Go West
Action: Go North
Action: Go East
Action: Go East
Encounter: Ghosts
Action: Run Back West
Action: Go East
Encounter: Ghosts
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Encounter: Bone Piles
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Quit
YOU HAVE DIED. FINAL SCORE: 9000
You acquire Game Grid ticket (11)
 

Veracity

Developer
Staff member
Nothing has changed. Works same as ever in r9762 for me. Looking at your transcript of commands, I have to wonder just what version of the script you are using, since the list of commands in MY script is hard-coded - and when you take them, they do NOT take you where your script took you.

In any case, you filed a bug report against KoLmafia - why?

> DungeonFist 1

Game 1 of 1
Action: Go West
Encounter: Demons
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Go South
Encounter: Ghosts
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Encounter: Bone Piles
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Go East
You find a Muscle Potion
Action: Go West
Action: Go North
Action: Go East
Action: Go North
Encounter: Grunts
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Encounter: Large Stone Boxes
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
You find a Combat Potion
Action: Go North
Action: Go North
Encounter: Grunts
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Encounter: Large Stone Boxes
Action: Attack!
Action: Go East
You find a Magic Potion
Action: Go East
Encounter: Ghosts
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Encounter: Bone Piles
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Go South
You shoot the food
Action: Go North
Action: Go West
Action: Go West
Action: Go South
Action: Go East
Action: Go South
Encounter: Death
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Go East
Encounter: Demons
Action: Fight!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Encounter: Large Stone Boxes
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
Action: Attack!
You find a key
Action: Go South
Action: Go South
Encounter: Ghosts
Action: Use Potion
You find food
Action: Go North
Action: Go North
Action: Go West
Action: Go South
Action: Go South
You find a locked door
You unlock the door
You find treasure
Action: Go North
Action: Go North
Action: Go North
Action: Go West
Action: Go North
Action: Go West
You find a locked door
You unlock the door
You find the exit
YOU HAVE ESCAPED THE DUNGEON! FINAL SCORE: 23800
You acquire Game Grid ticket (30)
 

lostcalpolydude

Developer
Staff member
There's a version of the script that checks your HP to see where it should go next (very nice if lag causes a blank page load and you have to restart the script, because it can pick up from the middle of Dungeon Fist). If it gets incorrect charpane results then incorrect script actions are expected.
 

Veracity

Developer
Staff member
That's actually pretty cool. Sounds pretty fragile, though. It's unfortunate that our recent charpane issues might have exacerbated the problem, but a dropped charpane for any reason could have confused the script in the same way. I think the OP's designation of this as a "Script issue" is accurate; the script could/should be made more robust.
 

mstieler

Member
I posted it here because when I searched for Dungeon Fist the only relevant ones were over a year old.

Oh, and I'm running daily build 9756.

Was there an update to the DF script that I missed somewhere?
 

Bale

Minion
r9756 is a bit less stable than one would like. It has a charpane refresh issue that has since been fixed. That probably caused your problem if you are using the version of the script that lostcalpolydude refers to. I'd suggest you switch to a less volatile version.
 

Bale

Minion
A less volatile version of the Dungeon Fist script which does not rely on char pane refreshes.
 
Top