Ok, I added the following lines to objsave.c in the
"Obj_from_store_to" function:
obj->name = str_dup(object.name);
obj->short_description = str_dup(object.short_desc);
obj->description = str_dup(object.long_desc);
and the following to "Obj_to_store_from":
object.name = str_dup(obj->name);
object.short_desc = str_dup(obj->short_description);
object.long_desc = str_dup(obj->description);
But, when I attempt to log on a char owning an object
(restringed or not) the MUD crashes and the .core file
tells me there is an error in the str_dup function.
What can be wrong? (I've tried with strcpy as well, but
that wasn't any better).
()CHRISTOFFER:>......
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST