Author

Topic: Primedice.com | Since 2013 | Longest Running Crypto Casino | 113 BTC Jackpot! - page 1283. (Read 1990087 times)

legendary
Activity: 2940
Merit: 1333

This is like PRC's "sjess" problem all over again, only worse.


Interesting


OK, so it's a different situation.

At PRC dice they designed a bad provably fair algorithm that rolled 'high' too often, implemented the bad design perfectly, someone discovered it, exploited it, profited, but wasn't allowed to withdraw.

At PD here the provably fair algorithm was bad during beta, I pointed it out, they fixed it, but didn't update the documentation or the verification script. I pointed that out and they tried to fix the verification script but got that wrong.

So PRC had a bad design, correctly implemented and correctly documented.
PD had a good design, correctly implemented but poorly documented.

I expect Stunna would argue that the site is working as intended, that only the documentation is wrong, so "suck it". Except he'd use better words.
legendary
Activity: 1358
Merit: 1003
Designer - Developer
sr. member
Activity: 323
Merit: 254
I reviewed this situation and thought about it an extensive amount. I have no ill feelings towards Dean but strongly agree with Dooglus and his opinion regarding this.

The situation reminded me a bit of Phil Ivey's edge sorting (There are a few key differences though) Read here: http://regressing.deadspin.com/how-phil-ivey-beat-or-maybe-cheated-a-casino-for-mill-1562993963

^ In this situation Ivey should be paid and Borgata should sue the card company, however Borgata has a massive legal team and endless terms & conditions.

With regards to PRC, the game was played as intended, as described in the verification section and some compensation is due. I thought about what I'd do, personally If I was in Dean's shoes I'd refund Sjess in full, if it was a massive amount though I'd probably consider some sort of partial settlement.

Given that your site is just starting off and Sjess arguably should have reported this error rather than exploit it I recommend you provide Sjess a half refund at minimum.

In the end it is mainly PRC's fault for not properly testing their website I recommend they reach out to Sjess to do some pentesting rather than punish him.

Regardless I wish you luck with the site, could someday fill J-D's shoes.

so is there going to be any refunds?
legendary
Activity: 2940
Merit: 1333
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.

This is like PRC's "sjess" problem all over again, only worse.

PD3 seems to have 3 different ways of generating rolls:

1) the way the site actually does it (use digits 1 through 5, then 6 through 10, 11 through 15, etc. until it finds a number under a million); that's the best way, and the way that JD did it.

2) the way the text on http://primedice.com/#/verify says it is done (use digits 1 through 5, then 2 through 6, 3 through 7, etc. until it finds a number under a million):

Quote
First five characters are taken from the hex string to create a roll number that is 0-1,048,575. If the roll number is over 999,999, the proccess is repeated with the next five characters skipping the first one.

That's a bad way to do it, but is how PD3 did it during beta. I told them it was bad and they fixed it, but still apparently didn't update the text.

3) the way the code snippet on http://primedice.com/#/verify shows:



The "hash.substring(index * 5, index + 5)" bit will give a very low number if the first group of 5 is over million (it's using digits 1 through 5, then just digit 6); the code should say "hash.substring(index * 5, (index + 1) * 5)" or "hash.substring(index * 5, index * 5 + 5)". It looks like another case of untested code being put on a live system.

Method 1) rolls 1025966 which is too high, then rolls 139229 which when you take the last 4 digits and put in the decimal gives a roll of 92.29 (a loss for you)

Method 2) rolls 1025966 which is too high, then rolls 686818 which when you take the last 4 digits and put in the decimal gives a roll of 68.18 (a loss for you)

Method 3) rolls 1025966 which is too high, then rolls 000002 which when you take the last 4 digits and put in the decimal gives a roll of 00.02 (a win for you)

So PD needs to decide which of the three methods they're really using, and update the other two to match it. They also need to decide what to do about all the bets whose outcomes are different in any of the three methods.
legendary
Activity: 2464
Merit: 1037
CEO @ Stake.com and Primedice.com
Also, on the affiliate dashboard it says I have 5 referred users but there are only 4 listed below that.  Explanation please?

