A Breakthrough!
A Breakthrough!
The issue is caused by playing on multiple, different accounts without closing KoLmafia. The reason it was only happening to one account is because that account is (usually, today was a rare exception) the only one that I play immediately after another account, and thus in the same instance of KoLmafia. That's also why it doesn't affect some people at all; it only affects people with multiple accounts, who play them without closing KoLmafia between logins.
That said, the bug is still irregular. I can't make it happen on command (not yet, anyway) and it seems to be random when it occurs.
I have another multi named testxande. Here's what happened to the config files during my most recent play session (stuff in code blocks is the result of a grep command):
After logging out telmaH, no characters logged in, KoL still running and at Login screen: (these counters are both correct)
Code:
settings/telmah_prefs.txt:relayCounters=965\:Fortune Cookie\:fortune.gif
settings/testxande_prefs.txt:relayCounters=1665\:Fortune Cookie\:fortune.gif
Next, logged in testxande, and
immediately ran the same grep command:
Code:
settings/telmah_prefs.txt:relayCounters=965\:Fortune Cookie\:fortune.gif
settings/testxande_prefs.txt:relayCounters=965\:Fortune Cookie\:fortune.gif
Notice that
testxande's fortune counter has been overwritten with telmaH's, to a turn number that testxande is already past. In KoLmafia, running counters reports "No active counters."
After spending an adventure, KoLmafia deletes the incorrect counter (as testxande is already past that adventure number).