>Without knowing the specifics of the patch you've used,
As an FYI I used ascii_pfiles_2.1_on_bpl21_oasis2.0.1_dg.patch.gz
>Try comparing your code with how loading a character is done in other
> >places (that work correctly, I presume) like do_stat() or do_set().
Perfect! I was able to solve the problem as follows:
--db.h--
-int     load_char(char *name, struct char_data *ch);
+int     load_char(const char *name, struct char_data *ch);
--db.c--
-int load_char(char *name, struct char_data *ch)
+int load_char(const char *name, struct char_data *ch)
--mail.c--
int mail_recip_ok(const char *name)
{
  struct char_data
  int ret = FALSE;
CREATE(victim, struct char_data, 1);
  clear_char(victim);
+ CREATE(victim->player_specials, struct player_special_data, 1);
- if (get_id_by_name(name) >= 0) {
-   save_char(victim, NOWHERE);
+  if (load_char(name, victim) >= 0) {
+    save_char(victim, GET_LOADROOM(victim));
    char_to_room(victim, 0);
    if (!PLR_FLAGGED(victim, PLR_DELETED))
      ret = TRUE;
    extract_char_final(victim);
  } else
    free(victim);
  return ret;
}
I should be able to upload 'clean' patches for put DG+Oasis and ascii pfiles
for 3.1 shortly. As well as an updated circle3.1-w-goodies bundle.
Thanks for the help!
--Ziz
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/26/03 PDT