if (ch->timer > 30)
ch_quit = ch;
// This part makes imms NOT quit or their timer increment.
/* comment OUT to make imms quit when idle */
if (IS_IMMORTAL (ch))
ch->timer = 0;// By moving that asterisk slash above to replace this comment.
if (++ch->timer >= 12 && !IS_IMMORTAL (ch))// Added an IMM check
{
if (ch->was_in_room == NULL && ch->in_room != NULL)
{
ch->was_in_room = ch->in_room;
if (ch->fighting != NULL)
stop_fighting (ch, TRUE);
act ("$n disappears into the void.",
ch, NULL, NULL, TO_ROOM);
send_to_char ("You disappear into the void.\n\r", ch);
if (ch->level > 1)
save_char_obj (ch);
char_from_room (ch);
char_to_room (ch, get_room_index (ROOM_VNUM_LIMBO));
}
}
if (ch->timer > 30 && !IS_IMMORTAL (ch))// Added an IMM check
ch_quit = ch;
// Added this below for a separate IMM timer.
if (ch->timer > 60) // For the imms, change to however long you want.
ch_quit = ch;
is any snippet, or code piece, out there that would make the linkdead
system work/run more timely and effeciently. With my connection, I am
getting booted offline from time to time, but when I come to return, I
find that my character is still online. Any help (actual, psuedo, or look
in this file) is greatly appreciated.
–Silence Tyire of Reanimation