Bug - Not A Bug Semi-rare is recognized, but window counters are not set

Bale

Minion
> counters

Last semirare found 130 turns ago (on turn 749) in The Hallowed Halls

No active counters.

The semirare is in encounters.txt so it was recognized. The problem is that when that semirare was found, the counters should have been set to indicate the semi-rare window.
 
There is precisely one place in KoLmafia where semirareLocation is set - KoLCharacter.registerSemirare. That method unavoidably sets the semirare window counters. Which is to say, "when that semirare was found, the counters should have been set to indicate the semi-rare window" is not, actually, "the problem". That happened.

I'd have to say that the "the problem" is that the counters got cleared some time later.

The semirare window counters are cleared in two places: when you eat a fortune cookie and when you eat an optimal dog. In both cases, the fortune cookie counter is set. If that counter expires and you do not get a semirare, you will end up with neither the semirare window counters nor the fortune cookie counters, as in your case. Now, 130 turns is too soon after turn 749 to miss a fortune cookie - unless you ate an optimal dog and did not get a semirare.

I see the following possibilities:

- You ate an optimal dog and did not pick up your fortune cookie. That would make this Not a Bug
- You (or a script) did something to clear the counters. Ditto.
- Somehow, KoLmafia lost your counters. I've never seen that. If you can reproduce it, I can look further. If not, this becomes Cannot Reproduce.

For now, I'll just Wait for Info. :)
 
Thank you. I was an idiot. I found my error on your list. You were brilliant to think of it. I am embarrassed.

- You ate an optimal dog and did not pick up your fortune cookie. That would make this Not a Bug

129 turns later when I saw I had no semi-rare counter window, I had forgotten about the unfortunate mishap of accidentally clicking on the Hallowed Halls again after eating the dog.
 
Last edited:
Back
Top