Classes won't show

Posted by Firedraconian on Fri 30 Jul 2004 03:47 PM — 6 posts, 22,271 views.

USA #0
I'm trying to get rid of the normal classes and put in new ones.

The class.lst file is like this:

Warrior.class
Ninja.class
Healer.class
Mystic.class
Defender.class
Pirate.class
$

But only this appears when I make a new character:

Select a class, or type help [class] to learn more about that class.
[Warrior Ninja Healer Mystic]
:

Under mud.h it says:

#define SPELL_SILENT_MARKER "silent" /* No OK. or Failed. */
/*#define MAX_CLASS 12 */
#define MAX_CLASS 20
#define MAX_NPC_CLASS 26

So I'm not sure why it will only show the four classes instead of all six. Also, when I start up the mud now, it displays this bug:

[*****] BUG: load_class_file: no match: Endÿ
[*****] BUG: fread_word: EOF encountered on read.

I assume this is it trying to load the old classes that I deleted, but how do I get it to stop that? Or is it just something that will go away as I replace the old areas and mobs?
USA #1
What are all your class filenames?
USA #2
Same as the ones in the list.

Warrior.class, Ninja.class, Healer.class, Mystic.class, Defender.class, Pirate.class
USA #3
And did you match the class numbers, as it lists in order in class.lst?
USA #4
In the 'nanny' function, there is a line that subtracts the last 2 classes from your list. Because I presumed that odd limitation is there for some reason, I added 2 dummy classes as my last 2. That fixed the problem. Hope that helps...
USA #5
Thanks, that did it.