The prefs file is located within user's prefs folder. Here on a Mac:
/Users/.../Library/Preferences/BCastle_Prefs.ixp
Concerning the DL link, it will be fixed when I'll have a stable version... when you won't be able to find annoying bugs
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
That is strange. I cannot avoid reproducing it. I delete the prefs file, start the game, play until one game is won: Number of wins jumps from 0 to 8.Zax wrote: Sun Oct 09, 2022 11:48 am I was unable to reproduce the bug in the statistics. According to my tests, the statistics work correctly.
Unfortunately, nothing at all happens when clicking OK in the Check for update dialog. No browser is launched.Zax wrote: Sun Oct 09, 2022 11:48 am I uploaded 0.33 version on my server, available from the "Check for update" command in the application. This new version fixes some minor bugs unrelated to statistics.
Indeed!SWEdeAndy wrote: Sun Oct 09, 2022 5:13 pmI know how frustrating it is when users get an error that you can't reproduce.
SWEdeAndy wrote: Sun Oct 09, 2022 5:13 pm Winning 500% of the games is now my record, and this time the game even gave me a discount on the moves, so that 71 moves were registered as 70...
Indeed, it doesn't. I've tried on another Mac now, running macOS Mojave (so a bit older), and the same error occurs.Zax wrote: Mon Oct 10, 2022 11:59 am (I don't think this new version will solve strange behaviors you encountered, Andreas).
Hmm, ok, so then we've narrowed it down to Macs post-Sierra (a somewhat outdated macOS version) or possibly limited to MY Macs...
I used arrayEncode/Decode.SWEdeAndy wrote: Thu Oct 13, 2022 9:45 am.I tried to decipher the prefs file, to see which value is actually stored, but could not get legible data out of it. I assumed you use arrayEncode/Decode, but that alone did not work to convert it. Or is it XML?
Code: Select all
put URL ("binfile:" & prefsFile) into encodedArr
put arrayDecode(encodedArr) into savedUserPrefs
Array
. [screenSettings] = Array
. . [MCwwLDE5MjAsMTIwMAotMTkyMCwwLDAsMTIwMA==] = Array // screens configs
. [checkedDate] = 1980.01.01
. [prefs] = Array
. . [board] = Array
. . . [hilite] = 253,159,40
. . . [cardSet] = Castle Special
. . . [background] = Pool
. . . [foundHilite] = 3,193,156
. . . [hiliteBorder] = 114,171,239
. . [sounds] = 1
. . [stats] = Array
. . . [gameWonCount] = 5
. . . [gameLaunchedCount] = 18
. . . [topScores] = Array
. . . . [136] = Array
. . . . . [date] = 1665643052
. . . . . [gameid] = 1665642770
. . . . . [name] = thierry
. . . . [124] = Array
. . . . . [date] = 1665558837
. . . . . [gameid] = 1665558408
. . . . . [name] = thierry
. . . . [142] = Array
. . . . . [name] = thierry
. . . . . [gameid] = 1665570291
. . . . . [date] = 1665570617
. . . . [110] = Array
. . . . . [name] = thierry
. . . . . [gameid] = 1665483151
. . . . . [date] = 1665483347
. . . . [180] = Array
. . . . . [date] = 1665471394
. . . . . [gameid] = 1665470984
. . . . . [name] = thierry
. . . [dateInit] = 1665470849
. . . [gamePlayedCount] = 11
. . [prefsVersion] = 0.32