$G_false = FALSE;
$G_all_points = array( 11,10,4,3,2, 0,0,0,0,0 );
-$G_brisk_version = "spawn-0.9.3";
+$G_brisk_version = "spawn-0.10.1";
$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!' );
}
else {
log_rd2("TRANS NON ATTIVATO");
+ 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");
- Room::unlock_data($sem);
- ignore_user_abort(FALSE);
+ 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);
}
}
$ret .= show_room(&$room, $user->step, &$user);
// TODO uncomment and test
- // while (array_pop($user->comm) != NULL);
- // $new_step = -1;
- // $user->step_inc(COMM_N + 1);
- // Room::save_data($room);
/* NOTE the sets went common */
$new_stat = $user->stat;
$new_subst = $user->subst;
log_wr('POSTSPLIT: '.$argz[0]);
if ($argz[0] == 'shutdown') {
- log_auth($user_cur->sess, "Shutdown session.");
+ log_auth($user->sess, "Shutdown session.");
$tmp_sess = $user->sess;
$user->sess = "";
step_unproxy($tmp_sess);