X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbrisk.phh;h=2a7355c97bc4e6ab0f078d06147d2019da1ec311;hb=ef0eff447cc1d588c95b9b6bfc5da4cb14ba7af6;hp=c0477638d48adc25329df8ffe26213b5818c4afd;hpb=040d0a4d38e853918b0a97fd151397a485e97dae;p=brisk.git diff --git a/web/brisk.phh b/web/brisk.phh index c047763..2a7355c 100644 --- a/web/brisk.phh +++ b/web/brisk.phh @@ -36,7 +36,7 @@ define(BRISK_DEBUG, FALSE); $root_wellarr = Array ( 'Benvenuto in brisk (Ver. 0.4.3).', 'Se vuoi iscriverti alla Mailing List, cliccala!' ); -$table_wellarr = Array ( 'In bocca al lupo e vinca il migliore.'); +$table_wellarr = Array ( 'In bocca al lupo!'); $G_brisk_version = "0.4.3"; @@ -57,7 +57,7 @@ Il vostro turno è sempre segnalato da una cornice verde lampeggiante into Durante la partita, se vorrete ricaricare la pagina, usate l\'apposito bottone \\"reload\\" in basso a destra.
Comandi della chat -
/nick <new_nick_name> - cambio di nickname +
/nick <nuovo_nickname> - cambio di nickname
.. to be continue ..
@@ -554,7 +554,8 @@ class brisco { // update remote graphs for ($i = 0 ; $i < MAX_PLAYERS ; $i++) { $user_cur = &$this->user[$i]; - if ($user_cur->sess == '' || $user_cur->stat != 'room') + // if ($user_cur->sess == '' || $user_cur->stat != 'room') + if ($user_cur->sess == '') continue; if ($user_cur->name == $name_new) { $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; "; @@ -1188,6 +1189,12 @@ function show_room(&$bri, &$user) /* show table is_transition (is from room to table ?) is_again (is another game) + +Examles of $is_transition, $is_again: + from reload of the page: FALSE, FALSE + from sitdown in room: TRUE, FALSE + from table: asta cmd e tutti passano: TRUE, TRUE + from table: fine partita: TRUE, TRUE */ function show_table(&$bri, &$user, $sendstep, $is_transition, $is_again) { @@ -1227,8 +1234,9 @@ function show_table(&$bri, &$user, $sendstep, $is_transition, $is_again) /* NOTIFY FOR THE CARD MAKER */ if ($is_transition) { // && $user->subst == "asta" superfluo $ret .= show_table_info(&$bri, &$table, $user->table_pos); - $ret .= table_wellcome($user); } + if (!$is_again) + $ret .= table_wellcome($user); /* CARDS */ if ($is_transition) { // && $user->subst == "asta" superfluo