sorry it was this fun thing here that was causing all the problems. and
old race went bye bye

// We Dont even have Dragons
/*if( ( obj = get_eq_char(ch,WEAR_SHIELD))!= NULL)
  {
     if(!str_cmp(smash_bracket(argument),"covenant of dragons") &&
(obj->pIndexData->vnum == 24093))
      {

            act("Your shield reflects the light of
dawn.",ch,NULL,NULL,TO_CHAR);
            act("$n's shield reflects the light of
dawn.",ch,NULL,NULL,TO_ROOM);
            obj_cast_spell(skill_lookup("shield"),ch->level,ch,ch,obj);


      }
  } */

sorry to disturb you guys. thanks for the help

On Fri, 26 Apr 2002, Dale Kingston wrote:

> well it would help if you would back trace and show us the function before
> that one
>
> ----- Original Message -----
> From: "Daniel Scott Wilds" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Friday, April 26, 2002 8:31 PM
> Subject: shield
>
>
> > each time a char has a shield wearing it they kill mob and half way
> > through the battle it pretty much doesnt like it good oh gdb tells me
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x08090001 in str_dup (str=0x16 <Address 0x16 out of bounds>) at db.c:3546
> > 3546        if ( str[0] == '\0' )
> > (gdb)
> >
> >
> > Code:
> > /*
> >  * Duplicate a string into dynamic memory.
> >  * Fread_strings are read-only and shared.
> >  */
> > char *str_dup( const char *str )
> > {
> >     char *str_new;
> >
> >     if ( str[0] == '\0' )
> >         return &str_empty[0];
> >
> >     if ( str >= string_space && str < top_string )
> >         return (char *) str;
> >
> >     str_new = alloc_mem( strlen(str) + 1 );
> >     strcpy( str_new, str );
> >     return str_new;
> > }
> >
> > can someone lead me in some kinda direction cause im stumped.
> >
> >
> > --
> > ROM mailing list
> > [email protected]
> > http://www.rom.org/cgi-bin/mailman/listinfo/rom
> >
>
>


Reply via email to