if ( !IS_NPC(ch) )
      {
         if ( ++ch->timer >= 12 )
         {
            if( ch->was_in_room == NULL && ch->was_in_wild == NULL )
            {
               ch->was_in_room = ch->in_room;
               ch->was_in_wild = ch->in_wild;
               if ( ch->position == POS_FIGHTING && ch->target != NULL )
                 stop_fighting( ch, TRUE );
               act( "$n disappears into the void.", ch, NULL, NULL,
TO_ROOM );
               save_char_obj( ch );
               char_from_ground( ch );
               char_to_ground( ch, get_room_index( ROOM_VNUM_LIMBO ),
NULL );
               SET_BIT(ch->comm, COMM_IDLE);
             }
         }


thats the little bit in update.c that moves them to the void.
----- Original Message -----
From: "Dale Kingston" <[EMAIL PROTECTED]>
To: "Josh" <[EMAIL PROTECTED]>; "Rom" <[email protected]>
Sent: Sunday, December 15, 2002 1:16 PM
Subject: Re: Idle lagout?


> Are you moving them out of CON_PLAYING? And not moving them back when they
> wake up? Cause I've had the problem when I was writing my account system.
> And I extracted the ch pointer but I didn't close_socket on the
descriptor.
> So it though the I was CON_PLAYING cause that's in the descriptor. And
> interp was getting a NULL ch so it just returned. You could be having
> something simular to that....
>
> ----- Original Message -----
> From: "Josh" <[EMAIL PROTECTED]>
> To: "Rom" <[email protected]>
> Sent: Sunday, December 15, 2002 11:04 AM
> Subject: Idle lagout?
>
>
> > Alright I've had this problem for a while, and i thought it was just me,
> but
> > then one of my players reported it.
> >
> > If your idle for a while, and someone else connects, it will usually
> freeze
> > your screen (but not always) if you send text to the mud every minute or
> so,
> > it wont do this.  By freezing, the client doesnt seem to receive or be
> able
> > to send anything, but theres no message, and such.  I remember playing
> with
> > the idle timer way way earlier, but it was eliminate it from
disconnecting
> > you, not to make it worse.
> >
> > My question is A) is that the mud, or the client, or the person's
> > computer/ISP?
> > If it could be the mud, what code section would do that?
> > If I need to post any code I'll gladly, I just dont know where to start.
> >
> > Paragon
> >
> >
> > --
> > ROM mailing list
> > [email protected]
> > http://www.rom.org/cgi-bin/mailman/listinfo/rom
> >
>


Reply via email to