$G_false = FALSE;
$G_all_points = array( 11,10,4,3,2, 0,0,0,0,0 );
-$G_brisk_version = "spawn-0.10.2";
+$G_brisk_version = "spawn-0.10.3";
$root_wellarr = Array ( 'Benvenuto in brisk (Ver. '.$G_brisk_version.'), <b>NOVITA\'</b>: dimensionamento dinamico dell\'area dati e ottimizzazione della stessa, versione beta.',
'Se vuoi iscriverti alla <a target="_blank" href="http://www.milug.org/cgi-bin/mailman/listinfo/ml-briscola">Mailing List</a>, cliccala!' );
if ($tab_idx < $user_tab_n) {
log_main("PRE show_room username: ".$user_cur->name." STEP: ".$user_cur->step);
- if ($trans_delta == 0)
- while (array_pop($user_cur->comm) != NULL);
+// ARRAY_POP DISABLED
+// if ($trans_delta == 0)
+// while (array_pop($user_cur->comm) != NULL);
$user_cur->trans_step = $user_cur->step + 1 + $trans_delta;
$user_cur->comm[$user_cur->step % COMM_N] = "";
}
else {
log_rd2("TRANS NON ATTIVATO");
- while (array_pop($user->comm) != NULL);
- // $user->step_inc(COMM_N + 1);
- Briskin5::save_data($bri);
+// ARRAY_POP DISABLED
+// while (array_pop($user->comm) != NULL);
+// // $user->step_inc(COMM_N + 1);
+// Briskin5::save_data($bri);
+
Briskin5::unlock_data($sem);
ignore_user_abort(FALSE);
}
ignore_user_abort(FALSE);
}
else {
- log_rd2("TRANS NON ATTIVATO, clean del comm array");
- while (($el = array_pop($user->comm)) != NULL) {
- log_rd2("clean element [".$el."]");
- }
- // $user->step_inc(COMM_N + 1);
- Room::save_data($room);
- // $new_step = $user->step;
+ log_rd2("TRANS NON ATTIVATO");
+// ARRAY_POP DISABLED
+// log_rd2("TRANS NON ATTIVATO, clean del comm array");
+// while (($el = array_pop($user->comm)) != NULL) {
+// log_rd2("clean element [".$el."]");
+// }
+// // $user->step_inc(COMM_N + 1);
+// Room::save_data($room);
+// // $new_step = $user->step;
Room::unlock_data($sem);
ignore_user_abort(FALSE);
log_wr("Pre if!");
- // CHECK
- while (array_pop($user_cur->comm) != NULL);
+// ARRAY_POP DISABLED
+// // CHECK
+// while (array_pop($user_cur->comm) != NULL);
+
$ret = "";
$ret .= sprintf('gst.st_loc++; gst.st=%d; createCookie("table_idx", %d, 24*365, cookiepath); createCookie("table_token", "%s", 24*365, cookiepath); the_end=true; window.onunload = null ; document.location.assign("briskin5/index.php");|', $user_cur->step+1, $table_idx, $table_token);