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

Classes

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


Posted by Kris   USA  (198 posts)  Bio
Date Thu 29 Mar 2001 04:46 PM (UTC)
Message
How do I get setclass to work? No matter how I use it, or what files I edit, the changes never seem to take hold. For example, if I want a mob to have a class of 'citizen' or 'boy', how do I do that? In area editor, I'd try like PC11, which is preset for pirate. I tried setclass 11 name citizen, followed by setclass 11 save. I then did showclass 11 and the changes stayed. Then I did a reboot mud now to get the changes to apply. After reboot, they were still pirates. Showclass 11 showed the class as having no name. This is just the most recent of many examples of failed attempts to get this to work. Now that I'm starting to create more and more mobs, having to give them some sort of occupation (i.e. Baby Rup is a mage, for lack of anything better) is getting very irritating. How can I get this thing to work?
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Thu 29 Mar 2001 05:23 PM (UTC)
Message
Two steps you need to do here ...

1. After changing the class, type in:


sset save skill table


2. If you have added a new class (eg. class 11), edit the file class.lst in the class directory, and add the new file name to the list, eg.


Mage.class
Cleric.class
Thief.class
Warrior.class
Vampire.class
Druid.class
Ranger.class
Augurer.class
Paladin.class
human.class
$


- Nick Gammon

www.gammon.com.au, www.mushclient.com
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,786 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.