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
➜ New class seems to have an alignment conflict?
New class seems to have an alignment conflict?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Firedrak
USA (14 posts) Bio
|
Date
| Tue 27 Mar 2001 04:16 PM (UTC) |
Message
| I made a new class, attached it to a new race, but the race/class combo almost instantly has a mental state meltdown, from 0 to -100. Also to note it says something about getting slaying heathen or face the consequences...I'm not sure what this means? I did try killing, but just ended up falling unconscious. Maybe its an alignment issue, even though my alignment is minalign -1000, maxalign 1000?
If you can figure this out, it'd be great, I've been wracking my brains on this one for days, and nights...heh | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #1 on Tue 27 Mar 2001 04:55 PM (UTC) Amended on Tue 27 Mar 2001 04:57 PM (UTC) by Nick Gammon
|
Message
| This is the message you mention:
Damn you heathen! Go forth and do evil or suffer the consequences!
This applies for class number 9 if the alignment is greater than -250.
Also, when it gives this message your mental state worsens by 35 points.
You are right about it being an alignment issue. You could avoid the message by being aligned less than -250. eg. In the race definition, start its alignment off at -500.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Firedrak
USA (14 posts) Bio
|
Date
| Reply #2 on Tue 27 Mar 2001 07:12 PM (UTC) |
Message
| Okay, how then do I change that so that the alignment can be above -250? Do I change the class number? The class number was kind of given at creation of the class... | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #3 on Tue 27 Mar 2001 07:20 PM (UTC) Amended on Tue 27 Mar 2001 07:23 PM (UTC) by Nick Gammon
|
Message
| That particular test applies to class 9. However, there are other tests for other classes.
To fix that in a more general way you would need to recompile the source, after making appropriate changes. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Firedrak
USA (14 posts) Bio
|
Date
| Reply #4 on Wed 28 Mar 2001 01:07 PM (UTC) |
Message
| Okay, then can I change that class # to something other then 9? Or should I start from scratch? About the tests for other classes, what tests can I run for them? | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #5 on Wed 28 Mar 2001 01:25 PM (UTC) |
Message
| Well, you could use another class number, that might cause a different test to occur.
The tests are hard-coded into the server, in file update.c, function gain_condition.
You can't add/remove these tests without recompiling the server source code. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Firedrak
USA (14 posts) Bio
|
Date
| Reply #6 on Thu 29 Mar 2001 08:25 PM (UTC) |
Message
| Well, I still can't get this thing to work, maybe I'll just skip the whole idea of a new class...Can't get any new skills to work, or even the class to function properly. Thanks for the help Nick. | 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.
17,727 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top