loathers / excavator

A script for automatically gathering spading data while playing the Kingdom of Loathing ♠️
https://excavator.loathers.net
4 stars 6 forks source link

`Index 3 out of bounds for length 3: (x_monster_parts.ash, line 92)` error in [hidden apartment building] #38

Closed taltamir closed 7 months ago

taltamir commented 3 years ago

I had an excavator crash happen while running autoscend and adventuring in the hidden apartment building.

log snippet copied from gCLI

[737] The Hidden Apartment Building
Preference lastEncounter changed     from pygmy witch accountant to Action Elevator
Encounter: Action     Elevator
Encounter: Action Elevator
[DEBUG] -     Running auto_choice_adv.ash
Submitting option 1 for choice 780
Preference     lastEncounter changed from Action Elevator to ancient protector spirit
Encounter:     ancient protector spirit
Preference _lastCombatStarted changed from     20210621064015 to 20210621064026
Round 0: talt1 wins initiative!
[INFO]     - auto_combatHandler: 0
Preference auto_edCombatCount changed     from 587 to 588
Form fields: {"relay":"true"}
Preference     auto_edCombatRoundCount changed from 726 to 727
Round 1: talt1 casts     STORM OF THE SCARAB!
Round 3: Pakhebahmose provides the basic spell     formatting, so you can just focus on the details.
Round 3: ancient     protector spirit (The Hidden Apartment Building) takes 392 damage.
Cannot     find monster.
Round 3: talt1 wins the fight!
You acquire an item:     moss-covered stone sphere
Preference hiddenApartmentProgress changed     from 1 to 7
Preference questL11Curses changed from started to finished
After     Battle: You gain 17 Strengthliness
Preference lastCopyableMonster     changed from pygmy witch accountant to ancient protector spirit (The     Hidden Apartment Building)
After Battle: You gain 53 Enchantedness
You     gain a Mysticality point!
After Battle: You gain 7 Cheek
(x_monster_parts.ash,     line 92)
Script execution aborted (Index 3 out of     bounds for length 3): (x_monster_parts.ash, line 92)
Stack trace:
  at     main (auto_choice_adv.ash:577)
[ERROR] - Error     running auto_choice_adv.ash, setting auto_interrupt=true
Preference     auto_interrupt changed from false to true

there are two minor differences between the two logs:

  1. the line Cannot find monster. does not appear in the log file but appears in the gCLI. is this significant?
  2. the syntax of Submitting option 1 for choice 780 appears differently between the gCLI and log file but that seems meaningless.

full log file search for [737] The Hidden Apartment Building to find start of occurance talt1_20210621.txt

gausie commented 7 months ago

This is defunct for multiple reasons now!