Pages:
Author

Topic: Primedice is cheating - page 3. (Read 8100 times)

hero member
Activity: 588
Merit: 500
Get ready for PrimeDice Sig Campaign!
August 19, 2014, 11:43:13 PM
#5
maybe just a frustrated gambler who lost BTC
Nah, I think he made an honest mistake, he had been using an old verification script. Was it sorted out?
hero member
Activity: 602
Merit: 500
August 19, 2014, 11:40:31 PM
#4
maybe just a frustrated gambler who lost BTC
legendary
Activity: 3192
Merit: 1279
Primedice.com, Stake.com
August 19, 2014, 10:32:11 PM
#3
I am not familiar with running NodeJS so I made a quick PHP script and I am getting:

fa7ae - 1025966 - 59.66
21fdd - 139229 - 92.29
a05cc - 656844 - 68.44

Code:
$hash = hash_hmac('sha512', 'ca45edd88ef251dd43edf42dc97c7ffb-3391','41fa224237f452360db8d35a276f4067fce6cad8d3dbf3c73bde2e804c8cb8c7');
for($i=0;$i<30;$i++) {
echo "
".substr($hash,$i*5,5)." - ". hexdec(substr($hash,$i*5,5)) ." - ".(hexdec(substr($hash,$i*5,5))%(10000)/100);
}

The first result is more than 1 million so it goes to the next one which results in 92.29 after the modulo function (and is correct AFAIK.)

There is 02 in the first result so perhaps your 0.02 result comes from there and there is a mistake in the verification script?

Also 11 consecutive-losing bets is nothing special at all. Verifying of bets is always good though.


Coinfist is a (paid?) shill. His bet should verify now. Earlier today he attempted to verify using an out-dated script we had listed on our verification page which was quickly fixed. Not much more to discuss here, note that he posted this thread after this was fixed.


Reference:  https://bitcointalk.org/index.php?topic=208986.msg8446518#msg8446518
legendary
Activity: 1876
Merit: 1295
DiceSites.com owner
August 19, 2014, 10:22:23 PM
#2
I am not familiar with running NodeJS so I made a quick PHP script and I am getting:

fa7ae - 1025966 - 59.66
21fdd - 139229 - 92.29
a05cc - 656844 - 68.44

Code:
$hash = hash_hmac('sha512', 'ca45edd88ef251dd43edf42dc97c7ffb-3391','41fa224237f452360db8d35a276f4067fce6cad8d3dbf3c73bde2e804c8cb8c7');
for($i=0;$i<30;$i++) {
echo "
".substr($hash,$i*5,5)." - ". hexdec(substr($hash,$i*5,5)) ." - ".(hexdec(substr($hash,$i*5,5))%(10000)/100);
}

The first result is more than 1 million so it goes to the next one which results in 92.29 after the modulo function (and is correct AFAIK.)

There is 02 in the first result so perhaps your 0.02 result comes from there and there is a mistake in the verification script?

Also 11 consecutive-losing bets is nothing special at all. Verifying of bets is always good though.
newbie
Activity: 10
Merit: 0
August 19, 2014, 09:18:47 PM
#1
Primedice is cheating

Yesterday I was just using PD to bet and doing the double-or-nothing experiments.
It was going fine at first. But suddenly, I had 11 consecutive-losing bets.
They were pretty odd, weren't they?
So I did some verification using the script provided by Primedice.

See the screenshots below. I did verify all 11 bets. All 10 bets are correct, but the No.2 bet from top is wrong.
On the screenshot, the roll is 92.29. However, the result I got from script is 0.02.
So I should win that bet, there would not be the last one bet(top one) which cleared me out.

Please don't say that your verification script is not updated.
What's the purpose of the verification script that site does not use and can't verify result?
So whenever someone finds you are cheating, you can say it every time?

Return my money back, you scam site.


BET #805607190 INFO

SERVER SEED (REVEALED)
41fa224237f452360db8d35a276f4067fce6cad8d3dbf3c73bde2e804c8cb8c7
CLIENT SEED (NONCED)
ca45edd88ef251dd43edf42dc97c7ffb-3391


Screenshot of 11 consecutive-losing bets
http://prntscr.com/4ed9mo

Screenshot of BET #805607190 INFO
http://prntscr.com/4eda18

You can look up these bets by the bet id shown in the screenshot and verify them by yourself.
This did not just happen once but twice today and almost clear me out.
Since Primedice has been online for so long, I could not imagine how many times it has cheated.
I probably will do the same experiments on other bitcoin gambling web site. But Pirmedice is not trustworthy and return my bitcoin.

I also found the possible unfair when you PVP with "strangers" on Primedice.
See the post: https://bitcointalksearch.org/topic/m.8315850

I only used PD for several days, and already found 2 unfairness. 
How  you can still claim yourself 100% "provable fair"?


The script I am using:

            //the seed pair itself
            var clientSeed = "ca45edd88ef251dd43edf42dc97c7ffb"; //dont forget to exclude the dash and the nonce!
            var serverSeed = "41fa224237f452360db8d35a276f4067fce6cad8d3dbf3c73bde2e804c8cb8c7";

            //bet made with seed pair (excluding current bet)
            var nonce      = 3391;

            //crypto lib for hmac function
            var crypto = require('crypto');

            var roll = function(key, text) {

                //create HMAC using server seed as key and client seed as message
                var hash = crypto.createHmac('sha512', key).update(text).digest('hex');

                var index = 0;

                var lucky = parseInt(hash.substring(index * 5, index + 5), 16);

                //keep grabbing characters from the hash while greater than
                while (lucky >= Math.pow(10, 6)) {
                    index++;
                    lucky = parseInt(hash.substring(index * 5, index + 5), 16);

                    //if we reach the end of the hash, just default to highest number
                    if (index + 5 == 128 + 1) {
                        lucky = 99.99;
                        break;
                    }
                }

                lucky %= Math.pow(10, 4);
                lucky /= Math.pow(10, 2);

                return lucky;
            }
            console.log(roll(serverSeed, clientSeed+'-'+nonce));
Pages:
Jump to: