From: Matteo Nastasi (mop) Date: Sat, 16 Feb 2008 09:21:02 +0000 (+0000) Subject: reduced SHM dim and send a parameter to js to have status consistency X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;ds=sidebyside;h=0632c5a6e44489f41d3b13b2d81d67c9e916ffd3;p=brisk.git reduced SHM dim and send a parameter to js to have status consistency --- diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 34adcd1..8bc7fd0 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -26,8 +26,7 @@ define(TABLES_N, 12); define(PLAYERS_N, 3); define(MAX_POINTS, 5); define(MAX_PLAYERS, (20 + (PLAYERS_N * TABLES_N))); -define(SHM_DIMS, (50000 * MAX_PLAYERS)); -// define(COMM_N, 6); +define(SHM_DIMS, (50000 + 10000 * TABLES_N + 15000 * MAX_PLAYERS)); define(COMM_N, 12); define(COMM_GEN_N, 50); define(SESS_LEN, 13); @@ -975,7 +974,7 @@ class Room { if ($wup_idx < $user_wup_n) { log_main("JOIN_WAKEUP less"); // set the new status - $ret .= 'subst = "standup"; '; + $ret .= 'stat = "room"; subst = "standup"; '; // clean the action buttons in other tables for ($e = 0 ; $e < TABLES_N ; $e++) { if ($this->table[$e]->player_n < PLAYERS_N)