So, yesterday I noticed that the Coinmasters frame (on the tab at the top) thought I had 67 FunPoints when the Fun-a-Log (in the browser) told me I had 400+ (don't remember the exact number). Today after finishing the PirateRealm, I checked again and the Coinmaster frame still says 67 while the browser says 796.
I was looking in FunALogRequest.java and saw this:
Looking at the Fun-a-Log html I see a period between "Funpoints" and "</b>" which I think may be causing this matcher to fail?Code:private static final Pattern TOKEN_PATTERN = Pattern.compile( "<b>You have ([\\d,]+) FunPoints?</b>" );
Seems likely. I fixed it, ran my PirateRealm adventure today, went to the Fun-A-Log, and the Coinmaster updated to have the correct value.
Mine still said 67 when I logged in but, this time, when I clicked the 'visit' button, it updated to the correct value. Thanks!
We don't look at the FUn-A-Log when you log in. We assume whatever the setting says is correct.
However, if you press "visit" in the Coinmaster Frame or visit the Fun-A-Log in the Relay Browser, we sync up.
We also don't detect gaining FunPoints during adventuring, although we could. There are things we could do to make this more seamless - including that -but it's effort vs. value, at this point and for now I am content that "visit" syncs up correctly.
I assume this is from here
Code:-------------------- 10244 one piece of bubble gum 829221842 pieceof13.gif usable t,d 37 Item one piece of bubble gum Effect: "Sugar Rush", Effect Duration: 10 --------------------
I'll confirm that it is from here: it's the halloween candy for the piraterealm outfit.
Since the lucky gold ring can only drop one volcoino per day, I made a patch to track this in the property `_luckyGoldRingVolcoino`. According to the wiki, the gold ring is the only way volcoinos can drop after combat, so the logic should be fine.