mirror of
https://github.com/foin137/werwolfonline.eu.git
synced 2025-12-12 03:11:35 +00:00
Constant for max player number
This commit is contained in:
@@ -1645,7 +1645,7 @@ p#liste {
|
|||||||
{
|
{
|
||||||
//Name gültig
|
//Name gültig
|
||||||
//Finde eine freie ID
|
//Finde eine freie ID
|
||||||
for ($i = 1; $i <= 50; $i++)
|
for ($i = 1; $i <= _MAXPLAYERS; $i++)
|
||||||
{
|
{
|
||||||
$res = $mysqli->Query("SELECT * FROM $spielID"."_spieler WHERE id = $i");
|
$res = $mysqli->Query("SELECT * FROM $spielID"."_spieler WHERE id = $i");
|
||||||
//echo "SELECT * FROM $spielID"."_spieler WHERE id = $i";
|
//echo "SELECT * FROM $spielID"."_spieler WHERE id = $i";
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
define("_VERSION","v1.2.4");
|
define("_VERSION","v1.2.4");
|
||||||
define("_LISTMAXRELOADTIME",3000);
|
define("_LISTMAXRELOADTIME",3000);
|
||||||
define("_WAITINGFOROTHERSTIME",30); //Innerhalb dieser Sekunden bleibt verborgen, auf wen noch gewartet wird.
|
define("_WAITINGFOROTHERSTIME",30); //Innerhalb dieser Sekunden bleibt verborgen, auf wen noch gewartet wird.
|
||||||
|
define("_MAXPLAYERS",50);
|
||||||
|
|
||||||
//Phasen
|
//Phasen
|
||||||
define ("PHASESETUP",0);
|
define ("PHASESETUP",0);
|
||||||
|
|||||||
Reference in New Issue
Block a user