Re: [Technical] Time in the login screen

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 08/03/97


On Sun, 3 Aug 1997, Crimson Towers wrote:

>I am not sure but is it config.c that determines how long you have until
>you get kicked off the log on screen?

Searching for the kicked out message, we find:
fgrep -n "Timed out" *.c
comm.c:1412:      SEND_TO_Q("\r\nTimed out... goodbye.\r\n", d);

There we see:
void check_idle_passwords(void)
{
[snip]
    if (!d->idle_tics) {
      d->idle_tics++;
      continue;
    } else {
      echo_on(d);
      SEND_TO_Q("\r\nTimed out... goodbye.\r\n", d);
      STATE(d) = CON_CLOSE;
    }
[snip]

And searching for check_idle_passwords:
comm.c-672-  if (!(pulse % (15 * PASSES_PER_SEC)))      /* 15 seconds */
comm.c:673:    check_idle_passwords();

So every 15 seconds, it checks for idle passwords, just like the comment
says.

--
greerga@muohio.edu me@null.net | Genius may have its limitations, but stupidity
http://www.muohio.edu/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST