X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fbrisk.phh;h=08ede604b83da1268a80c9af6dba1d4de2f4cc74;hb=4aed730e6cbd1423d6551e527da40e3d47d4a27c;hp=a9e8f841eb8cb38d02314ed0e33878b600d552fd;hpb=0d462f547c388b20d72a9de96955484636736108;p=brisk.git diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index a9e8f84..08ede60 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -77,7 +77,7 @@ $G_false = FALSE; $G_all_points = array( 11,10,4,3,2, 0,0,0,0,0 ); $G_brisk_version = "spawn-0.13.3"; -$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\': comando /tav per annunciare i tavoli attivi - versione Beta5.', '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 @@ -1272,7 +1271,7 @@ class Room { $only_you = FALSE; // common settings - $msg = substr($mesg,6); + $msg = substr($mesg, 6, 128); $timecur = time(); $dt = date("H:i ", $timecur); @@ -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,