Cut it to 5 minutes, from max_idle's 15.
Since max_idle now applies only to authenticated players, increasing
it is perfectly safe.
"Maximum number of BTUs a country can have")
EMPCFBOTH("max_idle", max_idle, int, NSC_INT, 0,
"Maximum number of minutes a player can sit idle while logged in")
"Maximum number of BTUs a country can have")
EMPCFBOTH("max_idle", max_idle, int, NSC_INT, 0,
"Maximum number of minutes a player can sit idle while logged in")
+EMPCFBOTH("max_idle_visitor", max_idle_visitor, int, NSC_INT, 0,
+ "Maximum number of minutes a visitor can sit idle while logged in")
EMPCFBOTH("login_grace_time", login_grace_time, int, NSC_INT, 0,
"Grace time for clients to complete login and logout (seconds)")
EMPCFBOTH("players_at_00", players_at_00, int, NSC_INT, 0,
EMPCFBOTH("login_grace_time", login_grace_time, int, NSC_INT, 0,
"Grace time for clients to complete login and logout (seconds)")
EMPCFBOTH("players_at_00", players_at_00, int, NSC_INT, 0,
The following parameters have been set for this game:
World size is 64 by 32.
The following parameters have been set for this game:
World size is 64 by 32.
By default, countries use their own coordinate system.
Use the 'show' command to find out the time of the next update.
By default, countries use their own coordinate system.
Use the 'show' command to find out the time of the next update.
-The current time is Wed Apr 13 07:09:54.
+The current time is Sun Mar 18 18:22:49.
An update consists of 60 empire time units.
Each country is allowed to be logged in 1440 minutes a day.
It takes 8.33 civilians to produce a BTU in one time unit.
An update consists of 60 empire time units.
Each country is allowed to be logged in 1440 minutes a day.
It takes 8.33 civilians to produce a BTU in one time unit.
You can have at most 640 BTUs.
You are disconnected after 15 minutes of idle time.
You can have at most 640 BTUs.
You are disconnected after 15 minutes of idle time.
+Visitors are disconnected after 5 minutes of idle time.
Options enabled in this game:
ALL_BLEED, BLITZ, EASY_BRIDGES, FALLOUT, GODNEWS, INTERDICT_ATT,
Options enabled in this game:
ALL_BLEED, BLITZ, EASY_BRIDGES, FALLOUT, GODNEWS, INTERDICT_ATT,
* Ken Stevens
* Steve McClure
* Ron Koenderink, 2005-2006
* Ken Stevens
* Steve McClure
* Ron Koenderink, 2005-2006
- * Markus Armbruster, 2005-2011
+ * Markus Armbruster, 2005-2012
collateral_dam * 100.0);
pr("\n");
pr("You can have at most %d BTUs.\n", max_btus);
collateral_dam * 100.0);
pr("\n");
pr("You can have at most %d BTUs.\n", max_btus);
- pr("You are disconnected after %d minutes of idle time.\n", max_idle);
+ pr("%s are disconnected after %d minute%s of idle time.\n",
+ player->nstat & NONVIS ? "You" : "Players",
+ max_idle, splur(max_idle));
+ pr("%s are disconnected after %d minute%s of idle time.\n",
+ player->nstat & NONVIS ? "Visitors" : "You",
+ max_idle_visitor, splur(max_idle_visitor));
pr("\nOptions enabled in this game:\n");
show_opts(1);
pr("\n\nOptions disabled in this game:\n");
pr("\nOptions enabled in this game:\n");
show_opts(1);
pr("\n\nOptions disabled in this game:\n");
char *game_hours = ""; /* hours game is running */
char *pre_update_hook = "";
int max_idle = 15; /* session dies after max_idle minutes idle */
char *game_hours = ""; /* hours game is running */
char *pre_update_hook = "";
int max_idle = 15; /* session dies after max_idle minutes idle */
+int max_idle_visitor = 5; /* same for visitors */
int login_grace_time = 120; /* Grace time for completing login (sec) */
int sect_mob_max = 127; /* sector mobility limits */
int login_grace_time = 120; /* Grace time for completing login (sec) */
int sect_mob_max = 127; /* sector mobility limits */
return 0;
if (pl->state != PS_PLAYING)
return pl->curup + login_grace_time;
return 0;
if (pl->state != PS_PLAYING)
return pl->curup + login_grace_time;
- return pl->curup + minutes(max_idle);
+ return pl->curup
+ + minutes(pl->nstat & NONVIS ? max_idle: max_idle_visitor);