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
➜ New charactor stats and hedit bug?
New charactor stats and hedit bug?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Bipper
(17 posts) Bio
|
Date
| Sun 11 Aug 2002 07:47 AM (UTC) |
Message
| Hello:
I am having a problem with hedit. I type hedit imotd and i also edited a few oters like greeting. I save changes (of course) Then When the mud is rebooted (automatically) all changes are lost. i get zero bug output or log or anything so i am lost here....
Also i want to add new charactor stats (like regen feelings and aditional hp information- is there
a quick rundown for this one any where....
Thanks in advance | Top |
|
Posted by
| Vermithrax
USA (11 posts) Bio
|
Date
| Reply #1 on Sun 11 Aug 2002 09:35 PM (UTC) |
Message
| Make sure that after you've finished editing the help files, you type "hset save". The mud won't actually save the helpfiles to disk until you do this. | Top |
|
Posted by
| Dark_Trunks
Australia (27 posts) Bio
|
Date
| Reply #2 on Mon 12 Aug 2002 01:57 AM (UTC) |
Message
| In mud.h you will find a section describing CHAR_DATA, add your extra variables here. Then in save.c you want to make sure that you write the new data to the character file and read it back. This is simple enough just look how its done for all the other stats.
Of course just adding the new data doesnt change a thing, your going to have to write the functions that interact with them. Im sure you already realise that of course. | 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,617 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top