loathers / garbage-collector

Script for farming meat (and garbage) in 2003 web RPG Kingdom of Loathing
24 stars 59 forks source link

[BUG] Wandering Dia Monsters Abort Garbo In Some Cases #1826

Closed tsuyoshikentsu closed 4 months ago

tsuyoshikentsu commented 4 months ago

Describe the bug

Encountering a Dia wandering monster in Barf is causing garbo to abort.

To Reproduce Steps to reproduce the behavior:

Nothing, besides running the script.

Expected behavior Garbo would handle the combat without user intervention.

Session Log ahdar_musicstopper_20240315.txt

Aborts occurred on the following adventures:

Pre-Loop 264 291 323 350 375 410 439 466 496 522 556 589 617 647 674 705

Post-Loop 275 310

This redtext is taken from adventure 275 post-loop, but is the same as all of the other occurrences:

Round 1: ahdar musicstopper executes a macro! KoLmafia thinks it is round 2 but KoL thinks it is round 1 You're on your own, partner. (Macro Aborted ("abort")) Click here to continue in the relay browser.

Then, post preference changes and garbo summary:

JavaScript exception: KoLmafia error: You're on your own, partner. (Macro Aborted ("abort")) at file:/C:/Users/tsuyoshikentsu/Downloads/KoLMafia/scripts/garbage-collector/garbo.js:29435 (_do) at file:/C:/Users/tsuyoshikentsu/Downloads/KoLMafia/scripts/garbage-collector/garbo.js:29236 (execute) at file:/C:/Users/tsuyoshikentsu/Downloads/KoLMafia/scripts/garbage-collector/garbo.js:48091 (execute) at file:/C:/Users/tsuyoshikentsu/Downloads/KoLMafia/scripts/garbage-collector/garbo.js:29156 (run) at file:/C:/Users/tsuyoshikentsu/Downloads/KoLMafia/scripts/garbage-collector/garbo.js:48148 (runGarboTasks) at file:/C:/Users/tsuyoshikentsu/Downloads/KoLMafia/scripts/garbage-collector/garbo.js:48154 (runGarboQuests) at file:/C:/Users/tsuyoshikentsu/Downloads/KoLMafia/scripts/garbage-collector/garbo.js:48617 at file:/C:/Users/tsuyoshikentsu/Downloads/KoLMafia/scripts/garbage-collector/garbo.js:40384 (withClan) at file:/C:/Users/tsuyoshikentsu/Downloads/KoLMafia/scripts/garbage-collector/garbo.js:40378 (withVIPClan) at file:/C:/Users/tsuyoshikentsu/Downloads/KoLMafia/scripts/garbage-collector/garbo.js:48588 at file:/C:/Users/tsuyoshikentsu/Downloads/KoLMafia/scripts/garbage-collector/garbo.js:40363 (withStash) at file:/C:/Users/tsuyoshikentsu/Downloads/KoLMafia/scripts/garbage-collector/garbo.js:48587 (main)

Additional context This happened pre- and post-loop.

farmstall commented 4 months ago

I am also having this issue. I thought it was maybe the Monster Manuel interacting poorly, but I have all 4 wanderers Manueled at least once.

tsuyoshikentsu commented 4 months ago

As an additional data point, I do not have a Monster Manuel.

horrible-little-slime commented 4 months ago

Autoattack appears not to be triggering against bosses/special monsters despite checking the aabosses flag

horrible-little-slime commented 4 months ago

The issue seems to be that garbo is failing to set the aabosses flag under certain circumstances. For now, you can fix this by enabling "use autoattack against bosses and special monster" under account options. I'm now closing this ticket not because the issue is solved, but because equipped with this knowledge I am confident it is a duplicate of #1824