Hello,

If you happen to have a version of hedit that has a function named 
save_other_helps in it, take a
close look at the function, and you'll notice that it will destroy area files.  
Example on how to
cause problems:

- First, back up your areas!
- Stand in Mud School, or any other area with no helps in it at the moment.
- Create a new help without specifying an area name to create it in the area 
you are standing in:
'new blahblah', fill out the fields, etc.
- asave changed, or asave the area.
- Shell in to your server and tail <area>.are, or 'ls -l school.are' to note 
its size.  It has saved
correctly.
- Now edit the help file once again; modify the text, for example.
- Once more, asave changed.
- Shell in to your server and tail <area>.are, or notice its size.  Oops.
- Congratulations, you now have an 80-byte (or so) area file!

One workaround (this is not particularly the best workaround, if you have 
discovered this problem
yourself and have found a more elegant solution, your post would be 
appreciated):

Comment out all calls to save_other_helps and instead add this line to function 
hedit_level,
hedit_keyword, hedit_text, right before the final return:
SET_BIT(ch->in_room->area->area_flags, AREA_CHANGED);

Note that you may have a different version of hedit or a fixed version of 
hedit, and this may not
apply to you.

Thanks for your time,

Jeremy Hill


Reply via email to