>
> With these changes I am at least able to boot, though when I try
> to list my spells or skills, I get:
>
> No skills found. or No spells found.
>
> However, when I use practice, it shows my spells and skills
> properly.
>
This is probably because of this check in do_skills (and do_spells):
for (sn = 0; sn < MAX_SKILL; sn++)
{
if (skill_table[sn].name == NULL )
break;
if ((level = skill_table[sn].skill_level[ch->class]) < LEVEL_HERO +
1
&& (fAll || level <= ch->level)
&& level >= min_lev && level <= max_lev
&& skill_table[sn].spell_fun == spell_null
&& ch->pcdata->learned[sn] > 0)
I think OLC might set spell_fun to NULL rather than spell_null by
default... Put a break in do_skills and do_spells and step through and
figure out why it is skipping over your skill_table list.
>
> (gdb) print group_table[33].name
> $2 = 0x8122b30 ""
>
> This group is the last entry, which is a NULL entry. Perhaps I
> should tell gn_add() to return if gn is < 0 || >= (MAX_GROUP - 2)?
> instead of just -1?
Well, if this is your 'null' entry, why is it 0x8122b30? Put a specific
group_table[MAX_GROUP].name = NULL; in your load_groups(). That might solve
your problem...
Ammaross Danan