semi-rare counter property (relayCounters) manual changes don't stick

EEPiccolo

New member
I'm trying to write a script to help in collecting semi-rares, but am having problems with the relayCounters property.

Though I have 3 numbers form the fortune cookie, I know it's 160 - 190 adventures between semi-rares, so I narrow it down to one number. for example,
Code:
print(get_property("relayCounters"));
returns
Code:
2160:Fortune Cookie:fortune.gif:2249:Fortune Cookie:fortune.gif:2161:Fortune Cookie:fortune.gif

I know the semi-rare will occur at 2249, so I try the following code:
Code:
set_property("relayCounters", "2249:Fortune Cookie:fortune.gif")
so that Mafia doesn't stop at unnecessary times. If I do a get_property right after the set_property, it shows relayCounters as what I set it. However, relayCounters has not changed in username_prefs.txt, and if I spend an adventure and then do a get_property, relayCounters is back to having the original 3 counters.

So is the a bug in setting properties, or am I just not doing it correctly? I'm using version 12.5.

Thanks in advance for any help.
 
Top