Classes and Races

Posted by Slyone on Wed 12 May 2004 05:11 PM — 8 posts, 25,756 views.

USA #0
I can't seem to get my classes to load when I boot.

I've got four classes and two races, and they're all in the class.lst and race.lst files, but only 1 race and two classes are availble for new players to choose. Any idea's?
USA #1
There's something in the code defined as MAX_CLASS, I believe you have to change that. You sure the race/class files are correct?
USA #2
Well, I just edited the race and class files that were already there, and changed the names and values... so I don't see why there would be a problem there. And it's not like I have too many or anything... it's less than I started with. (And I can't recompile with my machine :P)

Is there maybe something that says what races can have what classes?
Amended on Thu 13 May 2004 12:15 AM by Slyone
USA #3
Lets try fixing races first.

Name        Human~
Race        0
Classes     512
Str_Plus    0
Dex_Plus    0
Wis_Plus    0
Int_Plus    0
Con_Plus    0
Cha_Plus    0
Lck_Plus    0
...


The race # is 0, so in race.lst

Human.race
Elf.race
Dwarf.race
...


It should be the first one. Then the race with the race # of 1, should be Elf.race, and so on. Is that correct for what you have?
USA #4
Yes, that's what I have, and they are listed in the correct order in the race.lst file.
USA #5
You are using Windows correct? What type of Smaug version?
USA #6
I believe that if it is less than you started with then you should redefine MAX_CLASS and MAX_RACE. Also, not being able to compile will cause major difficulties. No mud can become its own without being able to be customized in the code. I would suggest getting a compiler and learning how. :)
USA #7
ah yes, that makes sense... didn't really look into that MAX_RACE thing until now. And I know how to compile, I've done it countless times with SMAUG and a million other things, just that this laptop doesn't support the compilers that I have :P

I'm getting a new one soon.. I'll test things out with that