bet id: 46406
client seed: 5494699DFo4WM44I58SfQI7tRcLpE3m6Yb9YWiD54ODab7hN76buxhEp8Da4bI5
server seed: 03626609AD2QgRikqpm7IqbD873vgjFG25toXb56zTxf10C2ky3ZROn457sIK73LrYl3rQfOC
roll on site: 36.15
roll according to code: 9.81
<?php
$clientSeed="5494699DFo4WM44I58SfQI7tRcLpE3m6Yb9YWiD54ODab7hN76buxhEp8Da4bI5";
$serverSeed="03626609AD2QgRikqpm7IqbD873vgjFG25toXb56zTxf10C2ky3ZROn457sIK73LrYl3rQfOC";
$globalSeedVarchar=$clientSeed.$serverSeed;
$validSeedChar=array(
"a","b","c","d","e","f",
"g","h","i","k","j","l",
"m","n","o","p","q","r",
"s","t","u","v","w","x",
"y","z","0","1","2","3",
"4","5","6","7","8","9"
);
$globalSeedInt=0;
for ($i=0; $i<strlen($globalSeedVarchar); $i++) {
$char=substr($globalSeedVarchar,$i,1);
$addThis=intval(array_search(strtolower($char),$validSeedChar));
if (ctype_upper($char)) {
$changeThis=strlen($globalSeedVarchar);
$globalSeedInt=$globalSeedInt+($addThis*$changeThis);
} else {
$globalSeedInt=$globalSeedInt+$addThis;
}
}
srand($globalSeedInt);
$roll=number_format((rand(1,10000)/100),2,'.','');
echo $roll;
?>