X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fbrisk.phh;h=eaba39d19410c25622717607e5463094166425c7;hb=6058ce014d53b6af8b6673443bacc13458509fc7;hp=f29b9a7a72afe1cd169550306ee8eef604eaf860;hpb=b1c3c706db9bfa6b95428b9e84c1d13b6203ecf6;p=brisk.git diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index f29b9a7..eaba39d 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -27,7 +27,7 @@ define(BRISK_CONF, "brisk.conf.pho"); define(FTOK_PATH, "/var/lib/brisk"); define(LEGAL_PATH, "/tmp/legal_brisk"); define(PROXY_PATH, "/var/lib/brisk_proxy"); -define(TABLES_N, 24); +define(TABLES_N, 32); define(PLAYERS_N, 3); define(MAX_POINTS, 5); define(MAX_PLAYERS, (20 + (PLAYERS_N * TABLES_N))); @@ -75,9 +75,9 @@ require_once("$DOCUMENT_ROOT/Etc/".BRISK_CONF); $G_false = FALSE; $G_all_points = array( 11,10,4,3,2, 0,0,0,0,0 ); -$G_brisk_version = "spawn-0.13.3"; +$G_brisk_version = "spawn-0.13.4"; -$root_wellarr = Array ( 'Benvenuto in brisk (Ver. '.$G_brisk_version.'), NOVITA\': comando /tav per annunciare i tavoli attivi - versione Beta4.', +$root_wellarr = Array ( 'Benvenuto in brisk (Ver. '.$G_brisk_version.'), NOVITA\': bug del ticker e della carta coperta che rimane sul tavolo chiusi - Beta6.', 'Se vuoi iscriverti alla Mailing List, cliccala!' ); $table_wellarr = Array ( 'Benvenuto al tavolo. Se almeno tre giocatori non sbloccano l\'uscita cliccando il lucchetto, chi esce non può risedersi a un qualunque tavolo per '.floor(BAN_TIME/60).' minuti.'); @@ -734,13 +734,12 @@ class User { $this->name = ""; while (array_pop($this->comm) != NULL); $this->step = 0; - $this->the_end = FALSE; - $this->chattime = array_fill(0, CHAT_N, 0); $this->chat_cur = 0; $this->chat_lst = ""; $this->chat_ban = 0; $this->chat_dlt = 0; + $this->the_end = FALSE; } } // end class User @@ -1398,7 +1397,9 @@ class Room { } else { $to_user = sprintf('chatt_sub("%s","%s");', $dt.xcape($user->name), xcape($msg)); - $to_room = $to_user; + // temporary silentiation for troll (will became array check) + if (strcasecmp($user->name,'JackRokka') != 0 && $user->sess != '47ea653f602e8') + $to_room = $to_user; } log_legal($timecur, $user->sess, $user->name,