Bitcoin Forum
November 19, 2024, 08:21:03 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 5 »  All
  Print  
Author Topic:   (Read 3866 times)
avencard (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
August 11, 2013, 01:59:37 PM
Last edit: August 15, 2013, 07:13:58 PM by avencard
 #1


Zaih
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500


View Profile
August 11, 2013, 02:07:32 PM
 #2

Fail to see how this is provably fair  Shocked
avencard (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
August 11, 2013, 02:11:07 PM
 #3

Zaih, the provably fair verification will be available soon.
Zaih
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500


View Profile
August 11, 2013, 02:14:33 PM
 #4

Zaih, the provably fair verification will be available soon.

You shouldn't have released until that was implemented to be honest. No one will play a game which isn't provably fair (Well.. Anyone with half a head).

Good luck!
leepsteer00
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
August 11, 2013, 02:48:37 PM
 #5

1F8WsH1M9jn7dMErLuYcAZeTBUmNDocZmK
avencard (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
August 11, 2013, 02:59:06 PM
 #6

leepsteer00, account funded.
I have just added provably fair verification  Wink Use PHP snippet from "About FairDice". You can find roll details by clicking the "i" button in rolls history. You can also change cliend seed by clicking "Set client seed" button.
leepsteer00
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
August 11, 2013, 03:17:27 PM
 #7

leepsteer00, account funded.
I have just added provably fair verification  Wink Use PHP snippet from "About FairDice". You can find roll details by clicking the "i" button in rolls history. You can also change cliend seed by clicking "Set client seed" button.
I think I have some trouble accessing your site. It's loading forever.
avencard (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
August 11, 2013, 03:24:47 PM
 #8

It should be fixed now.
xetsr
Legendary
*
Offline Offline

Activity: 1120
Merit: 1000


View Profile
August 11, 2013, 04:17:26 PM
 #9

It should be fixed now.

Nope, doesn't load.
avencard (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
August 11, 2013, 04:27:23 PM
 #10

Sometimes it gets overloaded. I will move it to the new server tomorrow.
dice64
Jr. Member
*
Offline Offline

Activity: 34
Merit: 1


View Profile WWW
August 11, 2013, 04:35:59 PM
 #11

Zaih, the provably fair verification will be available soon.

Does this mean you will make the method available soon, or you will implement it soon?

From your site.
Quote
<?php
$server_seed = "SERVER_SEED_HERE";
$client_seed = "CLIENT_SEED_HERE";

function str2int($str) {
   $int = 0;
   foreach (str_split($str) as $char)
      $int += $char;
   return $int;
}

mt_srand(str2int($server_seed . $client_seed));

$roll = mt_rand(1, 6);
echo "Roll result is " . $roll;

How is this provably fair when the mt_srand and mt_rand are pseudo-random and not guaranteed to give the same output on every system?

Also neither the "server seed" or "client seed" are ever shown to the user.
 
HollowIP
Sr. Member
****
Offline Offline

Activity: 518
Merit: 250


View Profile
August 11, 2013, 04:40:00 PM
 #12

18NbjBXKVBPwSBeN7oY6KyNa1G2drnDXAJ

Thanks Smiley

BTC-  3FofPhtcESndpyLTJTJEnpShdHgbN82pAz
avencard (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
August 11, 2013, 04:52:45 PM
 #13

HollowIP, account funded.
dice64, I have already implemented this. You can check client/server seed of roll by clicking "i" button on rolls history.

Quote
How is this provably fair when the mt_srand and mt_rand are pseudo-random and not guaranteed to give the same output on every system?
mt_rand will use seed provided using mt_srand. This is system-independed and will always return the same result.
HollowIP
Sr. Member
****
Offline Offline

Activity: 518
Merit: 250


View Profile
August 11, 2013, 05:03:13 PM
 #14

HollowIP, account funded.
dice64, I have already implemented this. You can check client/server seed of roll by clicking "i" button on rolls history.

Quote
How is this provably fair when the mt_srand and mt_rand are pseudo-random and not guaranteed to give the same output on every system?
mt_rand will use seed provided using mt_srand. This is system-independed and will always return the same result.

Thanks- I enjoy trying out new games Smiley

Everything on the site was loading and working properly until I received the credits. However, after I saw them in my account, the stats portion of the site stopped loading properly, and i bet 40 satoshis, 4 different times, each came up rolled as a 1, and nothing was ever subtracted from my funds. Upon trying to reload the webpage after this- the site no longer loads at all.
Could be down temp for something but just letting you be aware of that issue.
Hope to continue testing this soon Smiley

[edit: working properly again for now Smiley]

BTC-  3FofPhtcESndpyLTJTJEnpShdHgbN82pAz
dice64
Jr. Member
*
Offline Offline

Activity: 34
Merit: 1


View Profile WWW
August 11, 2013, 05:05:19 PM
 #15

HollowIP, account funded.
dice64, I have already implemented this. You can check client/server seed of roll by clicking "i" button on rolls history.

Quote
How is this provably fair when the mt_srand and mt_rand are pseudo-random and not guaranteed to give the same output on every system?
mt_rand will use seed provided using mt_srand. This is system-independed and will always return the same result.

The mt_rand function uses Mersenne Twister to generate its output.

Caution: Mersenne Twister is basically for Monte-Carlo simulations - it is not cryptographically secure "as is"
http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html

Also, you dont show the user the secret seed, or its hash before the bet is placed. So you're free to generate any result you like, by creating any secret that matches the output you want.
avencard (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
August 11, 2013, 05:13:51 PM
 #16

dice64, you are right, I will add hash. Unfortunately my current server is not working good with such much traffic.
HallowIP, do not worry about it, if you always roll "1", it means that the server is overloaded, but your money is safe.
I'm sorry for troubles.
Mitchell
Staff
Legendary
*
Offline Offline

Activity: 4116
Merit: 2331


Verified awesomeness ✔


View Profile WWW
August 11, 2013, 05:16:52 PM
 #17

1MY6zr44KEQFf1ZEHWAhW1ksu6wcixDgPP
Let's try this.

.
Duelbits
            ▄████▄▄
          ▄█████████▄
        ▄█████████████▄
     ▄██████████████████▄
   ▄████▄▄▄█████████▄▄▄███▄
 ▄████▐▀▄▄▀▌████▐▀▄▄▀▌██

 ██████▀▀▀▀███████▀▀▀▀█████

▐████████████■▄▄▄■██████████▀
▐██████████████████████████▀
██████████████████████████▀
▀███████████████████████▀
  ▀███████████████████▀
    ▀███████████████▀
.
         ▄ ▄▄▀▀▀▀▄▄
         ▄▀▀▄      █
         █   ▀▄     █
       ▄█▄     ▀▄   █
      ▄▀ ▀▄      ▀█▀
    ▄▀     ▀█▄▄▄▀▀ ▀
  ▄▀  ▄▀  ▄▀

Live Games

   ▄▄▀▀▀▀▀▀▀▄▄
 ▄▀ ▄▄▀▀▀▀▀▄▄ ▀▄
▄▀ █ ▄  █  ▄ █ ▀▄
█ █   ▀   ▀   █ █  ▄▄▄
█ ▀▀▀▀▀▀▀▀▀▀▀▀▀ █ █   █
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█  █▄█
█ ▀▀█  ▀▀█  ▀▀█ █  █▄█

Slots
.
        ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄
        █         ▄▄  █
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄       █
█  ▄▄         █       █
█             █       █
█   ▄▀▀▄▀▀▄   █       █
█   ▀▄   ▄▀   █       █

Blackjack
|█▀▀▀▀▀█▄▄▄
       ▀████▄▄
         ██████▄
▄▄▄▄▄▄▄▄█▀    ▀▀█
████████▄        █
█████████▄        █
██████████▄     ▄██
█████████▀▀▀█▄▄████
▀▀███▀▀       ████
   █          ███
   █          █▀
▄█████▄▄▄ ▄▄▀▀
███████▀▀▀
.
                 NEW!                  
SPORTS BETTING 
|||
[ Đ ][ Ł ]
AVAILABLE NOW

Advertisements are not endorsed by me.
HollowIP
Sr. Member
****
Offline Offline

Activity: 518
Merit: 250


View Profile
August 11, 2013, 05:19:02 PM
 #18

After testing for a few minutes just a bit of feedback,

"Becouse fairness is a good thing"
You have a pretty big spelling error at the top of your page. Tongue

The results of the roll should update as fast as you can make it- I notice the balance changes after a second, but then 2 or 3 seconds after the results actually show up.
From my experience, and understanding a site like this success is weighed heavily on features such as instant results showing up. Like on Just-dice, the results are displayed nearly instantaneous and I think people generally appreciate and like that, and if it didn't have it, it's success may be a bit different.

Apart from that, another feature I think people would like would be a way to input the exact bet they wish to wager, rather than using the slider to pick a bet. Perhaps I wish to only bet 39 satoshis instead of 40? Just a thought there.

Otherwise, I like the site and I enjoy seeing a physical die on the screen. Smiley

BTC-  3FofPhtcESndpyLTJTJEnpShdHgbN82pAz
avencard (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
August 11, 2013, 05:25:25 PM
 #19

bitcoininformation, account funded. Good luck  Smiley
HollowIP, thank you very much for the feedback.
Quote
"Becouse fairness is a good thing"
You have a pretty big spelling error at the top of your page. Tongue
To be honest, I'm not native English speaker  Cheesy I will fix this..
Quote
The results of the roll should update as fast as you can make it
This is good idea, I will do this!
Quote
Apart from that, another feature I think people would like would be a way to input the exact bet they wish to wager
And this will be done too.
dice64
Jr. Member
*
Offline Offline

Activity: 34
Merit: 1


View Profile WWW
August 11, 2013, 05:26:53 PM
 #20

dice64, you are right, I will add hash. Unfortunately my current server is not working good with such much traffic.
HallowIP, do not worry about it, if you always roll "1", it means that the server is overloaded, but your money is safe.
I'm sorry for troubles.

You should have added it before you started, why would the server always roll 1 if it was overloaded? Shouldn't it raise an HTTP 503? Always returning a 1 shows that you've written some logic to change the result outside of the method you've already said.

Also, just from a single test, I can see you aren't using atomic database transactions.
Pages: [1] 2 3 4 5 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!