Could you maybe post the definition of skill_table from your MUD?

----- Original Message ----- 
From: Jim Lowell <[EMAIL PROTECTED]>
To: Bobby Hicks <[EMAIL PROTECTED]>; <[email protected]>
Sent: Friday, April 19, 2002 8:16 AM
Subject: RE: Seg fault with Class Editor


> 
> MAX_SKILL is at 157
> Actual Skills is at 139
> with groups its at 168
> 
> print j returns:                     $1 = 0
> print i returns:                     $2 = 0
> print skill_table[j].name returns:   $3 = 0x80eb176 "reserved"
> 
> At first I thought that the groups were included in the grand scheme of the
> skill/spell count...I editted MAX_SKILLS to include this but still same
> error.
> 
> Thanks for your help!
> 
> <huge snip>
> void load_classes ()
> {
>         int i,j;
> 
>         for (i = 0; i < MAX_CLASS; i++)
>         {
>                 for (j = 0; j < MAX_SKILL; j++)
> --->112                   skill_table[j].skill_level[i] = LEVEL_IMMORTAL;
> 
>                 load_class (i);
>         }
> }
> </snip>



Reply via email to