On Tue, May 28, 2002 at 04:20:34PM -0400, Daniel Scott Wilds wrote:
> ok i created succesful autotick messesges.
>
> my problem is:
> #0 update_handler () at update.c:1307
> 1307 if (IS_SET(ch->act2, PLR2_AUTOTICK))
> (gdb)
>
> backtrace:
> #0 update_handler () at update.c:1307
> #1 0x080779fd in game_loop_unix (control=4) at comm.c:867
> #2 0x08077402 in main (argc=2, argv=0xbfffee94) at comm.c:449
> #3 0x4003c647 in __libc_start_main (main=0x8077278 <main>, argc=2,
> ubp_av=0xbfffee94, init=0x8048ef0 <_init>,
> fini=0x80d76f0 <_fini>, rtld_fini=0x4000dcd4 <_dl_fini>,
> stack_end=0xbfffee8c) at ../sysdeps/generic/libc-start.c:129
> (gdb)
>
> update.c:
> for ( d = descriptor_list; d; d = d->next )
> {
> ch = d->character;
Hello ch, who are you?
In other words, check if the character hanging on the descriptor
is already playing before doing game related stuff with it.
Edwin
--
Edwin Groothuis | Personal website: http://www.MavEtJu.org
[EMAIL PROTECTED] | Interested in MUDs? Visit Fatal Dimensions:
bash$ :(){ :|:&};: | http://www.FatalDimensions.org/