loathers / garbage-collector

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

[BUG] Garbo doesn't recognize digitized Embezzler when delay expires, but fight with embezzler is in progress #1846

Closed Jongberry closed 6 months ago

Jongberry commented 6 months ago

Describe the bug Garbo does not recognize digitized embezzlers once the delay expires. The script gives the error pasted below. When this happens and I go to the relay browser, I am in the middle of a fight with the digitized embezzler. I'm not 100% certain this happens for every digitized embezzler, but it happens at least for most. It happens every day I use garbo, approx. 5 times per 400-500 turn session.

JavaScript exception: KoLmafia error: You're on your own, partner. (Macro Aborted ("abort "Expected a digitized Knob Goblin Embezzler, but encountered something else."")) at file:/C:/Users/12168/OneDrive/Desktop/scripts/garbage-collector/garbo.js:29435 (_do) at file:/C:/Users/12168/OneDrive/Desktop/scripts/garbage-collector/garbo.js:29236 (execute) at file:/C:/Users/12168/OneDrive/Desktop/scripts/garbage-collector/garbo.js:48155 (execute) at file:/C:/Users/12168/OneDrive/Desktop/scripts/garbage-collector/garbo.js:29156 (run) at file:/C:/Users/12168/OneDrive/Desktop/scripts/garbage-collector/garbo.js:48212 (runGarboTasks) at file:/C:/Users/12168/OneDrive/Desktop/scripts/garbage-collector/garbo.js:48218 (runGarboQuests) at file:/C:/Users/12168/OneDrive/Desktop/scripts/garbage-collector/garbo.js:48682 at file:/C:/Users/12168/OneDrive/Desktop/scripts/garbage-collector/garbo.js:40397 (withClan) at file:/C:/Users/12168/OneDrive/Desktop/scripts/garbage-collector/garbo.js:40391 (withVIPClan) at file:/C:/Users/12168/OneDrive/Desktop/scripts/garbage-collector/garbo.js:48653 at file:/C:/Users/12168/OneDrive/Desktop/scripts/garbage-collector/garbo.js:40376 (withStash) at file:/C:/Users/12168/OneDrive/Desktop/scripts/garbage-collector/garbo.js:48652 (main)

Jongx_20240411.txt

Thank you.

horrible-little-slime commented 6 months ago

Duplicate of #1824