Bug Haunted Gallery leveling = LOTSA debug logs

Quick double-click on start button = trouble

Let's see here...

First one is an IOOBE trying to format HTML.
#2 is an NPE understanding the response from KoL.
#3 is another NPE, trying to parse the choice adventure presented to it (the Louvre).
#4 is the same as #3.
#5, same deal again.

At this point, I told KoLmafia to stop now. This caused the GUI to turn red and the CLI to get out of the loop it was in and resolve the choice normally.

I'm using KoLmafia 15.2 r10981, with Java 6 (OpenJDK) update 24, on Ubuntu Linux 12.04 64-bit.

EDIT: CLI log.

Code:
Validating adventure sequence...

Validating adventure sequence...

Request 1 of 167 (Manor1: Haunted Gallery) in progress...
IOException during data post (fight.php?ireallymeanit=1337246017).

[5877] Haunted Gallery
Encounter:
Round 0: miniwrld loses initiative!
Cannot find monster.

Request 1 of 167 (Manor1: Haunted Gallery) in progress...

Request 1 of 167 (Manor1: Haunted Gallery) in progress...

[5877] Haunted Gallery
Encounter: empty suit of armor
Encounter: empty suit of armor
Strategy: /home/miniwrld/.kolmafia/ccs/icypeak.ccs [default]
Round 0: miniwrld loses initiative!
Strategy: /home/miniwrld/.kolmafia/ccs/icypeak.ccs [default]
Round 0: miniwrld loses initiative!
KoLmafia thinks it is round 2 but KoL thinks it is round 1
Unexpected error, debug log printed.
Round 2: miniwrld executes a macro!
Cannot find combat results.
Unexpected error, debug log printed.

[5877] Haunted Gallery
Round 2: miniwrld casts MIGHTY AXING!
KoLmafia thinks it is round 3 but KoL thinks it is round 2
Round 3: miniwrld executes a macro!
Round 3: empty suit of armor takes 1804 damage.
Round 3: miniwrld wins the fight!
You gain 17 Muscularity Points
You acquire an item: antique greaves
You gain 22 Muscleboundness
You gain 11 Enchantedness
You gain 18 Cheek
Unexpected error, debug log printed.

Request 1 of 167 (Manor1: Haunted Gallery) in progress...

[5877] Haunted Gallery
Encounter: cubist bull
Round 0: miniwrld wins initiative!
Round 0: miniwrld casts MIGHTY AXING!
Round 1: miniwrld casts MIGHTY AXING!
Round 2: cubist bull takes 1799 damage.
Round 2: miniwrld wins the fight!
You gain 16 Muscularity Points
You gain 336 Meat
You gain 26 Strongness
You gain 10 Mysteriousness
You gain 14 Chutzpah
Encounter: Louvre It or Leave It

Request 2 of 167 (Manor1: Haunted Gallery) in progress...
Encounter: Louvre It or Leave It

[5879] Haunted Gallery
Unexpected error, debug log printed.

[5879] Haunted Gallery

Request 2 of 167 (Manor1: Haunted Gallery) in progress...

[5879] Haunted Gallery
Encounter: Louvre It or Leave It (Escher: Relativity)

Encounter: Louvre It or Leave It (Escher: Relativity)

[5879] Haunted Gallery
Encounter: Louvre It or Leave It (Escher: Relativity)
Encounter: Louvre It or Leave It (Munch: The Scream)
Unexpected error, debug log printed.

[5879] Haunted Gallery
Encounter: Louvre It or Leave It (Seurat: Sunday Afternoon on the Island of La Grande Jatte)

Request 2 of 167 (Manor1: Haunted Gallery) in progress...

[5879] Haunted Gallery
Encounter: Louvre It or Leave It (Seurat: Sunday Afternoon on the Island of La Grande Jatte)

Request 2 of 167 (Manor1: Haunted Gallery) in progress...

[5879] Haunted Gallery
Encounter: Louvre It or Leave It (Seurat: Sunday Afternoon on the Island of La Grande Jatte)

Encounter: Louvre It or Leave It (Seurat: Sunday Afternoon on the Island of La Grande Jatte)

[5879] Haunted Gallery
[5879] Haunted Gallery
Encounter: Louvre It or Leave It (Seurat: Sunday Afternoon on the Island of La Grande Jatte)
Encounter: Louvre It or Leave It (Seurat: Sunday Afternoon on the Island of La Grande Jatte)
Unexpected error, debug log printed.

[5879] Haunted Gallery
You gain 345 Strengthliness

(Garden Banished counter expired)

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

KoLmafia declares world peace.

[5880] Haunted Gallery
Encounter: Louvre It or Leave It

Encounter: Louvre It or Leave It
Encounter: Louvre It or Leave It (Escher: Relativity)
Encounter: Louvre It or Leave It (Munch: The Scream)
Encounter: Louvre It or Leave It (Seurat: Sunday Afternoon on the Island of La Grande Jatte)
You gain 345 Strengthliness
You gain a Muscle point!

EDIT 2: On further analysis it seems this was caused by double-clicking the button that makes KoLmafia start automatic adventuring. This caused 2 adventure processor threads to get started, which led to this behavior. Despite the fact that this discovery renders the debug logs and gCLI output meaningless, there's still an underlying bug here: It shouldn't be possible to start more than one adventure processor thread at the same time.
 
Last edited:
Back
Top