Bitcoin Forum
June 22, 2024, 03:38:49 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Economy / Service Discussion / Re: Primedice Unfair? on: February 08, 2014, 11:33:11 PM
Ok I found this one googling verifier instead of verification http://bitcoinmaniac.com/verify/ because Google is unfair.

And it gives the same result as my code

What are some others?

And with these verifiers, you have to check the results of old rolls, monitor any code changes. Interesting hassle for non-coders. With PrimeDice's limited history you need to record old rolls yourself, as the 24 hour secret reveal thing will clear that history if you keep gambling? Is there a full user history anywhere?
2  Economy / Service Discussion / Re: Primedice Unfair? on: February 08, 2014, 10:56:31 PM
I tried 3 other rolls and couldn't get anything to match up. Didn't want to spend more time fiddling with it as silly differences like joining ASCII strings with commas instead of periods or empty strings will give different results.

Obviously not checking every roll with client side code running off your hard drive (or where can't be changed by site operator) defeats the point of provable fairness. And you have no one but yourself to blame if you lose serious money to a casino that offers provable odds you could have checked.

I didn't find any Google results verifying PrimeDice, which was very interesting in itself.

Really like the look of current PrimeDice compared to other bitcoin gambling sites. Obviously hired a quality designer.
3  Economy / Gambling / Re: PrimeDice.com | 400M+ Bets | 300k+ BTC Wagered | Free BTC | 1% Edge | Instant on: February 08, 2014, 09:30:49 PM
What's going on with verification? Following instructions here https://primedice.com/modals/verify.html I can't get the primedice roll to match up to the verified roll.

For this bet https://primedice.com/modals/bet.html?id=459292926 primedice has 67 when I verify I get 39.

My code

Code:
$seed = "23c101ef5ea7406036c7d0aace3582b1b0d185dc8d490c76afecc620f5bcf3cab776897424c280279c4e1dcfc305c4a2bbc56e9ab5e8b2d8732a2144de3cbbb6";
$server = "165ae4a71391814738";
$client = "38382-0013";

$hash = hash('sha512', $seed . $server . $client);

$value = substr($hash, 0, 8);
$dice = round(hexdec($value)/42949672.95,2);

echo "Roll", " ",   $dice;

Am I doing something wrong?
Are these instructions obsolete?

Is there a website that verifies various provably fair gambling sites, preferably with javascript code running client side? I tried JavaScript code too, only got it to match up to the PHP result.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!