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
➜ Having a race/class problem.
Having a race/class problem.
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Velouras
(2 posts) Bio
|
Date
| Fri 24 May 2002 07:04 AM (UTC) |
Message
| I created a new race, allowed specific classes, and then added the saved file to races.lst. However, whenever I create a new character and choose a class that is allowed by this new race, the new race isn't available as a choice.
What am I leaving out? | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sat 25 May 2002 02:02 AM (UTC) |
Message
| There is some pretty bizarre code in SMAUG about the race list. I think you need to do something weird like adding two new races, and then one will appear. Either that, or fix the source. :) |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Velouras
(2 posts) Bio
|
Date
| Reply #2 on Sat 25 May 2002 05:11 AM (UTC) |
Message
| I found the problem. In the race files, the race value must be relative to the order in the race.lst file. For example, if this was the race.lst file:
Elf.race
Human.race
Dwarf.race
In the elf file, its race value would need to be 0, the human's 1, and the dwarf's 2. | 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.
9,918 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top