That has happened with me as well. Says three refs but only two show up.

Happy to know it's not just me. Waiting for explanation please. 

That's weird , probably has to do with issue i told torba to fix , like if u have more than 30 refs it won't show them all , so he will make scroll there , but for that idk what could be. But ur ref is probably there in db, so that should be an easy fix.

As for that bet , i will try to figure it out while we wait for dev or somebody else to see whats up .
hero member
Activity: 700
Merit: 500
Also, on the affiliate dashboard it says I have 5 referred users but there are only 4 listed below that.  Explanation please?

That has happened with me as well. Says three refs but only two show up.

Happy to know it's not just me. Waiting for explanation please. 
hero member
Activity: 784
Merit: 500
Welcome to v3.0 Cheat experiment called "if they will notice" Smiley
member
Activity: 70
Merit: 10
806,462,841

define this bet Sad
sr. member
Activity: 462
Merit: 250
Primedice is cheating

Today 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.

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


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));

Interesting.
legendary
Activity: 1578
Merit: 1000
May the coin be with you..
Looking to maybe add a form of "Rake back" to Primedice.

This would mean if you wager a certain amount the house edge would be lowered. Here's an example:

 - User A has a total wagered 50 BTC. He then receives 0.1% of all his bets back (Win or lose) - Making house edge 0.81
 - User B wagered of 200 BTC. He then receives 0.2% of all his bets back (Win or lose) - Making house edge 0.71
 - User C had a total wagered of 1,000 BTC. He then receives 0.3% of all his bets back (Win or lose) - Making house edge 0.61

Sound good?

Sounds very good, any way in which we can lower the edge towards 0 suits us!

Out of interest, what's the biggest jackpot paid out so far?
global moderator
Activity: 4046
Merit: 2732
Join the world-leading crypto sportsbook NOW!
Also, on the affiliate dashboard it says I have 5 referred users but there are only 4 listed below that.  Explanation please?

That has happened with me as well. Says three refs but only two show up.
legendary
Activity: 966
Merit: 1001
Looking to maybe add a form of "Rake back" to Primedice.

This would mean if you wager a certain amount the house edge would be lowered. Here's an example:

 - User A has a total wagered 50 BTC. He then receives 0.1% of all his bets back (Win or lose) - Making house edge 0.81
 - User B wagered of 200 BTC. He then receives 0.2% of all his bets back (Win or lose) - Making house edge 0.71
 - User C had a total wagered of 1,000 BTC. He then receives 0.3% of all his bets back (Win or lose) - Making house edge 0.61

Sound good?

That sounds very good. It will make Primedice even more addicting lol. Cheesy
legendary
Activity: 1274
Merit: 1000
Looking for a reply to the cheating post as well.

Also, on the affiliate dashboard it says I have 5 referred users but there are only 4 listed below that.  Explanation please?

Did you check the hashes etc and they were as he said?

Looking to maybe add a form of "Rake back" to Primedice.

This would mean if you wager a certain amount the house edge would be lowered. Here's an example:

 - User A has a total wagered 50 BTC. He then receives 0.1% of all his bets back (Win or lose) - Making house edge 0.81
 - User B wagered of 200 BTC. He then receives 0.2% of all his bets back (Win or lose) - Making house edge 0.71
 - User C had a total wagered of 1,000 BTC. He then receives 0.3% of all his bets back (Win or lose) - Making house edge 0.61

Sound good?

Rake back sounds awesome!
hero member
Activity: 700
Merit: 500
Looking for a reply to the cheating post as well.

Also, on the affiliate dashboard it says I have 5 referred users but there are only 4 listed below that.  Explanation please?
newbie
Activity: 10
Merit: 0
Primedice is cheating

Today 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.

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


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));
legendary
Activity: 3192
Merit: 1279
Primedice.com, Stake.com
Looking to maybe add a form of "Rake back" to Primedice.

