On May 21, 2022 at 10:10:49 AM UTC-6, Nasti Chestikov wrote:
> On Friday, 20 May 2022 at 23:42:44 UTC+1, MK wrote:
>> I can share the DLL, its sorce code and a dice file of
>> one million rolls if you guys decide to do this, which
>> I would very much encourage and would be curious
>> to see the results. I have a feeling that it would reveal
>> some unexpected "things"...
> Please share.
Will do.
> I assume the "things" you refer to aren't XG deviating
> from the rolls in the text file?
No. If everyone plays at the same level and using the
same dice rolls, I'm guessing/hoping that there will be
some discoveries made about luck calculations, etc.
> I have written several DLLs. First one was fixed.....
> Second one wouldn't roll a double - over 1,000.....
> Third one popped up a dialogue box to say "the.....
We discussed these quite a bit a couple of years ago.
Here are the threads if anyone wants to read:
https://groups.google.com/g/rec.games.backgammon/c/sxlOCjtvAIM/m/BGMIOuDqAQAJ
https://groups.google.com/g/rec.games.backgammon/c/63L0OCwNWbI/m/XMsTxlA6BQAJ
The last thing I remember is that I had demonstrated
that XG was making unnecessary and multithreaded
calls to the DLL, including closing and restarting the
process which caused it to lose the RNG's state and
roll inconsistent sequences for the same seeds.
We never investigated it further but it surely smells...
Maybe other bot developers who occasionally post
here can tell us if there is any good reason for a bot
to do that?
As far as reading from files, we talked about it some
ten years ago but nothing was done. See this thread:
https://groups.google.com/g/rec.games.backgammon/c/a5fqsvnhxVI/m/EV1bOug-k4sJ
Like you, I had tested one when we were talking about
these two years ago but never done anything with it.
You guys can dowload it clicking this direct link to it:
https://www.montanaonline.net/backgammon/readfromfile.bin
I named it .bin because the server blocks access to .dll
files. Just rename it to .dll after you download and place
it in XG's "dice dll" folder.
You can dowload one or more dice files offered by Bgblitz,
with one million rolls in each, by clicking these direct links:
https://www.bgblitz.com/download/random/random_dice_1.txt
https://www.bgblitz.com/download/random/random_dice_2.txt
https://www.bgblitz.com/download/random/random_dice_3.txt
https://www.bgblitz.com/download/random/random_dice_4.txt
https://www.bgblitz.com/download/random/random_dice_5.txt
https://www.bgblitz.com/download/random/random_dice_6.txt
https://www.bgblitz.com/download/random/random_dice_7.txt
https://www.bgblitz.com/download/random/random_dice_8.txt
Rename it to "dicefile.txt" and put in XG's "dice dll" folder also.
Finally, in the same folder, create an empty text file named
"logfile.txt", set XG's external dice and you'll be good to go.
I never played a long session using dice from files. I think I may
give it a try mayself out of curiosity.
MK