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 ➜ practice/learning/teaching

practice/learning/teaching

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


Pages: 1  2 

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #15 on Sat 01 Jan 2005 03:33 AM (UTC)
Message
Most likely, since the possess skill no longer exists, gsn_possess contains -1 or whatever value the lookup function returns (let's call it bad_value.) Check in db.c - somewhere in there, it does all the gsn lookups. (The so-called "GSNs" are in fact cached skill lookups.)

At this point, if you're comparing stuff against a bad value, all bets are off. If you want to remove the possess skill, you should truly remove it by taking out all references to it. I would comment out the line that defines the gsn (in mud.h, I believe) and then go to each compile error, and comment out the relevant section.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
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.


57,004 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

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.