This would mean if you wager a certain amount the house edge would be lowered. Here's an example:

 - User A has a total wagered 50 BTC. He then receives 0.1% of all his bets back (Win or lose) - Making house edge 0.81
 - User B wagered of 200 BTC. He then receives 0.2% of all his bets back (Win or lose) - Making house edge 0.71
 - User C had a total wagered of 1,000 BTC. He then receives 0.3% of all his bets back (Win or lose) - Making house edge 0.61

Sound good?
legendary
Activity: 3192
Merit: 1279
Primedice.com, Stake.com
A quick reminder of our daily giveaways!!



Current top leaders!!



full member
Activity: 209
Merit: 100
Are you some kind of a crazy person? Smiley
I'm glad you asked.

Random.org is a True Random Number Generator that I use under certain conditions as a Hi/Low decider to ensure that I don't have any cyclical betting patterns that may turn into a weakness under exposure to a large number of rolls.

I actually SHA-256 hash my seeds and truncate a part of it to fit into the PD3 client seed. Like I said in another thread: OCD about entropy.

Notice the Excel sheet, I keep record of the periodicity of 7+ streak failures to investigate my strategy with a series of value derivations versus the mathematical expectations. The mathematical expected odds of running into a 7+ streak failure given 49.5% odds is about 1 in 119, my strategy in practice after 20,000 rolls is about 1 in 220 currently.

I have a similar 20,000 roll record of PD2 that also reflected this trend (at 1 in 238, exactly 2x). One day when I have met my set BTC quota, I may just share the details my findings with the world...

So that's a "yes"?  Tongue

I recently turned 0.018 BTC into 1.444 BTC on prcdice using a stupid bunch of 49.5% and 45% martingales and a bunch of 90% all-ins. That's an increase of over 80 times. Then I turned it into 0 BTC using the same strategy.

I'm willing to share my findings with the world: It's just the way she goes; sometimes she goes, sometimes she doesn't go.

Lol i would say , definitely yes ! Cheesy .

I don't think that any of that has any effect.

Few days ago zsmo managed to turn 1 btc into 69 btc and then lose it all in 5 bets , he did not have strategy at all , just random betting on 2x and bunch of RLY lucky all ins Cheesy . Then couple of max bets , and bye bye.

He managed to wager 2200+ btc in just like 30 mins with only 1btc Cheesy .
I intuitively think my betting method shouldn't have any effect on the statistics whatsoever, but both of my datasets across two different betting environments says otherwise. In science, we have falsifiable tests to dispel crackpot theories, and I'm going to test my crackpot theory Smiley

Suppose that I flip a coin 100 times, and it turned up heads 60 times, you could say with good confidence that it is within acceptable standard deviation of the norm.

Suppose that I flip a coin 40,000 times and it turned up heads 24,000 times, that is so many standard deviations out there that additional questions about underlying fundamentals need to be asked.

You can guess where I'm going with this.

As the last word, it seems like some people with angry-little-man syndrome is attacking me for putting my honest idea idea out there without considering the content of my dataset... I should be used to it as putting new ideas out there is considered threatening to those who do not think critically... much like Galileo and the Church.
hero member
Activity: 674
Merit: 500
My commission is updated now to 20% so should be fun to see how it will go in the next few days Smiley .

Is the 20% applied only to your new future ref earning, or is it applied retrospectively to all your ref earning?

Only to new earnings . I earned 0.34btc with 10% commission.

I see, so You have got some big whale ref lol (at 10%, that 12 persons need to bet 375btc to generate 0.34btc ref earning for you).  Grin
legendary
Activity: 1274
Merit: 1000
My commission is updated now to 20% so should be fun to see how it will go in the next few days Smiley .

Is the 20% applied only to your new future ref earning, or is it applied retrospectively to all your ref earning?

Only to new earnings . I earned 0.34btc with 10% commission.

Do you know is it possible to get it to 20% even if I don't use it in my signature currently?
Jump to: