<?php
$serverSeed = "486d6afbfd8334739ced51a3e82602a08e98c867298d29e9427019b2424531721792735e96d69362500d7e06d7fdada659bc393d8dfa0522def4fc00812a402c";
$clientSeed = "4g0woassye3p2nt8gasaj7achzfoff1its0y6eu0ge6c2c5vhbpv3zxwsg7a";
$nonce = "286";
$seed = $serverSeed.'-'.$clientSeed.'-'.$nonce;
do {
$seed = sha1($seed);
$lucky = hexdec(substr($seed,0,8));
} while ($lucky > 4294960000);
$luckyNumber = ($lucky % 10000) / 100;
if ($luckyNumber < 0)
$luckyNumber = -$luckyNumber;
echo $luckyNumber;
- Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.29, 8.2.0 - 8.2.23, 8.3.0 - 8.3.11
- 66.89
preferences:
71.97 ms | 407 KiB | 5 Q