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
➜ Keypad fix
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Sat 04 Feb 2006 06:09 PM (UTC) Amended on Sat 04 Feb 2006 06:20 PM (UTC) by Zeno
|
| Message
| As some of you remember, the keypad snippet has major issues. See this topic for information:
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=5310
Now I still hadn't solved it up to this point, but a friend recently sent me how to fix it when he had the same problem:
Quote: Hey I recently had that problem surface on mine, where exit distances
were being set to a wierd number. I figured out the problem, here is
what you need to change:
in build.c
in the fold_area function where exits are saved
in the part that goes like:
if ( xit->distance > 1 || xit->pull )
{
code
}
else
{
shortened code
}
remove the ifcheck, leave the contents under the first ifcheck, remove
the else and the content after the else
any questions log onto my mud and ask em
It seems to work, but the problem is that this forces distance and pull to be saved, vastly increasing all area filesizes. If anyone would know a better way of fixing this, that would be nice.
[EDIT] Maybe it doesn't increase it a whole lot. A small area went from 13418b to 13867b. But I still don't think this is a great way to fix this.... |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.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.
5,142 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top