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)
    if (!d->idle_tics) {
    } else {
      SEND_TO_Q("\r\nTimed out... goodbye.\r\n", d);
      STATE(d) = CON_CLOSE;

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

-- | Genius may have its limitations, but stupidity | is not thus handicapped. -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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