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 ➜ SMAUG coding ➜ race-class

race-class

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


Posted by Halomantis   (27 posts)  Bio
Date Sun 13 Jul 2003 10:13 PM (UTC)
Message
How could I allow any race to become any class. I have looked about and I cannot find anything that will allow this.

Thanks before hand!!
Top

Posted by Meerclar   USA  (733 posts)  Bio
Date Reply #1 on Tue 15 Jul 2003 05:08 AM (UTC)
Message
You would need to find the table where the classes are defined in (I believe) mud.c and edit the entries that determine the xp modifier for each race in each class. Any race with a -1 entry for a given class is unable to create a character in that class.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #2 on Tue 15 Jul 2003 06:08 AM (UTC)
Message
I think it is easier than that. In the races directory are files - one for each race. Inside those is a line like this:


Classes     856


This is a bitmap field for the classes you *cannot* choose. I think if you made that zero you could choose any class. (However I haven't tried it). ;)

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Halomantis   (27 posts)  Bio
Date Reply #3 on Tue 22 Jul 2003 04:20 PM (UTC)
Message
Sweet setting the class to 0 on the race files worked great thank you very much!!!!

James
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,596 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.