Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
@DelphiKing:
Deine Signatur ist irgendwie falsch verlinkt. "Bizarr schnelles 5050-Spiel" verlinkt auf https://www.losekaufen.eu/

Da möchte man mal ein paar Runden mit hohem Einsatz spielen
Und was passiert? Nach 11 Runden meine 100 mio weg
gewonnen gleich verloren
Spiele: 0 0 11
relativ: 0 100%
set_time_limit(60);
$spiele_gesamt = 1;
for ($i = 1; $i <= 10; $i++)
{
$spiele = 1;
$zahl = 1500000;
$zahl2 = mt_rand(1,3000000);
while ($zahl2 != $zahl)
{
$spiele++;
$zahl2 = mt_rand(1,3000000);
}
echo number_format($spiele,0,',','.').' Spiele bis zum Jackpot bei Chance 1 : 3.000.000<br><br>';
$spiele_gesamt += $spiele;
}
echo '<br><br>Durchschnittlich '.number_format($spiele_gesamt/$i,0,',','.').' Spiele bis zum Jackpot';
function play_jackpot($klammid, $einsatz) {
if (! is_numeric ( $klammid ) or !is_numeric($einsatz)) {
$this->set_error ( "Line " . __LINE__ . ":Fehler - KlammID od. Einsatz nicht numerisch (play_jackpot)" );
return false;
}
$jp = $this->get_jackpot ();
$zufall = rand ( 1, $this->range_jackpot ); //Abhängig von Einsatz
if ($zufall == $this->fallzahl_jackpot) {
$this->reset_jackpot ();
$this->jackpot_win = 1;
$this->add_user_win ( $klammid, $jp );
$this->buche_gewinn ( $klammid, "Jackpotgewinn", $jp );
$this->jackpot_menge_gewonnen = $jp;
}
$this->jackpot_zahl = $zufall;
}
Es wird auf die Funktion nicht zugegriffen *gg*?Sorry, aber ich kann keinen Fehler entdecken...
PHP:function play_jackpot($klammid, $einsatz) { if (! is_numeric ( $klammid ) or !is_numeric($einsatz)) { $this->set_error ( "Line " . __LINE__ . ":Fehler - KlammID od. Einsatz nicht numerisch (play_jackpot)" ); return false; } $jp = $this->get_jackpot (); $zufall = rand ( 1, $this->range_jackpot ); //Abhängig von Einsatz if ($zufall == $this->fallzahl_jackpot) { $this->reset_jackpot (); $this->jackpot_win = 1; $this->add_user_win ( $klammid, $jp ); $this->buche_gewinn ( $klammid, "Jackpotgewinn", $jp ); $this->jackpot_menge_gewonnen = $jp; } $this->jackpot_zahl = $zufall; }

Doch, sonst würde ja keine Zahl geliefert werdenEs wird auf die Funktion nicht zugegriffen *gg*?
LG