loathers / garbage-collector

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

[BUG] Stuck in loop after closeting closed-circuit pay phone #1838

Closed MrFizzyBubbs closed 5 months ago

MrFizzyBubbs commented 5 months ago

Before Reporting Ensure that KoLMafia and garbo are both up to date before reporting a bug. If you have installed mafia in a weird or non-standard way, let us know any details about that here. But also, if you've installed mafia in a weird or non-standard way, I'm telling you right now that that's your bug. Also, check existing github issues to see if this has already been reported. If it has, consider leaving a comment with any additional information you can give on that issue, instead of making a new one.

Also, read this.

Describe the bug After closeting the closed-circuit pay phone today since it is salad day, garbo gets stuck in a loop trying to adventure in a shadow right which it can no longer access.

To Reproduce Steps to reproduce the behavior:

  1. Put your closed-circuit pay phone in your closet
  2. Run garbo

Expected behavior Garbo skips the shadow rifts if they are not available.

Session Log shadow_rift_log.txt

Additional context My preferences at the time of running. I previously ran garbo with the pay phone not closeted and had to manually intervene before closeting it. image

horrible-little-slime commented 5 months ago

prefref autoSatisfy?

MrFizzyBubbs commented 5 months ago

image

horrible-little-slime commented 5 months ago

turn off autoSatisfyWithCloset if you want scripts to truly ignore your closeted items. While we do have a .have() check, ultimately the fact that we check canAdventure means that this is partially a mafia issue. But mostly the autosatisfywithcloset thing.