diff --git a/database.sql b/database.sql index 9caf95f03..bcc8337ce 100644 --- a/database.sql +++ b/database.sql @@ -252,8 +252,8 @@ CREATE TABLE `levels` ( `levelInfo` mediumtext COLLATE utf8mb3_unicode_ci NOT NULL, `secret` mediumtext COLLATE utf8mb3_unicode_ci NOT NULL, `starDifficulty` int(11) NOT NULL DEFAULT 0 COMMENT '0=N/A 10=EASY 20=NORMAL 30=HARD 40=HARDER 50=INSANE 50=AUTO 50=DEMON', - `downloads` int(11) NOT NULL DEFAULT 300, - `likes` int(11) NOT NULL DEFAULT 100, + `downloads` int(11) NOT NULL DEFAULT 0, + `likes` int(11) NOT NULL DEFAULT 0, `starDemon` int(1) NOT NULL DEFAULT 0, `starAuto` tinyint(4) NOT NULL DEFAULT 0, `starStars` int(11) NOT NULL DEFAULT 0, diff --git a/incl/scores/getGJScores.php b/incl/scores/getGJScores.php index a0796025c..21345b564 100644 --- a/incl/scores/getGJScores.php +++ b/incl/scores/getGJScores.php @@ -7,6 +7,7 @@ $stars = 0; $count = 0; $xi = 0; +$sakujes = 1; $lbstring = ""; $date = date("d-m"); if(empty($_POST["gameVersion"])){ @@ -123,7 +124,7 @@ $extid = 0; } $xi++; - if($date == "01-04"){ + if($date == "01-04" && $sakujes = 1){ $lbstring .= "1:sakujes:2:".$user["userID"].":13:999:17:999:6:".$xi.":9:9:10:9:11:8:14:1:15:3:16:".$extid.":3:999:8:99999:4:999:7:".$extid.":46:99999|"; }else{ $lbstring .= "1:".$user["userName"].":2:".$user["userID"].":13:".$user["coins"].":17:".$user["userCoins"].":6:".$xi.":9:".$user["icon"].":10:".$user["color1"].":11:".$user["color2"].":14:".$user["iconType"].":15:".$user["special"].":16:".$extid.":3:".$user["stars"].":8:".round($user["creatorPoints"],0,PHP_ROUND_HALF_DOWN).":4:".$user["demons"].":7:".$extid.":46:".$user["diamonds"]."|"; @@ -135,4 +136,4 @@ } $lbstring = substr($lbstring, 0, -1); echo $lbstring; -?> \ No newline at end of file +?>