- Output for 8.1.0 - 8.1.29, 8.2.0 - 8.2.23, 8.3.0 - 8.3.11
- Roll: 4 Colour: T
<?php
$server_seed = "2b34ddf1400ed81e3f9dfa369c4535414972b70b54557bc0b798ecd8911bd8f9";
$public_seed = "9316595";
$round = "9316615";
$hash = hash('sha256', $server_seed . "-" . $public_seed . "-" . $round);
$roll = hexdec(substr($hash, 0, 8)) % 15;
if ($roll == 0) $roll_colour = 'bonus';
elseif ($roll >= 1 and $roll <= 7) $roll_colour = 'T';
elseif ($roll >= 8 and $roll <= 14) $roll_colour = 'CT';
echo("Roll: $roll\nColour: $roll_colour");