I saw a thread on here the other day, but
I don't remember who, requesting on how to
save on set file in Ascii Pfiles.......
I did this a while back, and off the top of my head
I believe in save_char there is a line of code...
if (....!ch->desc)
continue
Or something...., any how, I took off the !ch->desc,
But, 1 thing remains with this, is that if you
want the host to save, your going to 1 have to
make another variable for host on the character....
or some sort of temp variable....
so below where there is a strn_cpy or something for
the host of the player...I believe you want to do an
if (ch->desc)
save info
else
replacement.....let it be GET_CHAR_HOST....what ever
you deside it to be....
if anybody has a better way to do the host save please
please send it on here, I don't like the way that is
..it seems to me like messy code...and I don't like
messes....
- Tym
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST