BAH! I just got so close to hitting 9900x with 10ksat during Happy Hour! I could feel it in the air, so I tried it. Rolled a 99.99 and needed a 100.00
Check the very top bet, my heart started pounding even though I knew I lost.
Then 18mins later, got close, but still really far away, there is always tomorrow!:
I see a couple of issues here:
1) When I look up the bets which rolled 99.9x it shows that you played <99.99 on one, not >99.99, but the other is right:
2) When I check the 99.99 roll, it appears that you did roll a little over 99.99:
$ ServerSeed=e296366069c1407477677
$ ClientSeed=4794012-0023
$ Secret=1a76f6acde8c9ef948e3070b785fe8ceb047f2e7f59f63f5f0d3ebefa7a82a1b54a499b7a6c7559d972f948f8b45ccf1966f8d26ad7180fe692740e4c1c913ea
$ python -c "print int('0x$(echo -n $Secret$ServerSeed$ClientSeed | sha512sum | cut -c1-8)', 16) / 42949672.95"
99.9921642477
The description of how the rolls are generated says:
You will then need to divide by 42949672.95 [Which is ((2^32-1)/100] in
order to get a 0-100 base 10 numeric value. This value will have been the roll.
That's what I did, and I got 99.99216 - isn't that over 99.99?
The code example on the page shows the value being rounded:
$dice = round(hexdec($value)/42949672.95,2);
That seems to mean that rolls from 99.985 to 99.9949999 will get rounded to 99.99, and only rolls of 99.995 and over will get rounded to 100.
It seems to me as if your chance of winning ">99.99" are actually 1 in 20,000 (0.005%) and so the 9,900x payout represents a massive house edge of 50.5%.
The same would apply for the "<0.01" game too I think.
Other low-chance bets will similarly have larger than advertised house edges. To win >99.98, you need to generate a number of 99.985 or higher so that round() takes it to 99.99 or higher. That's a 0.015% chance, and pays 4950x, for a house edge of 25.75%
I guess all this is about to change with the launch of PD3 anyway.