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
➜ Adding a class to the selection screen:
Adding a class to the selection screen:
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Firedrak
USA (14 posts) Bio
|
Date
| Mon 02 Apr 2001 08:16 PM (UTC) |
Message
| How do I add a class to the class list on the selection screen? I accidentally arased paladin when I tried switching class numbers with a new class to see if that would help.
Sucks to not know it all..hehe
| Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #1 on Tue 03 Apr 2001 02:10 AM (UTC) |
Message
| I would try this, but am not certain how many classes it supports without crashing. If you reach that limit, then recompile SMAUG with more classes.
Looking in mud.h I see this line:
#define MAX_CLASS 9
This appears to indicate that you can only have 9 classes without a recompile.
However, having recompiled to make it, say, 10, then I think you would make a new .class file in the classes directory, and add the name of that file to the class.lst file.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Nivek
(15 posts) Bio
|
Date
| Reply #2 on Wed 11 Apr 2001 08:06 PM (UTC) |
Message
| MAX_CLASS is used to define an array, so the number of classes you can have is limited only by your memory and by the integer used to store the index of the array but, I don't see anyone having over 2 billion classes ;) | 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.
12,592 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top