X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2Findex_wr.php;h=3935e0a5359adefa4b5ce6023da2e897d98be5ff;hb=3ad972807dfceca464574e0ce7cfc1ffe1e70013;hp=17d001da5a924f88643574c8d3bb8f3cda6db4a9;hpb=4a7eb48142359ee330ba378d05b0fb20b9ab0689;p=brisk.git diff --git a/web/briskin5/index_wr.php b/web/briskin5/index_wr.php index 17d001d..3935e0a 100644 --- a/web/briskin5/index_wr.php +++ b/web/briskin5/index_wr.php @@ -22,8 +22,15 @@ */ require_once("../Obj/brisk.phh"); +require_once("../Obj/proxyscan.phh"); require_once("Obj/briskin5.phh"); +// Use of proxies isn't allowed. +if (is_proxy()) { + sleep(5); + exit; +} + if (DEBUGGING == "local" && $_SERVER['REMOTE_ADDR'] != '127.0.0.1') { echo "Debugging time!"; exit; @@ -401,7 +408,7 @@ else if ($user->stat == 'table') { $turn_nex = ($table->gstart + $table->turn) % BRISKIN5_PLAYERS_N; log_wr(sprintf("The winner is: [%d] [%s]", $winner, $bri->user[$table->player[$winner]]->name)); - $card_take = sprintf("sleep(gst,2000);|cards_take(%d);|cards_hidetake($d);", + $card_take = sprintf("sleep(gst,2000);|cards_take(%d);", $winner, $winner); $player_cur = "remark_off();" . $card_take . "|"; if ($turn_cur != $turn_nex)