echo "&RESULT=BAD_BET"; die; } if ($allbet > cash_balance($l)) { echo "&RESULT=LOW_BALANCE"; die; } if (count($numbers) < 3) { echo "&RESULT=NUMBERS_ISNOTSET"; } cash_pay($l, $allbet); bank_add($allbet); while (true) { $map = generate_randmap(); $win = summ_map($map, $numbers); if ($win !== null and $win * $allbet < winlimit()) { break; } } $allwin = $win * $allbet; mysql_query("INSERT INTO stat_game VALUES('NULL','" . date("d.m.y") . "','" . date("H:i:s") . "','" . $l . "','" . cash_balance($l) . "','" . $allbet . "','" . $allwin . "','Stars Keno')"); if ($allwin > 0) { cash_add($l, $allwin); bank_pay($allwin); echo "&RESULT=OK" . "&NUMBERS=" . implode("|", $map) . "&PAYOUT=" . $allwin . "&BALANCE=" . cash_balance($l); } else { //include( "../../par_prog.php" ); echo "&RESULT=OK" . "&NUMBERS=" . implode("|", $map) . "&PAYOUT=0" . "&BALANCE=" . cash_balance($l); } //RESULT //BET
echo "&rnd_game=542173589"; echo "&freegame=10"; echo "&freenumspin={$freenumspin}&dig1={$sym1}&dig2={$sym2}&dig3={$sym3}&dig4={$sym4}&dig5={$sym5}&dig6={$sym6}&dig7={$sym7}&dig8={$sym8}&dig9={$sym9}&dig10={$sym10}\n&dig11={$sym11}&dig12={$sym12}&dig13={$sym13}&dig14={$sym14}&dig15={$sym15}"; echo "&win1={$win1}&win2={$win2}&win3={$win3}&win4={$win4}&win5={$win5}&win6={$win6}&win7={$win7}&win8={$win8}&win9={$win9}&win_new={$winall}"; echo "&cash_new={$user_balance}"; echo "&jpot=1243.71"; echo "&jpots=0"; echo "&spin=1"; $freenumspin = $freenumspin - 1; } if ($s == 2) { $double_win = $_SESSION['double_win']; $usrbl = $user_balance - $double_win; } if ($s == 2 && $usrbl >= 0 && $bet > 0 && $lines > 0) { $casbank = winlimit(); $double_win = $_SESSION['double_win']; mysql_query("update users set cash=cash-'" . $double_win . "' where login='******'"); mysql_query("update g_set_new set g_bank=g_bank+'" . $double_win . "' where g_name='5rd'"); $row_bon = mysql_fetch_array(mysql_query("select * from g_set_new where g_name='5rd'")); $g_shansdouble = $row_bon['g_rezerv']; $tttr = rand(1, $g_shansdouble); if ($riskn == 1) { $double_win *= 2; } if ($riskn == 2) { $double_win *= 4; } if ($casbank <= $double_win) { $tttr = 2; }
} if (($sim9 == 1 || $sim9 == 7) && ($sim10 == 1 || $sim10 == 7) && ($sim11 == 1 || $sim11 == 7) && ($sim12 == 1 || $sim12 == 7)) { $win3 = $bet * 300; } if ($sim9 == 7 && $sim10 == 7 && $sim11 == 7 && $sim12 == 7) { $win3 = $bet * 300; } if ($line == 1) { $win2 = 0; $win3 = 0; } if ($line == 2) { $win3 = 0; } $win = $win1 + $win2 + $win3; $caswin = winlimit($bet); if ($caswin <= $win) { $win1 = 0; $win2 = 0; $win3 = 0; $win = $win1 + $win2 + $win3; $nobonus = 1; if ($line == 1) { shuffle(&$mx); $sim5 = $mx[0]; $sim6 = $mx[1]; $sim7 = $mx[2]; $sim8 = $mx[3]; } if ($line == 2) { shuffle(&$mx);