bgloading
loading

Loading...

Play fun games instantly !

Enjoy our wonderful community!

0 online
2417
Topic Views
1
Replies
This topic is close for replies.

Topic: A little correction

 
user
September 24, 2024, 8:31 am
According to :

bitsler.com/en/lottery/info
Code:
$offset=0; do{ $number=substr($seed,$offset,5); $number=hexdec($number); $offset+=5; } while($number > 999999); $luckyNumber = ($number % 10000) / 100; echo $luckyNumber;



But according to the provablyFair verifier,Hourly Lottery #44029 for example



To calculate the result, we will use the revealed server seed:

c0e4ca59dd9f4a93de4289620ff482251e0cf339b4614d4ceae7011df4295c428e5c1057c1e5c22556c485abd0be28707cd13262f307a74ce66528cba21794b4
Code:
Take the first 5 characters (c0e4c), convert it from a hexadecimal to decimal (790092) and make sure it is between 0-999999. Apply a modulo of 10,000 to that result and divide it by 100: 790092 % 10000 / 100 = 0.92 and this is your final bet result!

This means that the code shouldve been

do{...

....
...
}
while($number < 1000000);


Hope i got it right.
- last edited: September 24, 2024, 8:36 am
0