Somehow i need to figure out how to speed up the system :S
And re-calibrate it before i release it..
Following code is an experimental code.
PHP Code:
$itemArray = array();
for ($i = 0; $i < 10; $i++) {
$rand = mt_rand(0, 100);
$rand = $rand / 100.0;
if ($rand > $/*/some Variable/*/) {
if(array_key_exists('/*/some Key/*/', $itemArray)){
}else{
}
}elseif(/*/something/*/){
}else{
}
$currentDate = date_create();
$itemsget = null;
foreach ($itemArray as $keys => $values) {
$itemsget .= '<item date="' . date_timestamp_get($currentDate) . '" amount="'.$values[/*/something/*/].'" spins="'.$values[/*/something/*/].'" item_id="'.$values[/*/something/*/].'" type="'.$values[/*/something/*/].'"></item>';
}
return $itemsget;
Anyway to do it faster?
Notice that everything is class and function based, and all code will be rewrited to use stdClass instead of arrays.
Edit:
Does anyone know, when multipliers is used, is it used on 1 spin or all the chosen amount of spins (5, 10, 100, etc..)?
- RQ
PS: Fix found and implementing multipliers.