projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ticker bug fixed
[brisk.git]
/
web
/
briskin5
/
index_wr.php
diff --git
a/web/briskin5/index_wr.php
b/web/briskin5/index_wr.php
index
17d001d
..
806888e
100644
(file)
--- a/
web/briskin5/index_wr.php
+++ b/
web/briskin5/index_wr.php
@@
-2,7
+2,10
@@
/*
* brisk - index_wr.php
*
/*
* brisk - index_wr.php
*
- * Copyright (C) 2006 matteo.nastasi@milug.org
+ * Copyright (C) 2006-2008 Matteo Nastasi
+ * mailto: nastasi@alternativeoutput.it
+ * matteo.nastasi@milug.org
+ * web: http://www.alternativeoutput.it
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-22,8
+25,15
@@
*/
require_once("../Obj/brisk.phh");
*/
require_once("../Obj/brisk.phh");
+// require_once("../Obj/proxyscan.phh");
require_once("Obj/briskin5.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;
if (DEBUGGING == "local" && $_SERVER['REMOTE_ADDR'] != '127.0.0.1') {
echo "Debugging time!";
exit;
@@
-401,7
+411,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));
$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)
$winner, $winner);
$player_cur = "remark_off();" . $card_take . "|";
if ($turn_cur != $turn_nex)