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
➜ SMAUG coding
➜ Classes won't show
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Firedraconian
USA (32 posts) Bio
|
| Date
| Fri 30 Jul 2004 03:47 PM (UTC) |
| Message
| 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? |
X. D. Caeruleus
Draconian Industries | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #1 on Fri 30 Jul 2004 05:11 PM (UTC) |
| Message
| | What are all your class filenames? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
| Posted by
| Firedraconian
USA (32 posts) Bio
|
| Date
| Reply #2 on Fri 30 Jul 2004 05:28 PM (UTC) |
| Message
| Same as the ones in the list.
Warrior.class, Ninja.class, Healer.class, Mystic.class, Defender.class, Pirate.class |
X. D. Caeruleus
Draconian Industries | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #3 on Fri 30 Jul 2004 05:30 PM (UTC) |
| Message
| | And did you match the class numbers, as it lists in order in class.lst? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
| Posted by
| Buck
USA (23 posts) Bio
|
| Date
| Reply #4 on Fri 30 Jul 2004 05:45 PM (UTC) |
| Message
| | 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... |
-Buck.
tbgamecock@yahoo.com
"I am Homer of Borg. Prepare to be assim... ooooo, Doughnuts!" | | Top |
|
| Posted by
| Firedraconian
USA (32 posts) Bio
|
| Date
| Reply #5 on Fri 30 Jul 2004 07:00 PM (UTC) |
| Message
| | Thanks, that did it. |
X. D. Caeruleus
Draconian Industries | | 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.
21,120 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top