Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ Running the server ➜ Classes and Races

Classes and Races

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Slyone   USA  (19 posts)  Bio
Date Wed 12 May 2004 05:11 PM (UTC)
Message
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?
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Wed 12 May 2004 09:24 PM (UTC)
Message
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?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Slyone   USA  (19 posts)  Bio
Date Reply #2 on Thu 13 May 2004 12:13 AM (UTC)

Amended on Thu 13 May 2004 12:15 AM (UTC) by Slyone

Message
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?
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #3 on Thu 13 May 2004 12:47 AM (UTC)
Message
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?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Slyone   USA  (19 posts)  Bio
Date Reply #4 on Thu 13 May 2004 04:43 PM (UTC)
Message
Yes, that's what I have, and they are listed in the correct order in the race.lst file.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #5 on Thu 13 May 2004 07:21 PM (UTC)
Message
You are using Windows correct? What type of Smaug version?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Nick Cash   USA  (626 posts)  Bio
Date Reply #6 on Fri 14 May 2004 12:14 AM (UTC)
Message
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. :)

~Nick Cash
http://www.nick-cash.com
Top

Posted by Slyone   USA  (19 posts)  Bio
Date Reply #7 on Sat 15 May 2004 06:04 AM (UTC)
Message
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
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


24,350 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.