loathers / garbage-collector

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

[BUG] Problems with Gingerbread City. #2145

Closed TinsinPrime closed 1 month ago

TinsinPrime commented 1 month ago

Describe the bug The script will come to a full stop due to misunderstanding the time in Gingerbread City.
The first time it occurs, it's actually the first time-based noncombat in Gingerbread City. The second time it occurs, it's a noncombat in the Hidden Temple. The third time is a combat in Gingerbread City. The fourth is another Hidden Temple noncombat. The fifth time is another combat in Gingerbread City.

To Reproduce This happens every time I run garbo, so. Boot Mafia, git update, garbo. When the system breaks, I make a choice or finish the combat then continue.

Expected behavior I just expect it to run without a hitch.

Session Log Tinsin_20240930.txt

Each instance is somewhere along the line of:

You are currently in a fight.
You are currently in a fight.
Warning: Insufficient turns were run, so this estimate is subject to large variance. Be careful when using these values as is.
Marginal MPA: NaN [raw] + NaN [items] = NaN [total]
JavaScript exception: KoLmafia error: You're on your own, partner. (Macro Aborted ("abort "We thought it was Midnight here in Gingerbread City, but we're in a fight!""))
at file:/D:/Games/Kingdom%20of%20Loathing/scripts/garbage-collector/garbo.js:26576 (_do)
at file:/D:/Games/Kingdom%20of%20Loathing/scripts/garbage-collector/garbo.js:26384 (execute)
at file:/D:/Games/Kingdom%20of%20Loathing/scripts/garbage-collector/garbo.js:45812
at file:/D:/Games/Kingdom%20of%20Loathing/scripts/garbage-collector/garbo.js:45894 (execute)
at file:/D:/Games/Kingdom%20of%20Loathing/scripts/garbage-collector/garbo.js:26309 (run)
at file:/D:/Games/Kingdom%20of%20Loathing/scripts/garbage-collector/garbo.js:45937 (runQuests)
at file:/D:/Games/Kingdom%20of%20Loathing/scripts/garbage-collector/garbo.js:45946 (runGarboQuests)
at file:/D:/Games/Kingdom%20of%20Loathing/scripts/garbage-collector/garbo.js:46402
at file:/D:/Games/Kingdom%20of%20Loathing/scripts/garbage-collector/garbo.js:37430 (withClan)
at file:/D:/Games/Kingdom%20of%20Loathing/scripts/garbage-collector/garbo.js:37424 (withVIPClan)
at file:/D:/Games/Kingdom%20of%20Loathing/scripts/garbage-collector/garbo.js:46373
at file:/D:/Games/Kingdom%20of%20Loathing/scripts/garbage-collector/garbo.js:37409 (withStash)
at file:/D:/Games/Kingdom%20of%20Loathing/scripts/garbage-collector/garbo.js:46372 (main)

Additional context Since no one else has reported this, I assume this is just something that's gone wrong on my end. I'm just not sure what.

horrible-little-slime commented 1 month ago
> Now running Witchess Rook fight: Backup. Stay tuned for details.

[695] Gingerbread Civic Center
Preference lastEncounter changed from gingerbread convict to Witchess Rook
Encounter: Witchess Rook
Preference _monsterHabitatsFightsLeft changed from 1 to 0
Round 0: Tinsin wins initiative!
Round 0: Tinsin casts SING ALONG!
Round 1: Tinsin casts EXTRACT!
You acquire an item: Source essence (3)
Round 2: Tinsin casts FURIOUS WALLOP!
Round 3: Witchess Rook takes 3116 damage.
Round 3: Tinsin wins the fight!
After Battle: You think about the first night of KoL Con IV, when you helped carry the kegs to an afterparty. You didn't know you were so strong!
After Battle: You gain 9 Strongness
After Battle: Tini winks one of her tiny black eyes at you.
You gain 332 Meat
After Battle: Hidden Allegria tiptoes out of her hiding place and gives you some meat.
You gain 13 Meat.
After Battle: Witchess Rook parts are durable, and easy to stick to your skin if you apply a little bit of elbow glue.
You acquire an effect: Armor-Plated (20)
You acquire an item: Greek fire
After Battle: You think you see a weird thing out of the corner of your eye, but it turns out to be nothing. Which is actually pretty weird, if you think about it, man.
After Battle: You notice some extra Meat hidden in a gingerbread mailbox.
You gain 51 Meat.
After Battle: Tini's completely nonexpressive face does something that you've chosen to interpret as a smile. (+27 Stats)
After Battle: You gain 160 Strongness
You gain a Muscle point!
After Battle: You gain 86 Enchantedness
After Battle: You gain 111 Smarm
You gain a Moxie point!
This combat did not cost a turn

Looks like there's a kolmafia bug where habitated monsters in the gingerbread zones aren't incrementing your gingerbread turns. I'll file a bug report there.

horrible-little-slime commented 1 month ago

https://kolmafia.us/threads/habitat-and-presumably-gregarious-encounters-in-gingerbread-zones-not-incrementing-_gingerbreadcityturns.29942/